@font-face {
    font-family: 'Olivetti';
    src: url('fonts/Olivetti.ttf');
}

.btn.btn-rounded.btn-gradient {
    background: linear-gradient(90deg,#56adc1 0%, #56adc1 100%) !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: "Olivetti";
    font-size: 21px;
    text-align: center;
    font-weight: 300;
    margin: 0;
}

    .btn.btn-rounded.btn-gradient:hover {
        background: linear-gradient(90deg,#73ba6f 0%, #73ba6f 100%) !important;
    }

    .btn.btn-rounded.btn-gradient.unsubscribe {
        background: linear-gradient(90deg, #f4a317 0%, #f4a317 100%) !important;
    }

        .btn.btn-rounded.btn-gradient.unsubscribe:hover {
            background: linear-gradient(90deg, #e5292b 0%, #e5292b 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 */
.html-index {
}
body.index .body {
    background-color: transparent !important;
}

body.index .body {    
    height: 100vh;
    background-color: unset !important;
    background: url(../img/bg-home-2.jpg);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}
@media screen and (max-height: 1080px) and (max-width: 991px){
	body.index .body {
		height: 100%;
	}
}
@media screen and (max-height: 768px) and (max-width: 1024px){
	body.index .body {
		height: 105vh;
	}
}
@media screen and (max-height: 667px){
	body.index .body {
		height: 100%;
	}
}
div#pAnonymus {
    max-width: 800px;
}
.row.homeContainer {
    display: flex;
    align-items: stretch;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    padding: 5vh 6% 5vh 6%;
    height: 96vh;
}
@media screen and (max-height: 700px) {
    .row.homeContainer {
        height: unset;
    }
}
@media screen and (max-height: 1180px) and (max-width: 992px){
    .row.homeContainer {
        height: unset;
		padding: 80px 20px;
    }
}
/*Logo TDI */
img.logoTDI{
	width: 240px !important;
	margin: 10px 0 5px;
	text-align: center;

}
@media screen and (max-width: 991px){
	img.logoTDI{
		width: 180px !important;
	}
}


.homePayoff {
	display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

    .homePayoff h1 {
        display: inline-block;
        font-family: "Olivetti";
        font-size: 3.3em !important;
        line-height: 0.8em;
        letter-spacing: 0;
        font-weight: 400 !important;
        color: #f4a317;
        text-transform: uppercase;
        margin-bottom: 0px;
    }

    .homePayoff h2 {
        display: inline-block;
        font-family: "Olivetti";
        font-size: 1.4em !important;
        line-height: 0.8em;
        letter-spacing: 0;
        padding-bottom: 40px;
        margin-top: 0px;
        font-weight: 400 !important;
        color: #1d1d1b;
        border-bottom: 4px solid #f4a317;
        text-transform: uppercase;
    }

.homeContainer img {
    width: 40%;
}


#counter {
    font-family: "Olivetti";
    font-size: 2.2em !important;
    margin: 20px 10px 5px 10px !important;
    color: #73ba6f;
}

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: 25px;
    width: 280px;
    text-align: center;
    font-weight: 300;
    margin: 0;
}

.btnArea {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
	padding: 0 40px;
}
@media screen and (max-width: 1761px) and (min-width: 991px){
	.btnArea {
		justify-content: left;
	}
}

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: none;
}

.benvenutoBox {
    text-align: center;
}

    .benvenutoBox h2 {
        font-size: 4em !important;
        font-family: "Olivetti";
        font-weight: 400 !important;
        letter-spacing: 0;
        color: #1d1d1b;
    }

    .benvenutoBox a.btn.btn-rounded.btn-gradient {
        font-size: 21px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.container.mainLogo { display:none;}

/* 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;
    }
}



/* Master */
body.master .main {
    background-color: unset !important;
    background: url('../img/bg-interna.jpg') no-repeat;
    background-position: left center;
}


/* Attività */
.attivitaRow.bg-color-primary, .attivitaRow.bg-primary {
    background: url('../img/bg-header.jpg');
    background-size: 100%;
    color: #1d1d1b;
}

.attivitaRow { /*position: sticky; top: 0; z-index: 1;*/
}

    .attivitaRow h1 {
        font-family: "Olivetti";
        text-align: center;
        font-weight: 400;
        letter-spacing: 0;
        text-transform: uppercase;
        font-size: 22px;
        line-height: 20px;
        margin: 10px !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-family: Montserrat !important;
    letter-spacing: unset !important;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
    width: 130px;
    margin: 0 5px;
}

.activity-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-wishlist {
    width: 40px !important;
    height: 40px;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}

    .btn-wishlist i {
        font-size: 19px;
        pointer-events:none;
        line-height:40px;
    }


.attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.add-wishlist {
    color: #e5292b !important;
    background: unset !important;
    background-color: #fff !important;
    border: 1px solid #e5292b;
}

    .attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.add-wishlist:hover {
        color: #fff !important;
        background: unset !important;
        background-color: #e5292b !important;
    }


.attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.remove-wishlist {
    color: #fff !important;
    background: unset !important;
    background-color: #e5292b !important;
}
    .attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.remove-wishlist:hover {
        color: #e5292b !important;
        background: unset !important;
        background-color: #fff !important;
        border: 1px solid #e5292b;
    }

@media screen and (min-width: 576px) and (max-width: 991px) {
  .activity-buttons {
    display: flex;     
    flex-direction: column;
  }

  .attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist {
    margin-top: 10px;
  }
}

.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.55em;
}

.nessunaAttivita {
    text-align: center;
    padding-top: 50px;
}

    .nessunaAttivita h2 {
        font-size: 3em !important;
    }

    .nessunaAttivita .btn.btn-rounded.btn-gradient {
        font-family: Montserrat !important;
        letter-spacing: unset !important;
        font-size: 15px;
        text-align: center;
        font-weight: 600;
        margin: 0 5px;
    }

    .row.soldout {
        opacity: 0.5;
    }

.titoloAttivitaDetail h4 {
    color: #1d1d1b;
    font-size:22px !important;
}

.relator {
    display:block;
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom: 1px solid #d9d9d9;
}

.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: "Olivetti";
		font-size: 39px !important;
		letter-spacing: 0;
		padding-bottom: 0px;
		font-weight: 400 !important;
		color: #f4a318;
		text-transform: uppercase;
		padding-top: 20px;
    }

.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: "Olivetti";
    font-size: 3.5em !important;
    line-height: 1em;
    letter-spacing: 0;
    font-weight: 400 !important;
    color: #1d1d1b;
}

@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;
	background-color: #fff;
}

    .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;
    }

    .btnArea .btn.btn-rounded.btn-gradient {
        font-size: 22px;
        width: 280px;
        margin-right: 0 !important;
    }
    .index footer#footer {
        position: fixed;
    }
    body.index .body {
		background-position: left;
	    background-repeat: no-repeat;
	}
	.legend-categories {
	    flex-direction: column;
	    padding-left: 30px;
	    align-items: center;
	}
	div#upSubscription {
    	padding: 0 20px;
	}

	div#upSubscription .btn.btn-rounded.btn-gradient {
	    line-height: 21px;
	    padding: 16px;
	}
}

@media (max-width: 767px) {
    .countdown {
        flex-wrap: unset;
    }
}
@media screen and (max-width: 600px){
	h2.callToAction.mb-4 {
        text-align: center;
        font-size: 3.4em !important;
    }
}
@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;
    }
}
