/*
Theme Name:  Jampaa
Theme URI: https://www.jampaa.it/
Description:  Tema Jampaa
Author:  Jampaa
Author URI: https://www.jampaa.it/
Template:  hello-elementor
Version:  1.0
*/

/* booking-form css */

@media only screen and (max-width: 1024px) {
    .accordion-booking {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 3 !important;
    }

    .accordion-booking-content {
        position: relative !important;
        top: 0 !important;

    }

    #or-cbf-promo-popup {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
}

/* Hero Image pagina 404 */

.error404 .hero-image {
    display: none;
}

/* *
* Gallery single tax o post shortcode
* */


.single-rooms-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
}

@media only screen and (max-width: 1024px) {
    .single-rooms-gallery-wrapper {
        grid-column-gap: 1rem;
        grid-row-gap: 1rem;
    }
}

@media only screen and (max-width: 575px) {
    .single-rooms-gallery-wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

.single-rooms-gallery-wrapper .single-image a.image {
    overflow: hidden;
    border-radius: 0px;
    display: flex;
    align-items: center;
    height: 100%;
    object-fit: cover;
    object-position: center;

}

.single-rooms-gallery-wrapper .single-image:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
    max-height: 430px;
}

.single-rooms-gallery-wrapper .single-image:nth-child(2) {
    grid-area: 1 / 3 / 2 / 4;
    max-height: 200px;
}

.single-rooms-gallery-wrapper .single-image:nth-child(3) {
    grid-area: 1 / 4 / 2 / 5;
    max-height: 200px;
}

.single-rooms-gallery-wrapper .single-image:nth-child(4) {
    grid-area: 2 / 3 / 3 / 4;
    max-height: 200px;
}

.single-rooms-gallery-wrapper .single-image:nth-child(5) {
    grid-area: 2 / 4 / 3 / 5;
    max-height: 200px;
}

@media only screen and (max-width: 575px) {
    .single-rooms-gallery-wrapper .single-image:nth-child(1) {
        grid-area: 1 / 1 / 3 / 5;
    }

    .single-rooms-gallery-wrapper .single-image:nth-child(2) {
        grid-area: 3 / 1 / 3 / 3;
    }

    .single-rooms-gallery-wrapper .single-image:nth-child(3) {
        grid-area: 3 / 3 / 3 / 5;
    }

    .single-rooms-gallery-wrapper .single-image:nth-child(4) {
        grid-area: 4 / 1 / 4 / 3;
    }

    .single-rooms-gallery-wrapper .single-image:nth-child(5) {
        grid-area: 4 / 3 / 4 / 5;
    }
}

.single-rooms-gallery-wrapper .single-image.hide-image {
    display: none !important;
}

.single-rooms-gallery-wrapper .single-image a.image figure.full-width {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.single-rooms-gallery-wrapper .single-image a.image figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* opzionale in questo caso */
    display: block;
}

.pswp__button {
    width: 50px !important;
}

/*
*   13.0 Gallery
*/

