/*
 Theme Name:     Divi Child Theme
 Description:    Divi Child Theme
 Author:         construktiv
 Author URI:     https://www.construktiv.de
 Template:       Divi
 Version:        1.0.0
*/
@import url("../Divi/style.css");

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

a,
.et_pb_widget a {
    text-decoration: underline !important;
}

.et_pb_button,
#top-menu-nav .menu-item a,
.et-pb-arrow-prev,
.et-pb-arrow-next,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    text-decoration: none !important;
}

/* Footer 4Spaltig machen*/
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget {
    width:20%;
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:last-child {
    margin-right:0;
    margin-left:5.5%;
    width:20%;
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:last-child img{
    width:100%;
}



/* MegaNav */
/*@media only screen and ( min-width: 1099px ) {
    #top-menu li {
        position: static;
    }

    #top-menu .sub-menu {
        width: 100%;
        left: 0;
    }

    #top-menu .sub-menu .sub-menu {
        width: 100%;
        position: relative;
        display: block;
        visibility: inherit;
        opacity: 1;
        top: 0;
        border: none;
        box-shadow: none;
        padding-top: 0;
    }

    #top-menu li li {
        position: relative;
        vertical-align: top;
        width: 20%;
    }

    #top-menu li li a:after {
        display: none;
    }

    #top-menu li li li {
        display: block;
    }

}*/


#top-menu li .menu-item-has-children > a:first-child:after {
    transform: rotate(-90deg);
}

.nav li ul {
    width: 200px;
}

#top-menu li li {
    padding: 0;
}

.nav li li ul {
    left: 200px;
}

.nav li.et-reverse-direction-nav li ul {
    right: 200px;
}

/* Nav optimizations */
@media only screen and (min-width: 981px) {
    #top-menu li {
        padding-right: 0;
    }

    .et_header_style_left #et-top-navigation nav > ul > li > a {
        padding-top: 20px;
        padding-left: 20px;
    }

    #top-menu .menu-item-has-children > a:first-child:after {
        top: auto;
    }

    #et_top_search {
        top: 15px;
    }
}

/* Mobiles Menü frueher zeigen */


@media only screen and ( max-width: 1164px ) {
    #top-menu-nav, #top-menu {
        display: none;
    }

    #et_mobile_nav_menu {
        display: block;
    }

    #et_top_search {
        float: left !important;
        margin: 0 35px 0 0 !important;
    }
}

/* Optimized print styles */
@media print {
    #main-header {
        height: 100px;
        padding-bottom: 10px !important;
        box-shadow: none;
    }

    .logo_container {
        height: 100px !important;
    }

    #et-top-navigation {
        display: none !important;
    }

    .et_pb_toggle_close .et_pb_toggle_content {
        display: block;
    }

    .et_pb_toggle_title:before {
        content: '\e04f';
    }

    #main-content .container:before {
        content: none;
    }

    #main-footer {
        display: none;
    }

    body {
        padding-bottom: 500px;
    }

    img {
        display: none;
    }

    h1 {
        font-size: 20px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .et_pb_map_container img {
        display: inline;
    }

    .et_pb_slider {
        display: none;
    }

    .et_pb_button {
        display: none !important;
    }
}

/* Footer */
#main-footer {
    margin-top: 6%;
}

#footer-widgets {
    padding-top: 3%;
}

.footer-widget {
    margin-bottom: 0 !important;
}

.footer-widget a {
    color: #fff;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget:last-child {
    margin-bottom: 12% !important;
}

/* Testimonial slider */
.et_pb_testimonial.et_pb_slider {
    padding: 0;
    background: #fff;
    border: 2px solid #005090;
    border-radius: 5px;
    overflow: visible;
}

.et_pb_testimonial.et_pb_slider::before {
    color: #005090;
}

.et_pb_testimonial .et_pb_slide {
    text-align: left !important;
    box-shadow: none;
}

.et_pb_testimonial .et_pb_slide_description {
    padding: 8% 0 10%;
}

.et_pb_testimonial .et_pb_slide_description .et_pb_slide_title {
    font-size: 24px;
}

.et-pb-controllers .et-pb-active-control {
    background: #333 !important;
}

#et-secondary-nav .print::before {
    position: relative;
    top: 2px;
}

.more-link {
    margin-left: 10px;
    color: #333;
    font-weight: bold;
}

.more-link:hover {
    color: #c2181a;
}

.more-link > span {
    white-space: nowrap;
}

.post-meta {
    display: inline;
    margin-left: 15px;
}

table {
    margin-top: 50px !important;
    border-color: #000 !important;
}

td {
    border: 1px solid #000 !important;
}

#mobile_menu {
    overflow: scroll;
    max-height: 90vh
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
    margin-bottom: 18.54% !important;
}

/* BLOG */
.blog-header {
    padding-top: 0 !important;
    background: #f5f5f5 !important;
    border-bottom: 1px solid #e2e2e2;
}

.blog-header .et_pb_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.blog-header .et_pb_slider,
.blog-header .et_pb_slides,
.blog-header .et_pb_slide {
    height: 100%;
}

.blog-header .et_pb_code {
    position: relative;
    height: 206.5px;
    overflow: hidden;
}

.blog-header .wp-post-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 8%;
    background: rgba(28,28,28,.5);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    color: #fff;
    z-index: 2;
}

.blog-header .et_pb_code h2 {
    color: #fff;
}

.blog-header .wp-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 1;
}

.blog-header .read-more a {
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
}

.entry-title .post-meta {
    color: #bbb;
}

