/* #Animations
======================================== */

@-webkit-keyframes slide-in-bottom {
    0% {
        opacity: 0;
        bottom: 0;
    }
    100% {
        opacity: 1;
        bottom: 30px;
    }
}

@keyframes slide-in-bottom {
    0% {
        opacity: 0;
        bottom: 0;
    }
    100% {
        opacity: 1;
        bottom: 30px;
    }
}

@media screen and (max-width: 639px) {

    @-webkit-keyframes slide-in-bottom {
        0% {
            opacity: 0;
            bottom: 0;
        }
        100% {
            opacity: 1;
            bottom: 0;
        }
    }

    @keyframes slide-in-bottom {
        0% {
            opacity: 0;
            bottom: 0;
        }
        100% {
            opacity: 1;
            bottom: 0;
        }
    }
}










/* #Cookies Popup
======================================== */

.cookies-popup {
    position: fixed;
    overflow: hidden;
    z-index: 999999999;
    bottom: 30px;
    left: 30px;
    animation: slide-in-bottom 1.6s forwards;
}

.cookies-popup .inline-buttons {
    display: flex;
    align-items: flex-start;
    margin: -20px -18px;
}

.cookies-popup .inline-buttons div {
    white-space: nowrap;
    padding: 20px 18px;
    text-align: center;
}

.cookies-popup .inline-buttons div:last-child {
    flex-grow: 1;
    text-align: right;
}

@media all and (max-width: 480px) {

    .cookies-popup .inline-buttons {
        margin: -10px -8px;
        flex-wrap: wrap;
    }

    .cookies-popup .inline-buttons div {
        padding: 10px 8px;
    }

    .cookies-popup .inline-buttons div:last-child {
        text-align: left;
    }

}

.cookies-popup-body {
    background: #36254D;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    padding: 30px;
    border-radius: 2px;
}

.cookies-popup-title {
    font-family:'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif;
    font-size: 34px;
    line-height: 1.3;
}

@media screen and (max-width: 640px) {

    .cookies-popup-title {
        font-size: 20px;
    }

}

.cookies-popup-title:not(:last-child) {
    margin-bottom: 25px;
}

.cookies-popup-content {
    text-align: center;
    margin: 0 auto;
}

.cookies-popup-content * {
    color: #ffffff;
}

.cookies-popup-content .cms-content a:not([class]) {
    color: #ffffff;
    text-decoration: underline;
}


.cookies-popup-content-text {
    text-align: left;
}

.cookies-popup-content-text:not(:last-child) {
    margin-bottom: 40px;
}

@media screen and (max-width: 639px) {

    .cookies-popup {
        bottom: 0;
        left: 0;
    }

    .cookies-popup-body {
        max-width: 100%;
        padding: 20px;
    }

}

@media print {

    .cookies-popup {
        display: none
    }

}










/* #Cookies - Manual
============================================ */

.cookies-manage {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999999;
    background: rgba(0,0,0, 0.75);
    max-width: 100%;
}

.cookies-manage-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
}

@media all and (min-width: 1440px) {

    .cookies-manage-body {
        padding: 100px;
    }

}

.cookies-manage-content {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    background: #36254D;
    width: 100%;
    height: 80vh;
    max-width: 650px;
    padding: 30px 0 30px 30px;
}

.cookies-manage-content * {
    color: #ffffff;
}

@media all and (min-width: 640px) {

    .cookies-manage-content {
        padding: 40px 0 40px 40px
    }

}

.cookies-manage-content-text {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    padding-right: 30px;
}

@media all and (min-width: 640px) {

    .cookies-manage-content-text {
        padding-right: 40px
    }

}

.cookies-manage-content-text:not(:last-child) {
    margin-bottom: 40px;
}

.cookies-manage-title {
    font-family:'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif;
    font-size: 34px;
    line-height: 1.3;
}

@media screen and (max-width: 640px) {

    .cookies-manage-title {
        font-size: 20px;
    }

}

.cookies-manage-title:not(:last-child) {
    margin-bottom: 25px
}

.cookies-manage-summary {
    margin-bottom: 40px;
}

.cookie-preference {
    margin-bottom: 40px;
}

.cookie-preference:last-child {
    margin-bottom: 0;
}

.cookie-preference-header {
    margin-bottom: 20px;
}

@media all and (min-width: 640px) {

    .cookie-preference-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

}

.cookie-preference-header .btn {
    margin: 0;
     padding: 0;
}

.cookie-preference-header .cookie-preference-title {
    font-family:'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif;
    font-size: 22px,
    margin-bottom: 10px;
}

@media all and (min-width: 640px) {

    .cookie-preference-header .cookie-preference-title {
        margin-bottom: 0;
    }

}

.cookie-preference-header span {
    font-family:'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif;
    color: #059CE5;
    font-size: 18px;
}


/* Buttons */

.cookies-manage .btn {
    border: 0;
    outline: 0;
}

.btn--toggle {
    background-color: transparent;
    color: #ffffff;
}

.btn--toggle:hover {
    background-color: transparent;
}

.btn--toggle .btn-text {
    display: inline-block;
    vertical-align: middle;
}

.btn--toggle .btn-text--left {
    padding-right: 10px;
}

.btn--toggle .btn-text--right {
    padding-left: 10px;
}

.toggle {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    height: 30px;
    width: 50px;
    border-radius: 40px;
    padding: 3px;
    border: 2px solid #059CE5;
}

.toggle-slider {
    position: absolute;
    content: '';
    display: block;
    background: #059CE5;
    height: 20px;
    width: 20px;
    left: 3px;
    border-radius: 50%;
    transition: all 0.4s;
}

.toggle.is-active .toggle-slider {
    background: #059CE5;
    left: 23px;
}

/* No BG */

.btn-no-bg {
    background: transparent;
    border-radius: 0;
    padding: 8px;
}

.btn-no-bg:hover,
.btn-no-bg.is-active {
    background: transparent;
    opacity: 0.5;
}

.btn-no-bg--white {
    color: #ffffff;
}