﻿.swiper-slide {
    align-content: center !important;
}
/* ******** BANNER ******** */
#pnlBan {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 90vh;
    max-height: 650px;
    width: 90vw;
    max-width: 915px;
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 99999;
    padding: 16px;
    font-size: 14px;
    box-shadow: 0px 0px 15px 5px rgba(115, 115, 115, 0.81);
    border-radius: 8px;
}

#bckBlack {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
}

#pnlBan a {
    display: block;
    margin: 20px auto 0;
    font-size: 16px;
    text-align: center;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    width: fit-content;
}

/* ******** MEDIA QUERIES ******** */
@media (max-width: 575px) {
    #pnlBan {
        height: auto;
        max-height: 248px;
        width: 90vw;
        max-width: 400px;
        inset: 0;
        margin: auto;
        padding: 12px;
    }

        #pnlBan a {
            font-size: 14px;
            padding: 8px;
            margin-top: 15px;
        }
}

/* ******** INFORMATIVA ******** */
.pnlInformativa {
    position: fixed;
    max-width: 915px;
    width: 90vw;
    inset: 0;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-height: 300px;
    background: #FBF6EF !important;
    -webkit-box-shadow: 0px 0px 15px 5px rgba(115, 115, 115, 0.81);
    box-shadow: 0px 0px 15px 5px rgba(115, 115, 115, 0.81);
    padding: 16px;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 99999;
}

#testoInf {
    font-family: -apple-system, sans-serif !important;
    line-height: 20px;
}

#personalizza, #rifiuta, #accetta, #rifiutaT, #salvaPreferenze {
    border-radius: 64px !important;
}

#btnMobile {
    display: none;
}

/* Media query per schermi piccoli */
@media (max-width: 575px) {
    .pnlInformativa {
        max-width: 100%;
        width: 100vw;
        padding: 12px;
        max-height: 470px;
        margin-top: 0;
    }

    #accetta, #rifiuta {
        width: 100%;
    }

    #btnMobile {
        display: unset;
    }

    #btnNMobile {
        display: none;
    }
}

/* *************** COOKIE *************** */
.pnlCookie {
    position: fixed;
    max-width: 600px;
    width: 90vw;
    top: 30px;
    left: calc(50% - 300px);
    z-index: 99999;
    background: #FBF6EF !important;
    -webkit-box-shadow: 0px 0px 15px 5px rgba(115,115,115,0.81);
    box-shadow: 0px 0px 15px 5px rgba(115,115,115,0.81);
    padding: 10px;
    border-radius: 20px;
    font-size: 14px;
}

@media (max-width: 575px) {
    .pnlCookie {
        max-width: 400px;
        width: 90vw;
        top: 30px;
        left: calc(50% - 175px);
    }
}


.cookie .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .cookie .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .cookie .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

.cookie input:checked + .slider {
    background-color: #2196F3;
}

.cookie input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.cookie input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    content: "\2714";
    font-size: 22px;
    text-align: center;
    line-height: 26px;
    color: #2196F3;
}

/* Rounded sliders */
.cookie .slider.round {
    border-radius: 34px;
}

    .cookie .slider.round:before {
        border-radius: 50%;
    }


.cookie .switchDisabled {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .cookie .switchDisabled input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie .sliderDisabled {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .cookie .sliderDisabled:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
        content: "\2714";
        font-size: 22px;
        text-align: center;
        line-height: 26px;
        color: #ccc;
    }

    .cookie .sliderDisabled.round {
        border-radius: 34px;
    }

        .cookie .sliderDisabled.round:before {
            border-radius: 50%;
        }

    .cookie .sliderDisabled.False:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
        content: "";
        font-size: 22px;
        text-align: center;
        line-height: 26px;
        color: #ccc;
    }

#privacyModal .modal-body {
    max-height: 80vh;
    overflow: auto;
}

/* *************** SWIPER *************** */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    display: block;
}

.swiper-slide {
    min-width: 100px;
    height: 150px;
}

@media (max-width: 575px) {
    .swiper-slide {
        min-width: 100px;
        height: 150px;
        padding: 5px;
    }
}

