/**
* CSS styles specific to Page templates
*
* @package AdvanceNational
*/

body {
    padding-top: 110px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    color: #2f2f2f;
}

.clr {
    clear: both;
}

.form-control::-ms-clear {
    display: none;
}

select::-ms-expand {
    display: none;
}

.gform_validation_container {
    display: none;
}
/*
.gform_validation_container, #primary {
display: none;
}*/

a,
.btn,
.side-menu i,
.panel-default>.panel-heading,
.panel-title i {
    color: #71903b;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.contact-wrapper input.form-control,
.contact-wrapper textarea.form-control {
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: #71903b;
}
/* Header starts */

.navbar-default,
.navbar-collapse {
    background-color: #fff;
    border-color: transparent;
    border-width: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    /*padding-bottom: 16px;*/
    
    margin-bottom: 0px;
}

.header-right {
    margin-bottom: 0px !important;
}

.navbar-default .navbar-nav>li>a {
    color: #363b41;
    padding: 10px 26px 27px;
    border-bottom: 7px solid transparent;
	font-weight: 500;
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
    color: #71903b;
    border-bottom: 7px solid #71903b;
}

.logo-section .navbar-brand {
    padding: 0 0 0 15px;
}

.logo-section {
    margin-top: 28px;
    float: left;
}

.top-links {
    text-align: right;
    display: none;
    font-size: 12px;
    font-weight: 700;
}

.top-links a {
    color: #71903b;
}

.top-links a:hover {
    color: #71903b;
}

.center-block {
    text-align: center;
}

.left-block {
    text-align: left;
}

.right-block {
    text-align: right;
}

.capitalized {
    text-transform: capitalize;
}

.uppercased {
    text-transform: uppercase;
}

.lowercased {
    text-transform: lowercase;
}

.italicized {
    font-style: italic;
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation ul {
    list-style: none;
    font-size: 16px;
    font-weight: 300;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: auto;
    left: -999em;
    z-index: 99999;
    font-size: 13px;
}

.main-navigation ul ul ul {
    left: -999em;
    top: -3px;
}

.main-navigation ul ul a {
    width: 250px;
    padding: 12px 20px;
    text-transform: uppercase;
    font-size: 11px;
    color: #52595c;
    letter-spacing: 1px;
}

.main-navigation ul ul li {}

.main-navigation li:hover > a,
.main-navigation li.focus > a {}

.main-navigation ul ul:hover > a,
.main-navigation ul ul .focus > a {}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
    display: block;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
    font-weight: 400;
    color: #04315e;
}

.main-navigation .current_page_ancestor > a {
    border-bottom: 7px solid #71903b;
}
/*
        .main-navigation .current_page_item > a {
	border-bottom:7px solid #71903b;	
	}
        */
/* Small menu. */

.menu-toggle,
.main-navigation.toggled ul {
    display: none;
}
/*
@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {}
}
*/

.main-navigation .dropdown-menu {
    border-radius: 0px;
}

.main-navigation ul ul.sub-menu.dropdown-menu.menu-depth-2 {
    border: 0px;
}

.custom-btn {
    display: inline-block;
    border: 2px solid #71903b;
    padding: 9px 15px;
    text-align: center;
    text-transform: uppercase;
    font: 12px 'Montserrat';
    color: #71903b;
}

.custom-btn i {
    float: right;
    margin-left: 12px;
    font-weight: 700;
    font-size: 16px;
}

.custom-btn:hover,
.custom-btn:active,
.custom-btn:focus {
    text-decoration: none;
    background: #71903b;
    color: #fff;
}

.opaque-btn {
    border-color: #fff;
    color: #fff;
}

.opaque-btn:hover,
.opaque-btn:active,
.opaque-btn:focus {
    background: #fff;
    color: #71903b;
}

.top-links a {
    margin-left: 23px;
	color: #363b41;
	
}

nav .custom-btn {
    padding: 8px 15px;
    font-weight: 700;
}
/* Header ends */
/* Inner starts */

.inner-banner {
    text-align: center;
    padding: 65px 0 108px;
    color: #fff;
}

.subpage-banner {
    background: url(../images/banner/bg_subpage.jpg) center center repeat-x;
}

.inner-banner h3,
.bottom-border-heading {
    padding: 0 46px 22px;
    border-bottom: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin: 0;
    font: 700 18px 'Montserrat';
}

.inner-banner a,
.inner-banner a:hover {
    color: #fff;
    text-decoration: none;
}

.inner-banner h2 {
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 0;
}

.inner-page {
    margin-top: -44px;
}

.inner-page .row {
    margin: 0;
}

.inner-page .col-md-3 {
    position: static;
}

.inner-page .col-md-9 {
    background-color: #fff;
}

.inner-page [class*="col-md"] {
    padding: 0;
}

.inner-page .container {
    position: relative;
}

.blue-box {
    /*background: url(../images/bg_blue_box.jpg) top center repeat;*/
    
    background-color: #71903b;
    color: #fff;
    font-weight: 300;
    font-size: 23px;
    padding: 52px 94px;
}

.blue-box p {
    margin: 0;
    line-height: 1.6;
}

.left-bar {
    background-color: #efefef;
    padding: 20px 0;
}

.left-bar h4 {
    border-bottom: 1px solid #e3e3e3;
    text-transform: uppercase;
    padding: 0 10px 12px 50px;
    color: #5e5e5e;
    margin: 0;
    font: 700 20px 'Montserrat';
}

.left-bar h4 a,
.left-bar h4 a:hover {
    color: #5e5e5e;
    text-decoration: none;
}

.side-menu,
.side-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 17px;
}