/*
.single-rooms-gallery-wrapper img {
    cursor: pointer;
}

.single-rooms-gallery-wrapper .swiper-horizontal .swiper-slide {
    max-width: 480px;
    margin: 0 30px 0 0;
}

.standard-gallery-wrapper.gallery-container-image .single-rooms-gallery-wrapper .swiper-horizontal .swiper-slide {
    max-height: 380px;
}

.single-rooms-gallery-wrapper .swiper-slide h3 {
    margin: 10px 0;
}

hr {
    background: #8A93A7;
    opacity: 0.3;
    width: 100%;
}

.single-rooms-gallery-wrapper .image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: minmax(40px, 1fr);
    gap: 15px;
}

.single-rooms-gallery-wrapper h2 {
    grid-column: 1/-1;
}

.single-rooms-gallery-wrapper .single-image {
    position: relative;
    max-height: 300px;
    border-radius: 0px;
    overflow: hidden;
}

.single-rooms-gallery-wrapper .single-image span.panorama-widget {
    position: absolute;
    z-index: 1;
    right: 1.5rem;
    top: 1.5rem;
    width: 4rem;
    height: 4rem;
    background-color: #BC1548;
    padding: 0.8rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.single-rooms-gallery-wrapper .single-image span.panorama-widget:hover {
    background-color: var(--link-color-hover);
}

.single-rooms-gallery-wrapper .single-image span.panorama-widget svg {
    fill: #ffffff;
}

.single-rooms-gallery-wrapper .single-image:nth-of-type(1n+16) {
    display: none;
}

.single-rooms-gallery-wrapper .single-image figure {
    margin: 0;
    height: 100%;
    width: 100%;
    border-radius: 0px;
}

.single-rooms-gallery-wrapper .single-image figure img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    max-height: -webkit-fill-available;
}

.single-rooms-gallery-wrapper span.description {
    position: absolute;
    right: 12px;
    left: auto;
    bottom: 12px;
    top: auto;
    z-index: 1;
    background: #BC1548;
    color: #ffffff;
    padding: 10px 12px;
    margin-left: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    line-height: 15px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow-y: scroll;
}

.single-rooms-gallery-wrapper span.description>i {
    font-size: 18px;
}

.single-rooms-gallery-wrapper span.description.active>i {
    display: none;
}

.single-rooms-gallery-wrapper span.description:not(.active)>span.text {
    display: none;
}


.single-rooms-gallery-wrapper figure.cta img {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    z-index: 2;
}

.single-rooms-gallery-wrapper figure figcaption {
    display: none;
}

.single-rooms-gallery-wrapper .overlay-cta {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    z-index: 3;
    cursor: pointer;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

}

.single-rooms-gallery-wrapper .overlay-cta .fa-play-circle {
    font-size: 40px;
    line-height: 1;
}

.single-rooms-gallery-wrapper .overlay-cta span {
    margin: auto;
    width: auto;
    padding: 10px 20px;
    text-align: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    background: #BC1548;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.single-rooms-gallery-wrapper .overlay-cta:hover span {
    background: var(--link-color-hover);
}

.single-rooms-gallery-wrapper .overlay-cta.overlay-cta-play {
    color: #fff;
    font-size: 7rem;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.lead-generation-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;

    background-image: url('/wp-content/uploads/2021/11/last-image-gallery-message.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.lead-generation-content-description {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 100px 50px;
}

.lead-generation-content-description .lead-generation-icon {
    font-size: 80px;
    margin-bottom: 40px;
    text-align: center;
}

.single-rooms-gallery-wrapper figure.cta .overlay-cta a.btn::after {
    display: none !important;
    visibility: hidden !important;
}

.single-rooms-gallery-wrapper .swiper-horizontal .swiper-slide iframe {
    height: 300px !important;
    margin-bottom: 10px;
}

.rll-youtube-player .play {
    width: 100% !important;
}

.swiper-slide .video-rate i {
    font-size: 20px !important;
}

.swiper-slide>.video-title {
    font-weight: bold !important;
    font-size: 24px !important;
    line-height: 31px !important;
    color: #484B5C !important;
}

.single-rooms-gallery-wrapper .enable-slide .swiper-button-prev,
.single-rooms-gallery-wrapper .enable-slide .swiper-button-next {
    position: absolute;
    top: 50%;
    background: #fff;
    z-index: 1;
    margin: 0 !important;
}

.single-rooms-gallery-wrapper .enable-slide .swiper-button-next {
    right: 0;
}

.single-rooms-gallery-wrapper .enable-slide .swiper-button-prev {
    left: 0;
}

.single-rooms-gallery-wrapper {
    overflow: hidden;
    position: relative;
}

.single-rooms-gallery-wrapper .swiper-horizontal .swiper-slide {
    max-width: 480px;
    margin: 0 30px 0 0;
}

.single-rooms-gallery-wrapper .swiper-horizontal .swiper-slide iframe {
    height: 300px !important;
    margin-bottom: 10px;
}

.single-rooms-gallery-wrapper .swiper-horizontal .swiper-slide {
    max-height: 380px;
}

@media (max-width: 575px) {
    .single-rooms-gallery-wrapper {
        gap: 15px !important;
        grid-template-columns: repeat(2, 1fr);
    }

    .single-rooms-gallery-wrapper span.description {
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
        right: 5px;
        bottom: 5px;
    }

    .single-rooms-gallery-wrapper span.description.active {
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin: 0;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .single-rooms-gallery-wrapper .swiper-container-horizontal .swiper-slide {
        max-width: 290px;
        max-height: unset;
    }
}

.overlay-cta {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    z-index: 3;
    cursor: pointer;
}

.gallery-container-wrapper-category figure.cta .overlay-cta a.btn {
    margin: auto !important;
    width: fit-content !important;
}

.gallery-container-wrapper-category figure.cta .overlay-cta a.btn::after {
    display: none !important;
    visibility: hidden !important;
}

.gallery-container-wrapper .gallery-container-wrapper-category.swiper-container-horizontal .swiper-slide iframe {
    height: 30rem !important;
    margin-bottom: 1rem;
}

.rll-youtube-player .play {
    width: 100% !important;
}

body button.pswp__button {
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
}

body button.pswp__button.pswp__button--close,
body button.pswp__button.pswp__button--zoom {
    margin: 0 20px 0 0 !important;
}

body .pswp__custom-caption {
    background-color: rgba(255, 255, 255, .9);
    width: 100%;
    max-width: 500px;
    padding: 2px 10px;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    color: #000;
    font-size: 14px;
    border-radius: 1px;
}

.pswp__360-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pswp__360-image-container iframe {
    background: #444;
    width: 100%;
    height: 100%;
    max-width: calc(100vw - 20rem);
    max-height: 100vh;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none !important;
}

.pswp__video-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pswp__video-container video {
    width: 100%;
    height: 100%;
    max-width: calc(100vw - 100px);
    max-height: 100vh;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rotate-device {
    position: fixed;
    background-color: #000000;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
    color: #fff;
}

.rotate-device.show {
    display: flex;
}

.rotate-device .phone {
    height: 5rem;
    width: 10rem;
    border: 0.3rem solid white;
    border-radius: 1rem;
    animation: rotate-device 4s ease-in-out infinite;
}

.rotate-device a,
.rotate-device a:active,
.rotate-device a:focus,
.rotate-device a:visited,
.rotate-device a:hover {
    color: #fff;
    letter-spacing: normal;
    padding: 10px 30px;
}

@keyframes rotate-device {
    0% {
        transform: rotate(-90deg)
    }

    70% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}
*/

