/* urbanist-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/urbanist-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/urbanist-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --verde: #C4F176;
    --verde-scuro: #95c161;
    --blu: #12A2B2;
    --blu-scuro: #128c9c;
    --grigio-chiaro: #F2F2F2;
    --grigio-medio: #CCCCCC;
    --grigio-scuro: #707070;
    --rosso: #C30000;
    --bs-dark-rgb: 18, 162,178;
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

a{
    text-decoration: none;
    cursor: pointer;
}

html, body {
    height: 100%;
    font-family: 'Urbanist', sans-serif;
    color:#222;
}


body{
    overflow-x: hidden;
}

h1{
    font-size: calc(26px + (38 - 26) * ((100vw - 360px) / (1700 - 360)));
}
h2{
    font-size: calc(22px + (32 - 22) * ((100vw - 360px) / (1700 - 360)));
}
h3{
    font-size: calc(18px + (26 - 18) * ((100vw - 360px) / (1700 - 360)));
}
h4{
    font-size: calc(18px + (24 - 18) * ((100vw - 360px) / (1700 - 360)));
}

h1, h2, h3, h4{

}

input:focus, select:focus, button:focus, a:focus{
    outline: none;
}

.overlayed{
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5);
}

.img-home{
    width: 100%;
    height: 90vh;
    background-position: center;
    background-size: cover;
    background-image: url('../img/copertinaseo.jpg');
}

.menu_desktop a, .menu_desktop a > span {
    position: relative;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-size: calc(18px + (22 - 18) * ((100vw - 360px) / (1700 - 360)));
}

.trasparente .menu_desktop a:not(.lingua),.trasparente  .menu_desktop a:not(.lingua) > span{
    text-shadow: 1px 1px 3px #222;
}

.menu_desktop a:before, .menu_desktop a:after,.menu_desktop a > span:before, .menu_desktop a > span:after {
    content: "";
    position: absolute;
    transition: transform 0.2s ease;
}

.effect-5 {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.effect-5:before, .effect-5:after {
    right: 0;
    bottom: 0;
    background: white;
}
header:not(.trasparente) .effect-5:before, header:not(.trasparente) .effect-5:after{
    background: #222;
}
.effect-5:before {
    width: 100%;
    height: 1px;
    transform: translateX(-100%);
}
.effect-5:after {
    width: 1px;
    height: 100%;
    transform: translateY(100%);
}
.effect-5 > span {
    display: block;
    padding: 6px 12px;
}
.effect-5 > span:before, .effect-5 > span:after {
    left: 0;
    top: 0;
    background: white;
}
header:not(.trasparente) .effect-5 > span:before, header:not(.trasparente) .effect-5 >span:after{
    background: #222;
}
.effect-5 > span:before {
    width: 100%;
    height: 1px;
    transform: translateX(100%);
}
.effect-5 > span:after {
    width: 1px;
    height: 100%;
    transform: translateY(-100%);
}
.effect-5:hover:before, .effect-5:hover:after, .effect-5:hover > span:before, .effect-5:hover > span:after {
    transform: translate(0, 0);
}
.ristretto{
    width:94vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1700px;
}

.strettissimo{
    width:94vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

main{
    background-color: white;
}
.resetmargin:before{
    content: "";
    display: block;
    height: 9vw;
    max-height: calc(90px + 1.2rem);
    min-height: calc(60px + 1.2rem);
}

.copertina{
    width: 100%;
    padding-bottom: 50%;
    background-size: cover;
    background-position: center;
}

@media (orientation: landscape){
    .copertina{
        padding-bottom: 25%;
    }
}

.btn-mio{
    text-align: center;
    color: white;
    outline: none;
    background-color: #222;
    border: 2px solid #222;
    padding: 6px 16px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    transform-style: preserve-3d;
    font-size: calc(14px + (18 - 14) * ((100vw - 360px) / (1920 - 360)));
    border-radius: 4px;
}

.btn-mio:before{
    z-index: -2;
    transform: translate3D(0,0,0);
}

.btn-mio:before, .btn-mio:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: white; /* onhover background color */
    z-index: -1;
    transition: all .2s ease-in-out;
    transform-origin: center center;
    transform: scale(1,0);
}

.btn-mio:hover:after{
    transform: translate3D(0,0,0);
    transition: all .2s ease-in-out;
}

.btn-mio:hover{
    color: #222;
}

.btn-mio:hover:before,
.btn-mio:hover:after{
    transform: scale(1);
}

.btn-mio-inverted{
    background-color: white;
    color: #222;
    border:2px solid white;
}

.btn-mio-inverted:before, .btn-mio-inverted:after{
    background: #222;
}

.btn-mio-inverted:hover{
    color: white;
}

.btn-mio-small{
    font-size: 14px;
    padding: 2px 4px;
    min-width: 30px;
}

.lightGallery a{
    max-width: 500px;
    color: #222;
    font-size: 18px;
    cursor: pointer;
}

.lightGallery .immagine{
    padding-bottom: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lightGallery{
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr) ) ;
}

@media(max-width: 1199px){

    .lightGallery{
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr) ) ;
    }
}

