/*
 Theme Name:     IVF
 Theme URI:      http://ivf.com/
 Description:    Divi Child Theme
 Author:         Diane Nebria
 Author URI:     http://diane.nebria.me
 Template:       Divi
 Version:        1.0.0
*/
 
/*@import url("../Divi/style.css");*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/*Force Reset Default DIVI Styles*/


/* .home #main-header, .home #main-header .nav li ul, .home .et-search-form, .home #main-header .et_mobile_menu {
    background-color: #e2eaef;
}

.home #top-menu li a {
    color: #1c5d7e;
} */


.et_pb_section.home__hero-banner {
    
    padding-bottom: 0;
}


.home__image-divider {
    position: absolute;
    display: block;
    bottom: 0;
    min-height: 230px;
}


#main-header {
    webkit-box-shadow: 0 1px 0 rgba(0,0,0,0) !important;
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,0) !important;
   box-shadow: 0 1px 0 rgba(0,0,0,0) !important;
}


/*==================================================
=               NAVIGATION  STYLES                 =
==================================================*/

.et_header_style_centered nav#top-menu-nav {
    display: inline-block;
    width: 100%;
}


.et_header_style_centered #top-menu {
    display: flex;
    width: 100%;
}

.et_header_style_centered #top-menu>li {
    padding: 0;
    flex: 1 1 auto;
}

.nav li ul {
    width: 340px;
}

.nav li li ul {
    left: 340px;
}


#top-menu li {
    display: block !important;
    padding-right: 22px;
    font-size: 14px;
}

#top-menu li li a {
    width: 100%;
    padding: 6px 20px;
}

/*==================================================
=                BLOG PAGE  STYLES                 =
==================================================*/

.et_pb_column_2_3 .et_pb_post_extra.el_dbe_grid_extended .post-content, .et_pb_column_3_4 .et_pb_post_extra.el_dbe_grid_extended .post-content, .et_pb_column_4_4 .et_pb_post_extra.el_dbe_grid_extended .post-content {
    width: 75% !important;
    padding: 50px;
}

.et_pb_column_2_3 .et_pb_post_extra.el_dbe_grid_extended .post-media, .et_pb_column_3_4 .et_pb_post_extra.el_dbe_grid_extended .post-media, .et_pb_column_4_4 .et_pb_post_extra.el_dbe_grid_extended .post-media {
    width: 25% !important;
}


.et_pb_post_extra {
   border-bottom: 4px solid #94b8c6;
    padding-bottom: 50px;
}

.et_pb_blog_extras_0 .el_dbe_grid_extended a.more-link {
    border: none !important;
    background-color: #94b8c6;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    padding: 5px 25px;
    min-width: 250px;
}

/*==================================================
=                  FOOTER STYLES                   =
==================================================*/

.footer-img {
    display: block;
    margin-bottom: -5px;
    width:100%;
}

#nav_menu-2.fwidget.widget_nav_menu {
    float: none !important;
    display: block;
    clear: both;
    margin-bottom: 5em !important;
}

#footer-widgets .footer-widget li {
    position: relative;
    padding-left: 0;
}

#footer-widgets .footer-widget li:before { 
    display: none;
}


/*==================================================
=                 HELPER STYLES                    =
==================================================*/

