/**
 * Theme Name:      Fetal Health Foundation - FHF
 * Description:     A child theme for Divi created by Merge Studio.
 * Author:          Merge Studio
 * Author URI:      https://merge.studio/
 * Template:        Divi
 * Version:         1.0.0
 * Text Domain:     child-theme
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */

/* Colors
Logo teal: #559faf
Logo periwinkle: #818dc6
Darker teal: #407E87
Darker periwinkel: #6171B8

Button blue: #40519b
Heading blue: #1f2a62

/* Fonts */
body {
	font-weight: 400;
}
strong {
	font-weight: 700;
}
sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
  font-size: 80%;
}
sub { 
  top: 0.4em; 
}
#left-area ul, .entry-content ul, 
#left-area ol, .entry-content ol {
	padding: 0 0 1em 2em !important;
	margin-left: 0 !important;
	list-style-position: outside;
}
#left-area ul li, .entry-content ul li, 
#left-area ol li, .entry-content ol li {
	margin-bottom: .5em !important;
}
p:not(.has-background):last-of-type {
	padding-bottom: 1em;
}

/* Headings */
h1, h2, h3, h4, h5 {
}
.et_pb_text h1 {
	font-size: 56px;
}
.et_pb_text h2,
h2, .et_pb_text h2 {
}
h3, .et_pb_text h3, .et_pb_column_1_3 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3, .et_pb_column_2_5 h3 {
}
h4, .et_pb_text h4, .et_pb_column_1_3 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4, .et_pb_column_2_5 h4 {
}
h5, .et_pb_text h5 {
}
h6, .et_pb_text h6 {
}

@media screen and (max-width: 980px) {
	.et_pb_text h1 {
	}
	.hero-home .et_pb_text h1 {
	}
	.et_pb_text h2,
	h2, .et_pb_text h2 {
	}
	h3, .et_pb_text h3, .et_pb_column_1_3 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3, .et_pb_column_2_5 h3 {
	}
	h4, .et_pb_text h4, .et_pb_column_1_3 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4, .et_pb_column_2_5 h4 {
	}
	h5, .et_pb_text h5 {
	}
}

@media screen and (max-width: 768px) {
	.et_pb_text h1 {
	}
	.hero-home .et_pb_text h1 {
	}
	.et_pb_text h2,
	h2, .et_pb_text h2 {
	}
	h3, .et_pb_text h3, .et_pb_column_1_3 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3, .et_pb_column_2_5 h3 {
	}
	h4, .et_pb_text h4, .et_pb_column_1_3 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4, .et_pb_column_2_5 h4 {
	}
	h5, .et_pb_text h5 {
	}
}
@media screen and (max-width: 500px) {
	.et_pb_text h1 {
	}
	.hero-home .et_pb_text h1 {
	}
	.et_pb_text h2,
	h2, .et_pb_text h2 {
	}
	h3, .et_pb_text h3, .et_pb_column_1_3 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3, .et_pb_column_2_5 h3 {
	}
	h4, .et_pb_text h4, .et_pb_column_1_3 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4, .et_pb_column_2_5 h4 {
	}
	h5, .et_pb_text h5 {
	}
}

/* Header */
.et_mobile_menu {
	overflow: scroll !important;
	max-height: 80vh;
}
#top-menu >li:last-child>.sub-menu {
	left: auto;
	right: 0;
}
.nav li ul.sub-menu {
	width: 220px;
}



