/* Global Styles 
@import url('normalize.css');*/

@font-face {
  font-family: 'icon';
  src: url("font/icon.eot");
  src: 
	url("font/icon.eot?#iefix") format('embedded-opentype'),
	url("font/icon.woff") format('woff'), 
	url("font/icon.ttf") format('truetype'), 
	url("font/icon.svg#icon") format('svg');
  font-weight: normal;
  font-style: normal;
}

html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}
body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    background: #FEFEFA;
}
body.home {
    padding-top: 0px;
}
.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}
h1, h2, h3, h4, h5, h6, .nav {
    font-family: 'Lato', sans-serif;
}
#myCarousel {
    background: #FEFEFA;
    border-bottom:4px solid #ff5900;
}
#myCarousel.services-slider {
    background: none;
    border: none;
}
.carousel-caption {
    padding-bottom: 5%;
}
span.carousel-header {
    font-size: 32px;
    position:relative;
    top: 20%;
    width: 60%;
    float:right;
    text-align: left;
    color: #fff;
}
.carousel-caption p {
    width: 60%;
    float:right;
    text-align: left;
    font-size: 18px;
    color: #fff;
}
.carousel-caption h2 {
    width: 60%;
    float:right;
    text-align: left;
    color: #fff;
}
.services-slider .carousel-inner {
    //padding:40px 0px;
}
.services-slider .carousel-indicators li {
    border: 1px solid #333;
    opacity: 0.6;
}
.services-slider .carousel-indicators .active {
    background: #666;
    opacity: 0.4;
}
.light-blue-bg {
    background-color: #3295C7;
    border-top: 2px solid #294E66;
    border-bottom: 4px solid #294E66;
}
img.bg-img, .img-effect {
    background: #fff;
    padding:5px;
    border:2px solid #294E66;
}
#myTabContent img {
    margin: 10px 0px
}
.recent-projects h2 {
    color: #fff;
}
nav ul.navbar-nav li a {
    color: #211E1D;
    border-bottom: 2px solid transparent;
    font-size: 18px;
    line-height: 1.4em;
}
nav ul.navbar-nav li a:hover {
    color: #FF5900;
    background: transparent;
    border-bottom: 2px solid #FF5900;
}
nav ul.navbar-nav li.active a {
    color: #FF5900;
}
.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
    outline: none;
}
.navbar-nav > li > a {
    padding-bottom: 10px;
}
nav .container {
    background-color: #FFAE17;
    border-radius:0px 0px 8px 8px;
    border:2px solid #FF5900;
    /*box-shadow: 0 4px 1px 0 #ff5900;*/
    border-top: 0px;
    
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f6f8f9+0,e5ebee+50,d7dee3+51,f5f7f9+100;White+Gloss */
    background: #f6f8f9; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y2ZjhmOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2U1ZWJlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iI2Q3ZGVlMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY3ZjkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f6f8f9 0%, #e5ebee 50%, #d7dee3 51%, #f5f7f9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f8f9), color-stop(50%,#e5ebee), color-stop(51%,#d7dee3), color-stop(100%,#f5f7f9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=0 ); /* IE6-8 */
}
a.navbar-brand {
    text-indent: -99999px;
    background: url("../img/logo.png") no-repeat center center;
    width: 340px;
    height: 50px;
    width: 242px;
    position: relative;
    left: 4px;
}
.navbar-toggle {
    background: #fff;
    border: 2px solid #ff5900;
}
button.navbar-toggle span.icon-bar {
    background: #000;
}
ul.sitemap {
    float:right;
}
ul.sitemap li {
    display: inline;
}
ul.sitemap li a {
    color: #000;
    line-height: 20px;
    padding: 10px 15px;
}
ul.sitemap li a:hover, ul.sitemap li.active a{
    color: #ff5900;
}
header.carousel {
    height: 50%;
}
.well {
    background-color: #3295C7;
    border: 1px solid #294E66;
    color: #fff;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    //box-shadow: 1px 1px 3px #333 inset;
}
.well a {
    color: #000;
}
.well a:hover {
    color: #294E66;
}
header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
.panel {
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
}
.panel-body {
    border:1px solid #FFAE17;
}
.panel-default > .panel-heading {
    text-align: center;
    background-color: #FF5900;
    border: 2px solid #FFAE17;
    color: #fff;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-bottom: 4px solid #FFAE17;
}
/*
body.contact .panel-default > .panel-heading {
    text-align: left;
}
*/
a.btn-default, .btn-primary {
    border:1px solid #FF5900;
    color: #FF5900;
    background-color: #fff;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
}
a.btn-default:hover, a.btn-default:focus, .homer-service-row a.btn-default:active {
    border:1px solid #FFAE17;
    background: #FF5900;
    color: #fff;
}
.btn-primary {
    border:1px solid #FF5900;
    color: #FF5900;
    background-color: #fff;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    border:1px solid #FFAE17;
    background: #FF5900;
    color: #fff;
}
body.about{
    padding-top:0px;
}
body.about .about-container {
    padding-top: 50px;
    border-bottom:4px solid #ff5900;
    height:50%;
    background: url("../img/about-demo.png") #3295c7 no-repeat scroll center -20px;
}
.copyright a {
    color: #000;
    text-decoration: underline;
}
.copyright a:hover {
    color: #FF5900;
    text-decoration: underline;
}
.flex-row {
    display: flex;
    display: -webkit-flex;
}
.flex {
    flex: 1;
    -webkit-flex: 1;
}
.well.insurance_well h3 {
    margin-top: 10px;
    vartical-align: middle;
    text-align: center;
}
.insurance_well .btn {
    border-color: #294E66;
    color: #fff;
}
.insurance_well .btn:hover {
    color: #294E66;
}
.btn:focus, .btn:active:focus, .btn.active:focus {
    outline: none;
}
#myTab {
    margin-top:20px;
}
a {
    color: #3295C7;
}
a:hover, a:active {
    color: #294E66;
}
.nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus {
    border-color: #FF5900;
    border-bottom-color: #fff;
    color: #FF5900;
}
.nav-tabs.nav-justified > li > a {
    border-bottom-color: #FF5900;
}
.nav-tabs > li > a:hover {
    border-color: #FFAE17;
    border-bottom-color: #FF5900;
}
/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}
.footer-wrap {
    background: #eee;
    margin-top:40px;
    border-top: 1px solid #fff;
    box-shadow: 0 -1px 0 #ccc;
    -webkit-box-shadow: 0 -1px 0 #ccc;
    -moz-box-shadow: 0 -1px 0 #ccc;
}
.footer-wrap footer {
    margin: 20px 0px;
}
body.home > .footer-wrap {
    margin-top: 0px;
}
/* Responsive Styles */
 /*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
    
}

@media only screen and (max-width : 768px) {
    header.carousel {
        height: 40%;
    }
    .copyright, ul.sitemap {
        text-align:center;
        display:block;
        width:100%;
    }
    .carousel-caption p {
        width: 100%;
        float:right;
        text-align: left;
        font-size: 18px;
        color: #fff;
    }
    .carousel-caption h2 {
        width: 100%;
        float:right;
        text-align: left;
        color: #fff;
    }
    .carousel-caption {
        padding-bottom: 2%;
    }
    .carousel-caption {
        left:30%;
    }
    footer {
         text-align:center;
    }
    ul.sitemap {
        float: none;
    }
    nav .container {
        background: #f6f6f6;
    }
}
@media only screen and (min-width : 768px) and (max-width:1024px) and (orientation: landscape){
    header#myCarousel.carousel {
        height: 50%;
    }
    .carousel-caption p, .carousel-caption h2 {
        width: 75%;
    }
    .carousel-caption {
        left: 25%;
    }
}
@media only screen and (max-width:736px) {
    .nav-tabs > li > a:hover {
        border-borrom-color: #ffae17;
    }
    .nav-tabs.nav-justified > li > a {
        border: 1px solid #ffae17;
    }
    .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover {
        border:1px solid #ff5900;
    }
}
/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    .copyright, ul.sitemap {
        text-align:center;
        display:block;
        width:100%;
    }
    header#myCarousel.carousel {
        height: 60%;
    }
        ul.sitemap {
        float: none;
        text-align: center;
        padding-left: 0px;
    }
    .copyright a {
        display: block;
    }
    .nav-tabs > li > a:hover {
        border-borrom-color: #ffae17;
    }
    .nav-tabs.nav-justified > li > a {
        border: 1px solid #ffae17;
    }
    .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover {
        border:1px solid #ff5900;
    }
    .carousel-caption p {
        width: 100%;
        float:right;
        text-align: left;
        font-size: 18px;
        color: #fff;
    }
    .carousel-caption h2 {
        width: 100%;
        float:right;
        text-align: left;
        color: #fff;
    }
    .carousel-caption {
        padding-bottom: 2%;
    }
    .carousel-caption {
        left:15px;
    }
    footer {
         text-align:center;
    }
    ul.sitemap {
        float: none;
    }
    nav .container {
        background: #f6f6f6;
    }
}

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
    .carousel-caption {
        right: 2%;
        left: 2%;
    }
    header.carousel {
        height: 60%;
    }
    .carousel-caption p, .carousel-caption h2 {
        width: 100%;
    }
 }
/*home page carousel fix*/
/*home page carousel fix*/
@media only screen and (max-width: 736px) and (min-width: 414px) and (orientation: portrait) {
    header#myCarousel.carousel {
        height: 50%;
    }
    .carousel-caption {
        left: 15%;
    }
}
@media only screen and (max-width: 736px) and (min-width: 414px) and (orientation: landscape) {
    header#myCarousel.carousel {
        height: 60%;
    }
    .carousel-caption {
        left: 15%;
    }
}
@media only screen and (max-width: 667px) and (min-width: 375px) and (orientation: landscape) {
    header#myCarousel.carousel {
        height: 65%;
    }
    .carousel-caption {
        left: 15%;
    }
}
@media only screen and (max-width: 568px) and (min-width: 320px) and (orientation: landscape) {
    header#myCarousel.carousel {
        height: 82%;
    }
}
@media only screen and (min-width : 320px) and (max-width:480px) and (orientation: landscape){
    header#myCarousel.carousel {
        height: 90%;
    }
}