/* End Gallery single tax o post shortcode */
/* servizi e dotazioni */
.services-list {
    column-count: 3;
    /* Numero di colonne */
    column-gap: 2rem;
    /* Spazio tra colonne */
    list-style: none;
    /* opzionale: rimuove i puntini */
    padding: 0;
    margin: 0;
}

.service-item {
    break-inside: avoid;
    /* evita che un li venga spezzato tra colonne */
    color: #000;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.service-item.on-evidence {
    color: #BC1548;
    font-weight: bold;
}

.service-icon {
    margin-right: 12px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
}

span.service-icon i {
    font-size: 15px;
    line-height: 1;
}

.service-icon img {
    max-width: 32px;
    max-height: 32px;
    display: block;
}

span.service-label {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
}
@media screen and (max-width: 1024px) {
    .services-list {
        column-count: 2;
    }
}

@media screen and (max-width: 575px) {
    .services-list {
        column-count: 1;
    }
}
/* Fine servizi e dotazioni */
/* servizi in evidenza */
ul.room-occupancy-list {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 5px;
}

ul.room-occupancy-list li {
    display: list-item;
    padding-left: 10px;
}

ul.room-occupancy-list li:not(:first-child) {
    border-left: 1px solid #DCDFE5;
}

/* sezione altre camere */
#altre-camere .swiper-container {
    padding-bottom: 40px;
    overflow-x: hidden;
}

#altre-camere .swiper-wrapper {
    display: flex;
}

#altre-camere .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

#altre-camere .card {
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    /* max-width: 340px; */
    display: flex;
    flex-direction: column;
}

#altre-camere .card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

#altre-camere .card-content {
    padding: 20px;
    color: #222;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#altre-camere .card-content h3 {
    font-size: 1.6em!important;
    line-height:1.2!important;
    margin: 0 0 10px 0;
    color: #BC1548;
}

#altre-camere .card-content p {
    font-size: 1em;
    margin-bottom: 16px;
    color: #444;
}

#altre-camere .card-content .btn-camere {
    background: #BC1548;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 0;
    font-weight: bold;
    align-self: flex-start;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    display: block;
    border: 1px solid #BC1548;
}

#altre-camere .card-content .btn-camere:hover {
    color: #BC1548;
    background-color: #fff;
}

/* ====== Arrows ====== */
#altre-camere .slider-footer .nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

#altre-camere .slider-footer .swiper-button-prev,
#altre-camere .slider-footer .swiper-button-next {
    position: static;
    inset: auto;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 0px;
    border: 1px solid #BC1548;
    background: #BC1548;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}

#altre-camere .slider-footer .swiper-button-prev:after,
#altre-camere .slider-footer .swiper-button-next:after {
    font-size: 16px;
    color: #fff;
}

