/*
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
*/

/* TITLE COLOR */
body h1{
	color: #192f82!important;
}

/* HEADER */
#header-outer[data-full-width="true"] header >.container{
	padding-right: 0px!Important;}

body #header-outer:not([data-lhe="animated_underline"]) header#top nav ul.sub-menu li[class*="button_solid_color"] a:hover{
	margin-left: 0px!important;
	margin-right: 0px!Important;
}

.phonemenu a{
	font-weight: bold!important;
	font-size: 26px!important;
	color: #1b2c88!important;
	position: relative;
	padding-top: 16px!important;
	transition: all 0.2s ease-in-out!important;
}

.phonemenu a:before{
	content: "\f095";
	font-size: 70%;
	font-family: FontAwesome;
	padding-right: 5px;
}

.phonemenu a:after{
	content: "For quick contact:";
    position: absolute;
    top: -5px;
    left: 40px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.usprow h5{
	color: #f7f7f7!important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

header#top nav ul li a, body[data-dropdown-style="minimal"] header#top .sf-menu li ul li a{
    color: #172e83;
}

html #header-outer:not([data-lhe="animated_underline"]) header#top nav .sf-menu li.current_page_item:not(.servicemenu) > a, header#top nav ul li a:hover, html #header-outer:not([data-lhe="animated_underline"]) header#top nav > ul > li > a:hover, header#top nav ul li.menu-item-over:not(.servicemenu) > a, html header#top nav ul li.sfHover:not(.servicemenu) > a, html #header-outer:not([data-lhe="animated_underline"]) header#top nav .sf-menu > li.sfHover:not(.servicemenu) > a{
	color:#278dea!important }

@media screen and (min-width: 1001px){
.servicemenu > a{
	background: #a6d3fc!important;;
    padding: 10px 16px!important;
    border-radius: 33px;
    margin: 0 16px!important;
    color: #193084!important;
	transition: all 0.3s ease-in-out!important;
	box-shadow: transparent 0px 0px 0px;
	border: solid 1px transparent;
}

.servicemenu > a:after{
	padding-left: 4px;
	content: "\f0d7";
	font-family: fontAwesome;
	font-size: 75%;
}
	.servicemenu > a:hover, .servicemenu.menu-item-over > a{
	border-color: #193084!important;
    transition: all 0.3s ease-in-out!important;
    box-shadow: #19308426 0px 0px 30px;
	}

}

@media screen and (min-width: 1001px) and (max-width: 1100px){
	.phonemenu a{font-size: 18px!important; transition: all 0.2s ease-in-out!important; padding-top: 0px!important;}
	.phonemenu a:after{display: none;}
}

/* HERO */
.hero h5{
	text-transform: uppercase;
    color: #278dea!important;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero .nectar-button span{
	text-align: center;
}

.hero p{
	font-size: 17px;
	color: #333!important;
}

/* PODS */

.podboxes .vc_col-sm-3 > .vc_column-inner{
    background-color: #ffffff;
    box-shadow: rgba(0,0,0,0.07) 1px 1px 65px;
}

.podtitle{
    background-color: #a6d3fc !important;
    padding: 5px 14px;
    transform: translate(-13px, -41px);
    box-shadow: rgba(0,0,0,0.1) 1px 1px 45px;
    display: inline-block;
    margin-bottom: 0px!important;
}

.podtext{
    margin-top: -45px;
    padding: 25px;
}

/* BUTTON HOVER */
.nectar-button[data-color-override="false"].regular-button{
	transition: all 0.3s ease-in-out!important;
	opacity: 1!important;
}
.nectar-button[data-color-override="false"].regular-button:hover{
	background-color: #a6d3fd!important;
	transition: all 0.3s ease-in-out!important;
	opacity: 1!important;
	color: #193084!important;
}

/* USP ROW SAME HEIGHT */

@media screen and (max-width: 480px){
    .usprow .col{
        min-height: 257px;
    }
}

/* HAMBURGER ICON FIX */
@media only screen and (max-width: 1000px){
html .material header#top .span_9 >.slide-out-widget-area-toggle {
    padding-right: 20px!important;
}}

/* CTA ROW */

.ctaimg h2{
    color: white!important;
}

.ctaimg > .vc_column-inner, .ctaimg > .vc_column-inner > .wpb_wrapper, .ctaimg > .vc_column-inner > .wpb_wrapper > .wpb_text_column{
    height: 100%;
}

