/* Its4kids: stili condivisi HotelCat e HotelList. Caricare dopo I4k.css. */
.spec p, .spec li {
    font-size: 0.95em;
    padding: 0;
    text-align: left;
}

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

    .HList {
        display: flex;
    }
    .HCat {
        display: flex;
        flex-direction: row-reverse;
    }
}

/* Intestazione listing: stili locali, indipendenti dal CSS condiviso. */
#ImgHome.listing-hero {
    height: clamp(180px, 25vw, 300px);
    min-height: 0;
    max-height: none;
}

    #ImgHome.listing-hero img {
        transform: none;
        object-position: center;
    }

.listing-toolbar {
    background: #fff;
    border-bottom: 1px solid #d8caa133;
}

    .listing-toolbar .listing-toolbar-row,
    .listing-toolbar.listing-toolbar-row {
        margin: 0;
        padding: 8px 0;
    }

    .listing-toolbar .zonaBtt .row {
        display: flex;
        gap: 10px;
    }

        .listing-toolbar .zonaBtt .row > div {
            flex: 1;
            width: auto;
            min-width: 0;
        }

    .listing-toolbar .bt {
        min-height: 44px;
        font-family: inherit;
        letter-spacing: normal !important;
    }

        .listing-toolbar .bt:focus-visible {
            outline: 3px solid #24bcaf;
            outline-offset: 3px;
        }

.listing-heading {
    padding: 24px 0 20px;
}

    .listing-heading .titPagina {
        margin: 0 0 16px;
        text-align: center;
        text-transform: uppercase;
        font-stretch: normal;
        font-size: 32px;
        font-size: clamp(26px, 3vw, 36px);
        line-height: 1.2;
        color: #24bcaf;
    }

    .listing-heading .listing-intro {
        max-width: none;
        line-height: 1.65;
    }

        .listing-heading .listing-intro p {
            margin: 0 0 12px;
            line-height: inherit;
        }

        .listing-heading .listing-intro > :last-child {
            margin-bottom: 0;
        }

@media (max-width: 767px) {
    .listing-heading {
        padding: 20px 0 16px;
    }

    .listing-toolbar .zonaBtt {
        padding-top: 6px;
    }
}

/* Schede condivise da HotelCat e HotelList. Classi dei profili conservate. */
.listing-results .CardO {
    width: 100%;
    margin: 0 0 24px;
    border: 1px solid #d8caa133;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
}

