/*
 Theme Name:   Divi Child
 Theme URI:    
 Description:  
 Author:       LL
 Author URI:   
 Template:     Divi
 Version:      
 Tags:         
 Text Domain:  twenty-fourteen-child
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/*----------------header and nav------------------*/

/*#page-container {
	padding-top: 140px !important;
}*/

.et_header_style_left #et-top-navigation nav>ul>li>a {
padding-bottom: 15px !important;
}
#top-menu-nav {
padding-top: 40px !important;
}
.nav li li a {
line-height: 1.5em;
}
#et_top_search {
margin: 42px 0 0 22px;
}

span.wpml-ls-native {
border: 1px solid #dddddd;
padding: 1px 3px;
}

/*----------------page body------------------*/
.et_pb_fullwidth_header { 
max-height: 130px;
padding: 25px 0;
}

/*----------------megamenu------------------*/
#top-menu li.mega-menu > ul > li > a:first-child {
  font-weight: normal;
 border-bottom: none;
}
#top-menu li.mega-menu > ul > li:nth-of-type(1n+0) {
clear: none;
}
#top-menu li.mega-menu > ul > li:nth-of-type(1n+0) {

}
#top-menu li.mega-menu > ul > li {
width: 33.33333%;
}

@media only screen and (max-width: 1100px) {
.hide-on-mobile { display: none !important; }
.hide-on-desktop {display: block !important;}
#et_top_search {display: none !important;}
}
@media only screen and (min-width: 1101px) {
.hide-on-desktop {display: none !important;}
.hide-on-mobile { display: block !important; }
}

#top-menu li.mega-menu > ul > li > a {
padding: 0 10px 10px !important;
}
/*-----------------mobile menu------------------*/
.current_page_item, .current-menu-item a{
color: #d22333 !important;
}

/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-width: 1220px ) {
#top-menu {display: none;}
#et_mobile_nav_menu {display: block;}
	.et_header_style_left #et-top-navigation {
		padding-top: 24px !important;
	}	
}
@media only screen and ( min-width: 981px ) and ( max-width: 1220px ) {
	.et_fixed_nav #main-header {
		position: absolute;
	}
	.et_header_style_left #logo {
		max-width: 50%;
	}
	#logo {
		max-height: 54% !important;
	}	
	.et_fullwidth_nav #main-header .container {
		width: 80%;
		padding-left: 0px;
		padding-right: 0px;
	}
	#et_top_search {
    display: none;
	}
}

/*-------clinical presentation menu on bottom of each page-------*/
@media only screen and (max-width: 980px) {
.et_pb_column {
margin-bottom: 13px !important;
}
}
.menu-clinical-line-height > .et_pb_text_inner > p > br {
line-height: 30px;
}

/*-----------------resources table stuff------------------*/

table {
  table-layout: fixed;
}

table a {
 word-wrap: break-word;
}

.entry-content tr td {
padding: 16px 24px;
}

.learn-more-content > table > tbody > tr > td > p {
 padding-bottom: 0;
}

.et_pb_tab_active a {
color: #d22333 !important;
}
.et_pb_tabs_controls li a {
padding: 4px;
}

/*-----------------clinical presentation space between items------------------*/

.one_third > p {
  padding-bottom: 0;
}

/*-----------------key conditions space between each line------------------*/
.key-conditions p {
  padding-bottom: 0;
} 

/*-----------------giving a border-right to the last tab------------------*/
.et_pb_tabs_controls li.et_pb_tab_active {
  border-right: 1px solid #d9d9d9;
}

.et_pb_tabs_controls li {
  padding: 5px 28px 3px;
}

/*-----------------remove post meta when searching-----------------*/
.post-meta {
display: none;
}
/*-----------------red header title bars spacing-----------------*/
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
margin: 5px auto;
width: 100%;
}
.et_pb_fullwidth_header_subhead {
line-height: 1.2em;
margin-top:5px;
}

/*-----------------red header title bars spacing on mobile and tablet-----------------*/
@media only screen and (max-width: 767px) {
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content, .et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content {
margin: 0px 2%;
}
.et_pb_fullwidth_header {
padding: 11px 0;
}
}
@media only screen and (max-width: 585px) {
h1 {
font-size: 24px;
}
}
h1.et_pb_module_header {
	padding-bottom: 0px !important;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content {
	margin-right: 0%;
}
/*-----------------home page top welcome slide-----------------*/
@media only screen and (max-width: 550px) {
.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description .et_pb_slide_title {
font-size: 26px;
font-weight: 300 !important;
}
}
@media only screen and (min-width: 551px) and (max-width: 980px) {
.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description .et_pb_slide_title {
font-size: 36px;
font-weight: 300 !important;
}
}
/*-----------------landing page/overlay-----------------*/
.page-id-2043 { 
background-color: #961622 !important;
background-size: cover !important;
}
@media only screen and (min-width: 981px) {
.et_pb_column.et_pb_column_1_4.et_pb_column_3.et_pb_css_mix_blend_mode_passthrough {
	text-align: right !important;
}
.et_pb_column.et_pb_column_1_4.et_pb_column_4.et_pb_css_mix_blend_mode_passthrough {
		text-align: left !important;
	}
	.landing-box{
		max-width: 50%;
		margin-left: auto!important;
		margin-right: auto!important;
	}
}

@media only screen and (max-width: 980px) {
.et_pb_column.et_pb_column_1_4.et_pb_column_2.et_pb_css_mix_blend_mode_passthrough {
	display: none;
	}
	.landing-box {
		max-width: 75%!important;
		margin-left: auto!important;
		margin-right: auto!important;
	}
	.et_pb_section.landing-box.et_pb_section_1.et_section_regular {
		margin-top: 10%;
	}
	.divider-top {
		display:none;
	}
}
@media only screen and (min-width: 501px) and (max-width: 980px) {
.et_pb_column.et_pb_column_1_4.et_pb_column_3.et_pb_css_mix_blend_mode_passthrough {
	text-align: right !important;
}
	.et_pb_column.et_pb_column_1_4.et_pb_column_4.et_pb_css_mix_blend_mode_passthrough {
	text-align: left !important;	
	}
}

@media only screen and (min-width: 50px) and (max-width: 500px) {
.et_pb_column.et_pb_column_1_4.et_pb_column_3.et_pb_css_mix_blend_mode_passthrough {
	text-align: center !important;
}
	.et_pb_column.et_pb_column_1_4.et_pb_column_4.et_pb_css_mix_blend_mode_passthrough {
	text-align: center !important;
	}
}

@media only screen and (min-width: 501px) {
	.et_pb_column.et_pb_column_1_4.et_pb_column_4.et_pb_css_mix_blend_mode_passthrough {
	padding-left: 20px !important;
	}
}

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