.background-cookies{
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999999;
    position: fixed;
}

.cookies{
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 9999999999;
    background: #E4F8FF;
  	text-align: justify;
    padding: 30px 50px;
    display: flex;
    max-height: 30vh;
}

.cookies .buttons, .cookies .buttons form{
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap:10px;
    width: 200px;
}

.cookies .buttons{
    margin-left: 50px;
    padding-right: 50px;
    margin-top: 0px;
}

.cookies .buttons button, .cookies .buttons .button{
    width: 100%;
    font-family: "Satoshi-Bold";
}

.cookies .buttons button.color2, .cookies .buttons .button.color2{
    font-family: "Satoshi-Regular";
}

.cookies .content{
    padding-left:50px;
    overflow-x: auto;
}

.cookies.pers{
    overflow-y: auto;
    top: 20%;
    bottom: 20%;
    max-height: 50vh;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 80%;
}

.cookies.pers .heightbuttons {
    float: right;
}

.cookies.pers .heightbuttons p {
    cursor: pointer;
    float: right;
    margin-right: 20px;
}

.scroll{
    overflow-y: auto;
    width: 100%;
    height: 100px;
}

.scroll ul{
    list-style: inside;
    margin-left: 20px;
}

.scroll .fa-angle-right {
    float: right;
    margin-right: 20px;
}

.scroll .fa-angle-down {
    float: right;
    margin-right: 20px;
}

.scroll ul.cookies-analitics{
    position: relative;
}

.scroll ul.cookies-analitics li{
    width: 80%;
}

.hidden {
    display:none !important;
}

.cookies input[type="button"],
.cookies input[type="submit"] {
    border-style: solid;
    border-width: 1px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    /*font: 700 17px/17px "Lato", sans-serif;*/
    width: 100%;
}

.cookies .switch{
    float: right;
    margin-right: 20px;
}

.privacidad ul.cookies-analitics{
    position: relative;
}

.privacidad ul.cookies-analitics li{
    width: 80%;
}

.switch {
    width: 45px;
    height: 24px;
    right: 0;
    position: absolute;
    top: 0;
}
  
.switch input[type="checkbox"] { 
    opacity: 0;
    width: 0;
    height: 0;
}
  
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border: 2px solid #0031C8;
    -webkit-transition: .4s;
    transition: .4s;
}
  
.switch .slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 5px;
    bottom: 3px;
    background-color: #0031C8;
    -webkit-transition: .4s;
    transition: .4s;
}

input[type="checkbox"]:checked + .slider{
    background-color: #0031C8;
}
input[type="checkbox"]:checked + .slider:before {
    background-color: white;
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}
  
/* Rounded sliders */
.switch .slider.round {
    border-radius: 34px;
}
  
.switch .slider.round:before {
    border-radius: 50%;
}

@media (max-width: 979px){
    .cookies{
        height: auto;
        top: 22%;
        bottom: 5%;
        left: 5%;
        right: 5%;
        text-align: left;
        max-height: initial;
    }
    .cookies .content{
        overflow-y: auto;
    }
    .cookies .content h3{
        line-height: 24px;
    }
    .cookies .content .text14{
        font-size: 12px;
    }
    
    .cookies .buttons {
        float: none;
        bottom: 6%;
        top: auto;
        position: fixed;
        left: 5%;
        right: 5%;
        display: flex;
        align-items: center;
        justify-self: center;
        gap: 10px;
        flex-direction: row;
        width: 85%;
        margin-left: 0px;
        padding-right: 0px;
    }   

    .cookies .buttons form{
        width: auto;
        flex-direction: row;
    }   
    
    .cookies .buttons button,
    .cookies .buttons .button{
        width: auto;
    }

    .cookies .content {
        max-height: -webkit-fill-available;
        height: fit-content;
        padding-right: 0;
        padding-left: 0;
    }

    .cookies.pers{
        bottom: inherit;
        height: fit-content;
        max-height: -webkit-fill-available;
        margin-left: inherit;
        margin-right: inherit;
    }

    .main .section .switch{
        right: -45px;
    }
}

@media (max-width: 552px){
    .cookies .buttons {
        flex-direction: column;
    }

    .cookies .content {
        margin-bottom: 100px;
    }
}