
/* COOKIES */
.banner{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: #fff;*/
    color: #000;
    padding: 10px 20px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    font-size: 14px;
    font-weight: 300; 
    display: none;
}
.banner.show{
    transform: translateY(0);
    opacity: 1;
}
.banner .message{
    flex: 1;
}
.banner .button{
    background: #8cf;
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.banner .button:hover{
    background: #fff;
    color: #000;
}
.banner .button:active{
    transform: scale(0.9);
}

.cookieconfig-dialog{
    max-width: 320px;
    z-index: 1000000000;
}



/* Styling for the switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px!important;
    height: 30px!important;
}

/* Hide the default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style the slider */
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(170, 13, 13);
    border-radius: 30px;
    transition: .4s;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    top: 50%;
    transform:translateY(-50%);
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

/* When the checkbox is checked, move the slider */
.switch input:checked + .slider {
    background-color: green;
}
.switch input[disabled]:checked + .slider{
    background-color: green;
    opacity: 0.5;
    cursor: not-allowed;
}


.switch input:checked + .slider:before {
    transform: translateX(22px) translateY(-50%);
}





@media only screen and (min-width: 600px){
    .cookieconfig-dialog{
        max-width: 600px;
    }
}


.configopener{
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 1000;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5); 
    display: none;
    opacity: 0.3;
}

.configopener:hover{
    opacity: 1;
    background: #8cf;
    color: #000;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
}

.configopener .cookie{
    font-size: 20px;
    color: rgb(37, 30, 77); 
}
.configopener .roda{
    position: absolute;
    top: 70%;
    left: 70%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    color: #000

}


/* COOKIES */