.cookie-banner {
    z-index: 9999;
    position: fixed;
    bottom: 0;
    display: none;
}

.cookie {
    display: grid;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 18px 0;
    width: 100%;
    height: fit-content;
    background: #ffffff;
    left: 0;
    grid-template-columns: 55% auto;
    gap: 24px 2%;
    align-items: center;
    padding: 40px;
}

.policy__title {
    text-align: left;
    font-size: 24px;
    line-height: 28px;
    color: #1f2766;
    font-weight: 800;
    margin-bottom: 1rem;
}

.policy__text {
    text-align: left;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0;
    color: #1f2766;
    font-weight: 400;
    display: grid;
    gap: 10px;
}

.policy__text a,
.cookie-banner .tab-content a {
    text-decoration: underline;
    font-weight: 800;
    color: #1f2766;
    text-decoration-color: #53a87a;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.policy__text a:hover,
.cookie-banner .tab-content a:hover {
    text-decoration: none;
}

.cookie-banner #button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cookie-banner #button-group button,
.cookie-banner #button-group #btn-handler:hover {
    min-width: 125px;
    height: auto;
    white-space: normal;
    word-break: break-word;
    word-wrap: break-word;
    padding: 12px 10px;
    line-height: 1.2;
    font-size: .813em;
    font-weight: 600;
    border-radius: 20px;
    color: #Ffffff;
    border: 1px solid #34a9df;
    background-color: #34a9df;
    cursor: pointer;
}

.cookie-banner #button-group #btn-handler,
.cookie-banner #button-group button:hover {
    color: #34a9df;
    border: 1px solid #34a9df;
    background-color: #FFFFFF;
}

.manage-cookie {
    background: rgba(0, 0, 0, 0.5);
    z-index: 2147483646;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    display: none;
}

.manage-cookie #tabs {
    position: fixed;
    max-width: 730px;
    max-height: 610px;
    left: 50vw;
    top: 50vh;
    font-size: 16px;
    z-index: 2147483647;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0), 0 7px 14px 0 rgba(50, 50, 93, .1);
    display: grid;
    grid-template-rows: 58px auto 80px;
    overflow: auto;
    margin: 0;
    transform: translate(-50%, -50%);
    width: 100vw;

}

.manage-cookie__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.manage-cookie__close:hover {
    opacity: 0.5;
}

.manage-cookie__close::before,
.manage-cookie__close::after {
    position: absolute;
    top: 0;
    left: 50%;
    content: '';
    background: #263238;
    width: 2px;
    height: 100%;
    border-radius: 2px;
    transform: rotate(-45deg);
}

.manage-cookie__close::before {
    border-radius: 2px;
    transform: rotate(-45deg);
}

.manage-cookie__close::after {
    border-radius: 2px;
    transform: rotate(45deg);
}

.manage-cookie__header {
    min-height: 52px;
    border-bottom: 1px solid #d8d8d8;
    display: grid;
    align-items: center;
    grid-template-columns: 30% auto;
    gap: 20px;
}

.manage-cookie__header .title {
    overflow: hidden;
}

.manage-cookie__header h2 {
    padding: 35px 50px 10px 10px;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    overflow: hidden;
}

.manage-cookie__header svg {
    width: 88px;
    height: auto;
    margin: 0 auto;
}

.manage-cookie__main {
    background-color: #fff;
    position: relative;
    display: grid;
    grid-template-columns: 30% auto;
    gap: 10px;
}

.manage-cookie__main #cookie-hosts {
    background: lightblue;
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

.manage-cookie__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-top: 1px solid #d8d8d8;
}

.manage-cookie__footer button {
    font-size: 13px;
    padding: 12px 10px;
    white-space: normal;
    word-break: break-word;
    word-wrap: break-word;
    font-weight: 600;
    border-radius: 20px;
    color: #Ffffff;
    border: 1px solid #34a9df;
    background-color: #34a9df;
    cursor: pointer;
}

.manage-cookie__footer button:hover {
    color: #34a9df;
    background: #ffffff;
}

.manage-cookie .filter-tabs .filter__btns {
    margin: 0;
    padding: 0;
    list-style: none;
}

.manage-cookie .tab-contents {
    padding: 12px 20px;
}

.manage-cookie .filter__btns_btn {
    text-decoration: none;
    padding: 12px 5px 12px 12px;
    border-left: 10px solid transparent;
    border-radius: 0;
    display: block;
    border-bottom: 1px solid #d7d7d7;
    background: #F4F4F4;
    line-height: 1.4;
    font-size: 14px;
    word-break: break-word;
    word-wrap: break-word;
    color: #696969;
}

.manage-cookie .r-tabs-state-active .filter__btns_btn {
    border-color: #34a9df;
    background: #ffffff;
    border-bottom-color: transparent;
    color: #263238;
    font-weight: 700;

}