#altre-camere .slider-footer .swiper-button-prev:hover,
#altre-camere .slider-footer .swiper-button-next:hover {
    background: #fff;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}

#altre-camere .slider-footer .swiper-button-prev:hover:after,
#altre-camere .slider-footer .swiper-button-next:hover:after {
    color: #BC1548;
}

#altre-camere .slider-footer .swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

/* Fine sezione altre camere */




#altre-camere .card-image {
    position: relative;
}

#altre-camere span.card-image-label {
    position: absolute;
    top: 0px;
    left: 0;
    display: block;
    padding: 10px 10px;
    background-color: #BC1548;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    font-size: 16px;
}

#altre-camere span.price {
    position: absolute;
    bottom: 0px;
    right: 0;
    display: block;
    padding: 10px 10px;
    background-color: #BC1548;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    font-size: 16px;
}

#altre-camere .card-content hr {
    margin: 15px 0 !important;
    display: block;
}

#altre-camere .ev-services ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#altre-camere .ev-services ul li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}



/* tutte camere */


#tutte-camere {
    --gap: 24px;
}

#tutte-camere .wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}

#tutte-camere .wrapper .card {
    max-width: none;
    height: 100%;
}

@media (max-width: 992px) {
    #tutte-camere .wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    #tutte-camere .wrapper {
        grid-template-columns: 1fr;
    }
}

#tutte-camere .footer-pagination {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}



#tutte-camere .wp-pagenavi {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

#tutte-camere .wp-pagenavi a,
#tutte-camere .wp-pagenavi span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #BC1548;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s;
}

#tutte-camere .wp-pagenavi span.current {
    background: #BC1548;
    color: #fff;
    border-color: #BC1548;
}

#tutte-camere .wp-pagenavi a {
    color: #BC1548;
    background: #fff;
}
#tutte-camere .wp-pagenavi a:hover {
    background: #BC1548;
    color: #fff;
}

#tutte-camere .wp-pagenavi span.pages {
    border: none;
    min-width: auto;
    padding: 0 4px;
    color: #666;
    font-weight: 400;
}


#tutte-camere .pagination {
    display: inline-flex;
    gap: 8px;
}

#tutte-camere .pagination .nav-previous a,
#tutte-camere .pagination .nav-next a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #BC1548;
    color: #fff;
    background: #BC1548;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s;
}

#tutte-camere .pagination .nav-previous a:hover,
#tutte-camere .pagination .nav-next a:hover {
    background: #fff;
    color: #BC1548;
}


#tutte-camere .swiper-container,
#tutte-camere .swiper-wrapper,
#tutte-camere .swiper-slide,
#tutte-camere .slider-footer .swiper-button-prev,
#tutte-camere .slider-footer .swiper-button-next {
    all: unset;
}

#tutte-camere .swiper-container {
    display: block;
    width: 100%;
}


#tutte-camere .card {
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#tutte-camere .card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

#tutte-camere .card-content {
    padding: 20px;
    color: #222;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#tutte-camere .card-content h3 {
    font-size: 1.6em!important;
    line-height:1.2!important;
    margin: 0 0 10px 0;
    color: #BC1548;
}

#tutte-camere .card-content p {
    font-size: 1em;
    margin-bottom: 16px;
    color: #444;
}


#tutte-camere .card-content .btn-camere {
    background: #BC1548;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 0;
    font-weight: bold;
    align-self: flex-start;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    display: block;
    border: 1px solid #BC1548;
}

#tutte-camere .card-content .btn-camere:hover {
    color: #BC1548;
    background-color: #fff;
}

#tutte-camere .card-image { position: relative; }

#tutte-camere span.card-image-label {
    position: absolute;
    top: 0px;
    left: 0;
    display: block;
    padding: 10px 10px;
    background-color: #BC1548;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    font-size: 16px;
}

#tutte-camere span.price {
    position: absolute;
    bottom: 0px;
    right: 0;
    display: block;
    padding: 10px 10px;
    background-color: #BC1548;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    font-size: 16px;
}

#tutte-camere .card-content hr {
    margin: 15px 0 !important;
    display: block;
}

#tutte-camere .ev-services ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#tutte-camere .ev-services ul li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


/* css tabella comparativa */

/* ========= Wrapper e scroller (responsive) ========= */
.compare-wrap {
  margin-top: 32px;
}

