/* 
 Theme Name:     Divi Child Theme (by Infocus)
 Author:         Infocus Publishing
 Author URI:     http://infocuspub.com/
 Template:       Divi
 Version:        1.3
 Description:    A Child Theme for Divi with additional Social Icons options.
 Wordpress Version: 4.9.1
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/***************************************************/
/* Detect if page does NOT use Divi builder layout */
/***************************************************/
body:not(.et_pb_pagebuilder_layout) {
    
}

/***********************************************/
/* For FIXED header, detect if sticking to top */
/***********************************************/
#main-header:not(.et-fixed-header) {
	
}

/***********************************************/
/* For transparent nav menu BG on Single posts */
/***********************************************/
body:not(.et_pb_pagebuilder_layout) #main-header:not(.et-fixed-header) {
    /*background: #666;*/
}

/*************************************************/
/* For fixing link color on current submenu item */
/*************************************************/
#main-header:not(.et-fixed-header) .sub-menu li.current-menu-item > a {
	/*color:#333;*/
}

/*************************************************/
/* Mobile Menu Custom Colors                     */
/*************************************************/
.mobile_menu_bar::before {
	color: #003663;
}
.et_mobile_menu {
	border-top-color: #003663;
}

/*************************************************/
/* Logo above navigation menu                    */
/*************************************************/
@media only screen and (min-width: 981px){
	.et_header_style_left .logo_container {
		/*
		position: relative;
		*/
	}
	#et-top-navigation {
		/*
		float: none;
		padding-left: 0!important;
		padding-top: 20px!important;
		*/
	}
	nav#top-menu-nav,
	ul#top-menu {
		/*float: none;*/
	}
}

/*******************/
/* Menu CTA Button */
/*******************/
.call-us-number {
    display: block;
    position: relative;
    background-color: #164b61;
    padding: 9px 15px 9px 46px;
    color: #fff; 
    border-radius: 3px;
    font-size: 20px;
	font-weight: 700;
}

.call-us-number::before {
    font-family: ETmodules;
	font-weight: 400;
 	content: "\e090";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 36px;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/*********************************/
/* Change the default breakpoint */
/* for mobile menu               */
/*********************************/
.phone-for-mobile {
	padding: 6px 0 6px;
	/* background-color: #f2f2f2;*/
 	display: none;
	/*  box-shadow: inset 0px -1px 1px rgba(0,0,0,0.08); */
}

.phone-for-mobile .call-us-number {
	font-size: 22px;
	font-weight: 700;
	max-width: 250px;
	padding: 10px 15px 10px 65px;
	margin: 0 0 0 auto;
}

.phone-for-mobile .call-us-number::before {
    width: 50px;
	font-weight: 400;
}

@media (max-width: 980px) {
   .phone-for-mobile {
        display: block;   
   }
   .menu-item .call-us-number {
        display: none;   
   }
	
	.menu-item-56, .menu-item-816 {
		display: none;
	}
}

@media (max-width: 568px) {
	.phone-for-mobile .call-us-number {
		margin: 0 auto;
    }
}

/*****************************/
/* Class for ETmodules Icons */
/*****************************/
.et-icon {
	font-family: ETmodules;
}

/*********************************/
/* Vertical Align Middle         */
/*********************************/
.vertical-align-middle { 
    display: flex; 
    justify-content: center; 
	flex-direction: column;
}

/*********************************/
/* Vertical Align Bottom         */
/*********************************/
.vertical-align-bottom { 
    display: flex; 
    justify-content: center;
	align-items: flex-end; 
}

/*********************************/
/* Vertical Align Top & Bottom   */
/*********************************/
.vertical-align-top-bottom { 
    display: flex;
	flex-direction: column; 
    justify-content: space-between;
}

/*************************************/
/* Remove Vertical Line from Sidebar */
/*************************************/
#main-content .container::before { 
	background-color:transparent !important;
}
.et_pb_widget_area_left, 
.et_pb_widget_area_right {
    border-color: transparent !important;
}

/******************************************/
/* Remove Align/Float of Images on MOBILE */
/******************************************/
@media only screen and (max-width: 480px) {
	#main-content .et_pb_text img.alignright,
	#main-content .et_pb_text img.alignleft {
		display: block;
		float: none;
		margin: 0 auto 15px;
	}
}

