﻿#cookie_box {
    position: fixed;
    bottom: 0;
    background-color: #f5f5f5;
    padding: 10px 20px 0 20px;
    border-top: 1px solid #ccc;
    display: none;
    text-align: center;
    z-index: 100;
    box-shadow: rgb(179 179 179) 0px 0px 8px;
    opacity: 0.96;
}


.btn_accetta_cookie {
    width: 150px;
    height: 25px;
    margin: 2px;
    border: none;
}


#ckbCookiesStatistiche, #ckbNecessari {
    display: none;
}

.ckb {
    text-align: -webkit-center;
    padding: 10px;
}

    .ckb input[type="checkbox"] + label {
        display: block;
        position: relative;
        width: 3em;
        height: 1.6em;
        margin-bottom: 20px;
        border-radius: 1em;
        background: white;
        box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-transition: background 0.1s ease-in-out;
        transition: background 0.1s ease-in-out;
    }

.disabled input[type="checkbox"] + label {
    background: lightgray;
}

.ckb input[type="checkbox"] + label:before {
    content: "";
    display: block;
    width: 1.2em;
    height: 1.2em;
    border-radius: 1em;
    background: #e84d4d;
    position: absolute;
    left: 0.2em;
    top: 0.2em;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.ckb input[type="checkbox"]:checked + label:before {
    background: #47cf73;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
    left: 1.6em;
    -webkit-transform: rotate(295deg);
    transform: rotate(295deg);
}