:root {
  --brand: #0371a1;
  --secondary-color: #67c1e8;
}

html {
  scroll-behavior: smooth;
}

.otgs-development-site-front-end {
  display: none;
}

header.it-header-wrapper .it-brand-wrapper img {
  max-height: 140px;
  object-fit: contain;
}

.multimedia-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  row-gap: 32px;
}

.multimedia-container iframe {
  width: 100%;
  height: 450px;
}

section.sponsor {
  padding-bottom: 180px;
  display: block;
  padding-top: 80px;
}

.row-sponsor-image img {
  width: 100%;
  object-fit: contain;
  display: block;
}

.card-itinerario-type .excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

section.hero-img.inner-video.hero-single-header iframe {
  min-height: 540px;
  max-height: 600px;
  object-fit: cover;
  width: 100%;
}

.hero-single-header img {
  min-height: 300px !important;
  max-height: 600px !important;
  object-fit: cover !important;
  width: 100% !important;
}

.card-eventi-type .shadow.bg-white {
  min-width: 100%;
}

.card-eventi-type .excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

section.bg-section {
  padding-bottom: 80px !important;
}

section.hero-img.single-entry img {
  width: 100%;
  object-fit: cover;
  max-height: calc(100dvh - 128px);
  object-position: center center;
}

div#gallery img {
  height: 430px;
  width: 100%;
  object-fit: cover;
}

.hero-img.inner-video video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

p.file-title {
  word-break: break-word;
  overflow-wrap: break-word;
}

.modal.it-dialog-scrollable .modal-dialog {
  margin: 0 16px !important;
  overflow: hidden;
}

img.modal-img-slide {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 8px;
}

.slide-itinerario-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-body .splide__arrows {
  position: fixed !important;
  bottom: 60px;
  top: unset !important;
  z-index: 999 !important;
  width: calc(80px + 80px) !important;
  padding-left: 32px;
  padding-right: 16px;
  right: 10% !important;
  left: unset !important;
  display: flex !important;
  gap: 32px;
  flex-direction: column;
}

.splide__arrow[disabled] {
  opacity: 0.7;
  cursor: default; /* Optional: prevent pointer hover effect */
  pointer-events: none; /* Optional: fully disable click interaction */
}

.modal-body button.splide__arrow.splide__arrow--prev {
  left: unset !important;
}

.modal-body button.splide__arrow.splide__arrow--next {
  right: unset !important;
}

.modal.it-dialog-scrollable .modal-dialog .modal-content {
  height: calc(100vh - 80px);
}

.slider-modal-itinerario-cta {
  max-width: 300px !important;
  background-color: var(--brand-primary) !important;
}

.vjs-theme-bootstrap-italia .vjs-big-play-button {
  background-color: var(--brand-primary) !important;
}

div#modalItinerario .modal-dialog {
  left: 0;
  right: 0;
  margin: auto !important;
  min-width: 60vw;
}

div#modalItinerario {
  padding-top: 40px;
}

.modal-view-wrapper-cta {
  margin: 4rem 0 5rem 0;
}

.modal .modal-dialog .modal-content .modal-footer {
  padding: 0 !important;
  margin-top: 40px;
}

.close-modal-btn {
  background-color: var(--brand-primary) !important;
}

/* PRELOADER CSS */

.load-more-ajax-spinner {
  display: none;
  text-align: center;
  padding: 2rem;
}

.load-more-ajax-spinner .loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--brand-primary); /* Customize this color */
  border-radius: 50%;
  animation: load-more-spin 0.8s linear infinite;
}

@keyframes load-more-spin {
  to {
    transform: rotate(360deg);
  }
}

/* FINE PRELOADER CSS */

.info-template-container {
  padding-bottom: 180px;
}

.humburer-mnu .row .col-3 img {
  max-height: 48px;
}

.humburer-mnu .row .col-3 {
  border-right: #fff solid 1px;
  border-bottom: none !important;
}

div#virtualtour figcaption {
  position: static;
}

div#virtualtour figcaption a {
  line-height: normal;
}

.humburer-mnu .row .col-3:nth-of-type(-n + 4) {
  border-bottom: #fff solid 1px !important;
}

.qr-wrapper img {
  padding: 8px;
  object-fit: contain;
}

.pac-container {
  z-index: 9999;
}

div#usr_local .modal-body,
div#usr_local .modal-footer {
  padding: 24px !important;
  margin-top: 0;
}

div#usr_local .modal-body .form-group {
  margin-bottom: 32px;
}

div#usr_local .modal-body {
  padding-bottom: 0 !important;
}

div#usr_local .modal-body .form-wrapper {
  padding-top: 24px !important;
}

div#usr_local .form-group label.active {
  transform: translateY(-24px);
}

.info-template-container .grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.indirizzo-mobile-cta {
  margin-bottom: 20px;
}

.splide__arrows {
  display: none;
}

.it-carousel-wrapper .splide__arrows {
  display: block;
}

.separator-space {
  height: 90px;
}

.blue-box-common {
  height: 100%;
  flex: 1 1 auto;
}

.information-sec .blue-box-common a {
  color: var(--brand-primary) !important;
}

.bottom-section-servizi {
  padding-bottom: 120px !important;
}

section.box-sec {
  padding-bottom: 160px !important;
}

section.information-sec {
  padding-bottom: 120px;
}

p.logo-pay-off {
  font-size: 36px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 0;
}

@media screen and (max-width: 576px) {
  .information-sec .it-carousel-wrapper .splide__arrows {
    flex-direction: row;
    right: 0 !important;
    left: 0 !important;
    margin: auto;
  }

  div#usr_local .modal-dialog {
    margin: 24px;
  }

  img.modal-img-slide {
    height: 310px;
  }

  p.logo-pay-off {
    font-size: 22px;
    margin-top: 16px;
  }

  .multimedia-container {
    row-gap: 16px;
  }

  .multimedia-container iframe {
    width: 100%;
  }
}
