
.montserrat-<uniquifier > { font-family: "Montserrat", sans-serif; font-optical-sizing: auto; font-weight: <weight>; font-style: normal; }

@font-face { font-family: 'Storytime'; src: url('fonts/Storytime.ttf'); }

.btn.btn-rounded.btn-gradient { background: #3FB9EB; background: linear-gradient(90deg,rgba(63, 185, 235, 1) 0%, rgba(39, 74, 121, 1) 100%) !important; font-family: "Storytime"; font-size: 21px; text-align: center; font-weight: 300; margin: 0; }
    .btn.btn-rounded.btn-gradient:hover { background: linear-gradient(90deg,rgba(39, 74, 121, 1) 0%, rgba(63, 185, 235, 1) 100%) !important; }
    .btn.btn-rounded.btn-gradient.unsubscribe { background: linear-gradient(90deg, rgb(235 182 63) 0%, rgb(121 39 39) 100%) !important; }
        .btn.btn-rounded.btn-gradient.unsubscribe:hover { background: linear-gradient(90deg, rgb(121 39 39) 0%, rgb(235 182 63) 100%) !important; }
    .btn.btn-rounded.btn-gradient.soldout { pointer-events: none; background: #858585; background: linear-gradient(90deg, rgb(177 177 177) 0%, rgb(111 111 111) 100%) !important; }

.full-loader { background-color: #0000004a; z-index: 999; }

/* Homepage */
.row.homeContainer { display: flex; align-items: stretch; align-content: center; flex-direction: row; justify-content: center; padding: 6vh 6% 2vh 6%; }
.homePayoff { display: flex; flex-direction: column; align-content: center; align-items: center; padding: 1vh 8%; }
    .homePayoff h1 { display: inline-block; font-family: "Storytime"; font-size: 6em !important; line-height: 0.8em; letter-spacing: 0; padding-bottom: 0px; font-weight: 400 !important; color: #155786; border-bottom: 4px solid #ee902f; }
    .homePayoff h2 { display: inline-block; font-family: "Storytime"; font-size: 5em !important; line-height: 0.8em; letter-spacing: 0; font-weight: 400 !important; color: #155786; }
.homeContainer img { width: 70%; }


#counter { font-family: "Storytime"; font-size: 60px !important; margin: 10px !important; color: #eb8c2f; }
span#counter-days, span#count-hours, span#counter-minutes, span#counter-seconds { margin-bottom: 15px !important; line-height: 1em; }
.availability-green { color: green !important; }
.availability-orange { color: orange !important; }
.availability-red { color: red !important; }

.btnArea .btn.btn-rounded.btn-gradient { font-size: 40px; width: 380px; text-align: center; font-weight: 300; margin: 0; }
.btnArea { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
a:hover { color: #ee902f; }
.formBlock { display: flex; align-items: center; }

.field-error { color: #58151c; font-size: 11px; max-width: 100% !important; line-height: 11px; margin-top: 10px; }

.hiddenButton { border: 0 !important; background-color: transparent; color: transparent; width: 0 !important; height: 0 !important; display: inline; }

.benvenutoBox { text-align: center; }
    .benvenutoBox h2 { font-size: 5em !important; font-family: "Storytime"; font-weight: 400 !important; letter-spacing: 0; color: #ef8e2e; }
    .benvenutoBox a.btn.btn-rounded.btn-gradient { font-size: 3em; }
/* Form */
.contact-form { width: 520px; }
    .contact-form span.form-check-input { border: none; }
    .contact-form input.btn { margin-bottom: 4px; }
input#btnLogin,
button.swal2-confirm.swal2-styled { background-color: #155786; border: none; }
    input#btnLogin:hover,
    button.swal2-confirm.swal2-styled:hover { background-color: #3fb7e9; border: none; }

input.btn.btn-danger,
button.swal2-cancel.swal2-styled { background-color: #eb8c2f; border: none; }
    input.btn.btn-danger:hover,
    button.swal2-cancel.swal2-styled:hover { background-color: #7e2e28; border: none; }

input.btn.btn-warning { background-color: #d9d9d9; border: none; }
    input.btn.btn-warning:hover { background-color: #b7b7b7; border: none; }

@media screen and (max-width: 1600px) {
    .contact-form { width: 400px; }
}

@media screen and (max-width: 1200px) {
    .contact-form { width: 300px; }
}

@media screen and (max-width: 960px) {
    .contact-form { width: 600px; }
}

@media screen and (max-width: 480px) {
    .contact-form { width: 360px; }
}
/* Attività */
.attivitaRow.bg-color-primary, .attivitaRow.bg-primary { background: #D8EEF9; background: linear-gradient(90deg, rgba(216, 238, 249, 1) 0%, rgba(211, 219, 229, 1) 100%); color: #1d1d1b; }
.attivitaRow { /*position: sticky; top: 0; z-index: 1;*/ }
    .attivitaRow h1 { text-align: center; font-weight: 600; letter-spacing: 0; text-transform: uppercase; font-size: 18px; line-height: 20px; margin: 5px 10px 5px !important; }
.attivitaCarousel span.thumb-info.thumb-info-centered-info.thumb-info-no-borders { background: none; padding: 0; }
.attivitaCarousel img.img-fluid.attivitaIcon { max-width: 80px; text-align: center; margin: 0 auto; }
.attivitaBox h4.attivitaTitle { text-align: center; font-size: 0.9em; line-height: 1.1em; letter-spacing: 0; max-width: 170px; margin: 8px auto 0; }
.attivitaCarousel a:not(.btn):hover { text-decoration: none; }

/* Attività Detail */
.attivitaDetailRow { text-align: center; display: flex; flex-direction: column; }
.attivitaDetailBox { text-align: center; display: flex; flex-direction: column; justify-content: center; }
.attivitaInfo .btn.btn-rounded.btn-gradient { font-size: 21px; text-align: center; font-weight: 300; margin: 0 20%; }
.attivitaInfo h6 { font-size: 18px; }
.attivitaInfo { text-align: center; }
.attivitaInfo { display: flex; flex-direction: column; justify-content: center; }
.attivitaDetails { display: flex; flex-direction: column; justify-content: center; text-align: left; }
.attivitaDetailHeader { display: flex; align-items: center; justify-content: space-between; }
    .attivitaDetailHeader .tipoAttivitaDetail { display: flex; align-items: center; }
    .attivitaDetailHeader .iconMarker { margin-right: 10px; }
    .attivitaDetailHeader p { font-weight: 600; font-size: 16px !important; margin-bottom: 0 !important; }
.tipoAttivitaDetail p { margin-bottom: 5px; }
.testoAttivitaDetail p { line-height: 1.4em; }
.nessunaAttivita { text-align: center; padding-top: 50px; }
    .nessunaAttivita h2 { font-size: 3em !important; }
.row.soldout { opacity: 0.5; }
.titoloAttivitaDetail h4 { color: #155786; }

.separatore-attivita { background-color: #b7b7b7 !important; }
/* Frase chiusura */
.payoff { display: flex; flex-direction: column; align-content: center; align-items: center; }
    .payoff h2 { display: inline-block; font-family: "Storytime"; font-size: 60px !important; letter-spacing: 0; padding-bottom: 0px; font-weight: 400 !important; color: #155786; border-bottom: 4px solid #ee902f; }
.partners h3 { color: #ee902f; }

.partners img { max-width: 200px !important; height: 75px; object-fit: contain; margin: 0 auto; }

@media screen and (max-width: 1200px) {
    .partners img { max-width: 180px !important; height: 45px; }
}

h2.callToAction.mb-4 { font-family: "Storytime"; font-size: 5em !important; line-height: 0.8em; letter-spacing: 0; font-weight: 400 !important; color: #f39039; }

@media screen and (max-width: 991px) {
    h2.callToAction.mb-4 { text-align: center; font-size: 4em !important; }
}

/* Insight Partners */
.insight-partners .main .container .row > div { border: 1px solid #e7e7e7; padding: 40px !important; margin: 4px; }
    .insight-partners .main .container .row > div:hover { opacity: 0.5; }
    .insight-partners .main .container .row > div img.attivitaIcon { max-height: 90px !important; }
.insight-partners .main .container .row > div { width: 32%; }

@media screen and (max-width: 992px) {
    .insight-partners .main .container .row > div { width: 32%; }
}

@media screen and (max-width: 767px) {
    .insight-partners .main .container .row > div { width: 48%; }
}

@media screen and (max-width: 400px) {
    .insight-partners .main .container .row > div { width: 100%; margin: 0px; }
}

@media screen and (max-width: 991px) {
    .insight-partners .main .container .row > div img.attivitaIcon { max-height: 50px !important; }
}


/* Legenda */
.legend-categories { margin-bottom: 60px; }
.legend-category { margin-right: 10px; margin-left: 10px; text-align: center; }
    .legend-category a { text-align: center; opacity: 0.55; }
        .legend-category a p { font-size: 12px; line-height: 14px !important; margin-bottom: 0; margin-top: 5px; font-weight: 600; }
        .legend-category a.active { opacity: 1; }
        .legend-category a:hover { text-decoration: none; }
/**/
/* Footer */
#footer .footer-copyright p { color: #838383; line-height: 12px; font-size: 0.8em; }
footer#footer { width: 100%; bottom: 0; }

@media screen and (min-width: 992px) and (min-height: 780px) {
    .index footer#footer { position: fixed; }
}

footer#footer .footer-copyright { padding: 4px 8px 9px !important; }

.btn.loading { position: relative; /* per posizionare correttamente lo pseudo-elemento */ color: transparent !important; pointer-events: none; /* disabilita ulteriori click */ }

    .btn.loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 1rem; /* dimensione del cerchietto */ height: 1rem; margin-top: -0.5rem; /* - metà dell’altezza per centrare verticalmente */ margin-left: -0.5rem; /* - metà della larghezza per centrare orizzontalmente */ border: 2px solid #fff; /* bordo visibile (puoi cambiare colore se vuoi) */ border-top-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite; }

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Responsive */

@media (max-width: 991px) {
    .formBlock { justify-content: center; }
    .countdown { flex-wrap: unset; }
    .btnArea .btn.btn-rounded.btn-gradient { font-size: 38px; width: 280px; }
    .btnArea .btn.btn-rounded.btn-gradient { font-size: 38px; width: 280px; }
    .btnArea { align-items: center; }
    .attivitaDetailHeader { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
    .countdown { flex-wrap: unset; }
}

@media screen and (max-width: 575px) {
    .attivitaDetailBox { max-width: 60%; margin: -30px auto 0px auto; order: 0; }
        .attivitaDetailBox .attivitaIcon { width: 180px; margin: 20px auto; }
    .attivitaDetailHeader .titoloAttivitaDetail h4 { text-align: center !important; margin: 20px auto 0; }
    .attivitaInfo { margin-bottom: 20px; order: 2; }
    .attivitaDetails { order: 1; margin-bottom: 20px; }
    .attivitaDetailBox .attivitaIcon { width: 180px; margin: 20px auto; }
    .attivitaDetailHeader { flex-direction: column; }
    input.form-control { max-width: 80%; }
    .attivitaDetailHeader { align-items: center; padding: 0 15px; }
    .testoAttivitaDetail p { padding: 15px; }
    .legend-categories { margin-bottom: 30px; }
}

@media (min-width: 560px) and (max-width: 767px) {
    .container.mainLogo img { max-width: 150px; }
}

@media screen and (max-width: 480px) {
    .legend-categories { display: flex; flex-direction: column; }
    .legend-category { margin-bottom: 15px; }
}
