#cookies-alert {
    position: fixed;
    bottom: -25vh;
    width: 100%;
    z-index: 1040;
    box-shadow: -3px 0 6px 3px #00000029;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: .95;
    font-size: 13px;
}

#cookies-alert > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

#cookies-alert > p {
    font-size: inherit;
    font-weight: 400;
    margin: 0 100px 0 0;
    line-height: 16px;
}

#cookies-alert a {
    color: inherit;
    text-decoration: underline;
    font-size: inherit;
    white-space: nowrap;
    font-weight: 400;
}

#cookies-alert button,
#privacy-preferences.modal .modal-footer button {
    background-color: #D9D9D9;
    border: none;
    color: #333333;
    font-weight: 500;
    font-size: 14px;
    transition: all .2s ease;
    outline: none;
    white-space: nowrap;
    padding: 5px 10px;
}

#cookies-alert button:hover,
#cookies-alert button:focus,
#privacy-preferences.modal .modal-footer button:hover,
#privacy-preferences.modal .modal-footer button:focus {
    box-shadow: 0 3px 6px #FFFFFF50;
    background-color: #E2E2E2;
}

#cookies-alert button.btn-preferences {
    background-color: transparent;
}

#privacy-preferences.modal {
    padding: 0 !important;
}

#privacy-preferences.modal .modal-dialog {
    width: 95%;
    max-width: 720px;
    margin-top: 50px;
}

#privacy-preferences.modal .modal-content {
    padding: 20px;
    background-color: #FFFFFF;
    opacity: 1;
    max-height: 90vh;
    overflow-y: auto;
}

#privacy-preferences.modal .modal-header {
    display: flex;
    border: none;
}

#privacy-preferences.modal .modal-header > .logo {
    max-height: 80px;
}

#privacy-preferences.modal .modal-header > .modal-title {
    margin: 0 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.25em;
}

#privacy-preferences.modal .modal-header > .modal-title > small {
    font-size: 14px;
    color: inherit;
}

#privacy-preferences.modal .modal-header > .close {
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
}

#privacy-preferences.modal .modal-body {
    padding-top: 0;
    font-weight: 400;
    color: #414141;
    font-size: 14px;
}

#privacy-preferences.modal .modal-body .cookie-category {
    padding-top: 25px;
}

#privacy-preferences.modal .modal-body .cookie-category:not(:last-child) {
    border-bottom: 1px solid #B7B7B7;
}

#privacy-preferences.modal .modal-body .cookie-category .cookie-toggle {
    display: flex;
    align-items: center;
}

#privacy-preferences.modal .modal-body .cookie-category .cookie-toggle.disabled {
    opacity: 0.6;
}

#privacy-preferences.modal .modal-body .cookie-category .cookie-toggle > span {
    font-size: 16px;
    font-weight: 600;
    margin-left: 20px;
    color: #838383;
}

#privacy-preferences.modal .modal-body .cookie-category > .cookie-description {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

#privacy-preferences.modal .modal-body .cookie-category > .cookie-description > a {
    white-space: nowrap;
    margin: 0 25px;
    text-decoration: none;
    color: #0279AE;
    font-weight: 600;
    display: flex;
    align-items: center;
}

#privacy-preferences.modal .modal-body .cookie-category > .cookie-description > a > img {
    height: 18px;
}

#privacy-preferences.modal .modal-body .cookie-category > .cookie-description > p {
    margin: 10px 0 0 64px;
    color: #414141;
    text-align: left;
}

#privacy-preferences.modal .modal-footer,
#privacy-preferences.modal .modal-footer > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

#privacy-preferences.modal .modal-footer::before,
#privacy-preferences.modal .modal-footer::after {
    display: none;
}

#privacy-preferences.modal .modal-footer button[data-action="save-preferences"] {
    background-color: #444444;
    color: #FFFFFF;
}

#privacy-preferences.modal .modal-footer button[data-action="save-preferences"]:hover,
#privacy-preferences.modal .modal-footer button[data-action="save-preferences"]:focus {
    background-color: #707070;
}

#privacy-preferences.modal .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    min-width: 44px;
    height: 24px;
    margin: 0;
}

#privacy-preferences.modal .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#privacy-preferences.modal .switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#privacy-preferences.modal .cookie-toggle:not(.disabled) .slider {
    cursor: pointer;
}

#privacy-preferences.modal .switch .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #FFFFFF;
    -webkit-transition: .4s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

#privacy-preferences.modal .switch input:checked + .slider {
    background-color: #2196F3;
}

#privacy-preferences.modal .switch input:checked + .slider:before {
    transform: translateX(20px);
}

#privacy-preferences.modal .switch .slider.round {
    border-radius: 34px;
}

#privacy-preferences.modal .switch .slider.round:before {
    border-radius: 50%;
}

#privacy-preferences #essentials-details {
    padding: 20px 64px;
    background-color: #F3F3F3;
    border-radius: 5px;
    margin-bottom: 10px;
}

#privacy-preferences #essentials-details .cookie-info {
    margin-bottom: 30px;
    line-height: 16px;
}

#privacy-preferences #essentials-details .cookie-info > h6 {
    color: #000000;
    font-weight: 700;
    font-size: inherit;
}

#privacy-preferences #essentials-details .cookie-info > p {
    text-align: left;
    margin-top: 0;
    margin-bottom: 5px;
}

#privacy-preferences #essentials-details .cookie-info > p,
#privacy-preferences #essentials-details .cookie-info > span {
    color: #414141;
}

@media (max-width: 991px) {
    #cookies-alert {
        flex-direction: column;
    }

    #cookies-alert > p {
        margin: 0 0 1rem 0;
    }
}

@media (max-width: 768px) {
    #cookies-alert {
        font-size: 12px;
    }

    #privacy-preferences.modal .modal-header {
        flex-direction: column;
        align-items: center;
    }

    #privacy-preferences.modal .modal-header > .logo {
        margin-bottom: 20px;
    }

    #privacy-preferences.modal .modal-body {
        font-size: 12px;
    }

    #privacy-preferences.modal .modal-body .cookie-category,
    #privacy-preferences.modal .modal-body .cookie-category > .cookie-description {
        flex-direction: column;
    }

    #privacy-preferences.modal .modal-body .cookie-category > .cookie-description a {
        margin-top: 20px;
    }

    #privacy-preferences #essentials-details {
        padding: 20px;
    }
}

@media (max-width: 625px) {
    #privacy-preferences.modal .modal-footer,
    #privacy-preferences.modal .modal-footer > div {
        flex-direction: column;
    }
}

@media (max-width: 450px) {
    #cookies-alert > div {
        flex-direction: column;
        align-items: normal;
    }

    #privacy-preferences.modal .modal-content {
        padding: 10px;
    }
}
