/*======================================
Theme Name: meilenstein by meilenweit webdesign
Description: Design und Funktionalität für Business-Websites, basierend auf Divi
Version: 1.5
Author: meilenweit webdesign | Julia Kleinediekmann
Author URI: https://meilenweit-webdesign.de/
Template: Divi
======================================*/

/**
 * Divi fixes
 */
@media (max-width: 980px) {
    .et_pb_column.et_pb_column_empty {
        display: block;
    }
}

.et_pb_menu_0_tb_footer.et_pb_menu .et_pb_menu__menu {
    display: block !important;
}

.et_pb_menu_0_tb_footer.et_pb_menu .et_mobile_nav_menu {
    display: none !important;
}

.et_pb_video {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.et_pb_video_box {
    position: absolute;
    width: 100%;
    height: 100%;
}

.et_pb_video iframe {
    height: 100%;
    width: 100%;
}

.et_pb_code ._brlbs-cb-vimeo {
    position: absolute;
    top: 0;
}

.et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
    padding: 0;
}

.et_pb_testimonial {
    overflow: visible !important;
}

.et_pb_contact_form_container .et-pb-contact-message:not(:empty) {
    padding: 20px;
    background: #eee;
    margin-bottom: 30px;
}

/**
 * Divi Helper
 */
.ms-vertical-align.et_pb_row .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ms-vertical-align-bottom.et_pb_row .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 980px) {
    .ms-reverse-columns-mobile.et_pb_row {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    .ms-reverse-columns-mobile.et_pb_row .et_pb_column.et-last-child {
        margin-bottom: 30px;
    }
    .ms-reverse-columns-mobile.et_pb_row .et_pb_column.et-last-child {
        margin-bottom: 30px;
    }
    .ms-reverse-columns-mobile.et_pb_row .et_pb_column:first-child {
        margin-bottom: 0;
    }
}

#top-menu li.ms-cta a,
.et-fixed-header #top-menu li.ms-cta a,
li.ms-cta a{
    padding-bottom: 0 !important;
    color: inherit !important;
}

#top-menu>li.ms-cta:last-child {
    padding-right: 1em !important;
}

.ms-hide-secondary-menu #top-header {
    display: none !important;
}

/**
 * Blog Module Equal Height
 */
.ms-blog-equal-height .pa-auto-height {
    height: auto !important;
}
.ms-blog-equal-height .pa-auto-margin {
    margin-top: 20px !important;
}
