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

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

    .HList,
    .HCat {
        display: flex;
    }

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

.mask {
    position: relative;
    z-index: 150;
}

.menuLato {
    max-height: 100%;
    overflow-y: auto;
    background-color: #fff;
    padding: 15px 10px;
    margin: 20px auto;
    border-radius: 8px;
    border: 1px solid #d8caa133;
    z-index: 1000;
}

    /* Tipografia comune dei titoli del filtro. */
    .menuLato h2,
    .listing-filter-mask .menuLato .popFiltri {
        font-size: 15px;
        line-height: 1.4;
    }

    .menuLato h2 {
        text-transform: uppercase;
        margin: 1em auto 1.5em;
        text-align: center;
        color: #ef7273;
        font-weight: 700;
    }

/* Intestazione e barra condivise. */
#ImgHome.listing-hero {
    height: clamp(200px, 30vw, 350px);
    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 {
        margin: 0;
        padding: 8px 0;
    }

.txtAlt {
    width: 80px;
    margin: 1% 3%;
    display: inline;
    text-align: right
}

.panel-collapse {
    padding: 0 10px 0px 0;
    border: 1px solid #eee;
    margin-bottom: 10px;
}

.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: 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;
        }

/* Schede condivise da HotelCat e HotelList. Classi dei profili conservate. */


.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 .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;
        }
}

/* Chiusura pannello: visibile soltanto su mobile. */
.listing-filter-header {
    display: none;
}

/* 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;
}

/* Struttura comune delle sezioni del filtro. */

.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;
}



/* 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;
    }

.filtro_tit {
    background-color: #ef7273;
    color: #fff;
    font-size: small;
    display: inline-block;
    margin: 8px;
    padding: 2px 8px;
    border-radius: 25px;
}


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

/* Mobile: regole raccolte in un solo punto. */
@media (max-width: 767px) {
    .mask {
        position: absolute;
        top: 0;
        width: 100%;
    }

    .menuLato {
        display: none;
        position: fixed;
        box-shadow: 0 0 0 10000px #171d1b80;
        width: 100%;
        top: 0;
        left: 0;
    }

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

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

    .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;
        }

    .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;
    }
}

/*  #ImgHome::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(90deg, rgb(0 9 2 / 30%), rgb(1 75 18 / 0.1%));
    }

    #ImgHome {
        overflow: hidden;
        max-height: 55%;
        max-height: 55vh;
        position: relative;
        align-items: center;
    }*/

.CardO_offer {
    cursor: default;
}

.CardO_meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.CardO_scadenza {
    font-style: italic;
    font-size: small;
    display: block;
    text-align: center;
}

.CardO_titleRow {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.CardO_titleLink {
    display: inline-block;
}

.CardO_titleLink h2 {
    display: inline-block;
    margin-bottom: 0;
}

.CardO_periodo {
    margin: 8px auto 0 0;
}
.CardO_btn {
    margin: 3px auto ;
}

.CardO_esclusiva,
.CardO_badgeTag {
    position: absolute;
    right: 0;
    z-index: 3;
}
.CardO_badgeTag {
    top: 20px;
}
    .CardO_esclusiva {
    bottom: 3px;
}

.tgOfferta > li,
.esclusiva {
    display: block;
    font-weight: bold;
    background-color: #24bcaf;
    color: #fff;
    font-size: small;
    margin: 20px 0;
    padding: 4px 12px;
    border-radius: 8px 0 0 8px;
}



.esclusiva {
    background-color: #ef7273;
}

.flex {
    display: flex;
    justify-content: space-between;
}



@media (max-width: 767px) {
    .flex {
        flex-direction: column-reverse;
    }
}

@media (min-width: 600px) {
    .CardO_offer .CardO_Img {
        width: 40%;
    }

    .CardO_offer picture img {
        margin: 0px;
    }
}



.offerte-cat-page #ImgHome.listing-hero {
    padding: 0;
    gap: 0;
}

.offerte-cat-page .offerte-results-row {
    display: flex;
    flex-wrap: wrap;
    padding-top: 0;
    padding-bottom: 0;
}

.offerte-cat-page .offerte-column {
    display: flex;
    float: none;
    min-width: 0;
}