.manage-cookie .filter-tabs .tab-contents .tab-content {
    border: none;
    display: none;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    word-break: break-word;
    word-wrap: break-word;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.manage-cookie .filter-tabs .tab-contents .tab-content .tab-content__title {
    line-height: 1.4;
    font-size: 14px;
    word-break: break-word;
    word-wrap: break-word;
    color: #696969;
    font-weight: 700;
}

.manage-cookie .r-tabs .r-tabs-accordion-title {
    display: none;
}

.manage-cookie .r-tabs .r-tabs-panel.r-tabs-state-active {
    display: block;
}

.manage-cookie .r-tabs-accordion-title > a {
    text-decoration: none;
    padding: 12px 5px 12px 12px;
    border-left: 10px solid transparent;
    border-radius: 0;
    display: block;
    border-bottom: 1px solid #d7d7d7;
    background: #F4F4F4;
    line-height: 1.4;
    font-size: 14px;
    word-break: break-word;
    word-wrap: break-word;
    color: #696969;
}

.manage-cookie .r-tabs-accordion-title.r-tabs-state-active > a {
    border-color: #34a9df;
    background: #ffffff;
    border-bottom-color: transparent;
    color: #263238;
    font-weight: 700;
}

.manage-cookie .tab-content__header {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 10px;
    gap: 10px;
}

.manage-cookie .always-active {
    color: #34a9df;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}

.manage-cookie .tab-content a {
    text-decoration: none;
    font-weight: 600;
    color: #1f2766;
    margin-top: 12px;
    display: block;
}

.manage-cookie .tab-content a:hover {
    font-weight: 700;
}

.manage-cookie .switch input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}

.manage-cookie .switch label {
    cursor: pointer;
    display: block;
    position: relative;
    width: 100px;
    padding-right: 40px;
    font-size: 12px;
    text-align: right;
}

.manage-cookie .switch label::before {
    width: 35px;
    height: 10px;
    position: absolute;
    display: block;
    content: '';
    right: 35px;
    background-color: #f2f1f1;
    left: calc(100% - 35px);
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 65px;
}

.manage-cookie .switch label:after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 35px);
    width: 21px;
    height: 21px;
    border-radius: 90px;
    transition: 0.3s;
    background: #34a9df;
    transform: translate(0, -50%);
}

.manage-cookie .switch label span:first-child {
    display: none;
}

.manage-cookie .switch input + label span:nth-child(2) {
    display: block;
}

.manage-cookie .switch input:checked + label::before {
    background-color: #cddcf2;
}

.manage-cookie .switch input:checked + label span:first-child {
    display: block;
}

.manage-cookie .switch input:checked + label span:nth-child(2) {
    display: none;
}

.manage-cookie .switch input:checked + label:after {
    left: calc(100% - 21px);
    transform: translate(0, -50%);
    background: #1f2766;
}

.manage-cookie table {
    border-collapse: collapse;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    color: #333;
    table-layout: fixed;
    margin-top: 1rem;
}

.manage-cookie table th {
    text-transform: uppercase;
    background: #e2e2e2;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    line-height: 1.8em;
    font-size: 0.8em;
    vertical-align: top;
    width: 20%;
}

.manage-cookie table td, .manage-cookie table th {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    line-height: 1.8em;
    font-size: 0.8em;
    vertical-align: top;
    width: 20%;
}

.cookielawinfo-column-2 {
    display: none;
}

@media (max-width: 1199px) {
    .cookie #button-group {
        justify-content: start;
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .cookie {
        grid-template-columns: 1fr;
    }

    .cookie #button-group {
        display: grid;
        grid-template-columns: 1fr auto auto;
        justify-items: self-start;
    }
}

@media (max-width: 650px) {
    .cookie #button-group {
        grid-template-columns: 1fr;
        justify-items: normal;
    }

    .manage-cookie .r-tabs .r-tabs-nav {
        display: none;
    }

    .manage-cookie .r-tabs .r-tabs-accordion-title {
        display: block;
    }

    .manage-cookie #tabs {
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
    }

    .manage-cookie__main {
        grid-template-columns: 1fr;
    }

    .manage-cookie .tab-contents {
        padding: 0;
    }

    .manage-cookie .tab-content {
        padding: 10px;
    }

    .manage-cookie .tab-content__title {
        display: none;
    }

    .manage-cookie .tab-content__header {
        float: right;
        padding: 10px 10px 8px;
        margin-bottom: 0;
        gap: 0;
    }

    .manage-cookie__footer button {
        font-size: 10px;
    }

    .cookie {
        padding: 20px;
    }

    .policy__text {
        font-size: 14px;
    }
}

.manage-cookie .tab-contents {
    max-height: 470px;
    overflow: auto;
}

.manage-cookie .filter-tabs .tab-contents .tab-content .tab-content__title,
.manage-cookie .filter-tabs .tab-contents .tab-content p,
.manage-cookie .always-active,
.manage-cookie table {
    margin-bottom: 0;
}

.manage-cookie .switch label {
    opacity: 1;
    text-transform: capitalize;
}

.manage-cookie #tabs {
    width: 730px;
    max-width: calc(100vw - 20px);
    height: fit-content;
}

@media (max-width: 650px) {
    .manage-cookie .tab-contents {
        max-height: 100%;
    }
}

.policy__text p {
    margin-bottom: 0;
}