/* GALLERY PAGE STYLES */
.rg-image-wrapper{
	position:relative;
	padding:20px 30px;
	background:transparent url(../images/black.png) repeat top left;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	min-height:20px;
}
.rg-image{
	position:relative;
	text-align:center;
	line-height:0px;
}
.rg-image img{
	max-height:100%;
	max-width:100%;
}
.rg-image-nav a{
	position:absolute;
	top:0px;
	left:0px;
	background:#000 url(../images/nav.png) no-repeat -20% 50%;
	width:28px;
	height:100%;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
	-moz-border-radius: 10px 0px 0px 10px;
	-webkit-border-radius: 10px 0px 0px 10px;
	border-radius: 10px 0px 0px 10px;
}
.rg-image-nav a.rg-image-nav-next{
	right:0px;
	left:auto;
	background-position:115% 50%;
	-moz-border-radius: 0px 10px 10px 0px;
	-webkit-border-radius: 0px 10px 10px 0px;
	border-radius: 0px 10px 10px 0px;
}
.rg-image-nav a:hover{
	opacity:0.8;
}
.rg-caption {
	text-align:center;
	margin-top:15px;
	position:relative;
}
.rg-caption p{
	font-size:11px;
	letter-spacing:2px;
	line-height:16px;
	padding:0 15px;
	text-transform:uppercase;
}
.rg-view{
	height:30px;
}
.rg-view a{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:#464646 url(../images/views.png) no-repeat top left;
	border:3px solid #464646;
	opacity:0.8;
}
.rg-view a:hover{
	opacity:1.0;
}
.rg-view a.rg-view-full{
	background-position:0px 0px;
}
.rg-view a.rg-view-selected{
	background-color:#6f6f6f;
	border-color:#6f6f6f;
}
.rg-view a.rg-view-thumbs{
	background-position:0px -16px;
}
.rg-loading{
	width:46px;
	height:46px;
	position:absolute;
	top:50%;
	left:50%;
	background:#000 url(../images/ajax-loader.gif) no-repeat center center;
	margin:-23px 0px 0px -23px;
	z-index:100;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	opacity:0.7;
}
#gallery-container {
    margin-top: 75px;
}