/*
Theme Name:  Corneal Dystrophy Child
Theme URL:   https://www.cornealdystrophyfoundation.org/new
Description: Write here theme description.
Author:      cornealadmin
Author URL:  https://www.cornealdystrophyfoundation.org/new
Template:    Divi
Version:     1.0.0
*/

 #main-content .container::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 0px;
    background-color: #e2e2e2;
  }

.gmw-standard-info-window .gmw-info-window-inner .gmw-info-window-element.title, .gmw-standard-info-window .gmw-info-window-inner h3, .gmw-standard-info-window .gmw-info-window-inner h4, .gmw-standard-info-window .gmw-info-window-inner h5 {

  margin: 20px auto 0 !important;
}

.image.gmw-info-window-element {
  display: none;
}

.gmw-standard-info-window .gmw-info-window-inner {
  overflow: hidden !important;
  }
 .specialist-template-default #left-area { width:50% !important} 
.specialist-template-default #sidebar { width:45% !important}

h1,h2,h3,h4,h5,.et_pb_blurb_content {
    white-space: normal;
    word-wrap:normal;
    font-weight:800;
}


h2,h3,h4,h5 {
    margin:30px 0 15px;
}

h3 {
	margin-bottom:15px;
}

.et_pb_main_blurb_image {
  margin-bottom: 0px;
  }

.et_pb_bg_layout_dark a {
	color:#fff !important;
}
/*.et_pb_section, .et_pb_section *{
animation:none !important;
}*/

 .et_fullwidth_nav #main-header .container {
    max-width: 90%;
    }

 #logo {
    max-width: 250px !important;
  }
.logo_container a {
	display:inline-block;
	}

#top-menu li li {
    margin: 0;
    padding: 0;
	line-height:1.3;

}

.nav li li {
    width: 100%;
    }

.nav li ul {
    padding: 10px 0;
    }

#top-menu li li a {
        width: 100%;
    padding: 6px 10px !important;
    font-size: 13px;
}

.container:before { background-color:transparent !important; }
.et_pb_widget_area_right { border-left:0 !important; }
.et_pb_widget_area_left { border-right:0 !important; }

/* Bullet lists */
#et-main-area ol {
	margin-left: 20px;

}

#et-main-area ul {

    margin-left: 20px;
}

#et_search_icon::before,.et-cart-info span::before {
  top: 10px;
}

/* Hide image titles on hover */
img {
pointer-events:none;
}

/* make column heights equal, add class to rows */
.align-center .et_pb_column { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

.et_pb_pagebuilder_layout #main-footer {
    margin-top: 0px;
    
} 
.entry-content {
    padding-bottom: 50px;
}
.et_pb_pagebuilder_layout .entry-content {
    padding-bottom: 0px;
}

p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}

.et-social-linkedin a.icon::before {
  content: "\e09d";
}

.et-social-youtube a.icon::before {
  content: "\e0a3";
}


/* BIOS */

#modal-left-area {
	margin-top:30px;
}
#modal-content .container {
    width: 90% !important;
    }
    
.bio-headshot {
	float:right;
	height:288px;
	width:200px;
	margin-left:30px;
	}
	
.bio-headshot img {
	border-radius: 100%;
}

.bio-headshot .linkedin img {
	border-radius: 0;
}


.mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close {

    font-size: 44px;
    font-family: Open Sans,Arial,sans-serif;
    font-weight: 200;
    top: 10px;
    opacity: .2;
    right: 10px;
}
.designation {
	margin-bottom:20px;
}

.booking a {
	display:block;
	margin-top:15px;
}

input#destination {
border: 1px solid #ccc !important;
width:100%;
padding-left: 10px;
height: 30px;
color: #555;
}

/* FILTERS */

.dp-dfg-skin-default .dp-dfg-filter a {
	border:0 !important;
}

/*.et_pb_toggle_title::before {
    color: #ffffff !important;
}*/

/*Ninja Forms*/

.nf-form-content {
  padding: 15px 0 !important;
  margin: 0 auto;
}

.nf-form-content label {
    font-size: 16px !important;
}

.nf-form-content .ninja-forms-field {
    font-size: 16px !important;
}

/* BUTTONS */

.et_pb_button {
    border-radius: 0px;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 700!important;
    text-transform: uppercase!important;
    padding-top: 16px!important;
    padding-right: 28px!important;
    padding-bottom: 16px!important;
    padding-left: 28px!important;
	}

.et_pb_button.orange {
border-color: #ff7733;
background-color: #ff7733;
border-radius: 0px;
text-transform: none;
text-decoration: none;
}

body .et_pb_button.orange:hover {
border-color: #ff7733 !important;
background-color: rgba(255,119,51,0.5);
border-radius: 0px;
color: #fff !important; 
}

.et_pb_button.teal {
border-color: #60c4bc;
background-color: #60c4bc;
border-radius: 0px;
text-transform: none;
text-decoration: none;
}

body .et_pb_button.teal:hover {
border-color: #60c4bc !important;
background-color: rgba(96,196,188,0.5);
border-radius: 0px;
color: #60c4bc !important; 
}

