#cookies-alert {
    position: fixed;
    bottom: -25vh;
    left: 22px;
    width: 95%;
    max-width: 305px;
    background-color: #FFFFFF;
    border-radius: 5px !important;
    box-shadow: 0 3px 6px  #00000029;
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

#cookies-alert > p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}

#cookies-alert > p > a {
    color: #039BE5;
}

#cookies-alert > p > a:hover,
#cookies-alert > p > a:focus {
    text-decoration: underline;
}

#cookies-alert > .btn,
#privacy-preferences.modal .modal-footer > button {
    border-radius: 6px;
    color: #838383;
    font-weight: 500;
    font-size: 16px;
    transition: all .25s ease;
    outline: none;
    min-height: 42px;
    border: 1px solid #039BE5;
    line-height: normal;
    text-transform: none;
}

#cookies-alert > .btn:hover,
#cookies-alert > .btn:focus,
#privacy-preferences.modal .modal-footer > button:hover,
#privacy-preferences.modal .modal-footer > button:focus {
    box-shadow: 0 3px 6px #00000029;
    transition: all .25s ease;
}

#cookies-alert > .btn.btn-confirm,
#privacy-preferences.modal .modal-footer > button {
    background-color: #039BE5;
    color: #FFFFFF;
    margin-top: 20px;
}

#cookies-alert > .btn.btn-confirm:hover,
#cookies-alert > .btn.btn-confirm:focus,
#privacy-preferences.modal .modal-footer > button:hover,
#privacy-preferences.modal .modal-footer > button:focus {
    background-color: #22B0F6;
    border-color: #22B0F6;
}

#cookies-alert > .btn.btn-preferences {
    background-color: #FFFFFF;
    color: #039BE5;
    margin-top: 10px;
    padding: 0;
}

#cookies-alert > .btn.btn-preferences:hover,
#cookies-alert > .btn.btn-preferences:focus {
    background-color: #EBF2F3;
}

#privacy-preferences.modal .modal-content {
    scrollbar-width: thin;
    scrollbar-color: #039BE5 #FFFFFF;
}

#privacy-preferences.modal .modal-content::-webkit-scrollbar {
    width: 8px;
}

#privacy-preferences.modal .modal-content::-webkit-scrollbar-track {
    background-color: #FFFFFF;
}

#privacy-preferences.modal .modal-content::-webkit-scrollbar-thumb {
    background-color: #039BE5;
    border-radius: 20px;
}

#privacy-preferences.modal .modal-content > h4 {
    display: flex;
    border: none;
}

#privacy-preferences.modal .modal-content .logo {
    max-width: 185px;
    max-height: 75px;
}

#privacy-preferences.modal .modal-content .modal-title {
    margin: 0 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    line-height: normal;
}

#privacy-preferences.modal .modal-content .modal-title > small {
    font-size: 12px;
    color: inherit;
    line-height: normal;
}

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

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

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

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

#privacy-preferences.modal .cookie-category .cookie-toggle > span {
    font-size: 1em;
    font-weight: 600;
    margin-left: 20px;
    color: #039BE5;
}

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

#privacy-preferences.modal .cookie-category > .cookie-description > a {
    white-space: nowrap;
    margin: 0 25px;
    text-decoration: none;
    color: #039BE5;
    font-weight: 400;
}

#privacy-preferences.modal .cookie-category > .cookie-description > a > img {
    height: 18px;
    vertical-align: text-bottom;
}

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

#privacy-preferences.modal .modal-footer {
    height: 64px;
    padding: 0 15px;
}

#privacy-preferences.modal .modal-footer > button {
    width: 100px;
    margin-top: 10px;
}

#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;
    height: 100%;
}

#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: #039BE5;
}

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

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

#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 {
    font-size: 14px;
    margin-bottom: 30px;
}

#privacy-preferences #essentials-details .cookie-info > h6 {
    color: #000000;
    font-weight: 600;
    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: 455px) {
    #cookies-alert {
        left: 50%;
        transform: translateX(-50%);
        max-width: 225px;
    }

    #cookies-alert > .btn,
    #privacy-preferences.modal .modal-footer > button {
        font-size: 14px;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    #privacy-preferences.modal > .modal-content > h4 {
        flex-direction: column;
        align-items: center;
    }

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

    #privacy-preferences.modal .modal-content .modal-title {
        font-size: 1.4rem;
    }

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

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

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

@media (max-width: 320px) {
    #privacy-preferences.modal .cookie-category > .cookie-description > p {
        margin-left: 58px;
    }
}
