/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.1
*/


body:not([data-header-format="left-header"]) .ocm-effect-wrap #top .sf-menu li ul,
.ocm-effect-wrap #top nav > ul > .megamenu > .sub-menu,
body #top .ocm-effect-wrap nav > ul > .megamenu > .sub-menu > li > a {
    background: #fff !important;
}

.ocm-effect-wrap #top .sf-menu li ul .current-menu-item > a,
.ocm-effect-wrap #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul .current-menu-item > a,
.ocm-effect-wrap #header-outer #top nav > ul > li:not(.megamenu) ul a:hover,
.ocm-effect-wrap #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a:hover {
    background: #eee!important;
}


.ocm-effect-wrap #page-header-bg[data-post-hs="default_minimal"] .inner-wrap >a,
.ocm-effect-wrap #page-header-bg[data-post-hs="default_minimal"] .inner-wrap >a:hover{
    background: #fff!important;
    color: #407693!important;
}


/* Fix Salient images 100% width on home page on mobile */
@media only screen and (min-width: 1px) and (max-width: 999px) {
.img-with-aniamtion-wrap[data-max-width-mobile*="%"]:not([data-max-width="75%"]):not([data-max-width="50%"]) img {
    width: 100%;
    width: auto;
}
}

@media only screen and (max-width: 767px) {
#hubspot-messages-iframe-container {
    opacity: 0;
    transition: all .4s ease-in;
}
}

#hubspot-messages-iframe-container.show-chat {
    opacity: 1;
}

/* Footer */
#footer-outer-custom {
    background: #082338;
    color: white;
    padding-top: 55px;
    letter-spacing: 1px;
}

#footer-outer-custom #footer-widgets {
	padding-bottom: 55px;
}

.footer-divider {
	background: #eaad41;
    height: 1px;
    margin-top: -11px;
    margin-bottom: 15px !important;
    display: block;
}

#copyright {
	background: #eaad41;
	padding: 9px 0;
}

#copyright .col {
	width: 100%;
}

#footer-outer-custom a {
	color: white;
}

#copyright a {
    color: white;
    padding-left: 8px;
}

#copyright a,
#footer-outer-custom a {
   transition: all .3s;
}

#copyright a:hover,
#footer-outer-custom a:hover {
    opacity: .8;
}

#footer-outer-custom .menu a:hover {
	opacity: 1;
}

#footer-outer-custom .menu a:after {
    -webkit-transition: -webkit-transform .3s ease-out, border-color .3s ease-out;
    transition: transform .3s ease-out, border-color .3s ease-out;
    position: absolute;
    display: block;
    bottom: -6px;
    left: 0;
    width: 100%;
    -ms-transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    border-top: 2px solid #eaad41;
    content: "";
    padding-bottom: inherit;
}

#footer-outer-custom .menu a:after {
    transform-origin: 0 0;
    transition: transform .35s cubic-bezier(.52,.01,.16,1);
    bottom: -3px;
}

#footer-outer-custom .menu a:hover:after {
    backface-visibility: hidden;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

#footer-outer-custom:after {
    transition: transform .35s cubic-bezier(.52,.01,.16,1), border-color .35s cubic-bezier(.52,.01,.16,1);
}

#footer-outer-custom:after {
    border-color: #eaad41;
}

#copyright .col.span_7.col_last {
    display: none;
}

#footer-outer-custom ul.menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer-outer-custom ul.menu {
    list-style: none;
    margin: 0;
    font-weight: bold;
}

.footer-social-custom {
    clear: both;
}

#footer-outer-custom a {
    color: white;
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

#footer-outer-custom .menu li:first-child a {
    color: #eaad41;
    font-weight: bold;
}

#footer-secondary-heading h2 {
    color: #eaad41;
    font-size: 32px;
    /*transform: scale(1, .8);*/
    letter-spacing: .03em;
    margin-top: -13px;
}

#footer-secondary-heading {
    border-bottom: 1px solid #eaad41;
    padding-bottom: 41px;
    margin-bottom: 2px;
}

#footer-logo {
    border-bottom: 1px solid #eaad41;
    padding-bottom: 36px;
    margin-bottom: 35px;
}

#footer-secondary-heading p {
    padding: 0;
    margin: 0;
    margin-top: -6px;
    font-size: 19px;
}

@media (min-width: 690px) {
    #footer-outer-custom .vc_col-sm-3 {
        width: 27.5%;
    }
    #footer-outer-custom .vc_col-sm-9 {
        width: 72.5%;
        padding-left: 8%;
    }
}

.footer-contact-details address {
    margin-top: 11px;
    margin-bottom: 15px;
}

.footer-contact-details {
    line-height: 1.5;
    font-size: 13px;
}

#copyright p, #copyright a {
    font-size: 14px;
}

#footer-widgets-custom {
	padding-bottom: 50px;
}

@media (max-width: 690px) {
	.nobreaks-mobile br {
		display: none;
	}
	#footer-widgets-custom {
		padding-bottom: 0px;
	}
	.clear-mobile {
    	display: block;
    }
    #copyright .clear-mobile > a:first-child {
    	padding-left: 0;
    }
    #copyright .col {
    	margin-bottom: 5px;
    }
    #footer-outer-custom #footer-widgets {
    	padding-bottom: 0;
    }
    #footer-outer-custom #footer-widgets .container .col {
        margin-bottom: 0px;
    }
    .footer-col-right {
    	padding: 50px 0 0;
    }
    #footer-secondary-heading h2 {
	    font-size: 29px;
	    line-height: 1.2;
	}
	.footer-col-right .wpb_wrapper>.vc_wp_custommenu:last-child {
		margin-bottom:1.5em ;
	}
}

@media only screen and (min-width: 691px) and (max-width: 999px) {
    #footer-widgets .container .row .col.span_12 {
        margin-left: 0px;
        width: 100%;
    }
}

.navy-blue-bg,
.navy-blue-bg.nectar-button[data-color-override="false"].regular-button {
	background: #082338 !important;
}

.navy-blue-bg.nectar-button[data-color-override="false"].regular-button,
.yellow-bg.nectar-button[data-color-override="false"].regular-button {
	font-size: 20px;
	border-radius: 0 !important;
	font-weight: bold;
}

.navy-blue-color {
	color: #082338;
}

p.p1 {
    font-size: 18px;
}

.yellow-bg,
.yellow-bg.nectar-button[data-color-override="false"].regular-button {
	background: #eaad41 !important;
}

.pricing-icon {
	max-width: 115px !important;
}

.bottom-yellow-bg > div:first-child {
	border-bottom: 23px solid #eaad41;
}