/*
 Theme Name: Divi Child
 Template: Divi
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Version: 1.0.0
*/
 
/* =Theme customisation starts here
------------------------------------------------------- */


/* Customize Divi headers */
h1 {
color: #5a355d;
font-weight: normal;
font-size: 4em;
font-family: Roboto Condensed;
text-transform: none;
}
h2 {
color: #5a355d;
font-weight: normal;
font-size: 3em;
font-family: Roboto Condensed;
text-transform: none;
letter-spacing: 0
}
h3 {
color: #5a355d;
font-weight: medium;
font-size: 32px;
font-family: Roboto Condensed;
text-transform: none;
letter-spacing: 0 
line-height 1.2em
}
h4 {
color: #e7c15c;
font-weight: normal;
font-size: 24px;
font-family: Roboto Condensed;
text-transform: none;
}
h5 {
color: #f22ed1;
font-weight: normal;
font-size: 24px;
font-family: Roboto Condensed;
text-transform: none;
}
h6 {
color: #f22ed1;
font-weight: normal;
font-size: 20px;
font-family: Roboto Condensed;
text-transform: none;
}




/* Customize Divi header menu */
ul#top-menu > li:not(:last-child) { 
    padding-right: 50px !important; 
}
#et_top_search { 
    margin-left: 50px !important; 
}
.et_pb_menu .et-menu > li {
  padding-left: 20px;
  padding-right: 20px;
}



/* Footer overflow hidden */
#page-container {
overflow: hidden!important;
} 



/* Divi Buttons nebeneinander platzieren */
.inline-btns .et_pb_button_module_wrapper {
  display: inline-block;
  margin: 0 10px;
}

/* Divi Buttons mittig ausrichten */
.inline-btns {
  text-align: center !important;
}


/* Footer Menu untereinander darstellen */
.dl-v-menu .et_pb_menu_inner_container,
.dl-v-menu .et_pb_menu__wrap,
.dl-v-menu .et_pb_menu__menu,
.dl-v-menu.et_pb_menu .et_pb_menu__menu>nav,
.dl-v-menu.et_pb_menu .et_pb_menu__menu>nav>ul {
    display: block;
}

.dl-v-menu .et_mobile_nav_menu {
    display: none;
}


/* THREE COLUMN PORTFOLIO GRID LAYOUT */

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

.three-column-grid .et_pb_grid_item {
width: 30% !important;
margin: 0 5% 5% 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}

.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}

}



.et_pb_module.et_pb_posts article.et_pb_post a.entry-featured-image-url {
padding-top: 70%;
}
.et_pb_module.et_pb_posts article.et_pb_post a.entry-featured-image-url > img {
height: 100%;
object-fit: cover;
position: absolute; 
top: 0; 
width: 100%; 
}