.compare-scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.compare-scroller::-webkit-scrollbar {
  height: 8px;
}
.compare-scroller::-webkit-scrollbar-track {
  background: #f2f2f2;
  border-radius: 4px;
}
.compare-scroller::-webkit-scrollbar-thumb {
  background: #d6d6d6;
  border-radius: 4px;
}
.compare-scroller:hover::-webkit-scrollbar-thumb {
  background: #c2c2c2;
}

/* ========= Tabella base ========= */
.table.camere {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px; /* evita che si stringa troppo su mobile: scrollerà in orizzontale */
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* Intestazioni */
.table.camere thead th {
  position: sticky;
  top: 0;
  z-index: 3; /* sopra alle celle sticky della prima colonna */
  background: #fff;
  color: #222;
  font-weight: 700;
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}

/* Prima colonna sticky (etichette riga) */
.table.camere tbody td:first-child,
.table.camere thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 4;
    background-color: #fff!important;
    box-shadow: 1px 0 0 #eee;
    min-width: 180px;
    max-width: 200px;
    white-space: nowrap;
}

/* Celle */
.table.camere td {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  text-align: left;
}

/* Colonne camera: larghezza minima coerente per mantenere leggibilità */
.table.camere thead th:not(:first-child),
.table.camere tbody td:not(:first-child) {
  min-width: 120px;
  text-align: center; /* dati sì/no e numeri centrati */
}

/* Immagini check */
.table.camere td img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

/* Zebra rows + righe con classe .active evidenziate leggermente */
.table.camere tbody tr:nth-child(odd) td {
  background-color: #fafafa!important;
}
.table.camere tbody tr.active td {
  background: #fdf6f8; /* un filo rosato coerente col #BC1548 */
}
.table.camere tbody tr:hover td {
  background: #f7f7f7;
}

/* Link delle intestazioni (nomi camera) */
.table.camere thead th a {
  color: #BC1548;
  text-decoration: none;
  font-weight: 700;
}
.table.camere thead th a:hover {
  text-decoration: underline;
}

/* Pulsanti "Scopri" nelle celle finali */
.table.camere a.button,
.table.camere a.button-small {
  display: inline-block;
  padding: 10px 18px;
  background: #BC1548;
  color: #fff !important;
  text-decoration: none;
  border-radius: 0;
  font-weight: 700;
  transition: background .2s ease;
  white-space: nowrap;
}
.table.camere a.button:hover,
.table.camere a.button-small:hover {
  background: #a81340;
}
.table.camere .col_full { 
  margin: 0; 
}

/* Rimuovo gap extra nella riga dei bottoni (quella col <br>) */
.table.camere td:first-child br {
  display: none;
}

/* Ultima riga con bordo più marcato (se usi classi custom) */
.table.camere tr.tab-comp_ultimariga td {
  border-bottom: 2px solid #e9e9e9;
}

/* ========= Responsive ========= */
/* Tablet: un pochino più stretto il label colonna, più spazio alle camere */
@media (max-width: 992px) {
  .table.camere tbody td:first-child,
  .table.camere thead th:first-child {
    min-width: 180px;
    max-width: 200px;
  }
}

/* Mobile: scroller prevalente, padding più contenuti */
@media (max-width: 576px) {
  .table.camere {
    min-width: 720px; /* consente uno scroll più "umano" su device piccoli */
  }
  .table.camere thead th,
  .table.camere td {
    padding: 10px 12px;
  }
  .table.camere tbody td:first-child,
  .table.camere thead th:first-child {
    min-width: 160px;
    max-width: 180px;
  }
}

/* ========= Accessibilità visiva focus ========= */
.table.camere a:focus,
.table.camere button:focus,
.table.camere [href]:focus {
  outline: 2px solid #BC1548;
  outline-offset: 2px;
}

/* Piccolo fix per immagini “vuote” (cellule con &nbsp;) */
.table.camere td:empty::before {
  content: "—";
  color: #bbb;
}


