.cookie {
    position: fixed;
    top: 0;
    z-index: 1025;
    overflow: hidden;
}

.cookie .btn-setting {
    color: rgba(255,255,255, 0.85);
    text-decoration: underline;
}
.cookie .btn-setting:hover {
    color: white;
    text-decoration: underline;
}

.cookie .cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1052;
    width: 100%;
    padding: 1rem 0;
    color: white;
    background-color: #007FC6;
}

.cookie .cookie-notice.cookie-notice--show {
    display: block;
}

.cookie .cookie-notice .cookie-notice__link {
    color: rgba(255,255,255, 0.85);
    text-decoration: underline;
}

.cookie .cookie-notice .cookie-notice__link:hover {
    color: white;
}

.cookie .cookie-notice .cookie-notice__button {
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    -ms-flex-align: center;
    margin: auto 0;
}

.cookie .cookie-notice .cookie-notice__button a {
    margin-left: 1rem
}

@media (max-width: 576px) {
    .cookie .cookie-notice .cookie-notice__button {
        position: relative;
        right: 0;
        justify-content: center;
        -ms-flex-pack: center;
    }
}

.cookie .cookie-setting {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1054;
    width: 100%;
    height: 100vh;
    color: white;
    background-color: rgba(50, 58, 56, .75);
    transition: .2s ease all;
    transform: translateX(-100%);
}

@media (min-width: 768px) {
    .cookie .cookie-setting {
        width: 70vw;
    }
}

@media (min-width: 992px) {
    .cookie .cookie-setting {
        width: 50vw;
    }
}

@media (min-width: 1199px) {
    .cookie .cookie-setting {
        width: 25vw;
    }
}

.cookie .cookie-setting.cookie-setting--show {
    transform: translateX(0);
}

/* width */
.cookie .cookie-setting.cookie-setting--show::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.cookie .cookie-setting.cookie-setting--show::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
.cookie .cookie-setting.cookie-setting--show::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 10px;
}

/* Handle on hover */
.cookie .cookie-setting.cookie-setting--show::-webkit-scrollbar-thumb:hover {
    background: #4A4A4A;
}

.cookie .cookie-setting .cookie-setting__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem;
    overflow: auto;
}

.cookie .cookie-setting .cookie-setting__item:nth-child(n+2) {
    margin-top: 1.5rem;
}

.cookie .cookie-setting .cookie-setting__item.cookie-setting__item--highlight {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid white;
}

.cookie .cookie-setting .cookie-setting__item.cookie-setting__item--highlight .cookie-setting__title {
    font-size: 20px !important;
}

.cookie .cookie-setting .cookie-setting__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie .cookie-setting .cookie-setting__title {
    margin-bottom: .5rem;
    color: white;
    font-size: 18px !important;
}

.cookie .cookie-setting .cookie-setting__remark {
    color: #7acea3;
}

.cookie .cookie-setting .cookie-setting__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 50;
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
}

.cookie .cookie-setting .cookie-setting__close:hover {
    text-decoration: none;
}

.cookie .cookie-setting .cookie-setting__body {
    margin-bottom: 1rem;
}

.cookie .cookie-button {
    position: relative;
    display: block;
    width: 47px;
    height: 25px;
    cursor: pointer;
    overflow: hidden;
}

.cookie .cookie-button:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fb8484;
    border-radius: 16px;
}

.cookie .cookie-button .cookie-button__point {
    position: absolute;
    top: 2px;
    bottom: 0;
    left: 2px;
    display: block;
    width: 17px;
    height: 17px;
    margin: 2px;
    background-color: #7d7d7d;
    border: 2px solid #7d7d7d;
    border-radius: 20px;
    transform: translateX(0);
    transition: all .2s ease-in 0s;
}

.cookie .cookie-button.cookie-button--active:before {
    background-color: #7acea3;
}

.cookie .cookie-button.cookie-button--active .cookie-button__point {
    left: 100%;
    transform: translateX(calc(-100% - 6px));
}

.cookie.cookie--backdrop {
    height: 100vh;
    width: 100vw;
}

.cookie.cookie--backdrop:before {
    content: "";
    position: absolute;
    z-index: 1054;
    width: 100%;
    height: 100%;
    background-color: rgba(black, .6);
}