/*
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.1
*/

/*
*	  1.0 SETTINGS
*     1.1 Global Fonts
*     1.2 Design System
*   2.0 GALLERY
*     2.1 Caroselli
*   3.0 BOOKING FORM
*   4.0 404
*   5.0 CAMERE
*     5.1 Servizi
*     5.2 Camere correlate
*     5.3 Lista camere
*     5.4 Gallery camere
*   6.0 FOOTER
*     6.1 Newsletter
*   7.0 CONTATTI
*     7.1 Modulo di contatto
*/

/* 1.0 SETTINGS */

/* 1.1 Global Fonts */

h1, .h1, h1 p, .h1 p{
    font-size: clamp(2rem, 2.105vw + 1.474rem, 4rem) !important;
    line-height: clamp(3rem, 2.316vw + 2.421rem, 5.2rem);
    font-family: "Montserrat" !important;
}

h2, .h2, h2 p, .h2 p{
  font-size: clamp(1.5rem, 1.579vw + 1.105rem, 3rem) !important;
  line-height: clamp(2.25rem, 1.737vw + 1.816rem, 3.9rem);
  font-family: "Montserrat" !important;
}

h3, .h3, h3 p, .h3 p{
  font-size: clamp(1.125rem, 1.184vw + 0.829rem, 2.25rem) !important;
  line-height: clamp(1.688rem, 1.303vw + 1.362rem, 2.925rem);
  font-family: "Montserrat" !important;
}

h4, .h4, h4 p, .h4 p{
  font-size: clamp(1.063rem, 0.461vw + 0.947rem, 1.5rem) !;
  line-height: clamp(1.594rem, 0.375vw + 1.5rem, 1.95rem);
  font-family: "Montserrat" !important;
}

.par-l, .par-l p, .par-l a, .par-l span{
  font-size: clamp(1rem, 0.329vw + 0.918rem, 1.313rem);
  line-height: clamp(1.5rem, 0.217vw + 1.446rem, 1.706rem);
  font-family: "DM Sans" !important;
}

.par-r, .par-r p, .par-r a, .par-r span{
  font-size: clamp(0.938rem, 0.197vw + 0.888rem, 1.125rem);
  line-height: clamp(1.406rem, 0.059vw + 1.391rem, 1.463rem);
  font-family: "DM Sans" !important;
}

.par-s, .par-s p, .par-s a, .par-s span{
  font-size: clamp(0.875rem, 0.132vw + 0.842rem, 1rem);
  line-height: clamp(1.3rem, -0.013vw + 1.316rem, 1.313rem);
  font-family: "DM Sans" !important;
}

.par-xs, .par-xs p, .par-xs a, .par-xs span{
  font-size: clamp(0.813rem, 0.066vw + 0.796rem, 0.875rem);
  line-height: clamp(1.138rem, -0.086vw + 1.24rem, 1.219rem);
  font-family: "DM Sans" !important;
}

/* 1.2 Design System */

