.gdprModal {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, .8); */
    opacity: .01;
    -webkit-transition: opacity .4s ease;
    transition: opacity .4s ease;
    z-index: 99999;
    will-change: opacity;
    display: none;
}

.mobile-gdpr-details {
    display: none;
}

.mobile-gdpr-allow-all {
    display: none;
}

.gdprModal .table td, .gdprModal .table th {
    vertical-align: middle;
    font-size: 11px;
}

@media only screen and (max-width: 649px) {
    .gdprModal .gdprModal__placeholder {
        /* top: 0px;
        position: absolute; */
        bottom: 0px;
        position: fixed;
    }
}

.gdprModal footer button {
    white-space: nowrap;
    text-align: center;
    border: none;
    vertical-align: top;
    text-decoration: none!important;
    cursor: pointer;
    color: #ffffff;
    height: 23px;
    line-height: 23px;
    font-size: 13px;
    padding: 0 20px;
    float: right;
}

.gdprModal footer button#accept-all-gdpr {
    background-color: green;
    float: right;
    margin-left: 15px;
}

.gdprModal footer label {
    line-height: 19px;
    margin-bottom: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

.gdprModal--visible {
    opacity: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.gdprModal__placeholder {
    max-width: 100%;
    width: 100%;
    -webkit-transform: scale(.9);
    transform: scale(.9);
    -webkit-transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    transition: transform .4s ease, -webkit-transform .4s ease;
    z-index: 1;
    will-change: transform
}

.gdprModal__placeholder > iframe:first-child:last-child, .gdprModal__placeholder > img:first-child:last-child, .gdprModal__placeholder > video:first-child:last-child {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-width: 95%;
    max-height: 95%
}

.gdprModal__placeholder > img:first-child:last-child, .gdprModal__placeholder > video:first-child:last-child {
    width: auto;
    height: auto
}

.gdprModal__placeholder > [data-gdprModal] {
    display: block !important
}

.gdprModal--iframe .gdprModal__placeholder, .gdprModal--img .gdprModal__placeholder, .gdprModal--video .gdprModal__placeholder {
    width: 100%;
    height: 100%;
    pointer-events: none
}

.gdprModal--visible .gdprModal__placeholder {
    -webkit-transform: scale(1);
    transform: scale(1)
}

[data-gdprModal] {
    display: none !important
}

.gdprModal .gdprModal__placeholder {
    background: white;
    box-shadow: #121212 2px 2px 14px 2px;
}

.gdprModal .gdprModal__placeholder {
    bottom: 0;
    left: 0;
    position: fixed;
}

.overflow-shown .gdprModal {
    height: unset;
}

@media only screen and (min-width: 992px) {
.popup-position-bottom .gdpr-consent-tabs-content .table-responsive td.td_description .description,
.popup-position-top .gdpr-consent-tabs-content .table-responsive td.td_description .description {
        max-width: unset;
        white-space: unset;
        text-align: left;
    }
}

.gdprModal .gdpr_buttons button {
    margin-top: 5px;
}

.gdprModal .gdprModal__placeholder.gdpr-animation-up {
    transform: translateY(100%);
    opacity: 0;
    transition: opacity 3s ease, transform 3s ease;
}

.gdprModal.gdprModal--visible {
    /* background-color: rgba(0, 0, 0, 0.7); */
    height: 100dvh;
}


/* BEGIN RAY CHANGES */

    .div_text > #gdpr-check-all-modules,
    .div_text > #gdpr-uncheck-all-modules {
        margin-bottom: 15px;
    }

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

    .gdpr-consent-tabs-navigation a, .gdpr-consent-tabs-navigation span.tab-title {
        padding: 0.7rem!important;
    }

    .gdpr-consent-tabs-content .table-responsive tr td.td_description .description {
        min-width: 100%;
    }

    .desktop-gdpr-details {
        display: none;
    }

    .mobile-gdpr-allow-all{
        display: block;
    }

    .gdpr-consent-tabs .div_center_area {
        border: none!important;
    }

    .gdpr-consent-tabs-content .table {
        display: flex!important;
    }

    .gdpr-consent-tabs-content li {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .gdpr-consent-tabs-content .table thead,
    .gdpr-consent-tabs-content .table tbody{
        flex-grow: 1;
    }

    .gdpr-consent-tabs-content .table thead .mobile-gdpr-details,
    .gdpr-consent-tabs-content .table tbody tr{
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .gdpr-consent-tabs-content .table-responsive th,
    .gdpr-consent-tabs-content .table-responsive td {
        text-align: left!important;
        line-height: 16px!important;
        height: 30px;
    }

    .gdpr-consent-tabs-content .table-responsive th small {
        font-size: inherit;
    }

    .gdpr-consent-tabs-content .table-responsive td:last-child,
    .gdpr-consent-tabs-content .table-responsive td:nth-child(1) {
        width: auto!important;
    }

/* REMOVING MAX HEIGHTS */

    .gdpr-consent-tabs .div_show_moreinfo {
        max-height: max-content;
    }

    .gdpr-consent-tabs {
        max-height: fit-content !important;
        height: fit-content !important;
    }

    .div_center_area .gdpr-consent-tabs-content li {
        height: fit-content !important;
        max-height: fit-content !important;
    }

    .gdpr-consent-tabs-content li .div_text {
        max-height: fit-content !important;
        height: fit-content !important;
    }
}


/* END RAY CHANGES */