/*
 Theme Name:     Divi Child
 Theme URI:      https://brunchrezepte.net/tehemes/divi-child
 Description:    Divi Child Theme
 Author:          Jörg Burandt (amazingBytes)
 Author URI:     https://www.amazingbytes,net
 Template:       Divi
 Version:        1.0.0
*/
header.et-l.et-l--header {
    z-index: 99999;
    position: relative;
}
.et_mobile_menu {   
    overflow-y:scroll!important;
    max-height:80vh!important;
    -overflow-scrolling:touch!important;
    -webkit-overflow-scrolling:touch!important;
} 

.site {
	background-color: #F0F0F0;
}

span.mobile_menu_bar:before{
	color:#1f497d !important
}

span.mobile_menu_bar{
	color:#1f497d;
}

.woocommerce #respond input#submit, 
.woocommerce.site {
	background-color: #F0F0F0;
}
span.mobile_menu_bar:before{
	color:#1f497d !important
}
a:link { color:  #1f497d }
a:hover { color:  #BF8223 }

span.mobile_menu_bar{
	color:#1f497d;
}

.et_pb_search input.et_pb_s,
.et_pb_search input.et_pb_searchsubmit {
  padding: .3em;
  font-size: 14px;
  line-height: normal !important;
  border: none;
  color: #666; 
}






.woocommerce #respond input#submit, 
.woocommerce-page #respond input#submit, 
.woocommerce #content input.button, 
.woocommerce-page #content input.button, 
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-error#mwb_gw_error_notice,
.woocommerce-info {
	background: #1F4A7D!important;
	color: #FBC777!important;
}

textarea#mwb_gw_message{
	border-color: rgba(31,73,125,0.6);
	color: #1f497d;
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif!important;
    	font-size: 0.9em!important;
    	border-radius: 2px 2px 2px 2px;
	border-width: 2px;
}

-page #respond input#submit, 
.woocommerce #content input.button, 
.woocommerce-page #content input.button, 
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
	background: #1F4A7D!important;
	color: #FBC777!important;
}

textarea#mwb_gw_message{
	border-color: rgba(31,73,125,0.6);
	color: #1f497d;
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif!important;
    	font-size: 0.9em!important;
    	border-radius: 2px 2px 2px 2px;
	border-width: 2px;
}




a:link { color:  #1f497d }
a:hover { color:  #BF8223 }

.comment-reply-link, 
.woocommerce a.button.alt, 
.woocommerce-page a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce-page button.button.alt, 
.woocommerce input.button.alt, 
.woocommerce-page input.button.alt, 
.woocommerce #respond input#submit.alt, 
.woocommerce-page #respond input#submit.alt, 
.woocommerce #content input.button.alt, 
.woocommerce-page #content input.button.alt, 
.woocommerce a.button, 
.woocommerce-page a.button, 
.woocommerce button.button, 
.woocommerce-page button.button, 
.woocommerce input.button, 
.woocommerce-page input.button, 
.et_pb_contact p input[type="checkbox"]:checked + label i::before {
	color:  #1f497d;
}

.comment-reply-link:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce-page a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce-page button.button.alt:hover, 
.woocommerce input.button.alt:hover, 
.woocommerce-page input.button.alt:hover, 
.woocommerce #respond input#submit.alt:hover, 
.woocommerce-page #respond input#submit.alt:hover, 
.woocommerce #content input.button.alt:hover, 
.woocommerce-page #content input.button.alt:hover, 
.woocommerce a.button:hover, 
.woocommerce-page a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce-page button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce-page input.button:hover{
	color:  #BF8223;
}

/********* Mobile Menu Collapse ********/

/**** This hides the sub menu items on mobile ****/

.et_mobile_menu li ul.hide {
	display: none !important;
}

/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/

.et_mobile_menu .menu-item-has-children {
	position: relative;
}

.et_mobile_menu .menu-item-has-children > a {
	background: transparent;
}
/********* Mobile Menu Collapse ********/

/**** This hides the sub menu items on mobile ****/

.et_mobile_menu li ul.hide {
	display: none !important;
}

/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/

.et_mobile_menu .menu-item-has-children {
	position: relative;
}

.et_mobile_menu .menu-item-has-children > a {
	background: transparent;
}

/**** This styles the icon and moves it to the right ****/

.et_mobile_menu .menu-item-has-children > a + span {
	position: absolute;
	right: 0;
	top: 0;
	padding: 10px 20px;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	z-index: 3;
}

/**** Here you can swap out the actual icons ****/

span.menu-closed:before {
	content: '\4c';
	display: block;
	color: #1f497d;
	font-size: 16px;
	font-family: ETmodules;
}

span.menu-closed.menu-open:before {
	content: '\4d';
}

/* Place category / archive / search images on left of text */
/* src: https://divibooster.com/show-archive-page-featured-images-on-left-of-post-extract/ */
@media only screen and (min-width: 981px) {

	
	body.archive .et_pb_post,
	body.search .et_pb_post { 
	    clear: both; 
	    min-height: 180px 
	}

	/* Move text over when there is no thumbnail */
	body.blog .et_pb_post:not(.has-post-thumbnail),
	body.archive .et_pb_post:not(.has-post-thumbnail) {
		left: -38%;
		width: auto;		
	}


	body.archive .et_pb_post img,
	body.search .et_pb_post img,
	.et_pb_posts .et_pb_post img,
	.et_pb_posts .et_overlay {
		width: 38%;
		height: 180px !important;
		margin-right: 4%;
		float: left;
	}
	.et_pb_posts .entry-title,
	.et_pb_posts .post-meta,
	.et_pb_posts .post-content { 
	    float: right; 
	    width: 58%; 
	}
	body.rtl .et_pb_posts .et_pb_post img,
	body.rtl .et_pb_posts .et_overlay {
		float: right;
		margin-left: 4%;
		margin-right: 0;
	}
	body.rtl .et_pb_posts .entry-title,
	body.rtl .et_pb_posts .post-meta,
	body.rtl .et_pb_posts .post-content { 
	    float: left; 
	}

	/*body.blog .et_pb_post img,
	body.archive .et_pb_post img,
	body.search .et_pb_post img {
    		object-fit: cover !important;
	}     */
}

