#scr-adv-cookies {
    box-sizing: border-box;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 650px;
    height: auto;
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    color: #000;
    font-size: 12px;
    line-height: 1.4em;
    text-align: left;
    box-shadow: 0 20px 40px rgba(34, 35, 42, 0.1);
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid grey;
    border-radius: 0;
    z-index: 11000;
    visibility: visible;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cookie-a {
    color: #000;
    text-decoration: underline !important;
    margin: 0;
    cursor: pointer !important;
}

.cookie-h3 {
    line-height: 1.4em;
    font-size: 24px;
    margin: 15px 0;
}

.cookie-p {
    color: #000;
    text-align: left;
    float: left;
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    line-height: 1.4em;
}

.cookie-p strong {
    font-weight: 500 !important;
    margin: 30px 0 0 0;
}

.cookie-button {
    cursor: pointer !important;
}

.hidden {
    display: none !important;
}

.scr-adv-cookies__close__wrp {
    width: calc(100% - 8px);
    margin: 25px -4px 0;
    display: flex;
    justify-content: space-between;
}

.scr-adv-cookies__sub {
    display: flex;
    flex-direction: column;
    width: 100%;
}

button.scr-adv-cookies__bt, button.scr-adv-cookies__more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 37px;
    font-weight: 500 !important;
    font-size: 15px;
    color: #fff;
    border: 0 none;
    outline: none;
    margin: 4px;
    padding: 4px 12px 3px;
    z-index: 2;
    transition: all 150ms linear;
}

.hidden {
    display: none !important;
}

button.scr-adv-cookies__bt {
    background-size: 100% 90%;
}

.scr-adv-cookies__close__r {
    display: flex;
}

.scr-adv-cookies__tabs {
    width: calc(100% + 40px);
    position: relative;
    margin: 25px -20px;
    padding: 0 20px;
    border-bottom: 1px solid grey;
}

button.scr-adv-cookies__tabbt {
    border-left: 1px solid transparent;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 0 none;
    padding: 10px;
    border-radius: 0 none;
    margin: 0 0 -1px;
    font-size: 14px;
    line-height: 16px;
    position: relative;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.6);;
    transition: all 150ms linear;
}

button.scr-adv-cookies__tabbt.active {
    border-left: 1px solid grey;
    border-top: 1px solid grey;
    border-right: 1px solid grey;
    z-index: 2;
    color: #000;
    background-color: #fff;
}

.scr-adv-cookies__tabscd {
    max-height: calc(100vh - 310px);
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px;
    width: calc(100% + 40px);
    overflow-y: auto;
}

.scr-adv-cookies__tabscd:-webkit-scrollbar {
    width: 10px;
}

.scr-adv-cookies__tabscd:-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.scr-adv-cookies__tabscd:-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.scr-adv-cookies__tabscd:-webkit-scrollbar-thumb:hover {
    background: #555;
}

.scr-adv-cookies__tabscdi {
    width: 100%;
}

/* Table */
.table-wrap {
    width: 100%;
    overflow-x: visible;
}

.cookie-table {
    width: calc(100% + 20px);
    margin: 30px -10px;
}

.cookie-table-th {
    font-weight: 500 !important;
    padding: 5px 10px;
}

.cookie-table-tr > td {
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border-left: 1px solid #fff;
}

.cookie-table-tr > td:first-child {
    border: 0 none;
}

.cookie-table-tr > td[colspan] {
    padding: 0 10px 5px;
}

.cookie-table-td-p {
    margin: 0;
    background-color: #fff;
    padding: 5px 10px;
    width: 100%;
}

.cookie-table-td-span {
    border-radius: 2px;
    background-color: #000;
    color: #fff;
    padding: 0 2px;
    margin: 0 -10px;
    font-size: 10px;
    display: inline-block;
    white-space: nowrap;
}

.scr-adv-cookies__form-chk {
    margin: 15px 0;
    display: flex;
    width: 100%;
    position: relative;
    padding: 0 0 0 45px;
}

.scr-adv-cookies__form-chk > a {
    text-decoration: underline;
}

.scr-adv-cookies__form-chk-p {
    margin: 0;
}

.cookie-chkbox {
    position: absolute;
    left: 0;
    top: 4px;
    width: 35px;
    height: 20px;
}

.cookie-chkbox > span {
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 20px;
    border: 1px solid #d2d6db;
    border-radius: 10px;
    pointer-events: none;
    transition: all 150ms linear;
}

.cookie-chkbox > span:before {
    content: ' ';
    transition: transform 150ms ease-out;
    border: 1px solid grey;
    background-color: grey;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    top: 2px;
}

.cookie-chkbox > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 20px;
    opacity: 0;
    z-index: 5;
    cursor: pointer;
}

.cookie-chkbox > input:disabled + span {
    opacity: 0.4;
}

.cookie-chkbox > input:checked + span {
    color: #000;
    border: 1px solid transparent;
}

.cookie-chkbox > input:checked + span:before {
    transform: translateX(15px);
    background-color: #fff;
}

@media only screen and (max-width: 650px) {
    .scr-adv-cookies__tabscdi .cookie-table > th {
        display: none !important;
    }

    .scr-adv-cookies__tabscdi .cookie-table > tr > td:not([colspan]) {
        display: block;
        width: 100%;
    }

    .scr-adv-cookies__tabscdi .cookie-table > tr > td:not([colspan]):before {
        content: attr(data-name);
        font-weight: 500 !important;
    }

    .scr-adv-cookies__tabscdi .cookie-table > tr > td[colspan] {
        display: flex;
        width: 100%;
    }

    .scr-adv-cookies {
        -webkit-overflow-scrolling: touch;
    }

    .scr-adv-cookies__tabscd {
        max-height: initial;
        overflow: hidden;
    }

    .scr-adv-cookies__close__wrp, .scr-adv-cookies__close__r {
        flex-direction: column;
    }

    .scr-adv-cookies__close__btn {
        width: 100% !important;
    }

    .cookie-p {
        font-size: 13px;
    }

    button.scr-adv-cookies__tabbt {
        font-size: 12px;
    }

    /* Table */
    .table-wrap {
        overflow-x: scroll;
    }
}