/*
.preload{
    position:fixed;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
    z-index:99999;
}*/
/*----------------------*/
/* 21 - Preloader CSS
/*---------------------*/
.preloader{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999999999;
}

.loader {
    margin: 0 auto;
    width: 60px;
    height: 50px;
    text-align: center;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.loader > div {
    height: 100%;
    width: 8px;
    border-radius: 10px;
    display: inline-block;
    float: left;
    margin-left: 2px;
    -webkit-animation: delay 0.8s infinite ease-in-out;
    animation: delay 0.8s infinite ease-in-out;
}

.loader .bar1 {
    background-color: #754fa0;
}

.loader .bar2 {
    background-color: #09b7bf;
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.loader .bar3 {
    background-color: #90d36b;
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.loader .bar4 {
    background-color: #f2d40d;
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.loader .bar5 {
    background-color: #fcb12b;
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.loader .bar6 {
    background-color: #ed1b72;
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

@-webkit-keyframes delay {
    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.05);
    }
    20% {
        -webkit-transform: scaleY(1);
    }
}

@keyframes delay {
    0%,
    40%,
    100% {
        transform: scaleY(0.05);
        -webkit-transform: scaleY(0.05);
    }
    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}


/* Typography
================================================== */

body{
    background:#fff;
    color: inherit;
}

body, p {
    font-family: 'Hind', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased !important;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6{

    font-weight: 700;
    font-family: 'Hind', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased !important;
}

h1{
    font-size: 36px;
    line-height: 48px;
}

h2{
    font-size: 28px;
    line-height: 36px;
}

h3{
    font-size: 24px;
    margin-bottom: 20px;
}

h4{
    font-size: 18px;
    line-height: 28px;
}

h5{
    font-size: 14px;
    line-height: 24px;
}

.alert .icon {
    margin-right: 15px;
}

/* Global styles
================================================== */

html{
    overflow-x: hidden !important;
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body{
    border: 0;
    margin: 0;
    padding: 0;
}

.body-inner{
    position: relative;
    overflow: hidden;
}



a:link,
a:visited{
    text-decoration: none;
}

a{
    color: #3197d6;
}


a:hover{
    text-decoration: none;
    color: #000;
}

a.read-more{
    color: #3197d6;
    font-weight: 700;
    text-transform: uppercase;
}

a.read-more:hover{
    color: #222;
}

section, .section-padding{
    padding: 70px 0;
    position: relative;
}

.no-padding{
    padding: 0;
}

.media>.pull-left{
    margin-right: 20px;
}

.gap-60 {
    clear: both;
    height: 60px;
}

.gap-40 {
    clear: both;
    height: 40px;
}

.gap-30 {
    clear: both;
    height: 30px;
}
.gap-20 {
    clear: both;
    height: 20px;
}

.mrb-30{
    margin-bottom: 30px;
}

.mrb-80{
    margin-bottom: -80px;
}

.mrt-0{
    margin-top: 0 !important;
}

.pab{
    padding-bottom: 0;
}

a:focus{
    outline: 0;
}

img.pull-left {
    margin-right: 20px;
    margin-bottom: 20px;
}

img.pull-right {
    margin-left: 20px;
    margin-bottom: 20px;
}

.unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ts-padding {
    padding: 60px;
}

.solid-bg{
    background: #f9f9f9;
}

.solid-row {
    background: #f0f0f0;
}

.bg-overlay{
    position: relative;
}

.bg-overlay .container{
    position: relative;
    z-index: 1;
}

.bg-overlay:after{
    background-color: rgba(0, 46, 91, 0.8);
    z-index: 0;
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


/* Input form */

.form-control{
    box-shadow: none;
    border: 1px solid #dadada;
    padding: 5px 20px;
    height: 44px;
    background: none;
    color: #959595;
    font-size: 14px;
    border-radius: 0;
}

.form-control:focus{
    box-shadow: none;
    border: 1px solid #3197d6;
}

hr {
    background-color: #e7e7e7;
    border: 0;
    height: 1px;
    margin: 40px 0;
}



/* Bootstrap */

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover,
.nav-tabs>li>a:hover,
.nav-tabs>li>a{
    border: 0;
}

.nav>li>a:focus, .nav>li>a:hover{
    background: none;
}

.pattern-bg {
    background: #f5f5f5 url(../images/crossword.png);
}

a[href^=tel] {
    color: inherit;
    text-decoration: none;
}

/* Top Bar
================================================== */

.top-bar .top-container {
    padding: 8px 20px 8px;
    background: #3197d6;
    position: relative;
}


/* Top info */

ul.top-info {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 600;
}


ul.top-info li {
    position: relative;
    line-height: 10px;
    display: inline-block;
    margin-left: 0;
    padding-right: 15px;
}

ul.top-info li i{
    font-size: 18px;
    position: relative;
    top: 2px;
    margin-right: 5px;
}
ul.top-info li a,
ul.top-info li a:hover{
    color: #fff;
}


ul.top-info li p.info-text {
    margin: 0;
    line-height: normal;
    display: inline-block;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Top social */

.top-social ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-social li {
    display: inline-block;
    padding: 0;
}

.top-social li a{
    color: #fff;
    margin-right: 15px;
    font-size: 14px;
    -webkit-transition: 400ms;
    -moz-transition: 400ms;
    -o-transition: 400ms;
    transition: 400ms;
}

.top-social li a:hover{
    color: #333;
}

/* Top bar border */

.top-bar-border{
    padding: 8px 20px 8px;
    border-bottom: 1px solid #ddd;
}

.top-bar-border ul.top-info{
    color: #7c7c7c;
    font-weight: 400;
}

.top-bar-border .top-social li a{
    color: #7c7c7c;
}

.top-bar-border ul.top-info li i{
    color: #3197d6;
}


/* Header area
================================================== */

.header{
    background: #fff;
    position: relative;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}

.navbar-fixed {
    z-index: 99999;
    position: fixed;
    opacity: .98;
    width: 100%;
    top: 0;
    -webkit-animation: fadeInDown 800ms;
    -moz-animation: fadeInDown 800ms;
    -ms-animation: fadeInDown 800ms;
    -o-animation: fadeInDown 800ms;
    animation: fadeInDown 800ms;
    -webkit-backface-visibility: hidden;
    background: #0f67b1;
}

/*-- Logo --*/

.logo {
    padding: 28px 0;
    width:180px;
}
.logo img{
    width:100%;
}
header .logo img.black-logo{display:block;}
header.navbar-fixed .logo img.black-logo{display:none;}
header .logo img.white-logo{display:none;}
header.navbar-fixed .logo img.white-logo{display:block;}

/* header right */

.header-right {
    float: right;
}

ul.top-info-box {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

ul.top-info-box li {
    position: relative;
    float: left;
    margin-left: 40px;
}

ul.top-info-box li:first-child{
    margin-left: 0;
}

ul.top-info-box li:first-child:before{
    background: none;
}


ul.top-info-box li .info-box span.info-icon {
    font-size: 20px;
    display: inline-block;
    text-align: center;
    float: left;
    width: 42px;
    height: 42px;
    line-height: 44px;
    border: 1px solid #d3d3d3;
    margin-right: 20px;
    position: relative;
    color: #3197d6;
}

ul.top-info-box li .info-box span.info-icon i{
    margin-left: 5px;
}

ul.top-info-box li .info-box .info-box-content {
    display: inline-block;
    font-family: Montserrat;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

ul.top-info-box li .info-box .info-box-title {
    font-weight: 600;
    color: #303030;
    font-size: 15px;
    margin-bottom: 0;
    line-height: normal;
}

ul.top-info-box li .info-box .info-box-subtitle {
    margin: 0;
    line-height: normal;
    color: #999;
    font-size: 14px;
}

/*-- Search start --*/


ul.top-info-box > li.nav-search{
    cursor: pointer;
    padding-left: 30px;
    margin-left: 30px;
}

ul.top-info-box > li.nav-search:before{
    position: absolute;
    content: '';
    background: #ddd;
    left: 0;
    width: 1px;
    height: 40px;
    top: 50%;
    margin-top: -10px;
}

ul.top-info-box > li.nav-search i{
    font-size: 20px;
    top: 10px;
    position: relative;
    cursor: pointer;
    color: #999;
}

/* Main navigation */

.navbar-toggle{
    float: left;
    margin-top: 10px;
    padding: 12px;
}

.navbar{
    border-radius: 0;
    border: 0;
    margin-bottom: 0;
}

.navbar-toggle{
    float: left;
    margin-top: 10px;
    padding: 12px;
    border-radius: 0;
    margin-right: 5px;
    background: #3197d6;
}

.navbar-toggle .icon-bar{
    background: #fff;
}

.navbar-toggle .i-bar{
    background: #fff;
}



.navbar-fixed ul.navbar-nav > li > a{
    color: #fff;
    position: relative;
}

.navbar-fixed ul.navbar-nav > li:hover > a,
.navbar-fixed ul.navbar-nav > li.active > a{
    color: #f1f1f1;
}

ul.navbar-nav{
    float: left;
    display: inline-block;
}

ul.navbar-nav > li{
    float: none;
    display: inline-block;
}



ul.navbar-nav > li{
    position: relative;
}

ul.navbar-nav > li:last-child{
    padding-right: 0;
}

ul.navbar-nav > li:last-child:after{
    background: none;
}

ul.navbar-nav > li > a{
    font-family: 'Roboto Slab', serif;
    color: #333;
    text-rendering: optimizeLegibility;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0;
    line-height: 40px;
    padding: 30px 15px;
    -webkit-transition: 350ms;
    -moz-transition: 350ms;
    -o-transition: 350ms;
    transition: 350ms;
}

ul.navbar-nav > li:hover > a,
ul.navbar-nav > li.active > a{
    background: #3197d6;
    position: relative;
    padding:0 15px;
    color: #fff;
}

ul.navbar-nav > li > a i{
    font-weight: 700;
}

.nav .open>a, .nav .open>a:hover,
.nav .open>a:focus{
    background: transparent;
    border:0;
}


/* Dropdown */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -2px;
    border-radius: 0;
}

.dropdown-submenu>a:after {
    display: block;
    content: "\f105";
    font-family: FontAwesome;
    float: right;
    margin-top: 0;
    margin-right: -5px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dropdown-menu{
    text-align: left;
    background: #fff;
    z-index: 100;
    min-width: 200px;
    border-radius: 0;
    border: 0;
    border-top: 2px solid #3197d6;
    padding: 0 20px;
}

.dropdown-menu-large{
    min-width: 400px;
}

.dropdown-menu-large > li > ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu-large > li > ul > li > a{
    padding-left: 0;
}

.dropdown-menu-large > li > ul > li.active > a{
    color: #3197d6;
}

.navbar-nav>li>.dropdown-menu a{
    background: none;
}

.dropdown-menu li a{
    font-family: 'Roboto Slab', serif;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    color: #333333;
}

.dropdown-menu li:last-child > a{
    border-bottom: 0;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>.dropdown-menu>.active>a{
    background: none;
    color: #3197d6;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus{
    color: #3197d6;
}

@media (min-width: 768px) {
    ul.nav li.dropdown:hover ul.dropdown-menu{ display: block; }
}

@media (min-width: 767px) {
    ul.nav li.dropdown ul.dropdown-menu li.dropdown-submenu .dropdown-menu {left: 100%;top: 0;display: none;}
    ul.nav li.dropdown ul.dropdown-menu li.dropdown-submenu:hover .dropdown-menu{ display:block;}
}

/*-- Nav Search start --*/


ul.navbar-nav > li.nav-search{
    cursor: pointer;
    padding-left: 25px;
    margin-left: 10px;
}

.navbar-fixed ul.navbar-nav > li.nav-search{
    color: #fff;
}
.nav-search:before{
    position: absolute;
    content: '';
    background: #ddd;
    left: 0;
    width: 1px;
    height: 20px;
    top: 50%;
    margin-top: -10px;
}

.search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(53,53,53,.92);
    display: none;
    z-index: 99;
}

.search .form-control {
    border: 1px solid #fff;
    position: fixed;
    top: 50%;
    left: 25%;
    width: 50%;
    height: 60px;
}

.search .search-close {
    color: #fff;
    position: fixed;
    top: 90px;
    right: 19%;
    font-size: 36px;
    cursor: pointer;
}

/* Get a quote */

.header-get-a-quote .btn-primary{
    padding: 10px 15px;
    font-size: 12px;
    border-radius: 0;
    line-height: normal;
    text-transform: capitalize;
    color: #fff;
}

.header-get-a-quote .btn-primary:hover{
    background: #272d33;
    padding: 10px 15px;
}

ul.navbar-nav > li.header-get-a-quote:hover > a:after{
    position: relative;
    content: no-close-quote;
}





#back-to-top {
    right: 40px;
    top: auto;
    z-index: 10;
    -webkit-backface-visibility: hidden;
}

#back-to-top.affix {
    bottom: 60px;
}

#back-to-top .btn.btn-primary{
    width: 40px;
    height: 40px;
    line-height: 42px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 3px;
    color: #3197d6;
    font-weight: 700;
    font-size: 18px;
    padding: 0;
    border:none;
}

#back-to-top .btn.btn-primary:hover{
    color: #fff;
}

.logo img {
    width: 145px;
    height: 48px;
}
