:root {
    --cookie-consent-button-default: #000000;
    --cookie-consent-button-text-default: #ffffff;
    --cookie-consent-button-reject: #DDDDDD;
    --cookie-consent-button-text-reject: #000000;
    --cookie-consent-button-configuration-hover: #00a4d6;
    --cookie-consent-button-configuration: #171717;
}

@keyframes cookie-consent-shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

#cookie-consent {
    font-family: "Myriad Pro", Myriad, Lucida Grande, Arial, Helvetica, sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-in-out;
    -moz-transition: opacity 0.6s ease-in-out;
    -o-transition: opacity 0.6s ease-in-out;
    transition: opacity 0.6s ease-in-out;
    overflow: hidden;
    height: 0px;
}

#cookie-consent.cookie-consent--active {
    opacity: 1;
    height: 100%;
}

#cookie-consent.cookie-consent--active-popup .cookie-consent__popup {
    bottom: 40px;
}

#cookie-consent.cookie-consent--active-window .cookie-consent__window {
    right: 20px;
    overflow-y: auto;
}

#cookie-consent .cookie-consent__popup {
    transition: bottom 0.45s ease-out;
    right: 0px;
    background: #FFF;
    width: 320px;
    padding: 0px;
    position: fixed;
    z-index: 2;
    display: flex;
    flex-direction: column;
    bottom: -500px;
    left: 0px;
    margin: 0px auto;
    align-items: center;
    box-shadow: 0 4px 38px 0 rgb(0 0 0 / 15%);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
}

#cookie-consent .cookie-consent__popup-image {
    width: 84px;
    margin-top: -71px;
    margin-bottom: 20px;
}

#cookie-consent .cookie-consent__popup-title {
    color: #171717;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

#cookie-consent .cookie-consent__popup-description {
    color: #171717;
    font-size: 13px;
    line-height: 18px;
    text-align: justify;
    margin-bottom: 30px;
    font-weight: 100;
}

#cookie-consent .cookie-consent__popup-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

#cookie-consent .cookie-consent__popup-buttons.cookie-consent__popup-buttons-only .cookie-consent__popup-button {
    max-width: 100%;
}

#cookie-consent .cookie-consent__popup-buttons.cookie-consent__popup-buttons-only .cookie-consent__popup-button--reject {
    display: none;
}

#cookie-consent .cookie-consent__popup-button:hover, #cookie-consent .cookie-consent__window-button:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

#cookie-consent .cookie-consent__popup-button {
    color: var(--cookie-consent-button-text-default);
    background: var(--cookie-consent-button-default);
    border-radius: 5px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    font-weight: bold;
    cursor: pointer;
    transition: all .15s ease;
    height: 60px;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 10px;
}

#cookie-consent .cookie-consent__popup-button--reject {
    background: var(--cookie-consent-button-reject);
    color: var(--cookie-consent-button-text-reject);
}

#cookie-consent .cookie-consent__close {
    background: rgba(18, 18, 18, 0.5);
    opacity: 0.9;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 0px;
    left: 0px;
}

#cookie-consent .cookie-consent__close--shake {
    animation: cookie-consent-shake 0.5s;
    animation-iteration-count: infinite;
}

#cookie-consent .cookie-consent__popup-cofiguration {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
    line-height: 14px;
    color: var(--cookie-consent-button-configuration);
    cursor: pointer;
    margin-left: auto;
}

#cookie-consent .cookie-consent__popup-cofiguration-image {
    width: 15px;
    margin-right: 3px;
    -webkit-mask-image: url(../images/cog.svg);
    mask-image: url(../images/cog.svg);
    display: inline-block;
    height: 15px;
    background-size: cover;
    background-color: var(--cookie-consent-button-configuration);
    -webkit-mask-size: cover;
    mask-size: cover;
}

#cookie-consent .cookie-consent__popup-cofiguration:hover .cookie-consent__popup-cofiguration-image {
    background-color: var(--cookie-consent-button-configuration-hover);
}

#cookie-consent .cookie-consent__popup-cofiguration:hover {
    color: var(--cookie-consent-button-configuration-hover);
}

#cookie-consent .cookie-consent__window {
    transition: right 0.45s ease-out;
    right: 0px;
    top: 100%;
    display: block;
    z-index: 100;
    background: #fff;
    width: 500px;
    padding: 0px;
    position: fixed;
    right: -520px;
    top: 20px;
    z-index: 100;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

#cookie-consent .cookie-consent__window-title {
    display: flex;
    align-items: center;
    background: #efefef;
    padding: 10px 20px;
    margin-bottom: 20px;
}

#cookie-consent .cookie-consent__window-title-image {
    width: 25px;
}

#cookie-consent .cookie-consent__window-title-text {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 13px;
    color: #000;
}

#cookie-consent .cookie-consent__window-description {
    color: #262626;
    font-size: 13px;
    line-height: 17px;
    padding: 10px 20px 30px;
    text-align: justify;
    font-weight: 100;
}

#cookie-consent .cookie-consent__window-title-close {
    cursor: pointer;
    color: #000;
    font-size: 12px;
    line-height: 12px;
}

#cookie-consent .cookie-consent__window-tab.cookie-consent__window-tab-partial-active > .cookie-consent__window-checkbox {
    background: #A3BE8C;
}

