/* Policy */

#cookie-banner{
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translate(-50%, 0%);
    box-shadow: 0px 0px 14px rgb(0 0 0 / 23%);
    width: 51%;
    background: rgb(36, 36, 36);
    padding: 20px 15px;
    z-index: 9999;
    border-radius: 16px;
}

#cookie-banner p{
        font-size: 0.9rem;
}

#cookie-banner .close{
    position: absolute;
    right: 0;
    top: 0px;
}

.banner-title{
    font-size:1.2rem;
}

.cookie-btn-wrap{
    display: flex;
}

#modalPrivacy{
 color: white!important;
}

#modalCookie{
    color: white!important;
}

#modalCustomcookie{
    color: white!important;
}

#modalPrivacy h3{
    font-size: 1.25rem;
}

#modalPrivacy h4 {
    font-size: 1.10rem;
}

#modalPrivacy h5 {
    font-size: 1rem;
}

#modalPrivacy p {
    font-size: 0.8rem;
}

#modalPrivacy ul {
    list-style: none;
}

#modalPrivacy .servizi-cat{
    display: flex;
    flex-direction: column;
}


#modalPrivacy .servizi-cat li{
    width: 100%;
    margin-bottom: 15px;
}

#modalPrivacy .servizi-item{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#modalPrivacy .servizi-item li {
    width: 50%;
}

@media screen and (max-width: 780px) {
    #cookie-banner{
        width: 100%;
        top: 0px;
    }
} 

    /* The switch - the box around the slider */
    .switch {
        position: relative;
        display: inline-block;
        width: 46px;
        height: 24px;
    }

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

    /* The slider */
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

    input:checked+.slider {
        background-color: var(--bs-primary);
    }

    input:focus+.slider {
        box-shadow: 0 0 1px var(--bs-primary);
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(22px);
        -ms-transform: translateX(22px);
        transform: translateX(22px);
    }

    /* Rounded sliders */
    .slider.round {
        border-radius: 34px;
    }

    .slider.round:before {
        border-radius: 50%;
    }