/**********************************************/
/* Fix for Single Posts excess padding/margin */
/**********************************************/
.single .post {
    padding-bottom: 0;
}

.single #left-area {
    padding-bottom: 0;
}

.single .et_pb_post {
    margin-bottom: 0;
}

/*************************************/
/* Flex Grid Classes                 */
/*************************************/
.flex-grid {
	display: flex;
}

.flex-grid .flex-1 {
	flex: 1;
}

.flex-grid .flex-2 {
	flex: 2;
}

.flex-grid .flex-3 {
	flex: 3;
}

.flex-grid .flex-4 {
	flex: 4;
}

.flex-grid .flex-5 {
	flex: 5;
}

.flex-grid .flex-6 {
	flex: 6;
}

.flex-grid .flex-7 {
	flex: 7;
}

.flex-grid .flex-8 {
	flex: 8;
}

.flex-grid .flex-9 {
	flex: 9;
}

@media (max-width: 768px) {
	.flex-grid {
		display: block;
	}
}

/**************************************************/
/* Styling CF7 to look like the Divi Contact Form */
/**************************************************/
.wpcf7 {
	margin-top: 15px;
}

.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	background-color: #f5f5f5 !important;
	border: 1px solid #ddd !important;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 3px !important;
	font-size: 14px;
	color: #666 !important;
	padding: 9px 12px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcf7-submit {
	color: #fff !important;
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 6px 20px;
	line-height: 1.7em;
	background: #003663;
	border: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.wpcf7-submit:hover {
	background-color: #124b7b;
	padding: 6px 20px !important;
}
div.wpcf7 .ajax-loader {
	width: auto;
}
@media screen and (max-width: 1280px){ 
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.92);
		-webkit-transform:scale(0.92);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

@media screen and (max-width: 1200px){ 
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.86);
		-webkit-transform:scale(0.86);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

@media screen and (max-width: 1140px){ 
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.8);
		-webkit-transform:scale(0.8);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

@media screen and (max-width: 1080px){ 
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.75);
		-webkit-transform:scale(0.75);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

@media screen and (max-width: 1024px){ 
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.7);
		-webkit-transform:scale(0.7);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

@media screen and (max-width: 980px){ 
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(1);
		-webkit-transform:scale(1);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

@media screen and (max-width: 575px){ 
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.95);
		-webkit-transform:scale(0.95);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}

@media screen and (max-width: 414px) {
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.9);
		-webkit-transform:scale(0.9);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	} 
}

@media screen and (max-width: 375px) {
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.78);
		-webkit-transform:scale(0.78);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	} 
}

@media screen and (max-width: 320px) {
	#rc-imageselect, .wpcf7-recaptcha {
		transform:scale(0.65);
		-webkit-transform:scale(0.65);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	} 
}

/* Custom CSS Styles */

@media screen and (max-width: 980px) {
	.et_header_style_left #logo,
	.et_header_style_split #logo {
		max-width: 65%;
	}
	.infocus-mobile-no-bg {
		background-image: none !important;
		background-size: 0 0 !important;
	}
	
	.infocus-v1 .infocus-hero-home,
	.infocus-v5 .infocus-hero-home {
		background-color: #c0c0c0;
		background-blend-mode: overlay;
	}
	.infocus-v3 .infocus-hero-home {
		background-position: 27% top;
	}
	.infocus-v4 .infocus-hero-home {
		background-color: #555;
		background-blend-mode: overlay;
	}
}

.infocus-location-home iframe {
	border: 5px solid #fff !important;
	box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.gms-mb0,
.gms-mb0 .et_pb_widget {
	margin-bottom: 0 !important;
}

.widgettitle {
    font-weight: 700;
    font-size: 26px !important;
    line-height: 1.5em;
}

.widgettitle::after {
	content: " ";
	display: block;
	height: 2px;
	background-color: #003663;
	width: 60px;
	margin-top: 15px;
}

/***************************************/
/* Heading styles for the Page Content */
/***************************************/
.infocus-page-content h2,
.infocus-page-content h3 {
	margin-top: 0.5em;
	margin-bottom: 0.25em;
}

.call-city {
    color: #333;
    padding-bottom: 2px;
    text-align: center;
}