.side-menu ul {
    padding-left: 48px;
}

.side-menu a {
    color: #2a2a2a;
    padding: 16px 24px 16px 48px;
    display: block;
    position: relative;
}

.side-menu a:hover,
.side-menu a:active,
.side-menu a:focus,
.side-menu .current-menu-item a,
.side-menu .current_page_item a {
    color: #71903b;
    text-decoration: none;
}

.side-menu a:hover i,
.side-menu .current-menu-item i {
    color: #004890;
}

.side-menu i {
    color: #a1a1a1;
    font-weight: bold;
    position: absolute;
    left: 24px;
    top: 18px;
}

.side-menu > li {
    border-bottom: 1px solid #e3e3e3;
}

.side-menu ul {
    font-size: 12px;
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
}

.side-menu ul a {
    padding: 10px 0;
}

.side-menu ul a:first-child {
    padding-top: 0;
}

.side-menu ul.sub-menu li a i {
    display: none;
}

.panel-heading,
.panel-group .panel {
    border-radius: 0;
    border: 0;
    padding: 0;
}

.panel-group .panel-heading+.panel-collapse>.list-group,
.panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 0;
}

.panel-body {
    background-color: #f1f1f1;
    border-bottom: 1px solid #dbe4ec;
    padding: 38px;
}

.panel-body p:first-child {
    margin: 0;
}

.panel-body p {
    /*  margin: 50px 0 0;*/
    
    margin: 25px 0 0;
}

.panel-default>.panel-heading {
    background-color: #363b41;
    color: #ffffff;
}

.panel-heading:hover,
.panel-heading:focus,
.panel-heading:active,
.active>.panel-heading {
    background-color: #71903b;
    color: #ffffff;
}

.panel-heading a {
    color: #ffffff !important;
}

.panel-group,
.main-contents {
    margin: 20px 0;
}

.main-contents {
    font-size: 16px;
    line-height: 1.6;
}

.panel-group .fa-angle-right {
    float: right;
    color: #ffffff;
    font-size: 30px;
    margin-top: -6px;
}

.active .fa-angle-right {
    /* filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=1);*/
    
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    ms-transform: rotate(90deg);
}

