@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');


/* root */

:root{
    /* HEX */
    --primary: #00B4D9;
    --dark-primary: #0195b3;
    --dark-blue: #307AC4;
    --deep-blue: #274760;

    /* base */
    --primary-base: 0, 183, 219;
    --deep-blue-base: 39, 71, 96;
}


/* global */

html{
    scroll-behavior: smooth;
}

body{
    font-family: "Figtree", sans-serif;
    
}

a{
    color: var(--bs-dark);
    text-decoration: none;
}

h1,h2,h3,h4{
    font-weight: 900;
    color: var(--deep-blue);
}

p{
    color: var(--bs-gray-600);
}

footer {
    padding-top: 100px;
    padding-bottom: 70px;
    background-image: linear-gradient(to top, var(--primary), white);
}

footer ul {
    padding: 0;
    margin: 0;
}

footer li{
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}
footer li span{
    font-weight: 600;
}

section{
    padding: 100px 0px;
}


/* Utility */
.pt-30{
    padding-top: 30px;
}

.no-preno {
    display: none;
    background-color: var(--bs-gray-400)!important;
}

.no-preno * {
    text-decoration: line-through!important;
}

.preno-esaurite {
    background-color: transparent!important;
    cursor: unset!important;
}

.preno-esaurite * {
    color: var(--bs-gray-800)!important;
    font-weight: 800;
}


/* Body */

.bg-img{
    background-image: url('/static/assets/img/site/bg/bg_2.png');
    background-size: cover;
    background-position: center;
    position: relative;

}

.bg-img::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.65);
}

.item-pages::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff8c;
}

.navbar{
    padding: 0;
}

.navbar-brand img {
    height: 70px;
}

.navbar-toggler{
    border: none;
}

.hero {
    height: 90vh;
    margin-top: 70px;
    position: relative;
}

.nav-link{
    padding-left: 0!important;
    padding-right: 0!important;
}

.nav-item {
    padding: 25px 15px;
    position: relative;
}

.nav-item.active > a:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 56%;
    top: calc(55% + 10px);
    border-bottom: 2px solid var(--primary);
}

.dropdown:hover > .dropdown-menu{
    top: 85%;
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
    transform: translateY(9px);
}

.dropdown-menu {
    display: block;
    left: 0;
    opacity: 0;
    visibility: hidden;
    top: calc(90% + 25px);
    transition: 0.5s;
    border: none;
    border-radius: 15px;
    padding: 18px;
}

.dropdown-item:hover{
    background: unset;
    color: var(--primary);
    transition: .3s;
}

.btn {
    border-radius: 20px;
    padding: 12px 30px;
}

.btn-custom {
    background-color: var(--primary);
    color: white;
    transition: .3s;
}

.btn-custom:hover {
    background-color: var(--dark-primary);
    transition: .3s;
    color:white;
}

.btn-custom-gradient{
    transition: .5s;
    color:white;
    position: relative;
    overflow: hidden;
}

.btn-custom-gradient span{
    position: relative;
    z-index: 3;
}

.btn-custom-gradient:hover{
    color: white;
}


.btn-custom-gradient::before, .btn-custom-gradient::after{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top:0;
    left: 0;
    background-image: linear-gradient(134deg, var(--primary), var(--dark-primary));
    transition: all 0.4s ease-in-out;
    opacity: 1;
}