.elementor-widget-container {
word-break: break-word;
}





  .gform_fields {
        position: relative;
        row-gap: 1rem!important;

      }
      label.gfield_label.gform-field-label {
        font-family: "DM Sans", Sans-serif!important;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 500;
        color: #BC1548;

}
#input_2_9,
#input_2_11,
#input_2_4,
#input_2_7,
#input_2_3,
    .gfield input[typr="text"],
      .gfield input[type="email"] {
        font-size: 18px !important;
        padding: 5px 10px;
        margin-bottom: 0;
        margin-top: 0;
        border: 1px solid #BC1548;
        background-color: #FFFFFF;
        font-weight: 400;
        font-family: "DM Sans", Sans-serif!important;
        outline: none;
        border-radius: 0px;
        display: block;
        height: 100%;
      }
 
      .gfield input:placeholder {
        font-family: "DM Sans", Sans-serif!important;
        font-weight: 400;
         font-size: 18px !important;
      }

      input[type="checkbox"] {
        margin-right: 10px;
        margin-top: 3px;
        position: relative;
        cursor: pointer;
        vertical-align: top;
}
       /* input[type="checkbox"]:before {
          content: "";
          position: absolute;
          width: 18px;
          height: 18px;
          border: 1px solid #002A48;
          top: -3px;
          left: -2px;
          background-color: #FFFFFF;
          border-radius: 0;
        }

        input[type="checkbox"]:after {
          display: none;
          content: "\2713";
          position: absolute;
          font-size: .9rem;
          line-height: .9rem;
          top: -2px;
          left: 1px;
          color: #002A48;
          font-weight: 700;
        }

        input[type="checkbox"]:checked:before {
            background-color: #C3F42C;
          }

          input[type="checkbox"]:checked:after {
            display: block;
          }*/
        
      

      input[type="submit"] {
        width: 100%!important;
        border: 1px solid #BC1548!important;
        padding: 20px!important;
        background-color: #BC1548!important;
        font-family: "DM Sans", Sans-serif!important;
        color: #fff!important;
        cursor: pointer!important;
        font-size: 18px !important;
        line-height: 1.2 !important;
        transition: all .2s linear;
        border-radius: 0px;
        position: relative;
        text-transform: uppercase!important;
    }


        input[type="submit"]:hover {
          color: #BC1548!important;
          background-color: #fff!important;
          transition: all .2s linear;
        }
      .gform-theme--framework .gfield--input-type-datepicker .ginput_container_date input {
    width:100%;
}


/*
*   13.0 Gallery
*/
.standard-gallery-wrapper {
    display: flex;
    flex-flow: column;
    gap: 50px;
    margin: 50px 0;
}

.standard-gallery-wrapper .gallery-filters {
    display: flex !important;
    flex-flow: row;
    flex-wrap: wrap;
    gap: 10px;
}

.standard-gallery-wrapper .gallery-filters button:not(:hover):not(:active):not(.has-background),
.standard-gallery-wrapper .gallery-filters button,
.standard-gallery-wrapper .gallery-filters button:active,
.standard-gallery-wrapper .gallery-filters button:focus,
.standard-gallery-wrapper .gallery-filters button:visited {
    margin: 0;
    background: transparent;
    color: #BC1548;
    border: 1px solid #BC1548!important;
    padding: 15px 30px!important;
}
@media only screen and (max-width:1024px){
    .standard-gallery-wrapper .gallery-filters button:not(:hover):not(:active):not(.has-background),
    .standard-gallery-wrapper .gallery-filters button,
    .standard-gallery-wrapper .gallery-filters button:active,
    .standard-gallery-wrapper .gallery-filters button:focus,
    .standard-gallery-wrapper .gallery-filters button:visited {
        padding: 10px 15px!important;
    }
}
.standard-gallery-wrapper .gallery-filters button.active:not(:hover):not(:active):not(.has-background),
.standard-gallery-wrapper .gallery-filters button.active,
.standard-gallery-wrapper .gallery-filters button:hover {
    background: #BC1548;
    color: #ffffff;
    border: 1px solid #BC1548!important;

}

.standard-gallery-wrapper .standard-gallery-wrapper-category:not(:last-of-type) {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(138, 147, 167, 0.3);
}

.standard-gallery-wrapper .standard-gallery-wrapper-category img {
    cursor: pointer;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-width: 480px;
    margin: 0 30px 0 0;
}

.standard-gallery-wrapper.gallery-container-image .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-height: 380px;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category .swiper-slide h3 {
    margin: 10px 0;
}

.standard-gallery-wrapper hr {
    background: #8A93A7;
    opacity: 0.3;
    width: 100%;
}

.standard-gallery-wrapper-category.image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: minmax(40px, 1fr);
    gap: 15px;
}

.standard-gallery-wrapper-category.image h2 {
    grid-column: 1/-1;
}

.standard-gallery-wrapper-category.image .single-image {
    position: relative;
    max-height: 300px;
    border-radius: 0px;
    overflow: hidden;
}