.panel-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.panel-group .panel+.panel {
    margin-top: 20px;
}

.panel-title a {
    text-decoration: none;
    padding: 20px 26px 20px 28px;
    display: block;
}

.pre-footer-section {
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid #dbdfe3;
    color: #71903b;
}

.pre-footer-section h4 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

.pre-footer-section .blue-bg-section {
    color: #fff;
}

.pre-footer-section p {
    font-size: 16px;
    font-style: italic;
}

.pre-footer-section .custom-btn {
    margin-top: 14px;
}
/* Inner ends */
/* About us starts */

.page-about-us .big-banner-section {
    background-color: #efefef;
}

.big-banner-section {
    font-size: 16px;
    line-height: 1.5;
    color: #585c60;
}

.grey-container-bg .right-half-mobile {
    color: #333;
}

.big-banner-section .bottom-border-heading {
    border-bottom: 0;
    padding: 0;
    position: relative;
    margin-bottom: 30px;
}

.big-banner-section .bottom-border-heading:after {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 49px;
    height: 4px;
    background: #fff;
    content: '';
}

.big-banner-section h4 {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.5;
    margin: 20px 0;
}

.big-banner-section h5 {
    color: #333333;
    font-size: 23px;
    font-style: italic;
    margin: 0 0 20px;
}

.big-banner-section p {
    margin-bottom: 30px;
}

.second-section {
    color: #585c60;
    border-bottom: 1px solid #dbdfe3;
}

.second-section h3 {
    color: #333;
    font-size: 23px;
    font-style: italic;
    margin-bottom: 30px;
}

.team {
    padding: 60px 0;
    color: #585c60;
    /*  font-size: 13px;*/
    
/*    line-height: 1.7;*/
    line-height: 1.6;
}

.team h2 {
    color: #333333;
    font-size: 32px;
    font-style: italic;
    font-weight: 600;
    text-align: center;
}

.team .media {
    margin-top: 80px;
}

.team h5 {
    font-size: 26px;
    color: #000;
}

.team h6 {
    font: 700 14px 'Montserrat';
    color: #4089c3;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.team .media-left {
    position: relative;
}

.team .media-left a {
    margin: -28px 0 0 162px;
    float: left;
    position: relative;
    z-index: 2;
    color: #fff;
    background-color: #007bb6;
    width: 24px;
    height: 24px;
    border-radius: 50px;
    padding: 5px 6px;
    display: block;
    font: normal normal normal 14px/1 'FontAwesome';
}

.team .media-left a:hover,
.team .media-left a:focus,
m.team .media-left a:active {
    text-decoration: none;
}

.team .media-left a:after {
    content: "\f0e1";
}

.team .media-left,
.team .media>.pull-left {
    padding-right: 26px;
}

.highlights {
    padding: 0 0 40px;
    font-size: 16px;
    line-height: 1.5;
}

.team .media {
    margin-top: 40px;
}
/* About us ends */
/* Services starts */

.section-home-services {
    display: none;
}

.services-wrapper {
    top: -52px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.services-wrapper .row {
    margin: 0;
}

.services-wrapper .col-md-4 {
    padding: 0;
}

.services-wrapper h3 {
    margin: 0 0 16px;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 4px;
}

.services-wrapper figure {
    position: relative;
    float: left;
    overflow: hidden;
	background: #363b41;
    cursor: pointer;
}

.services-wrapper figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.5;

}

.services-wrapper figure figcaption {
    padding: 32px;
    color: #fff;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.services-wrapper figure figcaption::before,
.services-wrapper figure figcaption::after {
    pointer-events: none;
}

.services-wrapper figure figcaption,
.services-wrapper figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Anchor will cover the whole item by default */

.services-wrapper figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.services-wrapper figure h2 {
    font-size: 18px;
}

.services-wrapper figure h2,
.services-wrapper figure p {
    margin: 0;
}

.services-wrapper figure p {
    font-size: 13px;
    line-height: 1.4;
    font-style: italic;
    font-weight: 300;
}

figure.effect-sadie figcaption::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #71903b;
    background: #71903b;
    content: '';
    opacity: 0;
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
}