.btn-custom-gradient:hover::before{
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

.btn-custom-gradient::after{
    opacity: 0;
    background-image: linear-gradient(270deg, var(--primary), var(--dark-primary));
    transition: all 0.4s ease-in-out;
}

.btn-custom-gradient:hover::after{
    opacity: 1;
}
.btn-outline-custom{
    border: solid 0.5px var(--primary);
    color: var(--primary);
}

.btn-outline-custom:hover{
    background-color: var(--primary);
    color: white;
}

.copyright-area{
    background: var(--dark-blue);
    padding-top: 15px;
        padding-bottom: 15px;
}
.copyright-area ul li {
    list-style-type: none;
    display: inline-block;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #fff;
}

.copyright-area ul {
    margin: 0;
    text-align: end;
}

.copyright-area ul li a {
    color: #fff;
    margin: 0;
}

.copyright-area p {
    color: white;
    margin: 0;
} 
.copyright-area a {
    color: white;
    font-weight: 800;
    margin: 0;
}

.home-about-header .overtitle{
    color: var(--primary);
    font-weight: 600;
}

.home-img-about{
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
}

.home-img-about img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-overlay-hero{
    background: white;
    z-index: 100;
    position: absolute;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    padding: 70px;
    box-shadow: 0px 4px 21px 1px rgba(48, 123, 196, 0.1);
    border-radius: 25px;
}

.card-overlay-hero ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.card-overlay-hero ul li{
    display: flex;
    margin-right: 20px;
    align-items: center;
}

.card-overlay-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-overlay-info p {
    margin: 0;
    font-weight: 500;
    color: var(--bs-gray-600);
}

.card-overlay-info span{
    font-weight: 800;
    color: var(--deep-blue);
}

.round-icon{
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    display: flex;
    height: 60px;
    aspect-ratio: 1/1;
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
}

.home-servizi .card {
    margin: 10px 10px;
    border-color: var(--primary);
    /* box-shadow: 0px 0px 10px rgba(var(--deep-blue-base), 0.2); */
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.home-servizi .card:hover {
    background-color: var(--primary);
    /* background-image: linear-gradient(134deg, var(--primary), var(--dark-primary)); */
    transition: all 0.4s ease-in-out;
}

.home-servizi .card:hover > .card-body .card-icon{
    background-color: white;
}

.home-servizi .card:hover > .card-body .card-info {
    color: white;
}

.home-servizi  .card .card-body{
    padding: 40px;
    display: flex;
    justify-content: space-around;
}

.home-servizi .card .card-body .card-icon {
    height: 100px;
    width: 100px;
    background-color: var(--primary);
    mask-size: 100px 100px!important;
}


.home-servizi .card .card-body .card-info{
    font-weight: 600;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    color: var(--deep-blue);
}

.accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: solid 1px rgba(var(--deep-blue-base), 0.4);
    border-radius: 0!important;
}

.accordion-button {
    background-color: transparent;
    font-weight: 800;
    color: var(--deep-blue);
}

.accordion-button:not(.collapsed) {
    color: unset;
    background-color: unset;
    box-shadow: unset;
}

.accordion-body{
    color: rgba(var(--deep-blue-base), 0.9);
    filter: brightness(1);
}

.form-control, .form-select{
    padding: 16px 20px
}

.overlay-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.separator-mini {
    width: 40px;
    border-top: 3px solid var(--primary);
    opacity: 1;
    margin: 1rem 0px;
    margin-right: 0px;
    margin-left: 0px;
    margin-left: auto;
    margin-right: auto;
}

.wrap-card-prestazioni {
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
    box-shadow: 0px 0px 19px #0439442e;
    border-radius: 25px;
    height: 200px;
    margin-bottom: 33px;
    cursor: pointer;
}

.btn-card-prestazioni{
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    border-bottom-right-radius: 21px;
    color: white;
    font-size: 23px;
    border-top-left-radius: 15px;
}

.wrap-arrow{
    position: relative;
    height: 50px;
    width: 70px;
    font-size: 37px;
}

.wrap-arrow .a1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all ease-in-out .3s;
}

.wrap-arrow .a2{
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translate(-50%, -50%);
    transition: all ease-in-out .3s;
}
.wrap-card-prestazioni:hover > .btn-card-prestazioni .wrap-arrow .a1{
    left: 150%;
}
.wrap-card-prestazioni:hover > .btn-card-prestazioni .wrap-arrow .a2{
    left: 50%;
}

#prenota{
    position: relative;
    z-index: 1;
}

#legenda-cal{
    display: none;
}

/* Mobile */
@media (max-width: 768px) {

    .dropdown-menu {
        display: none;
    }
    
    .nav-item {
        padding: 8px 0px;
    }

    .nav-item.active>a:before {
        content: '';
        position: absolute;
        left: 0;
        right: unset;
        margin: auto;
        width: 16%;
        top: calc(55% + 10px);
        border-bottom: 2px solid var(--primary);
    }

    .navbar-collapse {
        padding-bottom: 20px;
    }

    .card-overlay-hero{
        padding: 35px 25px;
        width: 95%;
    }
    
    .card-overlay-hero ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-around;
    }

    .card-overlay-hero ul li {
        margin-bottom: 20px;
    }

    .home-servizi .card .card-body {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .preno-esaurite{
        margin: 0!important;
    }

    .preno-esaurite * {
        font-size: 0.6rem;
    }

    .preno-esaurite .fc-event-main{
        padding: 0px 0px;
    }

    .preno-esaurite .fc-event-title{
        text-wrap: wrap;
    }
    
}


/* Calendar */
/* .fc-toolbar-title {
    display: none;
}
 */

 /* #calendar{
    display: none;
 } */
 
 
 .fc .fc-scrollgrid-liquid {
    border: none
}

 .fc .fc-daygrid-day.fc-day-today {
    background-color: rgba(var(--primary-base), 0.1);
}

.fc-theme-standard td, .fc-theme-standard th {
    border: unset;
}

a.fc-event {
    border: none;
    background: none;
    margin: 5px;
    cursor: pointer;
    background-color: var(--primary);
    border: none;
    border-radius: 10px;
}

.fc-event-main{
    padding: 6px 8px;
    text-align: center;
    background-color: unset;
    border: none;
    border-radius: 10px;
}

.event-active {
    background-color: var(--deep-blue) !important; /* Colore di sfondo per evento attivo */
}

/* 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: white;
    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 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(--primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--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%;
}