﻿.cookie-consent {
    font-size: 10px;
    background-color: white;
    background-color: white;
    line-height: 1.3;
    box-shadow: 0px -2px 8px 0px rgba(0, 0, 0, 0.16);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    box-sizing: border-box;
    color: #212121;
}

.cookie-consent__wrapper {
    position: relative;
    z-index: 900;
    background: white;
}

.cookie-consent__container {
    max-width: 1464px;
    margin: 0 auto;
    padding: 1.2em 1.6em;
}

.cookie-consent__heading {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cookie-consent__description {
    padding-right: 1em;
}

.cookie-consent__description {
    font-size: 1.3em;
}

.cookie-consent__description .link--underline {
    color: #47515a;
    text-decoration: underline !important;
}

.cookie-consent__options {
    display: flex;
    flex-shrink: 0;
    flex-grow: 0;
}

.cookie-consent__options span[data-new-icon=angle-right] {
    filter: saturate(0);
}

.cookie-consent__start-layer {
    display: grid;
    grid-template-columns: 6fr 2fr;
    gap: 2em;
}

.cookie-consent__start-layer .cookie-consent__description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875em;
    max-height: 172px;
    min-height: 172px;
    overflow-y: auto;
}

.cookie-consent__start-layer .cookie-consent__description__column p:first-child {
    margin-top: 0;
}

.cookie-consent__start-layer .cookie-consent__description p {
    margin: 6px 0;
}

.cookie-consent__start-layer .cookie-consent__description .link--underline {
    color: #000000;
    cursor: pointer;
}

.cookie-consent__customize-layer {
    display: grid;
    grid-template-columns: 6fr 2fr;
    gap: 2em;
}

.cookie-consent__customize-layer .cookie-consent__description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875em;
    max-height: 172px;
    min-height: 172px;
    overflow-y: auto;
}

.cookie-consent__customize-layer .cookie-consent__description__column p:first-child {
    margin-top: 0;
}

.cookie-consent__customize-layer .cookie-consent__description p {
    margin: 6px 0;
}

.cookie-consent__customize-layer .cookie-consent__description .link--underline {
    color: #47515a;
    text-decoration: underline;
}

.cookie-consent__categories {
    display: grid;
    gap: 0.5em;
    margin-bottom: 1rem;
}

.cookie-consent__categories details {
    flex: 1 0 80%;
}

.cookie-consent__categories details[open] summary span[data-new-icon=angle-right] {
    font-size: 0.9em;
    display: inline-block;
    transform: rotate(90deg);
}

.cookie-consent__categories details summary {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.cookie-consent__categories details summary span[data-new-icon=angle-right] {
    font-size: 0.9em;
}

.cookie-consent__categories details p {
    width: 124%;
}

.cookie-consent__categories__header {
    flex: 0 1 80%;
}

.cookie-consent__categories__toggle,
.cookie-consent__categories__text {
    flex: 0 0 20%;
    display: flex;
    justify-content: flex-end;
}

.cookie-consent__categories__text {
    word-wrap: break-word;
    text-align: right;
    font-size: 0.75rem;
}

.cookie-consent__categories label {
    margin-bottom: 0;
}

.cookie-consent__buttons {
    display: grid;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 6px;
    grid-template-columns: 1fr;
}

.cookie-consent__buttons__action {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid #0078d4;
    background: white;
    color: #0078d4;
    width: 100%;
    padding: 1.2em 0;
    font-size: 1.4em;
    line-height: 1;
}

.cookie-consent__buttons__action:active {
    background-color: inherit;
    color: #0078d4
}

.cookie-consent__buttons__action.primary {
    background-color: #0078d4;
    color: white;
}

.cookie-consent__buttons__action .arrow-icon,
.cookie-consent__buttons__action span[data-new-icon=angle-left],
.cookie-consent__buttons__action span[data-new-icon=angle-right] {
    font-size: 0.9em;
    display: flex;
    margin: 0 0.25em;
    padding-top: 0.1em;
}

.cookie-consent span[data-new-icon=angle-right] {
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' fill='%230078d4' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M9.37 0l-2.487 2.487 13.424 13.425-13.595 13.594 2.487 2.487 16.082-16.082z'%3E%3C/path%3E%3C/svg%3E");
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: contain;
    width: 8px;
    height: 8px;
    display: inline-block;
}

.cookie-consent span[data-new-icon=angle-left] {
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' fill='%230078d4' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M9.37 0l-2.487 2.487 13.424 13.425-13.595 13.594 2.487 2.487 16.082-16.082z'%3E%3C/path%3E%3C/svg%3E");
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: contain;
    transform: scaleX(-1);
    width: 8px;
    height: 8px;
    display: inline-block;
}

.cookie-consent ::-webkit-scrollbar {
    width: 5px;
}

.cookie-consent ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.25em;
}

.cookie-consent ::-webkit-scrollbar-thumb {
    background: #bec4c4;
    border-radius: 0.25em;
}

.cookie-consent ::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.cookie-consent details>summary {
    list-style: none;
}

.cookie-consent details>summary::marker {
    display: none;
}

.cookie-consent details>summary::-webkit-details-marker {
    display: none;
    width: 0;
    height: 0;
    margin: 0;
}

.cookie-consent-banner-overlay {
    position: fixed;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(124, 136, 148, 0.5);
    z-index: 150;
}

.cookie-consent .toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 32px;
    height: 18px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
    cursor: pointer;
}

.cookie-consent .toggle-switch:before,
.cookie-consent .toggle-switch:after {
    content: "";
}

.cookie-consent .toggle-switch:before {
    display: block;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 0px 0px rgba(0, 0, 0, 0.16);
    width: 14px;
    height: 14px;
    position: absolute;
    top: 2px;
    left: 2px;
    right: 5px;
    transition: left 0.25s;
}

.cookie-consent .toggle-checkbox:checked+.toggle-switch {
    background: #0078d4;
}

.cookie-consent .toggle-checkbox:checked+.toggle-switch:before {
    left: 16px;
}

.cookie-consent .toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.cookie-consent .toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
}

.cookie-consent__vendor-layer {
    display: grid;
    grid-template-columns: 6fr 2fr;
    gap: 1rem;
}

.cookie-consent__vendor-layer .cookie-consent__description {
    max-height: 172px;
    min-height: 172px;
    overflow-y: auto;
    overflow-x: hidden;
}

.cookie-consent__categories--nested {
    padding-left: 0.9rem;
    width: 121%;
}

@media screen and (max-width: 720px) {
    .cookie-consent__categories--nested {
        padding-left: .9rem;
        width: 108%;
    }

    .cookie-consent__vendor-layer {
        grid-template-columns: unset;
    }

    .cookie-consent {
        font-size: 10px;
    }

    .cookie-consent__start-layer {
        grid-template-columns: 1fr;
    }

    .cookie-consent__start-layer .cookie-consent__description {
        grid-template-columns: 1fr;
    }

    .cookie-consent__description {
        font-size: 1.3em;
        padding-right: 0.5em;
    }

    .cookie-consent__customize-layer {
        grid-template-columns: 1fr;
    }

    .cookie-consent__customize-layer .cookie-consent__description {
        grid-template-columns: 1fr;
    }

    .cookie-consent__options {
        display: grid;
        grid-template-columns: 8fr 1fr;
    }

    .cookie-consent__categories__header {
        flex-basis: auto;
    }

    .cookie-consent__categories details p {
        width: 110%;
    }
}