.ctaimg > .vc_column-inner > .wpb_wrapper > .wpb_text_column{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.ctaimg > .vc_column-inner > .wpb_wrapper > .wpb_text_column:before{
    content: "";
    background: #182f83;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0.6;
    z-index: 1;
}

.ctaimg > .vc_column-inner > .wpb_wrapper > .wpb_text_column > .wpb_wrapper{
    z-index: 2;
}

.ctatext img{
    max-width: 125px!important;
}

.ctatext, .ctatext a{
    color: white!important;
    font-size: 28px;
    font-weight: bold;
}

.ctatext a{
    display: inline-block;}

/* FADE BOTTOM BACKGROUND */

.bottomfade > .span_12:before{
    content: "";
    height: 125px;
    width: 100%;
    position: absolute;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 87%, rgba(255,255,255,1) 100%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 87%,rgba(255,255,255,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 87%,rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    bottom: 0px;
}

.bottomfadeblue .span_12:before{
	content: "";
    height: 125px;
    width: 100%;
    position: absolute;
	bottom: 0px;
	background: -moz-linear-gradient(top, rgba(246,253,255,0) 0%, rgba(246,253,255,1) 87%, rgba(246,253,255,1) 100%);
background: -webkit-linear-gradient(top, rgba(246,253,255,0) 0%,rgba(246,253,255,1) 87%,rgba(246,253,255,1) 100%);
background: linear-gradient(to bottom, rgba(246,253,255,0) 0%,rgba(246,253,255,1) 87%,rgba(246,253,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f6fdff', endColorstr='#f6fdff',GradientType=0 );
}

/* MOBILE CTA PHONE */
@media screen and (min-width: 481px){
	.floatmobile{
		display: none!important;
	}
}

#footer-outer{
		z-index: 99999;
	}

.floatmobile{ 
	position: fixed;
    width: 100%;
    left: 0px;
    bottom: 0px;
    background: #182e83;  
    display: -webkit-box;  
    display: -ms-flexbox;  
    display: flex;
    font-weight: 600;
    font-size: 18px;
    font-family: Raleway;
	}

html #footer-outer .floatmobile a:not(.nectar-button){
	color: white!important;
	padding: 8px;
	width: 100%;
	height: 100%;
	text-align: center;
    font-family: OpenSans;
    font-weight: bold;
    -webkit-box-shadow: rgba(0,0,0,0.2) 1px 1px 30px;
            box-shadow: rgba(0,0,0,0.2) 1px 1px 30px;
}

.floatmobile a:before{
	content: "\f095";
    padding-right: 7px;
    font-family: FontAwesome;
    font-size: 85%;
}

/* SERVICES PAGE */
.services .vc_col-sm-3 {
    margin-bottom: 0%!important;
}

.services .vc_col-sm-3 > .vc_column-inner{
    height: 100px;
    width: 100%;
    background-image: url(https://cromwelldentalpractice.co.uk/wp-content/uploads/2018/06/cronwell-plus.png);
    background-size: 50px;
    background-repeat: no-repeat;
    background-color: #19488c;
    background-position: 5% 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.services .vc_col-sm-3 > .vc_column-inner h5{
    padding-left: 10px;
}

@media screen and (max-width: 689px){
    .services .vc_col-sm-3 {
    margin-bottom: 1.5em!important;}
}

@media screen and (min-width: 1001px){
	.bottomfade > .span_12:before, .bottomfadeblue .span_12:before{
	z-index: 999;
}
}

/* RESPONSIVE FIX */
@media only screen and (max-width: 1000px) and (min-width: 691px){
.wpb_row .span_12 > .col.padding-8-percent[data-padding-pos="all"], .column-inner.padding-8-percent[data-padding-pos="all"], .wpb_row .span_12 > .col.padding-9-percent[data-padding-pos="all"], .column-inner.padding-9-percent[data-padding-pos="all"], .wpb_row .span_12 > .col.padding-10-percent[data-padding-pos="all"], .column-inner.padding-10-percent[data-padding-pos="all"] {
    padding: 9%!important;
}
}

@media only screen and (max-width: 690px){
body .row .col.section-title h1, body h1 {
    font-size: 30px!important;
    line-height: 1.3!important;
}}

/* FOOTER */
#footer-outer img{
	max-width: 75%!important;
}
#footer-outer .widget.widget_nav_menu li a:not(.nectar-button){
	margin-left: 0px;
	transition: all 0.3s ease-in-out;}

#footer-outer .widget.widget_nav_menu li a:not(.nectar-button):hover{
	color: #1962aa!important;
	margin-left: 8px;
	transition: all 0.3s ease-in-out;
}

/* RANDY */
/*------------------------------------------ Play button*/
.video .span_12.dark .nectar_video_lightbox:before {border: 5px solid rgba(16, 42, 132, 0.7) !important;}
.video .nectar_video_lightbox svg {color: rgba(246, 253, 255, 0.7) !important;}
.video .span_12.dark .nectar_video_lightbox path {fill: rgb(16, 42, 132) !important;}
.video .nectar_video_lightbox.play_button {left: 95%; top: 250px;position:absolute!important;}
.video span.play {background: rgba(246, 253, 255, 0.5); border-radius: 50% !important;}

/*------------------------------------------ staff list*/
.row .col .iwithtext .iwt-icon img:not([srcset]) {width: 70px;}
.iwithtext .iwt-text {padding: 5px 0px 0px 85px;}

.center-clmn > .span_12 {justify-content: center;}

@media (max-width: 1000px) {
.video .nectar_video_lightbox.play_button {left: 45% !important; top: 0 !important; margin-top: 50px !important; margin-bottom: 50px !important;}
}