@media screen and (min-width: 1451px){
  .standard-row{
    padding-top:60px !important;
    padding-bottom:60px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .double-column-standard{
    column-gap: 150px;
  }
}

@media screen and (max-width: 1450px) and (min-width: 1201px){
  .standard-row{
    padding-top:60px !important;
    padding-bottom:60px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
  .double-column-standard{
    column-gap: 150px;
  }
}

@media screen and (max-width: 1200px) and (min-width: 1025px){
  .standard-row{
    padding-top:40px !important;
    padding-bottom:40px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
  .double-column-standard{
    column-gap: 100px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px){
  .standard-row{
    padding-top:40px !important;
    padding-bottom:40px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
  .double-column-standard{
    column-gap: 75px;
  }
}

@media screen and (max-width: 767px){
  .standard-row{
    padding-top:30px !important;
    padding-bottom:30px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
  .double-column-standard{
    row-gap: 50px;
  }
	.footer-menu-style {
		display: flex;
		align-items: center;
		margin-top: 20px;
	}
	.footer-menu-style li {
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
	}
}

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

/* 2.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: #264653;
  border: 1px solid #264653!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: #264653;
  color: #ffffff;
  border: 1px solid #264653!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: #264653;
  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: #264653;
  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: #264653;
  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)
  }
}

/* 3.0 BOOKING FORM */

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

/* 2.1 Caroselli */

.carosello-immagini img.swiper-slide-image {
  height: 650px !important;
  width: -webkit-fill-available;
  object-fit: cover;
}

@media only screen and (max-width: 760px){
  .carosello-immagini img.swiper-slide-image {
    height: 400px !important;
  }
}

/* 4.0 404 */

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

/* 5.0 CAMERE */

/* 5.1 Servizi */

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

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

/* 5.2 Camere correlate */

#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: #606c38;
    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;
}

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

/* 5.3 Lista 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 35px 0;
  color: #606C38;
}

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


#tutte-camere .card-content .btn-camere {
  background: #606C38;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: bold;
  align-self: flex-start;
  transition: background 0.2s;
  width: 100%;
  text-align: left;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  border: 1px solid;

}

#tutte-camere .card-content .btn-camere:hover {
  color: #606C38;
  background-color: #fff;
  border: 1px solid #606C38;
}

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

#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%;
    border-radius: 20px;
}

@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);
}

/* 5.4 Gallery camere */


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

/* 6.0 FOOTER */

.footer-menu-style li{
  display: flex !important;
  column-gap: 5px;
}

.footer-menu-style li::before{
  content: '>';
  color: #606c38;
  line-height: 1.5 !important;
}

/* 6.1 Newsletter */

.gform-theme--foundation .footer-newsletter .gform_fields{
  row-gap: 10px;
}

.footer-newsletter #gform_submit_button_1{
  background-color: #606C38;
  padding: 20px;
  border-radius: 0px;
}

.footer-newsletter #field_submit{
  justify-content: flex-end;
}

/* 7.0 CONTATTI */

/* 7.1 Modulo di contatto */

.modulo-contatto-contatti_wrapper .datepicker{
  width: -webkit-fill-available !important;
  color:black;
}

.modulo-contatto-contatti_wrapper input, .modulo-contatto-contatti_wrapper textarea{
  border: none !important;
  box-shadow: none !important;
  background: #EDEDED !important;
  color:black;
}


.modulo-contatto-contatti_wrapper input.gform_button.button{
  background-color: #606C38 !important;
  border-radius: 0px !important;
  font-family: 'DM Sans' !important;
  font-size: clamp(0.875rem, 0.132vw + 0.842rem, 1rem) !important;
  padding: 20px 15px 20px 15px !important;
}

.modulo-contatto-contatti_wrapper .gfield_label.gform-field-label{
  font-family: 'DM Sans' !important;
  font-size: clamp(0.875rem, 0.132vw + 0.842rem, 1rem) !important;
}


.link-img a {
    display: inline-block;
    width: 100%;
}

fieldset#field_1_2 {
    width: 290px !important;
}

#tutte-camere .numbered-pagination .page-item a.page-numbers {
    color: #606C38;
    background: #fff;
    border-color: #606C38;
}

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

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

#altre-camere .card-content .btn-camere {
    background: #606c38;
    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 #606c38;
}

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

#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 #606c38;
    background: #606c38;
    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;
}

.header-inside {
    height: 115px !important;
}

span.card-image-label {
    display: none !important;
}

p.iubenda-cs-preferences-link {
    margin: 0px;
}

@media(max-width: 768px) {
	.header-inside {
		height: unset !important;
	}
	.correlati-sfondo {
		background: #ffffffc2;
	}
  #leofusion input {
    max-width: -webkit-fill-available !important;
  }
}

div#headerBook {
    background-color: var(--e-global-color-e6db3e8);
    border-style: none;
    padding: 15px 65px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

div#headerBook .title {
    text-transform: uppercase;
    font-weight: 600;
    color: white;
    text-align: center;
}

a.openCloseBook {
    display: none;
}

#leofusion form {
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#leofusion button {
    background-color: var(--e-global-color-e6db3e8);
    border: none;
    color: white;
    font-weight: 500;
    text-transform: uppercase !important;
    font-size: 16px;
}

.single-camera .ev-services ul {
    list-style: none !important;
}

.single-camera .ev-services li {
    display: flex;
}

.single-camera .ev-services ul {
    list-style: none !important;
    padding: 0px;
}

.hero-image {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

h2.gform_submission_error.hide_summary {
    font-size: 12px !important;
}

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

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

.overlay-cta i {
    color: white !important;
}

.nav button:hover:after {
    color: var(--e-global-color-e6db3e8) !important;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    content: "";
    vertical-align: middle;
    display: inline-block;
    border: .35em solid transparent;
    border-top: .5em solid;
    position: absolute;
    right: 5px;
    top: calc(50% - .175em);
}

.slide-description p {
    color: black !important;
}

#tutte-camere.is-loading .wrapper::after {
    color: black;
}

span#psinformativa1 a {
    font-weight: 900;
}