.standard-gallery-wrapper-category.image .single-image span.panorama-widget {
    position: absolute;
    z-index: 1;
    right: 1.5rem;
    top: 1.5rem;
    width: 4rem;
    height: 4rem;
    background-color: #BC1548;
    padding: 0.8rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.standard-gallery-wrapper-category.image .single-image span.panorama-widget:hover {
    background-color: var(--link-color-hover);
}

.standard-gallery-wrapper-category.image .single-image span.panorama-widget svg {
    fill: #ffffff;
}

.standard-gallery-wrapper-category.image .single-image:nth-of-type(1n+16) {
    display: none;
}

.standard-gallery-wrapper-category.image .single-image figure {
    margin: 0;
    height: 100%;
    width: 100%;
	border-radius: 0px;
}

.standard-gallery-wrapper-category.image .single-image figure img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    max-height: -webkit-fill-available;
}

.standard-gallery-wrapper-category.image span.description {
    position: absolute;
    right: 12px;
    left: auto;
    bottom: 12px;
    top: auto;
    z-index: 1;
    background: #BC1548;
    color: #ffffff;
    padding: 10px 12px;
    margin-left: 12px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 15px;
    line-height: 15px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    /*max-height: calc(100% - 25px);*/
    overflow-y: scroll;
}

.standard-gallery-wrapper-category.image span.description>i {
    font-size: 18px;
}

.standard-gallery-wrapper-category.image span.description.active>i {
    display: none;
}

.standard-gallery-wrapper-category.image span.description:not(.active)>span.text {
    display: none;
}


.standard-gallery-wrapper-category.image figure.cta img {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    z-index: 2;
}

.standard-gallery-wrapper-category.image figure figcaption {
    display: none;
}

.standard-gallery-wrapper-category.image .overlay-cta {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    z-index: 3;
    cursor: pointer;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    
}
.standard-gallery-wrapper-category.image .overlay-cta .fa-play-circle {
    font-size: 40px;
    line-height: 1;
}
.standard-gallery-wrapper-category.image .overlay-cta span {
    margin: auto;
    width: auto;
    padding: 10px 20px;
    text-align: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    background: #BC1548;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.standard-gallery-wrapper-category.image .overlay-cta:hover span {
    background: var(--link-color-hover);
}

