.universal-carousel.images-carousel {
  --uc-items: 1;
}

.universal-carousel.images-carousel .universal-carousel__track {
  gap: 0;
}

.images-carousel {
  max-width: 100%;
  position: relative;
  overflow-x: hidden;
}

.images-carousel__img {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate3d(-50%, -50%, 0) !important;
  height: 100%;
  width: 100%;
}

.images-carousel__img--cover {
  object-fit: cover;
}

.images-carousel__img--contain {
  object-fit: contain;
}

.images-carousel__img--wrapper {
  background-color: #edf2f9;
  overflow-y: hidden;
  padding-top: 66.6667%;
  position: relative;
}

@media (min-width: 800px) {
  #sliderOpImmagini.images-carousel {
    display: none;
  }
}
.images-grid {
  display: none;
  cursor: pointer;
}

.images-grid__inner {
  display: grid;
  gap: 5px;
  grid-template-columns: 555px 1fr;
  grid-template-rows: 1fr 1fr;
}

.images-grid__primary {
  grid-row: 1/3;
  grid-column: 1/2;
}

.images-grid__secondary {
  grid-column: 2/3;
  position: relative;
}

.images-grid__secondary-top {
  grid-row: 1/2;
}

.images-grid__secondary-bottom {
  grid-row: 2/3;
}

.images-grid__single {
  background-color: #edf2f9;
  border-radius: 10px;
  grid-row: 1/3;
  grid-column: 1/3;
  height: 100%;
  max-height: 370px;
  width: 100%;
}

.images-grid__primary--wrapper {
  background-color: #edf2f9;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow-y: hidden;
  padding-top: 66.6666666667%;
  position: relative;
}

.images-grid__secondary--wrapper {
  background-color: #edf2f9;
  padding-top: 182.5px;
  position: relative;
}

.images-grid__img {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate3d(-50%, -50%, 0) !important;
  height: 100%;
  width: 100%;
}

.images-grid__img--cover {
  object-fit: cover;
}

.images-grid__img--contain {
  object-fit: contain;
}

.images-grid__secondary-top .images-grid__secondary--wrapper, .images-grid__secondary-top .images-grid__img {
  border-top-right-radius: 10px;
}

.images-grid__secondary-bottom .images-grid__secondary--wrapper, .images-grid__secondary-bottom .images-grid__img {
  border-bottom-right-radius: 10px;
}