/* Buttons */
body .et_pb_button, 
body.et_button_no_icon .et_pb_button, 
.et_pb_bg_layout_light .et_pb_button, 
.et_pb_bg_layout_light .et_pb_more_button {
  color: ;
  text-transform: ;
  text-decoration: none;
  margin-bottom: ;
  display: inline-block;
  font-weight: 500;
  background-color: ;
  border-color: ;
  line-height: ;
  opacity: 1;
}
body .et_pb_button:hover, 
body.et_button_no_icon .et_pb_button:hover, 
.et_pb_bg_layout_light .et_pb_button:hover, 
.et_pb_bg_layout_light .et_pb_more_button:hover {
  color: ;
  background-color: ;
  border-color: ;
  opacity: 1;
  text-decoration: none;
}
body .et_pb_button.reverse, 
body .et_pb_more_button.reverse, 
.et_pb_bg_layout_dark .et_pb_button, 
.et_pb_bg_layout_dark.et_pb_button, 
.et_pb_bg_layout_dark .et_pb_more_button {
	border-color: ;
	background-color: transparent;
	color: ;
}
body .et_pb_button.reverse:hover, 
body .et_pb_more_button.reverse:hover, 
.et_pb_bg_layout_dark .et_pb_button:hover, 
.et_pb_bg_layout_dark.et_pb_button:hover, 
.et_pb_bg_layout_dark .et_pb_more_button:hover {
	color: ;
  background-color: ;
  border-color: ;
}
body .et_pb_button.outline, 
body .et_pb_more_button.outline {
	border-color: ;
	background-color: transparent;
	color: ;
}
body .et_pb_button.outline:hover, 
body .et_pb_more_button.outline:hover {
	color: ;
  background-color: ;
  border-color: ;
}
a.et_pb_button + a.et_pb_button {
	margin-left: 36px;
}
input[type=submit] {
	background-color: #662549;
	color: #fff;
	border-radius: 24px;
	font-size: 17px;
	cursor: pointer;
	text-transform: uppercase;
	border: 0;
	-webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
input[type=submit]:hover {
	background-color: #451952;
	color: #fff;
}

/* From CSS & JS Toolbox */
/*Design the CC Form*/
.ctct-form-field-email > label {
    display:none !important;
}
.ctct-form > hr, .ctct-form > sub, .ctct-form .button {
    display: none;
}
#cc_form_1 *, .ctct-form * {
    font-size: 16px;
    font-family: lato;
}
#cc_footer, .ctct-form {
	width: 95%;
	max-width: 1200px;
	margin: auto;
}
#cc_footer > p, .ctct-form > p {
	display: inline;
}
.cc_email_address {
	display: inline;
}
.cc_Go {
	display: inline;
}
.cc_Go > label {
	display: inline !important;
}
#sf_shortcode_constantcontact_0_form, .ctct-form {
    background: none transparent;
    padding: 0px!important;
    margin-bottom: 0em !important;
    margin-top: 0em !important;
    clear: none !important;
    float: none !important;
}
#signup_cc_image {
	float: left;
	margin-left: 0% !important;
	width: 177px;
	height: 47px;
}
#sf_shortcode_constantcontact_0_form input[name="eml"], .ctct-form-field-email > input {
    margin-left: 2% !important;
    padding: 10px 10px 8px 10px !important;
    padding-left: 0px;
    border: solid 2px gray;
    font-size: 16px; 
	margin-right: 1% !important; 
	width: 60%; 
	border: 2px solid #58595b; 
	color: #58595b;
	background-color: white !important;
}
#sf_shortcode_constantcontact_0_form input:nth-child(3), .create_button, .ctct-form-field-submit > input {
    transition: all 0.25s ease;
	font-size: 18px; 
	font-family: lato; 
	color: #58595b; 
	background-color: white; 
	border: 2px solid #58595b; 
	padding-top: 8px; 
	padding-bottom: 7px; 
	padding-left: 28px; 
	padding-right: 28px;
}
#sf_shortcode_constantcontact_0_form input:nth-child(3):hover, .create_button:hover, .ctct-form-field-submit > input:hover {
	color: white;
	background-color: #58595b; 
	border: 2px solid white; 
	letter-spacing: 1px;
	cursor: pointer;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}
.ctct-message.success {
    background-color: white !important;
}
.ctct-disclosure {display:none;}
.syndrome_banner {
    background-image: url(http://fetalhealthfoundation.org/wp-content/uploads/2015/10/details_header_final.jpg) !important;
}

@media screen and (max-width: 980px){
	#footer-widgets  > .footer-widget {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
	#signup_cc_image {
		margin: auto;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	#sf_shortcode_constantcontact_0_form, .ctct-form {
    margin: auto;
    margin-left: 2%;
	}
	#sf_shortcode_constantcontact_0_form input[name="eml"], .ctct-form-field-email > input {
		margin: auto;
		margin-top: 10px;
		font-size: 0.75rem;
	}
	#sf_shortcode_constantcontact_0_form input:nth-child(3), .create_button, .ctct-form-field-submit > input {
		margin: auto;
		margin-top: 10px;

	}
}
@media screen and (max-width: 640px){
	#signup_cc_image {
		float: none;
		margin-left: 25%;
	}
	#cc_form_1 .kws_input_container {
    	margin-left: 1%;
	}
	#sf_shortcode_constantcontact_0_form input[name="eml"], .ctct-form-field-email > input {
		width: 98%;
		font-size: 0.7rem;
	}
}
@media screen and (max-width: 400px){
  #cc_footer {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  #cc_form_1 {
    margin-bottom: -5px !important;
  }
  #signup_cc_image {
    margin-top: 20px;
  }
  #sf_shortcode_constantcontact_0_form input:nth-child(3), .ctct-form-field-submit > input {
		margin-bottom: 10px;
	}
}
/*Format the Treatment Centers pages*/

