:root{--page-title-display:none;}/* Start custom CSS *//* ==========================================
   TIMELINE MORANDINI
   VERSIONE STABILE - SOLO SCROLL ORIZZONTALE
   ========================================== */


/* CONTENITORE PRINCIPALE */
#timeline-scroll {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: flex-start !important;
    align-items: flex-start !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 220px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    gap: 35px !important;

    padding: 0 30px 25px 30px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #9F0D1D #eeeeee;
}


/* SINGOLE TAPPE */
#timeline-scroll > .e-con {
    flex: 0 0 340px !important;

    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;

    height: auto !important;
    min-height: 180px !important;
    max-height: none !important;

    flex-grow: 0 !important;
    flex-shrink: 0 !important;

    align-self: flex-start !important;

    overflow: visible !important;

    scroll-snap-align: start;

    box-sizing: border-box !important;

    margin: 0 !important;
}


/* TITOLI DELLE DATE */
#timeline-scroll > .e-con h2,
#timeline-scroll > .e-con .e-heading-base {
    overflow: visible !important;
    white-space: normal !important;
    max-width: 100% !important;
}


/* TESTI */
#timeline-scroll > .e-con p,
#timeline-scroll > .e-con .e-paragraph-base {
    overflow: visible !important;
    max-width: 100% !important;
}


/* WIDGET INTERNI */
#timeline-scroll > .e-con .elementor-widget {
    overflow: visible !important;
}


/* SCROLLBAR CHROME / SAFARI */
#timeline-scroll::-webkit-scrollbar {
    height: 6px;
}

#timeline-scroll::-webkit-scrollbar-track {
    background: #eeeeee;
    border-radius: 20px;
}

#timeline-scroll::-webkit-scrollbar-thumb {
    background: #9F0D1D;
    border-radius: 20px;
}


/* FLEXBOX PADRE CHE CONTIENE LA TIMELINE */
.e-con:has(> #timeline-scroll) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    justify-content: flex-start !important;
    align-content: flex-start !important;

    gap: 45px !important;

    overflow: visible !important;
}


/* TABLET */
@media (max-width: 1024px) {

    #timeline-scroll {
        gap: 30px !important;

        padding-left: 25px !important;
        padding-right: 25px !important;
        padding-bottom: 22px !important;

        min-height: 210px !important;
    }

    #timeline-scroll > .e-con {
        flex-basis: 300px !important;

        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;

        min-height: 175px !important;
    }

    .e-con:has(> #timeline-scroll) {
        gap: 40px !important;
    }
}


/* MOBILE */
@media (max-width: 767px) {

    #timeline-scroll {
        gap: 20px !important;

        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 20px !important;

        min-height: 200px !important;
    }

    #timeline-scroll > .e-con {
        flex-basis: 260px !important;

        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;

        min-height: 165px !important;
    }

    .e-con:has(> #timeline-scroll) {
        gap: 30px !important;
    }
}/* End custom CSS */