/**
* Popup
*/

.bd_daff_popup { 
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    background: rgba(4.3%, 4.3%, 4.3%, .8);
    z-index: 1000;
}

.bd_daff_popup_window { 
    position:relative;
    top:15%;
    width:auto;
    max-width:80%;
    margin-left:auto;
    margin-right:auto;
    background:#ffffff;
    border:0;
    max-height: 70%;
    overflow-y: auto;
}

.bd_daff_popup_content { 
    padding: 20px 20px 20px;
}

/*
* Popup Tables
*/

#bd_daff_popup_content > table > tbody > tr > td {
    width: 50%;
    padding-right: 20px;
}

#bd_daff_popup_content > table > tbody > tr > td > table {
    margin-top: 10px;
}

#bd_daff_popup_content > table > tbody > tr > td:last-child {
    padding-left: 20px;
}

#bd_daff_popup_content > table > tbody > tr > td:only-child {
    padding-left: 0;
}

#bd_daff_popup_content > table > tbody > tr > td,
#bd_daff_popup_content table table tr:first-child td {
    border-top-width: 0;
}

#bd_daff_popup_content table td {
    text-align: left;
    border-top-width: 1px;
    border-right-width: 0;
}

/*
* Popup Schließen
*/
.bd_daff_popup_content div:first-child {
    position: absolute;
    right: 20px;
    top: 20px;
    text-indent: -9999px;
}
.bd_daff_popup_content div:first-child::before {
    text-indent: 0;
    /* width: 20px;
    height: 20px; */
    position: absolute;
    right: 0;
    top: 0;

    cursor: pointer;

    font-size: 40px;
    line-height: 40px;
    color: #4bbecb;

    content: '\e82a';
    font-family: "mfn-icons";
    font-style: normal;
    font-weight: 400;
    speak: none;
    display: inline-block;
    text-decoration: none !important;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
}

/*
* Popup Heading
*/

/* #bd_daff_popup_content h1 {
    text-align: left;
    margin-left: 5%;
    margin-bottom: 35px;
    margin-top: 70px;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 42px;
    line-height: 42px;
}

#bd_daff_popup_content h1::before {
    width: 8px;
    background-color: #4bbecb;
    display: block;
    position: relative;
    content: ' ';
    float: left;
    margin-right: 14px;
    height: 1.2em;
    margin-top: -.1em;
} */

/*
* Popup Sub Heading
*/
/* #bd_daff_popup_content h3 {
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    background: #4bbecb;
    padding: 0 10px;
    display: table-cell;
} */

/*
* Filter buttons
*/
.daff-member-list-filter-btns .daff-btn {
    margin-bottom: 10px;
}

/*
* Filter styles
*/
h1#bd_daff_section_title {
    display: none;
}
/* 
#bd_daff_target .bd_daff_header {
    height: 0;
    overflow: hidden;
    display: block;
    transition: all .25s;
}


#bd_daff_target .bd_daff_header.visible {
    height: auto;
} */

#bd_daff_target table.bd_daff_header {
    display: none;
}

#bd_daff_target .daff-member-filter.active {
    border-color: #4bbecb;
}


/*
* Filter sektionen
*/
#section_index .vc_column_container > .vc_column-inner {
    padding-left: 5px;
    padding-right: 5px;
}
#section_index .wpb_wrapper > div {
    margin-bottom: 10px;
}
#section_index .vc_row {
    margin-left: 0;
    margin-right: 0;

    display: flex;
    flex-wrap: wrap;
}



/* 
* Results
*/
#bd_daff_header tr th:last-child,
#bd_daff_result tr td:last-child {
    padding-right: 10px !important;
    text-align: left !important;
}

#bd_daff_header tr th:nth-child(2),
#bd_daff_result tr td:nth-child(2) {
    text-align: left;
}

#bd_daff_result tr td a {
    float: none !important;
}

#bd_daff_result tr td {
    word-wrap: break-word;
    -moz-hyphens: auto;
    hyphens: auto;
}

#bd_daff_target table {
    table-layout: fixed;
}

/*
* Mobile Optimization for Popup
*/
@media only screen and (max-width: 767px) {
    .bd_daff_popup_window { 
        position:relative;
        top:5%;
        max-height: 90%;
        max-width: 90%;
    }

    #bd_daff_search {
        float: left !important;
    }

    #bd_daff_popup_content > table > tbody > tr > td {
        display: inline-table;
        width: 100% !important;
    }
}

@media only screen and (max-width: 479px) {
    
    /* #bd_daff_popup_content > table > tbody > tr > td {
        display: inline-table;
        width: 100% !important;
    } */


    /* #bd_daff_popup_content h3 {
        line-height: initial;
        margin-bottom: 0;
        display: inline-block;
    } */
    #bd_daff_popup_content > table > tbody > tr > td:first-child > table{
        margin-bottom: 20px;
    }
/* 
    #bd_daff_result tr td {
        padding: 10px 6px;
    } */


    /* 
    * Results
    */
/* 
    #bd_daff_result tr td:first-child {
        width: 50%;
        padding-left: 0;
    } */

    /* #bd_daff_result tr td:nth-child(2) {
    } */

    #bd_daff_header tr th:last-child,
    #bd_daff_result tr td:last-child {
        /* width: 20%; */
        padding-right: 0 !important;
    }

    #bd_daff_result tr td a {
        float: none !important;
    }
}


/*
* Make filter cells responsive
*/

@media only screen and (max-width: 959px) {
/* 
    #bd_daff_target .bd_daff_header tbody,
    #bd_daff_target .bd_daff_header #alpha_index2 {
        display: block;
    }
    #bd_daff_target .bd_daff_header #alpha_index2 td {
        display: block;
        float: left;
    }

    #bd_daff_target table.bd_daff_header:not(.recaptchatable) th, 
    #bd_daff_target table.bd_daff_header td {
        border-width: 0 0 1px 1px;
    }

    #bd_daff_target table.bd_daff_header:not(.recaptchatable) tr td:last-child, 
    #bd_daff_target table.bd_daff_header tr th:last-child {
        border-right: 1px solid rgba(0,0,0,.08);
    } */
}