#cookie-consent .cookie-consent__window-tab > .cookie-consent__window--hide:first-child {
    width: 30px;
    height: 20px;
    margin-left: -30px;
    position: relative;
    left: 49px;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
}

#cookie-consent .cookie-consent__window-checkbox-fake {
    display: none
}

#cookie-consent .cookie-consent__window-checkbox {
    position: relative;
    width: 30px;
    height: 18px;
    border-radius: 15px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
    background: #434257;
    transition: all 0.3s;
    margin-left: 20px;
}

#cookie-consent .cookie-consent__window-checkbox::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    width: 20px;
    height: 20px;
    background-color: #e8e9ed;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s;
    background-image: url("../images/uncheck.svg");
    background-size: 8px 8px;
    background-repeat: no-repeat;
    background-position: 6px 6px;
}

#cookie-consent .cookie-consent__window-tab input:checked ~ .cookie-consent__window-checkbox {
    background: #A3BE8C;
}

#cookie-consent .cookie-consent__window-tab input:checked ~ .cookie-consent__window-checkbox::before {
    transform: translateX(11px);
    background-image: url(../images/checked.svg);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

#cookie-consent .cookie-consent__window-tab {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid #ddd;
}

#cookie-consent .cookie-consent__window-tab.cookie-consent__window-tab--readonly input {
    display: none;
}

#cookie-consent .cookie-consent__window-tab.cookie-consent__window-tab--readonly .cookie-consent__window-tab-list-label {
    cursor: default;
}

#cookie-consent .cookie-consent__window-tab:last-child {
    border-bottom: 1px solid #ddd;
}

#cookie-consent .cookie-consent__window-tab-label:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #000000 transparent transparent transparent;
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -2.5px;
    transform: rotate(-90deg);
}

#cookie-consent .cookie-consent__window-tab-label {
    display: flex;
    margin: 0px;
    width: calc(100% - 50px);

    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    min-width: calc(100% - 50px);
    max-width: calc(100% - 50px);
    font-size: 15px;
    line-height: 16px;
    padding: 20px 40px 20px 15px;
    color: #000;
    position: relative;
}

#cookie-consent .cookie-consent__window-tab-content {
    max-height: 0;
    transition: all 0.35s;
    overflow: hidden;
}

#cookie-consent input.cookie-consent__window-checkbox-fake:checked ~ .cookie-consent__window-tab-content {
    max-height: 100vh;
}

#cookie-consent input.cookie-consent__window-checkbox-fake:checked ~ .cookie-consent__window-tab-label:after {
    transform: rotate(0deg);
}

#cookie-consent .cookie-consent__window-tab-list {
    position: relative;
    padding: 8px 20px 8px 0px;
}

#cookie-consent .cookie-consent__window-tab-list:last-child {
    margin-bottom: 10px;
}

#cookie-consent .cookie-consent__window-tab-list .cookie-consent__window-checkbox {
    position: absolute;
    top: 9px;
    left: 0px;
}

#cookie-consent .cookie-consent__window-tab-list-label {
    padding: 0px 0px 0px 65px;
    margin: 0px;
    font-size: 15px;
    line-height: 16px;
    color: #000;
    cursor: pointer;
    display: flex;
    margin-bottom: 6px;
    align-items: center;
}

#cookie-consent .cookie-consent__window-tab-list-image {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

#cookie-consent .cookie-consent__window-help-icon {
    padding: 2px;
    background: rgb(235 235 235);
    color: rgb(140, 140, 140);
    border-radius: 100px;
    min-height: 18px;
    min-width: 18px;
    line-height: 14px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    margin-right: 4px;
}

#cookie-consent .cookie-consent__window-help-content {
    font-size: 11px;
    line-height: 12px;
    padding-left: 65px;
    display: flex;
    align-items: center;
    margin-top: 2px;
    font-weight: 100;
}

#cookie-consent .cookie-consent__window-tab-description {
    background: #efefef;
    color: #262626;
    font-size: 13px;
    line-height: 17px;
    padding: 10px 20px;
    margin-bottom: 10px;
    font-weight: 100;
}

#cookie-consent .cookie-consent__window-tab-list .cookie-consent__window--hide {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 8px;
    left: 20px;
    width: 30px;
    height: 20px;
    z-index: 3;
    opacity: 0;
}

#cookie-consent .cookie-consent__window-button {
    color: var(--cookie-consent-button-text-default);
    background: var(--cookie-consent-button-default);
    border-radius: 5px;
    width: 100%;
    text-align: center;
    max-width: 200px;
    font-size: 16px;
    line-height: 47px;
    font-weight: bold;
    cursor: pointer;
    transition: all .15s ease;
    margin: 20px auto;
    line-height: 1.7;
}

@media (max-width: 759.98px) {
    #cookie-consent .cookie-consent__popup-buttons {
        flex-direction: column;
    }

    #cookie-consent .cookie-consent__popup-button {
        max-width: 100%;
        margin-bottom: 15px;
    }

    #cookie-consent .cookie-consent__popup-button:last-child {
        margin-bottom: 0px
    }

    #cookie-consent .cookie-consent__popup {
        max-width: 300px;
    }

    #cookie-consent.cookie-consent--active-window .cookie-consent__window {
        right: 0px;
    }

    #cookie-consent .cookie-consent__window {
        top: 0px;
        height: 100%;
        border-radius: 0px;
        width: 100%;
        right: -100%;
    }
}