/*
 Theme Name:     Divi Child
 Theme URI:      https://vincent-klink.de/themes/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;
}

span.mobile_menu_bar:before{
	color:#1f497d !important
}
a:link { color:  #1f497d }
a:hover { color:  #BF8223 }

span.mobile_menu_bar{
	color:#1f497d;
}





a:link { color:  #1f497d }
a:hover { color:  #BF8223 }
.comment-reply-link, 
.et_pb_contact p input[type="checkbox"]:checked + label i::before {
	color:  #1f497d;
}


/********* 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: 960px) {

	
	body.archive .et_pb_post,
	body.search .et_pb_post { 
	    clear: both;
	    height: 220px;
	    box-sizing: border-box;	     	    	
	}

	/* 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;		
	}


	
	.et_pb_posts .entry-title,
	.et_pb_posts .post-meta,
	.et_pb_posts .post-content { 
	    float: right; 
	    width: calc(100% - 320px); 
	}
	
	
	
	
	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: 300px !important;
		height: 220px;
		margin-right: 20px;
		float: left;	   					
	}	
}

.et_pb_slider_container_inner .et_pb_slide_image img {
	object-fit: contain;
	width:100%;
	height:100%
}


/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* cormorant-garamond-regular - latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/cormorant-garamond-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/cormorant-garamond-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/cormorant-garamond-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/cormorant-garamond-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/cormorant-garamond-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/cormorant-garamond-v16-latin-regular.svg#CormorantGaramond') format('svg'); /* Legacy iOS */
}