figure.effect-sadie h2 {
    position: absolute;
    top: 72%;
    left: 32px;
    width: 100%;
    color: #fff;
    -webkit-transition: -webkit-transform 0.35s, color 0.35s;
    transition: transform 0.35s, color 0.35s;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

figure.effect-sadie h2:after {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 28px;
    height: 1px;
    background: #fff;
    content: '';
}

figure.effect-sadie figcaption::before,
figure.effect-sadie p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sadie p {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 32px 42px;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
}

figure.effect-sadie:hover h2 {
    top: 54%;
    color: #fff;
    -webkit-transform: translate3d(0, -50%, 0) translate3d(0, -40px, 0);
    transform: translate3d(0, -50%, 0) translate3d(0, -40px, 0);
}

figure.effect-sadie:hover figcaption::before,
figure.effect-sadie:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
/*.inner-page  .services-wrapper {
	margin-top: 20px;
}*/
/*
.inner-page .services-wrapper .row {
    margin: 0 -15px;
}*/
/*
.inner-page .services-wrapper .col-md-4 {
    padding: 0 15px;
}*/

figure.effect-sadie i {
    font-size: 14px;
    margin-left: 8px;
}

.inner-page figure.effect-sadie h2:after {
    display: none;
}
/* Services ends */
/* Compliance starts */

.internal-policies-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.internal-policies-list li {
    /*display: inline-block;*/
    
    margin: 20px 20px 0 0;
}

.internal-policies-list .custom-btn i {
    float: left;
    margin: 0 12px 0 0;
    font-weight: 400;
}

.right-section.main-contents h3 {
    margin-bottom: 45px;
}

.right-section.main-contents p {
    margin: 0 0 30px;
}
/* Compliance ends */
/* 404 page starts */

.error-404 {
    margin: 50px 0;
    text-align: center;
    min-height: 500px;
}
/* 404 page ends */
/* Thanks starts */

.page-thank-you .main-contents {
    text-align: center;
}

.page-thank-you .custom-btn {
    margin-top: 14px;
}
/* Thanks ends */
/* Footer starts */

footer section {
    background: #363b41;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    position: relative;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer li {
    margin-bottom: 6px;
}

footer a {
    color: #fff;
}

footer a:hover,
footer a:focus,
footer a:active {
    /*   color: #fff;*/
    
    color: #94c6e3;
    text-decoration: none;
    /*  border-bottom: 1px solid #fff;*/
}

footer h4 {
    font-size: 20px;
    margin: 28px 0 48px;
    font-weight: 300;
}

.footer-logo {
    margin-top: 91px;
    /*  max-width: inherit;*/
    
    max-width: auto;
    margin: 105px 0 0 20px;
}

.site-info {
    font-size: 11px;
    padding-top: 30px;
    padding-bottom: 17px;
}

.site-info,
.site-info a,
.site-info a:hover,
.site-info a:active,
.site-info a:focus {
    color: #71903b;
}

.site-info a:hover,
.site-info a:active,
.site-info a:focus {
    border-bottom: 1px solid;
    border-color: #71903b;
}

.site-info li {
    display: inline-block;
    margin-right: 16px;
}

.linkedin-logo {
    margin-top: 24px;
    display: inline-block;
}

.linkedin-logo .fa-linkedin {
    background-color: #007bb6;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 27px;
    height: 45px;
    width: 45px;
}

.linkedin-logo:hover,
.linkedin-logo:focus,
.linkedin-logo:active {
    border: 0;
}

.address-locations {
    margin-bottom: 20px;
}

.address-locations p {
    margin-bottom: 5px;
}

.address-phone strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

footer section .col-md-4 {
    min-height: 340px;
}
/* Footer ends */

/* Complience starts */

.inner-page .grid-wrapper {
    margin-top:20px;
}
.inner-page .grid-wrapper [class*="col-md"] {
    padding: 0 15px;
    margin-bottom: 30px;
}
.inner-page .grid-wrapper .row {
    margin: 0 -15px;
}
.grid-wrapper figure h2 {
  font-size: 16px;
  left: 0;
  text-align: center;
}

.grid-wrapper figure {
	float: none;
}

.grid-wrapper figure.effect-sadie:hover h2 {
	top: 76%;
}

.grid-wrapper figure {
	background: #363b41;
}

.grid-wrapper figure.effect-sadie i {
  font-size: inherit;
}

.grid-wrapper figure.effect-sadie figcaption::before {
  background: #71903b;
}

/* Complience ends */
/* Responsive starts*/
@media (min-width: 992px) and (max-width: 1200px) {

/* Complience starts */

.grid-wrapper figure h2 {
  font-size: 14px;
}

/* Complience ends */

}

@media (max-width: 1024px) {
    /* Services starts */
    
    figure.effect-sadie figcaption::before,
    figure.effect-sadie p {
        opacity: 1;
        transform: translate3d(0px, 0px, 0px);
    }
    figure.effect-sadie figcaption::before {
        background: transparent;
    }
    figure.effect-sadie h2 {
        color: #fff;
        top: 30%;
        transform: translate3d(0px, -50%, 0px) translate3d(0px, -40px, 0px);
    }
    .sub-services-wrapper.services-wrapper figure.effect-sadie h2 {
        color: #fff;
        top: 98%;
        transform: translate3d(0px, -50%, 0px) translate3d(0px, -40px, 0px);
    }
    figure.effect-sadie figcaption::before {
        position: static;
    }
    .services-wrapper figure img {
        min-height: inherit;
    }
    /* Services ends */
}

@media (max-width: 1400px) {
    /* Header ends */
    /* Contact us starts */
    
    .contact-left-bg {
        right: 58%;
    }
    .contact-right-bg {
        left: 42%;
    }
    /* Contact us ends */
}

@media (max-width: 1200px) {
    /* Header starts */
    
    .navbar-default .navbar-nav > li > a {
        padding: 10px 14px 27px;
    }
    /* Header ends */
    /* Contact us starts */
    
    .contact-left-bg {
        right: 57%;
    }
    .contact-right-bg {
        left: 43%;
    }
    /* Contact us ends */
}

@media (max-width: 992px) {
    /* Services starts */
    
    .services-wrapper figure img {
        width: 100%;
    }
    .services-wrapper figure {
        float: none;
    }
    /* Services ends */
    /* Contact us starts */
    
    .contact-left-bg {
        right: 57.5%;
    }
    .contact-right-bg {
        left: 42.5%;
    }
    /* Contact us ends */
}

@media (min-width: 768px) {
    .equal,
    .equal > div[class*='col-'] {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        flex: 1 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    /* Header starts */
    
    .navbar-default .navbar-nav > li > a {
        padding: 10px 8px 27px;
    }
    .main-navigation ul {
        font-size: 14px;
    }
    .navbar-brand > img {
        height: 80%;
        width: 100%;
    }
    .logo-section {
        width: 200px;
    }
    /* Header ends */
    /* Footer starts */
    
    .footer-logo {
        margin-top: 20px;
    }
    footer section .col-md-4 {
        min-height: 420px;
    }
    /* Footer ends */
    /* Contact us starts */
    
    .contact-wrapper .bottom-border-heading {
        font-size: 42px;
    }
    /* Contact ends */
    /* Complience starts */

.inner-page .grid-wrapper .row {
    margin: 0;
}

.inner-page .grid-wrapper [class*="col-md"] {
    padding: 0;
}
 .left-bar h4 {
        padding: 0 10px 12px 25px;
    }
/* Complience ends */
    .sub-services-wrapper.services-wrapper figure.effect-sadie h2{
        top:65% !important;
        bottom:10% !important;
    }

}
@media (min-width: 768px) and (max-width: 1024px) {
      .sub-services-wrapper.services-wrapper figure.effect-sadie h2{
        top:65% !important;
        bottom:10% !important;
    }
}
@media (max-width: 767px) {
    /* Header starts */
    
    .navbar-default .navbar-nav>li>a,
    .navbar-default .navbar-nav>li>a:focus,
    .navbar-default .navbar-nav>li>a:hover {
        border-bottom: 0 solid transparent;
    }
    .navbar-brand > img {
        height: 80%;
    }
    .navbar-default .navbar-nav > li {
        border-bottom: 1px solid rgba(20, 104, 178, 0.8);
    }
    .navbar-default .navbar-nav > li > a {
        padding: 10px 15px;
        background: #71903b;
        color: #fff;
        font-size: 13px;
    }
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li.current-menu-item > a,
    .navbar-default .navbar-nav > li.current-menu-parent> a,
    .navbar-default .navbar-nav > li > a:active,
    .navbar-default .navbar-nav > li > a:focus {
        background: #ae9f44;
        color: #fff;
    }
    .navbar-nav .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .navbar-nav .sub-menu > li {
        border-bottom: 1px solid rgba(94, 158, 202, 0.8);
    }
    /*
    .navbar-nav .sub-menu li:first-child {
        border-bottom: 0;
    } */
    
    .navbar-nav .sub-menu li:last-child {
        border-bottom: 0;
    }
    .navbar-nav .sub-menu .sub-menu li:first-child {
        border-bottom: 1px solid rgba(94, 158, 202, 0.8);
    }
    .navbar-nav .sub-menu > li > a {
        background: #5e9eca;
        padding: 10px 15px 10px 30px;
        display: block;
        font-size: 12px;
        color: #fff;
    }
    .navbar-nav .sub-menu > li > a:hover,
    .navbar-nav .sub-menu > li.current-menu-item > a,
    .navbar-nav .sub-menu > li > a:focus,
    .navbar-nav .sub-menu > li > a:active {
        background: #65aada;
        color: #fff;
    }
    .navbar-nav .sub-menu .sub-menu {
        border-top: 1px solid rgba(94, 158, 202, 0.8);
    }
    .navbar-nav .sub-menu .sub-menu > li > a {
        padding: 10px 15px 10px 45px;
    }
    .navbar-collapse {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: -15px;
        padding-right: -15px;
    }
    /*
    .navbar-fixed-bottom .navbar-collapse,
    .navbar-fixed-top .navbar-collapse {
        max-height: inherit;
    }
*/
    /* Header ends */
    /*Grid Wrapper Starts*/
    .inner-page .services-wrapper.grid-wrapper{
          margin-top: 75px;
    }
    
    /*Grid Wrapper Ends*/
    /* Inner page starts */
    
    .left-half-mobile {
        background: url(../images/bg_prefooter_left.jpg) top right repeat #e6e6e6;
    }
    .right-half-mobile {
        background: url(../images/bg_prefooter_right.jpg) top left repeat #ae9f44;
    }
    .inner-banner h2 {
        font-size: 30px;
    }
    .pre-footer-section {
        padding: 0;
        border: 0;
    }
    .pre-footer-section [class*="col-md"] {
        padding: 30px 15px;
    }
    .blue-box {
        padding: 20px;
        font-size: 18px;
    }
    /* Inner page ends */
    /* About us starts */
    
    .big-banner-section .left-half-mobile {
        /*background: url("../images/bg_about_left.jpg") repeat scroll right top #4089c3;*/
        
        background: #5e9eca;
        padding: 20px 15px;
    }
    .big-banner-section .right-half-mobile {
        background: url(../images/bg_about_right.jpg) top right repeat #9db2c4;
        padding: 20px 15px;
        min-height: 300px;
    }
    .second-section .right-half-mobile {
        background: url("../images/bg_people.jpg") repeat scroll right top #9db2c4;
        padding: 20px 15px;
        min-height: 300px;
    }
    .about-footer-section .right-half-mobile {
        background: url(../images/bg_about_footer_right.jpg) top left repeat #ae9f44;
    }
    .team {
        padding: 20px 0;
    }
    .team .media {
        margin-top: 30px;
    }
    .second-section {
        border-bottom: 0;
    }
    /* About us ends */
    /* Contact us starts */
    
    .custom-col-left,
    .custom-col-right {
        padding: 20px 15px;
    }
    .custom-col-left {
        background: url(../images/bg_contact_left.jpg) top right repeat #71903b;
    }
    .custom-col-right {
        background: url(../images/bg_contact_right.jpg) top left repeat #2f526e;
    }
    .contact-wrapper .nav-stacked > li {
        float: left;
        width: 25%;
        margin: 0;
        text-align: center;
    }
    .locations-box .tab-content {
        padding: 20px;
    }
    .contact-wrapper .bottom-border-heading {
        font-size: 34px;
    }
    /* Contact us ends */
    /* Services starts */
    
    .services-wrapper {
        /* margin-top: 20px;*/
        
        margin-top: 75px;
    }
    .services-wrapper h3 {
        color: #000;
    }
    /* Services ends */
    /* Footer starts */
    
    .footer-logo {
        margin-top: 6px;
    }
    footer section {
        padding: 20px 0 10px;
    }
    footer h4 {
        margin: 0 0 10px;
    }
    .sm-footer {
        margin-top: 20px;
        margin-left: 40%;
    }
    .sm-footer-logo,
    .linkedin-logo {
        float: left;
        margin-right: 20px;
        margin-top: 0px;
    }
    .sm-center-block {
        text-align: center;
    }
    .footer-links {
        margin: 10px 0 6px;
    }
    .site-info {
        padding: 10px 15px 0;
    }
    /* Footer ends */
    /* Thanks starts */
    
    .page-thank-you .main-contents {
        margin: 70px 0 40px;
    }
    /* Thanks ends */
    
    .navbar-default .navbar-nav>li>a:focus,
    .navbar-default .navbar-nav>li>a:hover {
        border-bottom: none;
    }
    body {
        padding-top: 100px;
    }
   

}

@media (max-width: 480px) {
    /* About us starts */
    
    .media-body,
    .media-left,
    .media-right {
        display: block;
    }
    .team .media {
        margin-top: 30px;
    }
    .media-body {
        margin-top: 20px;
        width: auto;
    }
    /* About us ends */
    /* Contact us starts */
    
    .contact-wrapper .nav-pills > li > a {
        padding: 18px 3px;
        font-size: 9px !important;
    }
    .contact-wrapper .nav-pills > li > a {
        font-size: 10px;
        /*min-height: 60px;*/
    }
    .locations-box .tab-content {
        padding: 15px;
    }
    li#field_3_17,
    li#field_3_8,
    li#field_2_17,
    li#field_2_8,
    li#field_3_17,
    li#field_3_8 {
        float: none;
        width: auto;
    }
    #input_3_17 {
        border-right: 1px solid #8eb3cb;
        border-bottom: 0;
        width: 100%;
    }
    #input_3_8,
    li#field_3_8,
    li#field_3_17 {
        width: 100%;
    }
    #field_3_2 .form-control {
        border-left: 1px solid #8eb3cb;
    }
    #field_2_1,
    #field_2_2,
    #field_3_1,
    #field_3_2 {
        display: block;
        width: auto;
    }
    /* Contact us ends */
    /* Complience starts */

    .grid-wrapper figure h2 {
      font-size: 14px;
    }

    /* Complience ends */
}