.vertical-align {
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn--fullwidth {
    width:100%;
}



/*==================================================
=                FAQS PAGE STYLES                  =
==================================================*/

.et_pb_tabs_0.faq__tabs {
    display: flex;
    border: none;
}


.et_pb_tabs_0.faq__tabs .et_pb_tabs_controls {
    flex: 0 0 35%;
    background-color: #e7f2f7;
}

.et_pb_tabs_0.faq__tabs .et_pb_tabs_controls li {
    height: auto;
    border-right: 0;
    width: 100%;

}

.et_pb_tabs_0.faq__tabs ul.et_pb_tabs_controls:after {
    border-top: 0;
}



/*==================================================
=              MOBILE MENU OVERRIDES               =
==================================================*/
#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-family: 'ETmodules'; text-align: center; speak: none; font-weight: normal; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-size: 16px; content: '\4c'; top: 13px; right: 10px; }
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after { content: '\4d'; }
#main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important;  transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }

.home .et-fixed-header #top-menu a, .home .et_mobile_menu li a {color: #1c5d7e !important;}



/*==================================================
=                SOCIAL MEDIA ICONS                =
==================================================*/

.menu-social-media-container {
	float: right;
	margin-top: -15px;
}
.header__menu-social {
	float: left;
	margin-right: 6px;
	max-width: 32px !important;
	z-index: 999 !important;
}

.header__menu-social a {
	text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
	display: block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;	
	
	font-size: 0;
	padding-bottom: 0 !important;
	color: #fff;
}

.header__menu-social a:before {
	
	content: '';
	display: block;
    position: relative;
    z-index: 10;
    width: 32px;
    height: 32px;
	margin: auto;
    color: #fff;
    font-size: 28px;
    line-height: 28px;
    -webkit-transition: color .3s;
    -moz-transition: color .3s;
    transition: color .3s;
	
}


.footer__menu-social--twitter a:before {
	content: "\e0ab";
}


.footer__menu-social--youtube a:before {
	content: "\e0ba";
}

.footer__menu-social--instagram a:before {
	content: "\e0b1";
}


.footer__menu-social--facebook a:before {
	content: "\e0aa";
}
.footer__menu-social--gm a:before {
	content: "\e081";
}

.footer__menu-social--linkedin a:before {
	content: "\e09d";
}

/* ACCORDION CLOSE TOGGLE */

.et_pb_toggle_open .et_pb_toggle_title:before {
   display: block !important;
	content: "\e04f";
	color:#1c5d7e !important;
}




/*==================================================
=                  Media Queries                   =
==================================================*/




    /*==========  Mobile First Method  ==========*/

    /* Custom, iPhone Retina */ 
    @media only screen and (min-width : 320px) {

	}

    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {
		
    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {
		
	
		
	
    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {


    }

 	/* Medium Devices, Desktops */
    @media only screen and (min-width : 981px) {
		
		

    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {
		



    }

	
	@media screen and (min-width: 1400px) {

	}

	
	@media screen and (min-width: 1600px) {

	}


	@media screen and (min-width: 1900px) {

	}




    /*==========  Non-Mobile First Method  ==========*/


    /* Large Devices, Wide Screens */

	@media only screen and (max-width : 1600px) {
		

    }


    @media only screen and (max-width : 1366px) {
		
	
    }







	@media only screen and (max-width : 1200px) {

		
    }

    


	/* Medium Devices, Desktops */
    @media only screen and (max-width : 990px) {
	
    }

	


	/* Medium Devices, Desktops */
    @media only screen and (max-width : 980px) {
		

    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
		

	}


	/* Portrait */
	@media only screen 
	  and (min-device-width: 1024px) 
	  and (max-device-width: 1366px) 
	  and (orientation: portrait) 
	  and (-webkit-min-device-pixel-ratio: 1) {

	}

	/* Landscape */
	@media only screen 
  	  and (min-device-width: 1024px) 
  	  and (max-device-width: 1366px) 
 	  and (orientation: landscape) 
  	  and (-webkit-min-device-pixel-ratio: 1) {
  
	}


	/* Portrait and Landscape */
	@media only screen 
	  and (min-device-width: 768px) 
	  and (max-device-width: 1024px) 
	  and (-webkit-min-device-pixel-ratio: 1) {
		  
		
	}

	/* Portrait */
	@media only screen 
	  and (min-device-width: 768px) 
	  and (max-device-width: 1024px) 
	  and (orientation: portrait) 
	  and (-webkit-min-device-pixel-ratio: 1) {
	
		  

	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 768px) 
	  and (max-device-width: 1024px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 1) {

	}



	/* Medium Devices, Desktops */
    @media only screen and (max-width : 980px) {


	/* Enable Search on Mobile for Divi Centered and Centered Inline Logo Headers */
	
		


    /* make search icon visible */
    .et_header_style_centered #et_top_search, 
    .et_vertical_nav.et_header_style_centered #main-header #et_top_search,
    .et_header_style_split #et_top_search, 
    .et_vertical_nav.et_header_style_split #main-header #et_top_search {
        display: block !important;
        float: left;
        z-index: 99999;
    }

    /* align search icon for Centered header */
    .et_header_style_centered #et_search_icon:before {
        top: 7px;
        left: -3px;
    }

    /* align search icon for Centered Inline Logo header*/
    .et_header_style_split #et_search_icon:before {
        margin-top: -18px;
    	left: 10px;
    }

    /* make search field visible */
    .et_header_style_centered .et_search_outer, 
    .et_header_style_split .et_search_outer {
        display: block;
    }

    /* set max-width for search form container */
    .et_header_style_centered .container.et_search_form_container,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_form_hidden {
        max-width: 100% !important;
    }

    /* apply in-animation for search form container */
    .et_header_style_centered .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible {
        z-index: 999;
        -webkit-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply out-animation for menu bar elements */
    .et_header_style_centered .et_pb_menu_hidden #et_search_icon:before, 
    .et_header_style_centered .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_centered .et_pb_menu_hidden .select_page,
    .et_header_style_split .et_pb_menu_hidden #et_search_icon:before, 
    .et_header_style_split .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_split .et_pb_menu_hidden .select_page,
	.et_header_style_split .et_pb_menu_hidden .logo_container a img{
        opacity: 0;
        -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply in-animation for "Select Page" container */
    .et_header_style_centered .et_pb_menu_visible .select_page,
    .et_header_style_split .et_pb_menu_visible .select_page,
	.et_header_style_split .et_pb_menu_visible .logo_container{
        opacity: 1;
        -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* adjust close search icon horizontal positioning */
    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field {
        right: 5px;
    }

    /* adjust search form input horizontal positioning */
    .et_header_style_centered .et-search-form input,
    .et_header_style_split .et-search-form input {
       left: 10px;
       right: auto;
    }

    /* adjust search form input and close icon vertical positioning */
    .et_header_style_centered .et-search-form input, 
    .et_header_style_centered span.et_close_search_field,
    .et_vertical_nav.et_header_style_centered .et-search-form input, 
    .et_vertical_nav.et_header_style_centered span.et_close_search_field,
    .et_header_style_split .et-search-form input, 
    .et_header_style_split span.et_close_search_field  {
        top: unset !important;
        line-height: 2em;
    }

    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field  {
        bottom: 20px;
    }

    /* set width values for search form */
    .et_header_style_centered .et-search-form,
    .et_header_style_split .et-search-form {
        width: 100% !important;
        max-width: 100% !important;
        bottom: 20px;
    }

    /* adjust close search icon top margin */
    .et_header_style_centered .et_close_search_field:after,
    .et_header_style_split .et_close_search_field:after {
        margin-top: -2px;
    }
	
	.et_pb_menu_visible .logo_container  {display:block; opacity: 1; transition: all 2s ease-in;}
	.et_header_style_split .et_pb_menu_visible #logo {
    max-width: 50%;
		opacity:1;
    transition: opacity 2s ease-in;
}
	.et_pb_menu_hidden .logo_container  {display:none; opacity: 0;}
	.et_header_style_split #main-header .et_pb_menu_hidden.container {
    height: 40px;
	}
	.et_header_style_split .container.et_search_form_container.et_pb_search_visible {
    height: 62px !important;
    top: 26px !important;
	}
	
	.et_header_style_split .container.et_search_form_container.et_pb_search_visible form.et-search-form {
    background: rgba(0,0,0,.3)!important;
	}
	
	.et_header_style_split .container.et_search_form_container.et_pb_search_visible form.et-search-form input {
   top: -4px !important;
	}
	
	.et_header_style_split .container.et_search_form_container.et_pb_search_visible span.et_close_search_field {
    bottom: 28px;
	}
		
	
		.et_header_style_centered span.et_close_search_field, .et_header_style_split span.et_close_search_field {
    bottom: 94%;
}
		
		.mobile_nav.opened .mobile_menu_bar:before {
        content: "\4d";
    }

}

/* END */

 	/* Extra Small Devices, Phones */ 
	@media only screen and (max-width : 812px) {

        .et_header_style_centered nav#top-menu-nav {display: none;}
        
        img.alignleft {
            display: block;
            float: none;
            clear: both;
            margin-right: 15px;
            margin: 0 auto 40px;
            width: 90%;
        }
        
        .et_pb_column_2_3 .et_pb_post_extra.el_dbe_grid_extended .post-content, .et_pb_column_3_4 .et_pb_post_extra.el_dbe_grid_extended .post-content, .et_pb_column_4_4 .et_pb_post_extra.el_dbe_grid_extended .post-content {
            width: 100% !important;
            padding:10px;
        }
        
        .et_pb_column_2_3 .et_pb_post_extra.el_dbe_grid_extended .post-media, .et_pb_column_3_4 .et_pb_post_extra.el_dbe_grid_extended .post-media, .et_pb_column_4_4 .et_pb_post_extra.el_dbe_grid_extended .post-media {
            width: 100% !important;
            padding:10px;
        }
        
        .et_pb_blog_extras_0 .el_dbe_grid_extended a.more-link {width:100%;}



	}


	 /* Extra Small Devices, Phones */ 
	@media only screen and (max-width : 768px) {



	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 375px) 
	  and (max-device-width: 736px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 1) {


	}




	 /* Extra Small Devices, Phones */ 
	@media only screen and (max-width : 736px) {





	}


	 /* Extra Small Devices, Phones */ 
	@media only screen and (max-width : 480px) {
        
        .home div.et_pb_section.et_pb_section_0 {
            background-size: 125%, contain;
            background-position: -65px 85%, top right;}
        
        .et_pb_tabs_0.faq__tabs {flex-direction: column;}

	}



	/* Portrait */
	@media only screen 
	  and (min-device-width: 414px) 
	  and (max-device-width: 736px) 
	  and (orientation: portrait) 
	  and (-webkit-min-device-pixel-ratio: 1) {
		  
		
		  
	}



	/* Landscape */
	@media only screen 
	  and (min-device-width: 414px) 
	  and (max-device-width: 736px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 1) {

	}


	/* Landscape */
	@media only screen 
	  and (min-device-width: 320px) 
	  and (max-device-width: 568px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 1) {


	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 320px) 
	  and (max-device-width: 480px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 1) {

	}


	/* Custom, iPhone Retina */ 
	@media only screen and (max-width : 320px) {

	}

