﻿.container-cookies {
    background: #fff;
    box-shadow: 1px -3px 12px 1px #0000006e;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    padding: 15px 20px;
    transition: all 2.5s ease;
    font-family: 'Poppins';
    padding-left: 5%;
    padding-right: 5%;
}

    .container-cookies i {
        position: absolute;
        right: 20px;
        top: -15px;
        font-size: 25px;
        cursor: pointer;
    }

.title-cookies {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.container-cookies__ver-mas {
    max-height: 0;
    opacity: 0;
    transition: all 2.5s ease;
}

    .container-cookies__ver-mas.active {
        max-height: 40vh;
        opacity: 1;
        overflow-y: scroll;
    }

    .container-cookies__ver-mas::-webkit-scrollbar {
        width: 2px; /* width of the entire scrollbar */
    }

    .container-cookies__ver-mas::-webkit-scrollbar-track {
        background: #fff; /* color of the tracking area */
    }

    .container-cookies__ver-mas::-webkit-scrollbar-thumb {
        background-color: blue; /* color of the scroll thumb */
        border-radius: 20px; /* roundness of the scroll thumb */
        border: 1px solid #fff; /* creates padding around scroll thumb */
    }

.btn-cookies__ver-mas {
    max-height: 0;
    opacity: 0;
    transition: all 2.5s ease;
    display: none;
}

    .btn-cookies__ver-mas.active {
        max-height: 40vh;
        opacity: 1;
        overflow-y: scroll;
        display: block;
    }

    .btn-cookies__ver-mas::-webkit-scrollbar {
        width: 2px; /* width of the entire scrollbar */
    }

    .btn-cookies__ver-mas::-webkit-scrollbar-track {
        background: #fff; /* color of the tracking area */
    }

    .btn-cookies__ver-mas::-webkit-scrollbar-thumb {
        background-color: blue; /* color of the scroll thumb */
        border-radius: 20px; /* roundness of the scroll thumb */
        border: 1px solid #fff; /* creates padding around scroll thumb */
    }

.checkbox-style {
    width: 30px;
    height: 15px;
    background: #0000001F;
    margin: 0 10px;
    position: relative;
    border-radius: 12px;
}

    .checkbox-style .lbl-check {
        display: block;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        transition: all .5s ease;
        cursor: pointer;
        position: absolute;
        top: -2px;
        left: -3px;
        background: #ccc;
    }

    .checkbox-style input[type=checkbox]:checked + .lbl-check {
        left: 15px;
        background: #D8B97C;
    }

#btnAceptarCookies.mover {
    position: relative;
    -webkit-animation-name: rebote; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: 1; /* Chrome, Safari, Opera */
    -webkit-animation-direction: reverse; /* Chrome, Safari, Opera */
    animation-name: rebote;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-direction: reverse;
    animation-timing-function: ease-out;
}

@keyframes rebote {
    0% {
        left: 0px;
        top: 0px;
    }

    25% {
        left: 0px;
        top: 0px;
    }

    50% {
        left: 0px;
        top: -100px;
    }

    75% {
        left: 0px;
        top: -100px;
    }

    100% {
        left: 0px;
        top: 0px;
    }
}

@media screen and (max-width: 600px) {
    .title-cookies {
        top: 0;
        transform: translateY(0);
    }
}