@media (min-width: 768px) {
    .top-links {
        display: block;
    }
    .header-right {
        float: right;
        margin: 18px 0 7px;
    }
    .main-navigation li {
        float: left;
    }
    .bottom-links {
        margin-top: 16px;
    }
    .main-navigation {
        float: left;
    }
    nav .main-navigation {
        margin-top: -4px;
    }
    footer section:after {
        content: "";
        width: 100%;
        position: absolute;
        right: 0;
        top: 73px;

    }
    footer section .col-md-4 {
        border-right: 1px solid rgba(22, 57, 96, 0.20);
        padding-right: 30px;
        padding-left: 30px;
    }
    footer section .col-md-4:last-child {
        border-right: none;
    }
    .copyright-text {
        text-align: right;
    }
    /* Inner page starts */
    
    .panel-group,
    .main-contents {
        margin: 57px 95px 160px;
    }
    .left-bar {
        position: absolute;
        width: 25%;
        top: 0;
        bottom: 0;
        padding: 48px 26px 20px 0;
    }
    .pre-footer-section,
    .big-banner-section {
        position: relative;
        overflow: hidden;
    }
    .left-half,
    .right-half {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
    }
    .left-half {
        right: 50%;
        background: url(../images/bg_prefooter_left.jpg) top right repeat #e6e6e6;
    }
    .right-half {
        left: 50%;
        background: url(../images/bg_prefooter_right.jpg) top left repeat #ae9f44;
    }
    .grey-container-bg {
        background: #efefef;
    }
    .inner-page .pre-footer-section .row {
        margin: 0 -15px;
    }
    .inner-page .col-md-9 {
        min-height: 700px;
    }
    .inner-page .pre-footer-section [class*="col-md"] {
        padding: 0 15px;
    }
    /* Inner page ends */
    /* About us starts */
    
    .big-banner-section {
        padding: 80px 0;
    }
    .about-left-bg {
        /* background: url(../images/bg_about_left.jpg) top right repeat #4089c3;*/
        
        background: #efefef;
    }
    .about-right-bg {
        background: url(../images/bg_about_right.jpg) top left repeat #9db2c4;
    }
    .second-section .about-left-bg {
        /*background: url(../images/bg_people.jpg) top right repeat #9db2c4;*/
        
        background-color: #fff;
    }
    .big-banner-section .col-md-6 {
        padding-left: 30px;
        padding-right: 30px;
    }
    .second-section .col-md-6 {
        padding-left: 62px;
        padding-right: 62px;
    }
    .about-footer-section .right-half {
        left: 50%;
        background: url(../images/bg_about_footer_right.jpg) top left repeat #ae9f44;
    }
    /* About us ends */
    /* Contact us starts */
    
    .contact-wrapper {
        position: relative;
        overflow: hidden;
        padding: 96px 0;
    }
    .contact-left-bg,
    .contact-right-bg {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
    }
    .custom-col-left,
    .custom-col-right {
        padding-right: 40px;
        padding-left: 40px;
    }
    .custom-row {
        margin-right: -40px;
        margin-left: -40px;
    }
    /* Contact us ends */
    /* Services starts */
    
    .inner-page .services-wrapper {
        margin-bottom: 20px;
        top: 0;
    }
    /* Services ends */
    /* Thanks starts */
    
    .page-thank-you .main-contents {
        margin: 80px 0 50px;
    }
    /* Thanks ends */
}
/* Responsive ends */

.gform_ajax_spinner {
    display: none;
}

.page-thank-you .custom-btn i {
    margin-right: 0.5em;
    margin-left: 0em;
}

.services-wrapper.compliances-wrapper figure,
.sub-services-wrapper.services-wrapper figure {
    float: none;
}

.services-wrapper.compliances-wrapper h2,
.sub-services-wrapper.services-wrapper h2 {
    font-size: 17px;
}

.bg-grey {
    background-color: #EFEFEF;
}

@media (min-width: 992px) {
    .team.highlights .col-md-6 {
        width: 49% !important;
    }
}