.sl_sidebar #sl_div #searchForm #address_search .search_item #radius_in_submit #addressSubmit {
    width: 200px;
}
#sl_div div#slp_tagline {
    display:none;
}
#address_search, .slp_results_container {
    max-width: 950px;
    margin:auto;
}
.drts-search-form-field .drts-form-type-textfield input[type=text] {
	padding-left: 40px !important;
}
#map {
    margin: auto;
    margin-bottom: 50px;
}
body #page-container .syndrome_body .slp_search_form .search_box div.search_item {
    display: inline-block;
}
body #page-container .syndrome_body .et_pb_cta_4.et_pb_promo .et_pb_button {
    margin-top: 20px;
}
body #page-container .syndrome_body .slp_search_form .search_box .search_item label {
    min-width: 1px;
}
#addressSubmit, #radiusSelect, #addressInput {
    transition: all 0.25s ease-in-out;
font-size: 18px;
font-family: lato;
color: #58595b;
background-color: white;
border: 2px solid #58595b;
padding-top: 8px;
padding-bottom: 7px;
padding-left: 28px;
padding-right: 28px;
cursor:pointer;
margin-bottom: 20px;
margin-top: -8px;
}
#addressSubmit:hover {
    background-color: #58595b;
    color: white;
}
/*Format the search results page*/
body.search-results .container:before {
    display:none;
}
body.search-results #left-area {
    width: 70%;
}

body.search-results #sidebar {
    width:30%;
}
body.search-results #sidebar #radiusSelect {
    min-height: 40px;
}
body.search-results .widgettitle {
    font-size: 24px;
}
body.search-results .slp_map {
    display:none;
}

/********* END CSS & JS Toolbox ******************/



/* Forms */
input[type=text], 
input[type=password], 
input[type=tel], 
input[type=email], 
input.text, 
input.title, 
textarea,
select {
	width: 100%;
	font-size: 16px;
	height: 49px;
	line-height: 49px;
	padding: 0 15px !important;
	border: 1px solid #ccc;
	border-radius: 0;
	margin-bottom: 16px;
	-webkit-transition: all .25s ease-in;
	-moz-transition: all .25s ease-in;
	-ms-transition: all .25s ease-in;
	-o-transition: all .25s ease-in;
	transition: all .25s ease-in;
}
textarea {
	height: 196px;
}
.gform_wrapper .gform_validation_errors>h2 {
	color: #c02b0a !important;
	font-weight: 600 !important;
	font-size: 18px !important;
	line-height: 24px !important;
	margin: 0 !important;
	padding:  0 !important;
}
.gform_wrapper.gravity-theme .description, 
.gform_wrapper.gravity-theme .gfield_description, 
.gform_wrapper.gravity-theme .gsection_description, 
.gform_wrapper.gravity-theme .instruction {
	font-size: 16px !important;
	font-weight: 400 !important;
	margin-bottom: 10px;
}

/* Text meant only for screen readers. */
.screen-reader {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
}

/* Gravity Forms */
.gfield.gfield_visibility_visible.captcha {
	display: none !important;
	visibility: hidden !important;
}
.gform_anchor::before {
    content: "";
    display: block;
    width: 0;
    height: 150px;
    margin: -150px 0 0;
}
.gform_confirmation_wrapper div {
	font-size: 24px;
	font-weight: 500;
	padding: 30px;
	border: 1px solid #fff;
	border-radius: 4px;
}