.images__img--action {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  flex-direction: column;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

.images__img--action::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

.images__img--action .icon {
  min-width: 30px;
  min-height: 30px;
}

.images__img--action-overlay, .images__img--action-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.images__img--action-overlay .icon, .images__img--action-btn .icon {
  filter: invert(99%) sepia(47%) saturate(2%) hue-rotate(75deg) brightness(106%) contrast(100%);
}

.images-single .images-grid__primary {
  background-color: #edf2f9;
  border-radius: 10px;
  grid-row: 1/3;
  grid-column: 1/3;
  position: relative;
  z-index: 1;
}

.images-single .images__img--action {
  padding: 5px;
  font-size: 14px;
  font-weight: 400;
  left: unset;
  top: unset;
  bottom: 10px;
  right: 10px;
  border-radius: 5px;
}

.images-single .images__img--action .icon {
  min-width: 20px;
  min-height: 20px;
}

@media (min-width: 800px) {
  .images-grid {
    display: block;
  }
  .images__img--action {
    border-bottom-right-radius: 10px;
  }
  .images__img--action::before {
    border-bottom-right-radius: 10px;
  }
  .images__img--action-btn {
    background-color: #edf2f9;
    border-bottom-right-radius: 10px;
    color: #4e7dc7;
  }
  .images__img--action-btn .icon {
    filter: invert(44%) sepia(48%) saturate(610%) hue-rotate(178deg) brightness(97%) contrast(91%);
  }
}
@media (min-width: 1110px) {
  .images-single .images__img--action {
    padding: 10px;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
  }
  .images-single .images__img--action .icon {
    filter: invert(99%) sepia(47%) saturate(2%) hue-rotate(75deg) brightness(106%) contrast(100%);
  }
  .images-single .images-grid__primary--wrapper {
    border-radius: 10px;
    padding-top: 370px;
    width: 100%;
  }
}
.photogallery-modal {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-width: 100%;
  padding: 0;
}
.photogallery-modal.poppy-modal-box {
  margin: 0;
}
.photogallery-modal .photogallery {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
}
.photogallery-modal .photogallery.universal-carousel {
  --uc-items: 1;
}
.photogallery-modal .photogallery .photogallery__track .photogallery__item {
  display: flex;
  height: calc(100vh - 50px - 40px - 60px - 70px);
  position: relative;
}
.photogallery-modal .photogallery .photogallery__track .photogallery__item img {
  height: 100%;
  margin: auto;
  object-fit: contain;
}
.photogallery-modal .photogallery .photogallery__track .photogallery__item iframe {
  border: none;
  height: 100%;
  width: 100%;
}
.photogallery-modal .photogallery .photogallery__track .photogallery__item--caption {
  bottom: 10px;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease-in-out;
  width: calc(100% - 20px);
  left: 50% !important;
  transform: translate3d(-50%, 0, 0) !important;
  max-width: 480px;
  margin-right: auto !important;
  margin-left: auto !important;
}
.photogallery-modal .photogallery .photogallery__track .photogallery__item--caption-inner {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  padding: 35px 20px 20px;
  position: relative;
}
.photogallery-modal .photogallery .photogallery__track .photogallery__item--caption-close-btn {
  position: absolute;
  right: 5px;
  top: 5px;
}
.photogallery-modal .photogallery .photogallery__track .photogallery__item--caption-visible {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.photogallery-modal .photogallery .photogallery__btn {
  position: fixed;
  top: calc(0.5 * (100vh - 70px - var(--uc-buttons-size) - 40px - 100px));
  transform: translateY(100%);
}
.photogallery-modal .photogallery .photogallery__thumbs {
  margin-bottom: 0;
}
.photogallery-modal .photogallery .photogallery__thumbs--video {
  background-color: #4e7dc7;
  border-radius: 4px;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.photogallery-modal .photogallery .photogallery__thumbs--video-btn {
  color: #ffffff;
  position: absolute;
  text-align: center;
  width: 100%;
  top: 50% !important;
  left: 50% !important;
  transform: translate3d(-50%, -50%, 0) !important;
}
.photogallery-modal .photogallery .photogallery__thumbs--video .icon {
  min-width: 20px;
  min-height: 20px;
  filter: invert(99%) sepia(47%) saturate(2%) hue-rotate(75deg) brightness(106%) contrast(100%);
}
.photogallery-modal .photogallery .photogallery__thumbs--video-text {
  margin-top: 5px;
}

@media (orientation: landscape) and (max-width: 989px) {
  .photogallery-modal .photogallery {
    flex-direction: row;
    gap: 10px;
    overflow: hidden;
    padding: 0 10px;
  }
  .photogallery-modal .photogallery .photogallery__track {
    border-radius: 10px;
    flex: 0 0 calc(100% - var(--uc-thumbs-size) - 10px);
    gap: 10px;
    height: calc(100vh - 70px - 40px);
  }
  .photogallery-modal .photogallery .photogallery__track .photogallery__item {
    height: calc(100vh - 70px - 40px);
  }
  .photogallery-modal .photogallery .photogallery__thumbs {
    flex: 0 0 var(--uc-thumbs-size);
    flex-direction: column;
    height: calc(100vh - 70px);
  }
  .photogallery-modal .photogallery .photogallery__counter {
    bottom: 0;
    left: 0;
    order: 2;
    padding: 0;
    position: absolute;
    width: calc(100% - var(--uc-thumbs-size));
  }
}
@media (orientation: landscape) and (min-width: 990px) {
  .photogallery-modal .photogallery .photogallery__track .photogallery__item {
    height: calc(100vh - 70px - 40px - 60px - 10px);
  }
  .photogallery-modal .photogallery .photogallery__track .photogallery__item img {
    border-radius: 10px;
    object-fit: scale-down;
  }
  .photogallery-modal .photogallery .photogallery__thumbs {
    padding: 0 0 10px;
  }
}
@media (min-width: 1110px) {
  .photogallery-modal .photogallery .photogallery__track {
    background: none;
  }
  .photogallery-modal .photogallery .photogallery__track .photogallery__item {
    height: calc(100vh - 70px - 40px - 100px);
  }
  .photogallery-modal .photogallery .photogallery__track .photogallery__item img {
    border-radius: 10px;
    object-fit: scale-down;
  }
  .photogallery-modal .photogallery .photogallery__track .photogallery__item iframe {
    border-radius: 10px;
  }
  .photogallery-modal .photogallery .photogallery__thumbs {
    padding: 0 20px 20px;
  }
}
@supports (height: 100dvh) {
  .photogallery-modal .photogallery .photogallery__btn {
    top: calc(0.5 * (100dvh - 70px - var(--uc-buttons-size) - 40px - 100px));
  }
  .photogallery-modal .photogallery .photogallery__track .photogallery__item {
    height: calc(100dvh - 50px - 40px - 60px - 70px);
  }
  @media (orientation: landscape) and (max-width: 989px) {
    .photogallery-modal .photogallery .photogallery__track .photogallery__item {
      height: calc(100dvh - 70px - 40px);
    }
    .photogallery-modal .photogallery .photogallery__thumbs {
      height: calc(100dvh - 70px);
    }
  }
  @media (orientation: landscape) and (min-width: 990px) {
    .photogallery-modal .photogallery .photogallery__track .photogallery__item {
      height: calc(100dvh - 70px - 40px - 60px - 10px);
    }
  }
  @media (min-width: 1110px) {
    .photogallery-modal .photogallery .photogallery__track .photogallery__item {
      height: calc(100dvh - 70px - 40px - 100px);
    }
  }
}
.photogallery-modal .poppy-modal-box__header {
  background-color: #ffffff;
  color: #4e7dc7;
}
.photogallery-modal .poppy-modal-box__header svg, .photogallery-modal .poppy-modal-box__header .poppy-modal__close:hover svg {
  stroke: #4e7dc7;
}
.photogallery-modal .poppy-modal-box__header .btn-container {
  display: none;
}
.photogallery-modal .poppy-modal-box__header + .poppy-modal-box__content {
  flex: 1;
  padding: 0;
}
@media (orientation: landscape) {
  .photogallery-modal .poppy-modal-box__headerContent {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 10px;
  }
  .photogallery-modal .poppy-modal-box__header {
    padding: 10px;
  }
  .photogallery-modal .poppy-modal-box__header .btn-container {
    display: block;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .photogallery-modal .poppy-modal-box__footer {
    display: none;
  }
}

.popup-alloggio .universal-carousel {
  --uc-items: 1;
}
.popup-alloggio .universal-carousel .universal-carousel__track {
  gap: 0;
}

#sezIntestazione .operator-reviews-rating {
  height: 50px;
  background-position-y: center;
}
#sezIntestazione .operator-reviews-rating > span {
  top: 16.5px;
}

.popup-premium.dp-calendar-popup .dp-header,
.popup-gratuiti.dp-calendar-popup .dp-header {
  top: 50px;
  padding-top: 20px;
}

@media (min-height: 800px) {
  .popup-premium.dp-calendar-popup .dp-header,
  .popup-gratuiti.dp-calendar-popup .dp-header {
    top: 0;
    padding-top: 10px;
  }
}
@media (min-width: 1110px) {
  .popup-premium.dp-calendar-popup .dp-header,
  .popup-gratuiti.dp-calendar-popup .dp-header {
    padding-top: 0;
  }
}
.popup-offerta .universal-carousel, .popup-evento .universal-carousel {
  --uc-items: 1;
}

.poppy-modal-box.popup-alloggio .poppy-modal-box__header.poppy-modal-box__header--sticky {
  z-index: 999999;
}

.popup-offerta.poppy-modal-box .poppy-modal-box__content, .popup-evento.poppy-modal-box .poppy-modal-box__content {
  padding: 15px 10px 40px;
}

@media (min-width: 990px) {
  .popup-offerta.poppy-modal-box .poppy-modal-box__content, .popup-evento.poppy-modal-box .poppy-modal-box__content {
    padding: 15px 20px;
  }
  .popup-offerta.poppy-modal-box, .popup-evento.poppy-modal-box, .popup-alloggio.poppy-modal-box {
    max-width: 791px;
  }
}
