/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme SChmidtkowski.com
 Author:         Frank Otto
 Author URI:     http://singularica.com
 Template:       Divi
 Version:        1.0.0
*/

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

/*  generic classes */

body, #main-content {
    background-color: #fff !important;
    /*todo put in divi */
}

/*WP MENU Index FIX*/
#main-header, #top-header {
    z-index: 99998 !important;
}

body div .et-social-icons li {

    display: none !important;
}

.et_divi_theme #main-header, .et_divi_theme #main-header.et-fixed-header, .et_divi_theme #top-header {
    box-shadow: 0 0 30px rgba(7, 51, 84, 0.27) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px inset #b5b59e0d;
}

/* Mainmenu */
.et_divi_theme #main-header:before, .et_divi_theme #main-header.et-fixed-header:before {
    box-shadow: 0 0 30px rgba(7, 51, 84, 0.27) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px);
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}


/* Submenu width and backdrop filter */
@media screen and (min-width: 981px) {
    .et_divi_theme #main-header ul.sub-menu:before, .et_divi_theme #main-header.et-fixed-header ul.sub-menu:before {
        /* box-shadow: 0 0 30px rgba(7, 51, 84, 0.27)!important;*/
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px);
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

    .et_divi_theme #main-header ul.sub-menu li a:hover {
        background-color: rgba(53, 55, 64, 0.80);
    }

    /*Highlight active menu items*/
    #top-menu .current-menu-item>a, #top-menu li.current-menu-ancestor>a {
        font-weight: 600;
    }

    .sub-menu {
        min-width: 320px;
    }

    #top-menu li li a {
        width: 280px;
        /* Extra - Reduce padding on list items */
        padding: 4px 12px;
    }
}

@media (max-width: 767px) {

    #main-header .et_mobile_menu {
        background-color: rgba(255, 255, 255, 0.85);
    }

}

/* Contact Form */

.et_pb_contact p .et_contact_error {
    border: 0px solid #868889 !important;
    border-left: 10px solid #868889 !important;

}

.et_pb_contact_field_options_wrapper label {
    font-weight: 400 !important;
}

.et-pb-contact-message, .et_pb_contact_field_options_title {
    color: #fff;
    font-weight: 700 !important;
    font-size: 1.2em;
}

.et_pb_contact_field_options_title {
    color: #353740;
    font-weight: 400 !important;
}

.et_contact_bottom_container {
    margin-top: 20px;
}

#Kontakt a:hover {
    cursor: pointer !important;
}

/**********************************Bauvorhaben Praesentation **/

.wpcp__title-container {
    display: none !important;
}