.gform_wrapper span.gfield_required {
	display: none;
}
.gform_wrapper.gravity-theme .gfield-choice-input, 
.gform_wrapper.gravity-theme .gfield-choice-input+label {
	vertical-align: top !important;
}
.gform_wrapper.gravity-theme .gfield-choice-input {
	height: 20px;
	width: 20px;
	margin: 6px 10px 0 0 !important;
	vertical-align: top !important;
}
.gform_wrapper.gravity-theme .gfield-choice-input+label {
    max-width: calc(100% - 64px) !important;
}
.gform_wrapper.gravity-theme .gfield_checkbox label, 
.gform_wrapper.gravity-theme .gfield_radio label {
	font-size: 16px !important;
	line-height: 1.4;
	margin-bottom: 10px !important;
}
.gform_wrapper.gravity-theme .field_description_above .description, 
.gform_wrapper.gravity-theme .field_description_above .gfield_description, 
.gform_wrapper.gravity-theme .field_description_above .gsection_description, 
.gform_wrapper.gravity-theme .field_description_above .instruction {
	padding-bottom: 0 !important;
}
/* hide field labels on forms with class name of "hide-labels" */
.gform_wrapper .hide-labels label,
.gform_wrapper .hide-labels legend,
.gform_wrapper.hide-labels_wrapper .gform_required_legend {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute!important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Blog bits 
.single-post .et-menu-nav li.menu-item-371 a {
	color: #F39F5A !important;
}
.fluid-width-video-wrapper {
	margin-top: 1em;
}
div.post-content-inner {
	margin-bottom: 16px;
}
a.more-link {
	text-transform: uppercase;
	background-color: #662549;
	color: #fff !important;
	border-radius: 24px;
	font-size: 17px;
  padding: 8px 24px !important;
  font-weight: 500;

	-webkit-transition-duration: .2s;
  transition-duration: .2s;
  -webkit-transition-property: all !important;
  transition-property: all !important;
}
a.more-link:hover {
	background-color: #451952;
}
.wp-caption {
	background-color: rgba(204,118,75,0.05);
	border: none;
	border-radius: 24px;
	margin-bottom: 32px;
}
.wp-caption img {
	border-radius: 24px 24px 0 0;
}
.wp-caption p.wp-caption-text {
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
}
.et_pb_blog_grid .et_pb_image_container,
.et_pb_blog_grid .entry-featured-image-url {
	margin-bottom: 20px !important;
}
.et_pb_blog_grid .et_pb_post {
	padding-top: 0 !important;
}



/* Tablet & Mobile Column Adjust */
/* Keeps columns from breaking for Tablet, large phone, all phone widths */
/* class names to use:  .col-tablet, .col-mobile-lg, .col-mobile */
/* .mobile-swap reverses column order for tablet & mobile */
@media screen and (max-width: 980px) {
	.et_pb_row.col-tablet,
	.et_section_specialty.col-tablet .et_pb_row,
	.et_pb_section.col-tablet .et_pb_row {
		display: flex;
	}
	.et_pb_row.col-tablet .et_pb_column,
	.et_section_specialty.col-tablet .et_pb_row .et_pb_column,
	.et_pb_section.col-tablet .et_pb_row .et_pb_column {
		margin-right: 2%;
	}
	.mobile-swap {
		display: flex;
		flex-wrap: wrap;
	}
	.mobile-swap.et_pb_row .et_pb_column, 
	.mobile-swap.et_pb_row .et_pb_column {
		order: 2;
	}
	.mobile-swap.et_pb_row .et_pb_column.et-last-child, 
	.mobile-swap.et_pb_row .et_pb_column:last-child {
		margin-bottom: 30px;
		order: 1;
	} 
}
@media screen and (max-width: 767px) {
	.et_pb_row.col-tablet,
	.et_section_specialty.col-tablet .et_pb_row,
	.et_pb_section.col-tablet .et_pb_row {
		display: block;
	}
	.et_pb_row.col-tablet.col-mobile-lg,
	.et_pb_row.col-tablet.col-mobile {
		display: flex;
	}
	.et_pb_row.col-tablet.col-mobile-lg .et_pb_column,
	.et_pb_row.col-tablet.col-mobile .et_pb_column {
		margin-right: 2%;
	}
}
@media screen and (max-width: 580px) {
	.et_pb_row.col-mobile-lg {
		display: block;
	}
}

/* Collapsing mobile menu */
/*change hamburger icon to x when mobile menu is open*/
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}
/*adjust the new toggle element which is added via jQuery*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}
/*some code to keep everyting positioned properly*/
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}
/*remove default background color from menu items that have children*/
.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}
/*hide the submenu by default
ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}
/*show the submenu when toggled open*/
ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}
/*adjust the toggle icon position and transparency*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}
/*submenu toggle icon when closed*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #fff;
	background: #348c83;
	border-radius: 50%;
	padding: 3px;
}
/*submenu toggle icon when open*/
ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}
/*add point on top of the menu submenu dropdown*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}
/*adjust the position of the hamburger menu*/
.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 0px;
	line-height: 0;
}
/*force the background color and add a rounded border*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}
/* My styling added */
.et_pb_menu .et_mobile_nav_menu ul.et_mobile_menu li a {
	font-size: 16px;
	font-weight: 400;
}
ul.et_mobile_menu li a:hover {
	text-decoration: none;
}
.et_pb_menu .et_mobile_nav_menu ul.et_mobile_menu li ul a {
	text-transform: none;
}