:root {
    --title-tour: 70px;
    --itinerario-bullet-size: 38px;
}

@media screen and (min-width: 576px) {
    :root {
        --title-tour: 83px
    }
}

@media screen and (min-width: 768px) {
    :root {
        --title-tour: 70px
    }
}

@media screen and (min-width: 992px) {
    :root {
        --title-tour: 70px
    }
}

@media screen and (min-width: 1200px) {
    :root {
        --title-tour: 90px
    }
}

@media screen and (min-width: 1400px) {
    :root {
        --title-tour: 100px
    }
}

#tour {
    scroll-margin-top: 100px;
}

.hero-content.hero-tour {
    position: relative;
    background-size: cover;
    /* background-position: center calc(var(--font-size-h1-home) * -1); */
    height: 80vh;
}

@media screen and (min-width: 768px) {
    .hero-content.hero-tour {
        height: unset;
    }
}


.hero-content.hero-tour:before {
    background: linear-gradient(0deg, rgba(28, 39, 76, 0.30) 0%, rgba(28, 39, 76, 0.30) 100%)
}

.hero-content.hero-tour .hero-content-text h1 {
    font-size: var(--title-tour);
    color: var(--azure);
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400;
    line-height: 97.8%;
    color: rgba(9, 147, 205, 0.1);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 130%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    position: relative;
}

.hero-content.hero-tour .hero-content-text h1:before {
    color: white;
    content: attr(data-title);
    display: block;
    overflow: hidden;
    position: absolute;
    height: 68%;
    width: 100%;
    top: 0;
    display: block;
}


@media screen and (min-width: 576px) {
    .hero-content.hero-tour .hero-content-text h1:before {
        height: 68%;
    }
}

@media screen and ((min-width: 768px) and (max-width: 992px)) {
    .hero-content.hero-tour .hero-content-text h1:before {
        height: 74%;
    }
}

.hero-content.hero-tour .hero-content-text {
    position: unset;
}

.tour-title {
    position: absolute;
    bottom: calc(var(--title-tour) * -2);
    bottom: calc(var(--title-tour));
    z-index: 3;
}

@media screen and (min-width: 768px) {

    .tour-title {
        bottom: calc(var(--title-tour) * -1);
        bottom: 40px
    }
}

/* .section-tour.section-one {
    margin-top: calc(var(--title-tour) * 2 + 30px);
}

@media screen and (min-width: 768px) {

    .section-tour.section-one {
        margin-top: calc(var(--title-tour) + 70px);
    }
} */

.section-tour.section-one p {
    color: var(--blue-medium);
    font-size: var(--font-size-p-hero);
    font-style: normal;
    font-weight: 300;
    line-height: 135%;
}

.section-tour.section-three {
    padding-bottom: 60px;
}


.section-gallery.section-two {
    position: relative;
}
@media screen and (min-width: 768px) {
    .section-gallery.section-two {
        margin-bottom: 35px;
    }
}

.section-tour.section-three .informazione-tour {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #B6B6B6;
    width: 100%;
}

.section-tour.section-three .informazione-tour.last {
    border-bottom: 1px solid transparent;

}

.section-tour.section-three .informazione-tour svg {
    margin-right: 25px;
    min-width: 24px;
    min-height: 24px;
}

/* solo mobile */
@media screen and (max-width: 768px) {

    .section-tour.section-three .informazione-tour svg {
        min-width: 42px;
        min-height: 42px;
    }
}


.section-tour.section-three .informazione-tour span {
    color: var(--blue);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 135%;
}

.section-tour.section-three .informazione-tour span p {
    margin-bottom: 0;
    color: var(--blue);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 135%;
}

.section-tour.section-three .informazione-tour span.info-content {
    font-weight: 300;
}

.section-tour.section-four {
    margin-bottom: 60px;
}

.section-tour.section-four .servizi-container {
    margin-top: 26px;
}

.section-tour.section-four .servizio {
    display: flex;
}