.listing-results .CardO_text {
    min-width: 0;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.listing-results .CardO_meta {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.listing-results .citta {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    text-transform: uppercase;
}

.listing-results .CardO_meta .note {
    font-size: 13px;
    line-height: 1.5;
    color: #171d1b;
}

.listing-results .CardO_meta .Dblock {
    font-weight: 600;
}

.listing-results .CardO_text h2 {
    margin: 10px 0 12px;
    font-size: 22px;
    line-height: 1.3;
    border: 0;
    overflow-wrap: break-word;
}

    .listing-results .CardO_text h2 a {
        text-decoration: none;
        border: 0;
    }

.listing-results .CardO:hover .CardO_text h2 a {
    border-bottom: solid 2px #24bcaf;
    color: #24bcaf;
    text-decoration: none;
}

.listing-results a:focus-visible {
    outline: 3px solid #24bcaf;
    outline-offset: 3px;
}

.listing-results .CardO_descr {
    padding: 0;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

    .listing-results .CardO_descr .just {
        text-align: left;
    }

.listing-results .listing-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .listing-results .listing-services .tbl-ico {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: auto;
        max-width: 100%;
        padding: 6px 9px;
        background: #d8caa133;
        border-radius: 8px;
    }

    .listing-results .listing-services .img-ico {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        margin: 0;
    }

    .listing-results .listing-services .txt-ico {
        display: block;
        max-width: none;
        font-size: 12px;
        line-height: 1.4;
    }

.listing-results .CardO_Img {
    flex-shrink: 0;
    align-self: flex-start;
}

    .listing-results .CardO_Img > a,
    .listing-results .CardO_Img picture {
        padding: 0;
    }

        .listing-results .CardO_Img picture img {
            display: block;
            height: 100%;
            margin: 0;
            border-radius: 0;
            object-fit: cover;
        }

.listing-pagination .btn {
    min-width: 40px;
    min-height: 44px;
    padding: 11px 12px;
}

@media (max-width: 599px) {
    .listing-results .CardO_Img {
        aspect-ratio: 4 / 3;
    }

        .listing-results .CardO_Img > a,
        .listing-results .CardO_Img picture {
            display: block;
            width: 100%;
            height: 100%;
        }

    .listing-results .CardO_text {
        padding: 18px;
    }

        .listing-results .CardO_text h2 {
            font-size: 21px;
        }
}

/* Correzione pannello filtri mobile: indipendente dal resto del layout. */
.listing-filter-header {
    display: none;
}

@media (max-width: 767px) {
    .mask.listing-filter-mask {
        z-index: 2000;
    }

    .listing-filter-mask .menuLato {
        z-index: 2001;
        margin: 0;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        box-sizing: border-box;
        padding: 0 10px 20px;
        overflow-y: auto;
    }

    .listing-filter-mask .listing-filter-header {
        display: flex;
        justify-content: flex-end;
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 -10px 10px;
        padding: 8px 10px;
        background: #fff;
        border-bottom: 1px solid #d8caa133;
    }

    .listing-filter-close {
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #d8caa133;
        border-radius: 8px;
        background: #fff;
        color: #171d1b;
        font: 30px/1 Arial, sans-serif;
        cursor: pointer;
    }

        .listing-filter-close:focus-visible {
            outline: 3px solid #24bcaf;
            outline-offset: 2px;
        }
}

/* Solo nel filtro del listing attività, anche dopo gli aggiornamenti AJAX. */
.listing-filter-mask.is-activity-listing #serviziList,
.listing-filter-mask.is-activity-listing #cServizi,
.listing-filter-mask.is-activity-listing #attivitaList,
.listing-filter-mask.is-activity-listing #cAttivita,
.listing-filter-mask.is-activity-listing #attivitaZonaList,
.listing-filter-mask.is-activity-listing #cAttivitaLoco {
    display: none !important;
}

/* Spazio dopo le destinazioni, senza modificare gli altri caroselli. */
.listing-destinations {
    margin-bottom: 30px;
}

/* Filtri: stessa tipografia e stessa struttura su entrambe le pagine. */
.listing-filter-mask .menuLato h2,
.listing-filter-mask .menuLato .popFiltri {
    color: #171d1b;
    font-size: 15px;
    line-height: 1.4;
}

.listing-filter-mask .menuLato .panel {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.listing-filter-mask .menuLato .popFiltri {
    border: 0;
}

.listing-filter-mask .menuLato a[data-toggle="collapse"] {
    display: block;
}

.listing-filter-mask .menuLato a[data-toggle="collapse"]:hover,
.listing-filter-mask .menuLato a[data-toggle="collapse"]:hover .popFiltri {
    color: #24bcaf;
}

.listing-filter-close:hover {
    color: #24bcaf;
    background: #d8caa133;
}




.listing-filter-mask .overCerca {
    position: sticky;
    top: auto;
    bottom: 0;
    background: #fff;
    padding-top: 10px !important;
    z-index: 3;
}

/* HotelList: soltanto le differenze strutturali rispetto a HotelCat. */
.hotel-list-page {
    padding-left: 0;
    padding-right: 0;
}

.hotel-list-page .hotel-list-active-filters {
    padding-left: 15px;
}

.hotel-list-page .listing-heading {
    clear: both;
}

.hotel-list-page .hotel-list-layout {
    align-items: flex-start;
}

.hotel-list-page .hotel-list-results-column {
    min-width: 0;
}

.hotel-list-page #gallery {
    display: block;
}

.hotel-list-page .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

/* Indicatore di caricamento dei risultati AJAX di HotelList. */
.hotel-list-page .spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 100px auto;
}

.hotel-list-page .double-bounce1,
.hotel-list-page .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #FCb434;
    opacity: .6;
    position: absolute;
    top: 0;
    left: 0;
    animation: listing-bounce 2s infinite ease-in-out;
}

.hotel-list-page .double-bounce2 {
    animation-delay: -1s;
}

@keyframes listing-bounce {
    0%, 100% { transform: scale(0); }
    50% { transform: scale(1); }
}

.hotel-list-page .transpPanel {
    position: absolute;
    top: 15px;
    height: 25px;
    width: 100%;
    background: linear-gradient(transparent, #ffffffe6);
}

.hotel-list-page #topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    width: 50px;
    padding: 5px 3px 10px;
    font-size: 18px;
    line-height: .5;
    border: 0;
    border-radius: 4px;
    background: #FCb434;
    color: #fff;
    cursor: pointer;
}

.hotel-list-page #topBtn:hover {
    background: #24bcaf;
}

.hotel-list-page #topBtn:focus-visible {
    outline: 2px solid #24bcaf;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .hotel-list-page .hotel-list-filter-mask {
        top: 0;
        left: 0;
        padding: 0;
    }

    .hotel-list-page .hotel-list-layout {
        margin: 0;
    }

    .hotel-list-page .listing-heading {
        padding-left: 15px;
        padding-right: 15px;
    }

    .listing-filter-mask .menuLato > .bg-white {
        display: flow-root;
    }

    .listing-filter-mask .menuLato .filtro_item {
        max-width: 100%;
    }

    .hotel-list-page #topBtn {
        height: 35px;
        right: 15px;
        padding: 1px 3px 10px;
        border-radius: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hotel-list-page .double-bounce1,
    .hotel-list-page .double-bounce2 {
        animation: none;
    }
}