.flex-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
}

.bg-cover{
    width: 100%;
    padding-bottom: 56%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bg-cover.bg-cover-quadrato{
    padding-bottom: 100%;
}

.bg-contain{
    width: 100%;
    padding-bottom: 56%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

footer{
    background-color: #222;
    color:white;
}

footer a, footer a.logo{
    color:white;
}

footer a:not(.effect-5):hover{
    color: #d0d0d0;
}

.social-container a{
    color:white !important;
    font-size: 52px;
    transition: all 0.2s;
}

.social-container a:hover{
    color: var(--grigio-chiaro) !important;
}


.my-menu-container{
    position: fixed;
    top: 0;
    left:0;
    min-height: 100vh;
    width: 100%;
    background-color: rgba(0,0,0,0.95);
    color:white;
    z-index: 10;
    display:none;
}

a.mburger:hover{
    color: white;
    text-decoration: none;
}

#my-menu ul{
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0;
    margin-top: 250px;
}

#my-menu a{
    padding-top: calc(6px + (12 - 6) * ((100vw - 360px) / (1920 - 360))) !important;
    padding-bottom: calc(6px + (12 - 6) * ((100vw - 360px) / (1920 - 360))) !important;
    font-size: calc(26px + (38 - 26) * ((100vw - 360px) / (1920 - 360))) !important;
    color:white;
    text-decoration: none;
    display: block;
}


header{
    transition: all 0.2s ease !important;
    z-index: 9999;
    background-color: transparent;
    height: 160px;
}

header:not(.trasparente){
    background-color: rgba(255,255,255,1);
    /*box-shadow: 0 -3px 3px 3px rgba(0,0,0,0.5);*/
}

header:not(.trasparente) a, header:not(.trasparente) div:not(.carrello-popup){
    color: #222 !important;
}


header a{
    color: white !important;
}


a.logo{
    position: relative;
}

a.logo img{
    position: absolute;
    height: auto;
    width: 20vw;
    max-width: 190px;
    min-width: 110px;
    transform: translate(-50%, -30%);
    transition: all 0.2s ease-in-out;
}

header:not(.trasparente) a.logo img{
    width: 130px;
    transform: translate(-50%, -50%);
}


.marginato{
    width: 100%;
}

@media(min-width: 992px){
    .marginato{
        width: 96vw;
        margin: 0 auto;
    }
}

.trasparente .mburger b{
    box-shadow: 0 0 4px 0px #333;
}


.overflow-y {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0,0,0,0);
}
/* Works on Chrome, Edge, and Safari */
.overflow-y::-webkit-scrollbar {
    width: 3px;
}

.overflow-y::-webkit-scrollbar-track {
    background: rgba(0,0,0,0);
}

.overflow-y::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 0;
}


.menu-footer-container{
    text-align: center;
}

.menu-footer-container a {
    display: inline-block;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    padding: calc(6px + (12 - 6) * ((100vw - 360px) / (1700 - 360)));
    margin: 1rem 0;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.2s;
    font-size: calc(12px + (16 - 12) * ((100vw - 360px) / (1700 - 360)));
}

.menu-footer-container a:hover{
    border-top: 1px solid var(--grigio-chiaro);
    border-bottom: 1px solid var(--grigio-chiaro);
    color: white !important;
}

.logo-menu-container{
    position: absolute;
    top: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: calc(9vw);
    min-height: 60px;
    max-height: 90px;
}

.p-6{
    justify-content: center;
    min-height: 56vh;
    padding-top: 6rem;
    padding-bottom: 6rem;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
}
.animation-appear:not(.slick-slide){
    animation: animateAppear linear 0.4s;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
    overflow: hidden;
}

@keyframes animateAppear {
    0% {
        opacity: 0;
        transform: scale(0.98);
        transition: transform 0.1s, opacity 0.2s;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        transition-delay: 0s;
    }
}


.blocchi-container{
    /*margin-top: -50px;*/
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31%, 1fr));
    grid-gap: 3%;
}

@media(max-width: 1199px){
    .blocchi-container {
        display: block;
    }

    @media (orientation: portrait) {
        .img-home{
            height: 50vh;
        }
    }

    header{
        height: 100px;
    }

    header:not(.trasparente) a.logo img {
        width: 80px;
        min-width: auto;
        transform: translate(-50%, -50%);
    }
}


.mw-800{
    max-width: 800px;
}

.border-ccc{
    border-color: #ccc  !important;
}
.review-container{
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr) ) ;
}

.review-detail{
    text-align: center;
}


.riga-bianca{
    margin-top: 1rem;
    margin-bottom: 1rem;
    height:1px;
    background-color: white;
}

.bg-verde{
    background-color: #6BD61A;
    color:white;
    font-weight: bold;
}

.bg-rosso{
    color:white;
    background-color: #C90909;
    font-weight: bold;
}

.bg-nero{
    color:white;
    background-color: #222;
    font-weight: bold;
}

.border-radius{
    border-radius: 6px;
}
.spinner{
    position: relative;
}