.section-tour.section-four .servizio span {
    color: var(--Colore-testi, #1C274C);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 156%;
}

.section-tour.section-four .servizio span.icon {
    margin-right: 20px;
}

.section-tour.section-five {
    background: #F6FDFF;
    padding-top: 65px;
    padding-bottom: 50px;
}

.itinerario-container {
    position: relative;
}

.itinerario-container:before {
    content: '';
    width: 9px;
    height: 92%;
    background-color: #D9D9D9;
    position: absolute;
    left: calc((var(--itinerario-bullet-size) / 2) - 4px);
    top: 20px;
}

.itinerario-container .tappa {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.itinerario-container .tappa .icon {
    position: absolute;
    left: 0;
    width: var(--itinerario-bullet-size);
    height: var(--itinerario-bullet-size);
    flex-shrink: 0;
    border-radius: 50%;
    top: 15%;
}

.itinerario-container .tappa .icon.blu {
    background-color: var(--blue-medium);
    border: 3px solid var(--blue-medium);
}

.itinerario-container .tappa .icon.bianco {
    background-color: white;
    border: 3px solid var(--blue-medium);
}

.itinerario-container .tappa .icon.azzurro {
    background-color: var(--dark-medium-azure);
    border: 3px solid var(--dark-medium-azure);

}

.itinerario-container .tappa .tappa-content {
    margin-left: calc(var(--itinerario-bullet-size) + 12px);
    display: flex;
    flex-direction: column;
}

.itinerario-container .tappa .tappa-content .title {
    color: var(--blue);
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 135%;
}

#map {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    min-height: 80vh;
}

.section-tour.section-eight,
.section-tour.section-six {
    background: var(--blue);
    padding-top: 70px;
    padding-bottom: 70px;
}

.section-tour.section-six h4{
    color: var(--Blu-titoli, #0F76AA);
    font-family: Karla;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 97.8%; /* 23.472px */
    margin-bottom: 40px;
}
.section-tour.section-six p{
    color: var(--Bianco, #FFF);
    font-family: Karla;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%; /* 21.6px */
}

.section-tour.section-six .descrizione{ 
    margin-top: var(--percentuale-margin-descrizione);
    margin-bottom: var(--percentuale-margin-descrizione-bottom);
}

.section-tour.section-six .subtitle-blue{
    color: var(--Blu-titoli, #0F76AA);
    font-family: "Playfair Display";
    font-size: 43px;
    font-style: normal;
    font-weight: 400;
    line-height: 97.8%;
}

.section-tour.section-six .immagine img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 50vh;
}

.section-tour.section-six .card-tappe-container {
    display: flex;
}

.section-tour.section-six .card-tappe-container .card-tappe {
    color: white;
    width: calc(((var(--container-width)) / 3) - 9px);
}

.section-tour.section-six .card-tappe-container .card-tappe img {
    object-fit: cover;
    height: 300px;
    width: 380px;
    width: 100%;
}

.section-tour.section-six .card-tappe-container .card-tappe h5 {
    color: var(--blue-medium);
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 33px;
}

.section-tour.section-six .card-tappe-container .card-tappe p {
    color: white;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 125%;
    margin-bottom: 50px;
}

.tappe-indicators .tappe-indicators {
    display: flex;
    justify-content: space-around;

}

.tappe-indicators .tappe-indicator-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}


.tappe-indicators .tappe-indicator-container .swiper-pagination-bullet {
    color: #8E8E8E;
    font-size: 16.424px;
    font-style: normal;
    font-weight: 400;
    line-height: 114.3%;
    margin: 0 15px;
}

@media screen and (min-width: 576px) {
    .tappe-indicators .tappe-indicator-container .swiper-pagination-bullet {
        padding: 0px 20px;
        background: transparent;
    }
}

.tappe-indicators .tappe-indicator-container .swiper-pagination-bullet-active {
    color: var(--azure);
    font-weight: 700;
}

.section-tour.section-seven {
    position: relative;
    min-height: 90vh;
    background-size: cover;
    padding: 20vh calc(var(--container-width) / 12) 0;
}

@media screen and (min-width: 768px) {
    .section-tour.section-seven {
        min-height: 90vh;
        padding: 10vh calc(var(--container-width) / 4) 10vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.section-tour.section-seven:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(0deg, rgba(2, 82, 123, 0.50) 0%, rgba(2, 82, 123, 0.50) 100%);
}

.section-tour.section-seven h2,
.section-tour.section-seven p,
.section-tour.section-seven a {
    z-index: 1;
    position: relative;
}

.section-tour.section-seven h2 {
    color: white;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 39px;
    z-index: 1;
    position: relative;
}

@media screen and (min-width: 768px) {
    .section-tour.section-seven h2 {
        font-size: 100px;
        line-height: 99px;
        mix-blend-mode: overlay;
    }
}

.section-tour.section-seven p {
    color: white;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    z-index: 1;
    position: relative;
    margin-top: 42px;
    font-size: 16px;
}

@media screen and (min-width: 768px) {
    .section-tour.section-seven p {
        font-size: 20px;
    }
}

.section-tour.section-seven a {
    margin: 0 auto;
    display: flex;
    margin-top: 34px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 114.3%;
    letter-spacing: 2.4px;

    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
}

.tappe-indicators {
    position: relative;
}

.tappe-indicators .swiper-button-next,
.tappe-indicators .swiper-button-prev {
    top: 10px;
    left: 10%;
    right: unset;
}

.tappe-indicators .swiper-button-next {
    left: unset;
    right: 10%;
}

.section-tour.section-eight {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

.section-tour.section-eight .gallery-pagination {
    width: auto;
    justify-content: flex-end;
    padding: 0 calc((100vw - var(--container-width)) / 2);
    left: auto;
    transform: none;
}

@media screen and (max-width: 575px) {
    .section-tour.section-eight .gallery-pagination {
        padding: 0 24px;
    }
}

.section-tour.section-eight h2 {

    color: var(--azure);
    font-family: "Playfair Display";
    font-size: 43px;
    font-style: normal;
    font-weight: 400;
    line-height: 97.8%;
}

.section-tour.section-eight .tour-indicators {
    color: var(--azure);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 114.3%;
    display: flex;
    margin-top: 30px;
    gap: unset;
    margin-top: 30px;
    justify-content: space-around;
    align-items: center;
}

@media screen and (min-width: 576px) {
    .section-tour.section-eight .tour-indicators {
        gap: 32px;
        justify-content: unset;
        align-items: unset;
    }
}

.section-tour.section-eight .tour-indicators .tour-indicator.active {
    color: white;
    font-weight: 700;
}