.standard-gallery-wrapper-category.image .overlay-cta.overlay-cta-play {
    color: #fff;
    font-size: 7rem;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.lead-generation-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;

    background-image: url('/wp-content/uploads/2021/11/last-image-gallery-message.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.lead-generation-content-description {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 100px 50px;
}

.lead-generation-content-description .lead-generation-icon {
    font-size: 80px;
    margin-bottom: 40px;
    text-align: center;
}

.standard-gallery-wrapper-category.image figure.cta .overlay-cta a.btn::after {
    display: none !important;
    visibility: hidden !important;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide iframe {
    height: 300px !important;
    margin-bottom: 10px;
}

.rll-youtube-player .play {
    width: 100% !important;
}

.swiper-slide .video-rate i {
    font-size: 20px !important;
}

.swiper-slide>.video-title {
    font-weight: bold !important;
    font-size: 24px !important;
    line-height: 31px !important;
    color: #484B5C !important;
}

.standard-gallery-wrapper-category.enable-slide .swiper-button-prev,
.standard-gallery-wrapper-category.enable-slide .swiper-button-next {
    position: absolute;
    top: 50%;
    background: #fff;
    z-index: 1;
    margin: 0 !important;
}

.standard-gallery-wrapper-category.enable-slide .swiper-button-next {
    right: 0;
}

.standard-gallery-wrapper-category.enable-slide .swiper-button-prev {
    left: 0;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category {
    overflow: hidden;
    position: relative;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-width: 480px;
    margin: 0 30px 0 0;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide iframe {
    height: 300px !important;
    margin-bottom: 10px;
}

.standard-gallery-wrapper.gallery-container-image .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-height: 380px;
}

@media (max-width: 600px) {
    .standard-gallery-wrapper-category.image {
        gap: 5px !important;
        grid-template-columns: repeat(2, 1fr);
    }

    .standard-gallery-wrapper-category.image span.description {
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
        right: 5px;
        bottom: 5px;
    }

    .standard-gallery-wrapper-category.image span.description.active {
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin: 0;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-container-horizontal .swiper-slide {
        max-width: 290px;
        max-height: unset;
    }
}

.overlay-cta {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    z-index: 3;
    cursor: pointer;
}

.gallery-container-wrapper-category.image figure.cta .overlay-cta a.btn {
    margin: auto !important;
    width: fit-content !important;
}

.lead-generation-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;

    background-image: url('/wp-content/uploads/2021/11/last-image-gallery-message.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.lead-generation-content-description {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10rem 5rem;
}

.lead-generation-content-description .lead-generation-icon {
    font-size: 8rem;
    margin-bottom: 4rem;
    text-align: center;
}

.gallery-container-wrapper-category.image figure.cta .overlay-cta a.btn::after {
    /* margin-left: 0.5rem; */
    display: none !important;
    visibility: hidden !important;
}

.gallery-container-wrapper .gallery-container-wrapper-category.swiper-container-horizontal .swiper-slide iframe {
    height: 30rem !important;
    margin-bottom: 1rem;
}

.rll-youtube-player .play {
    width: 100% !important;
}

body button.pswp__button {
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
}

body button.pswp__button.pswp__button--close,
body button.pswp__button.pswp__button--zoom {
    margin: 0 20px 0 0 !important;
}

body .pswp__custom-caption {
    background-color: rgba(255, 255, 255, .9);
    width: 100%;
    max-width: 500px;
    padding: 2px 10px;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    color: #000;
    font-size: 14px;
    border-radius: 1px;
}

.pswp__360-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pswp__360-image-container iframe {
    background: #444;
    width: 100%;
    height: 100%;
    max-width: calc(100vw - 20rem);
    max-height: 100vh;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none !important;
}

.pswp__video-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pswp__video-container video {
    width: 100%;
    height: 100%;
    /*max-width: calc(100vw - 20rem);*/
    max-width: calc(100vw - 100px);
    max-height: 100vh;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.rotate-device {
    position: fixed;
    background-color: #000000;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
    color: #fff;
}

.rotate-device.show {
    display: flex;
}

.rotate-device .phone {
    height: 5rem;
    width: 10rem;
    border: 0.3rem solid white;
    border-radius: 1rem;
    animation: rotate-device 4s ease-in-out infinite;
}

.rotate-device a,
.rotate-device a:active,
.rotate-device a:focus,
.rotate-device a:visited,
.rotate-device a:hover {
    color: #fff;
    letter-spacing: normal;
    padding: 10px 30px;
}

@keyframes rotate-device {
    0% {
        transform: rotate(-90deg)
    }

    70% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}



/* new tutte le camere ajax */


/* ====== GRIGLIA 3/2/1 ====== */ 
#tutte-camere { --gap: 24px; }

#tutte-camere .wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

#tutte-camere .wrapper .card {
  max-width: none;
  height: 100%;
}

@media (max-width: 992px) {
  #tutte-camere .wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  #tutte-camere .wrapper {
    grid-template-columns: 1fr;
  }
}

/* ====== PAGINAZIONE NUMERATA ====== */
#tutte-camere .footer-pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tutte-camere .numbered-pagination {
  display: inline-flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
  justify-content: center;
}

#tutte-camere .numbered-pagination .page-item a,
#tutte-camere .numbered-pagination .page-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #BC1548;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
  line-height: 1;
}

#tutte-camere .numbered-pagination .page-item a.page-numbers {
  color: #BC1548;
  background: #fff;
}
#tutte-camere .numbered-pagination .page-item a.page-numbers:hover {
  background: #BC1548;
  color: #fff;
}

#tutte-camere .numbered-pagination .page-item span.page-numbers.current {
  background: #BC1548;
  color: #fff;
  border-color: #BC1548;
}

#tutte-camere .numbered-pagination .page-item span.page-numbers.dots {
  border-color: transparent;
  min-width: 24px;
  height: 40px;
  padding: 0 4px;
  color: #666;
}

#tutte-camere .numbered-pagination .page-item a:focus {
  outline: 2px solid #BC1548;
  outline-offset: 2px;
}

/* ====== STATO LOADING (AJAX) ====== */
#tutte-camere.is-loading .wrapper {
  position: relative;
  opacity: .6;
  pointer-events: none;
}
#tutte-camere.is-loading .wrapper::after {
  content: 'Caricamento…';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #BC1548;
  background: rgba(255,255,255,.6);
}
 /*header text mobile */
 @media screen and (max-width: 575px) {
    .header-contacts .elementor-button span.elementor-button-text{
        width: 45px;
        overflow: hidden;
        position: relative;
        text-align: center;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
 }
.wpml-ls-legacy-list-horizontal a span {
    vertical-align: middle;
    width: 50px;
    display: block;
}