.spinner:before{
    display:block;
    content: " ";
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right: 0;
    background-color: rgba(255,255,255, 0.9);
    z-index:998;
}

.spinner:after{
    display:block;
    content : "";
    background-image: url("../img/ruota.png");
    background-size: contain;
    z-index:999;
    position: absolute;
    left: 50%;
    top: 50%;
    height:80px;
    width:80px;
    margin:-40px  auto auto -40px;
    animation: rotation 1.5s infinite;
}

.spinner-top:after{
    top: 240px;
}

@media (max-width: 992px){
    .spinner:after, .spinner:before{
        position: fixed;
    }

    .spinner-top:after{
        top: 50%;
        transform: translateY(-50%);
    }
}
@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

.border-top-radius{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.border-bottom-radius{
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.login-content{
    margin-top: 60px;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 80px !important;
}

@media (max-width: 768px) {
    .login-content{
        margin-top: 40px;
    }

}

.login-container{
    position: fixed;
    top: 0;
    bottom:0;
    right: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1040;
    display: none;
    -webkit-overflow-scrolling: touch;
}

.login-content h2{
    text-transform: uppercase;
    font-weight: bold;
}

.login-panel{
    max-width: 850px;
}

.login-panel{
    float:right;
    height: 100%;
    width: 100%;
    background-color: white;
    border-left: 1px solid #dee2e6;
    overflow-y: auto;
    transform: translateX(100%);
    transition: all 0.6s ease-out;
}

.login-container.visibile{
    display: block;
}

.login-container .login-panel.visibile{
    transform: translateX(0%);
    transition: all 0.6s ease-in;
    overflow: hidden;
}

.login-header{
    padding: 2%;
    border-bottom: 1px solid #dee2e6;
    position: fixed;
    width:100%;
}

.login-header .login-close-button{
    float:left;
    padding-right: 2%;
    border-right: 1px solid #dee2e6;
}

.login-header .login-title{
    float:right;
}

#info_privacy_breve{
    height: 130px;
    border: 1px solid #dee2e6;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: scroll;
    margin-bottom: 20px;
}

.form-group{
    margin-bottom: 0.6rem;
}

label{
    margin-bottom: 0.3rem;
}

input{
    border-radius: 0 !important;
}

.mw-800{
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}
.button-home-container a{

    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 2rem;
    -webkit-text-stroke: 1px white;
    color: #222;
    text-shadow:
            3px 3px 0 #fff,
            -1px -1px 0 #fff,
            1px -1px 0 #fff,
            -1px 1px 0 #fff,
            1px 1px 0 #fff;
    position: relative;
}


.button-home-container .fa{
    font-size: 70px;
    color: #333;
}

.button-home-container a:hover:before{
    transform: scale(1.05);
}

.border-radius-sotto{
    border-left: 1px solid #ccc;
    border-right:1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.border-top-radius{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}


.border-ddd{
    border-color: #ddd !important;
}

.py-25{
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.header-table{
    padding-top: 6px;
}

.header-table div{
    border-right: 1px solid white;
    background-color: #f2f2f2;
    padding: 0.3rem 0.4rem;
}

.header-table div:last-child{
    border: none;
}

.select_utente, .select_presenza{
    border: none;
    padding: 6px 0px 6px 0;
    background-color: white;
}

.carrello-visite-container, .carrello-trattamenti-container{
    overflow:hidden;
}

.carrello-trattamenti-container div:last-of-type, .carrello-visite-container div:last-of-type{
    border-bottom: none !important;
}

.hover-verde{
    transition: all 0.2s;
}

.hover-verde:hover{
    background-color: var(--verde-scuro);
}

.textarea{
    border: 1px solid #ccc;
    min-height: 120px;
}

.cursor-pointer{
    cursor: pointer !important;
}

.cursor-divieto{
    cursor: not-allowed !important;
}
.header-table{
    padding-top: 6px;
}

.header-table div{
    border-right: 1px solid white;
    background-color: #f2f2f2;
    padding: 0.3rem 0.4rem;
}

.header-table div:last-child{
    border: none;
}
.carrello-trattamenti-container{
    overflow:hidden;
}

.carrello-trattamenti-container div:last-of-type{
    border-bottom: none !important;
}

.border-radius-sotto{
    border-left: 1px solid #ccc;
    border-right:1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.border-top-radius{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.border-ddd{
    border-color: #ddd !important;
}


.responsive-map{
    height: 0;
    overflow: hidden;
    padding-bottom: 30%;
    padding-top: 30px;
    position: relative;
}

@media (max-width: 992px){
    .responsive-map{
        padding-bottom: 75%;
    }
}

.responsive-map iframe{
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    width: 100%;
    height: 100%;
}


@media (min-width: 1200px) {
    .reset-margin-desktop{
        margin-left: -1rem !important; margin-right: -1rem !important;
    }

    .border-xl-radius{
        border-radius: 6px;
    }

    .border-xl-start{
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }

    .border-xl-end{
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }

    .border-xl-top{
        border-top: 1px solid;
    }

    .border-xl-bottom{
        border-bottom: 1px solid;
    }

    .py-xl-6{
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }

}
