/*
    Cookies
*/
@media (max-width: 720px) {
    .cookies-mobile {
        overflow: hidden;
    }
}

.cookie {
    overflow-y: auto;
    max-height: 100vh;
    opacity: 1;
    padding: 0 10px 0;
    background-color: #242521;
    width: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
}

.cookie p {
    margin-bottom: 7px;
    color: #fff;
}

.cookie b {
    color: #fff;
}

@media (max-width: 768px) {
    .cookie {
        padding: 0;
    }
}
.cookie--open .cookie-options {
    max-height: none;
    opacity: 1;
}
.cookie--open .cookie-content__action {
    display: none;
}
.cookie--open .cookie-content__action a {
    cursor: pointer;
}
.cookie--open .cookie-content--ifOpen {
    display: flex !important;
}
.cookie--open .cookie-content__action {
    position: sticky;
    bottom: 0;
    background-color: #242521;
    padding-top: 24px;
}

.cookie--close {
    opacity: 1;
    border-radius: 10px 0 0 0;
    padding: 0;
    height: 40px;
    width: 40px;
    background-color: #fff;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.cookie--close:hover {
    background-color: var(--color-primary);
}
.cookie--close:hover a {
    color: #fff;
}
.cookie--close a {
    text-decoration: none!important;
    height: 100%;
    width: 100%;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

.cookie--close a::before {
    content: "\e902";
    font-family: "d-icomoon";
}
.cookie--close .cookie-content {
    display: none;
}
.cookie-options {
    transition: all .5s;
    max-height: 0;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
}
.cookie-options__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cookie-options__item .switch {
    margin-top: 10px;
}

.cookie-options__item div {
    margin-left: 20px;
}

@media (max-width: 720px) {
    .cookie-options__item {
        flex-direction: column;
    }
    .cookie-options__item > div {
        margin-left: 0 !important;
    }
}
.cookie-content {
    padding-left: 81px;
    padding-right: 81px;
    padding-top: 30px;
    position: relative;
}
@media (max-width: 992px) {
    .cookie-content {
        padding-left: 48px;
        padding-right: 48px;
    }
}
@media (max-width: 630px) {
    .cookie-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}
.cookie-content__text p {
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .cookie-content__text p {
        margin-top: 24px;
        margin-bottom: 24px;
    }
}
.cookie-content__action {
    padding: 0 0 38px 0;
    display: flex;
    align-items: center;
}

@media (max-width: 720px) {
    .cookie-content__action {
        flex-direction: column;
        padding: 0 0 24px 0;
    }
}
@media (max-width: 720px) {
    .cookie-content__action .button.btn--md {
        height: 55px;
    }
}
@media (max-width: 720px) {
    .cookie-content__action .button.options {
        margin-top: 8px;
        margin-left: 0;
    }
}
.cookie-content__action a:not(.button) {
    margin-left: 62px;
    color: #fff;
}
.cookie-content__action a:not(.button):hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .cookie-content__action a:not(.button) {
        margin-top: 15px;
        margin-left: 0;
    }
}
.cookie-content--ifOpen {
    display: none;
}

/*
    Switch + slider
*/
.cookie .switch {
    position: relative;
    display: inline-block;
    overflow: inherit;
    width: 60px;
    height: 34px;
}

.cookie .switch--disabled input {
    cursor: default;
}

.cookie .switch--disabled .slider {
    cursor: default;
    background-color: #3f3e38 !important;
}

.cookie .switch--disabled .slider::before {
    color: #3f3e38 !important;
}
.cookie .switch input {
    opacity: 0;
    width: 0;
    height: 0;
    display: none;
}

.cookie .switch input:checked + .slider {
    background-color: var(--color-primary);
}

.cookie .switch input:checked + .slider::before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: #242521;
    content: "\e917";
    font-family: "d-icomoon";
    color: #fff;
}

.cookie .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3f3e38;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie .slider::before {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\2715";
	font-size: 16px;
    font-weight: 700;
    color: #fff;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #242521;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie .slider--round {
    border-radius: 34px;
}

.cookie .slider--round::before {
    border-radius: 50%;
}