.et_pb_button.blue {
border-color: #4433ff;
background-color: #4433ff;
border-radius: 0px;
text-transform: none;
text-decoration: none;
}

body .et_pb_button.blue:hover {
border-color: #4433ff !important;
background-color: rgba(68, 51, 255,0.5);
border-radius: 0px;
color: #fff !important; 
}

.et_pb_button.yellow {
border-color: #ffce33;
background-color: #ffce33;
border-radius: 0px;
text-transform: none;
text-decoration: none;
color:f5f5f5 !important;
}

body .et_pb_button.yellow:hover {
border-color: #ffce33 !important;
background-color: rgba(255,206,51,0.5);
border-radius: 0px;
color: #fff !important; 
}

.menu-button, .et_mobile_menu li.menu-button {
  background: #ffce33;
  display: inline-grid !important;
  border-radius: 50px;
  line-height: .7 !important;
  height: 40px;
  padding: 15px 20px !important;
  padding-right: 30px;
  text-align: center;
  
  margin: 0 !important;
}

.menu-button a,.et-fixed-header #top-menu li.current_page_item.menu-button > a {
	color: #000000 !important;
  white-space: nowrap;
  padding: 0 !important;
}
.menu-button a:after {
	display:none;
}

.menu-button.current-menu-item a {
	color:#000000 !important;
}

.menu-button ul {
	top:65px !important;
}

body a.dp-dfg-more-button.et_pb_button {
	color:#225dac !important;
	background:transparent !important;
	padding: .3em 0em !important;
	border:0;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

ol {
	list-style-position: outside !important;
	margin-left:20px !important;
}


#bios img {
	border-radius: 100% !important;
	}

/* FLIP BOX  */

.et_pb_flipbox_heading {

	position:relative;
}

.et_pb_flipbox_heading:after {
content: "5";
  line-height: 1;
  font-size: 40px !important;
  margin-left: 0;
  right: 0;
  font-family: ETmodules !important;
  font-weight: 400 !important;
  display: block;
  height: 50px;
  width: 50px;
  position: absolute;
  color: #fff !important;
  z-index: 999999999;
  top: 15px;
}


/* NAME YOUR PRICE */

.description_product,.custom-min-price-validation {
	display:block;
	margin: 10px 0;
	}
.elex-set-min-price input,.wrap input{
  height: 40px;
  display: inline-block;
  margin: 10px 0;
  padding-left:10px;
  font-size:16px;
}

#catalog .wrap,.tax-product_cat .wrap {
	display:none;
}

.elex-set-min-price .description_product,.wrap .description_product {
	display:none;
}

#content-area table th {
  padding: 0;
  }
  
/* WOO GENERAL */

.dp-dfg-custom-content p {
	padding-bottom:0 !important;
}

.related.products {
	margin-top:50px;
	display:none;
}

.button {
	text-transform:uppercase;
	font-weight:bold !important;
	font-size:20px !important;
}

.woocommerce-Price-amount.amount {
	display:none;
	}
.et_shop_image img,.woocommerce-product-gallery__image a {
	margin-bottom:0 !important;
	border:1px solid #ddd !important;
	}

.wdgk_add_donation {
	font-size:13px !important;
}

ul.wc-block-components-express-payment__event-buttons {
	margin-left:0 !important;
	padding-left:0 !important;
	}
	
.wc-block-components-express-payment__event-buttons li {
	list-style:none;
	}

@media only screen and (max-width: 1400px) {
 .et_fullwidth_nav #main-header .container {
    max-width: 100% !important;
    }
    #et-top-navigation {padding-left:210px; }
    #logo {
  max-width: 200px !important;
	}
}

@media only screen and (max-width: 1300px) {
#top-menu li a {
  font-size: 14px !important;
}
}
/*adjust Divi Menu module breakpoint*/
@media only screen and (max-width: 1149px) {
    #top-menu {
        display: none;
    }
    #et_mobile_nav_menu {
        display: block
    }
    .woocommerce.columns-6 ul.products li.product {
  	width: 28% !important;

	}
}	

@media screen and (max-width:980px) {
	.et_header_style_left #logo {
	max-width:70%;
	max-height: 100%;
	}	
	.left {
    display: flex;
    flex-direction: column;
	}
	.woocommerce.columns-6 ul.products li.product {
  	width: 40% !important;

	}

	.right /*,#herosection .et_pb_row */ {
    display: flex;
    flex-direction: column-reverse;
	}
	
	.donate > .et_pb_column.et_pb_column_1_4:nth-child(2n) {

    margin-right: 5.5% !important;
  
    }
    .donate > .et_pb_column.et_pb_column_1_4:nth-child(3n) {

    margin-right: 0% !important;
    }

}

@media screen and (max-width:480px) {

	
	#logo {
	max-width:200px !important;
	}
	.donate > .et_pb_column.et_pb_column_1_4:nth-child(2n) {

    margin-right: 0% !important;
  
    }
.woocommerce.columns-6 ul.products li.product {
  	width: 100% !important;

	}
	

}