@charset "utf-8";
/* FONT */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* VARIABILI */
:root {
  --primario: #ffb047;
  --secondario: #3F3F3F;
  --text: #1D1D1D;
}

html {
  height: 100%;
}

body {
  height: 100%;
  /*overflow: hidden;*/
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  background-color: #1D1D1D;
}

h1 {
  font-family: 'DM Serif Display', serif;
  color: white;
}

h2 {
  color: white;
}

#home h1 {
  font-size: 4em;
}

#home h2 {
  font-size: 2em;
}


a {
  color: var(--primario);
}

#home .sfondo-home {
  padding-top: 116px;
  background-image: url(/img/sfondo.jpg);
  background-size: cover;
}

#home .navbar-dark,
#catalogo .navbar-dark, #privacy-policy .navbar-dark{
  background-color: rgba(29, 29, 29, 1) !important;
  border-bottom: 1px solid var(--primario);
}

#necropoli .bg-dark {
  background-color: rgba(29, 29, 29, 0.8) !important;
  border-bottom: 1px solid var(--primario);
}

.offcanvas {
  background-color: rgba(29, 29, 29, 1) !important;
  --bs-offcanvas-padding-y: 0.8rem;
}

.offcanvas-header {
  border-bottom: 1px solid var(--primario);
}

.offcanvas-footer {
  border-top: 1px solid white;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}

.btn-primary {
  --bs-btn-color: var(--text);
  --bs-btn-bg: var(--primario);
  --bs-btn-border-color: var(--primario);
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: var(--secondario);
  --bs-btn-hover-border-color: var(--primario);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--secondario);
  --bs-btn-active-bg: var(--primario);
  --bs-btn-active-border-color: var(--primario);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
}

.btn-block {
  width: 100%;
  max-width: 500px;
  font-size: 1.5em;
}

.modal-content {
  background-color: rgba(29, 29, 29, 0.8) !important;
  border: 1px solid #ffb047 !important;
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

@media (min-width: 768px) {
  .scheda-box {
    background-color: rgba(29, 29, 29, 0.8) !important;
    border: 1px solid #ffb047 !important;
    border-radius: 30px;
    backdrop-filter: blur(5px);
  }
}

.catalogo-box {
  background-color: rgba(29, 29, 29, 0.8) !important;
  border-left: 1px solid #ffb047 !important;
  border-right: 1px solid #ffb047 !important;
  backdrop-filter: blur(5px);
  overflow: auto;
  max-height: calc(100vh - 302px);
}

.top-catologo-box {
  background-color: rgba(29, 29, 29, 0.8) !important;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  height: 30px;
  width: 100%;
  border: 1px solid var(--primario);
  border-bottom: 0;
}

.bottom-catologo-box {
  background-color: rgba(29, 29, 29, 0.8) !important;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  height: 30px;
  width: 100%;
  border: 1px solid var(--primario);
  border-top: 0;
}

.catalogo-box .border-bottom {
  border-bottom: 1px solid var(--primario) !important;
}


.catalogo-box .nav-link.active:not(.nav-link:last-child) {
  font-weight: 700;
  color: var(--text) !important;
  background-color: var(--primario);
  width: 100%;
}

.catalogo-box .nav-link:last-child.active {
  font-weight: 700;
  color: var(--text) !important;
  background-color: var(--primario);
  border-bottom: 0;
  width: 100%;
}

.catalogo-box .nav-link {
  color: white !important;
  width: 100%;
  line-height: 1em;
}

.catalogo-box .nav-link:hover {
  color: white !important;
  text-decoration: underline;
}


.modal-header {
  border-bottom: none !important;
}

.numerazione {
  color: var(--primario);
  font-family: 'DM Sans', sans-serif;
  font-size: 40px;
  font-weight: 400;
  padding-right: 14px;
}

.scheda {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 3px solid var(--primario);
}

@media (min-width: 768px) {
  .scheda {
    width: 35%;
  }

  .modal-body img {
    margin-top: 54px;
  }
}

.titolo {
  color: white;
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1em;
}

.descrizione {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  border-bottom: 3px solid var(--primario);
}

.titolo-dettaglio {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.5em;
}

.dettaglio {
  color: white;
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4em;
}

.btn-home {
  --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: 0;
  font-size: 24px;
  --bs-btn-border-color: var(--primario);
  color: white;
  border: none !important;
}

.navbar-toggler {
  /*border: var(--bs-border-width) solid var(--primario);*/
  border: none !important;
  color: white;
  padding: 5px 15px;
  font-size: 24px;
}


.catalogo-box {
  --sb-track-color: #3f3f3f;
  --sb-thumb-color: #ffb047;
  --sb-size: 5px;
}

.catalogo-box::-webkit-scrollbar {
  width: var(--sb-size);
}

.catalogo-box::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 5px;
}

.catalogo-box::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 5px;

}

@supports not selector(::-webkit-scrollbar) {
  .catalogo-box {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}


.modal,
.offcanvas {
  z-index: 9999 !important;
}

.modal-backdrop,
.offcanvas-backdrop {
  opacity: 1 !important;
  background-color: transparent;
  backdrop-filter: blur(5px);
  z-index: 9998 !important;
  ;
}

.giallo {
  color: var(--primario);
}

.active .giallo {
  color: var(--text);
}




/*.wr360_player .container .panning {
  display: block !important;
}*/

.navigazione .btn {
  border-radius: 15px;
  font-size: 25px;
  padding: 2px 12px;
}

#offcanvasTop .offcanvas-body {
  /* flex-grow: 1; */
  padding: 0;
  overflow-y: visible;
  background-color: #1d1d1d;
}

#offcanvasTop .offcanvas-body .catalogo-box {
  max-height: calc(100vh - 64px);
}

@media (max-width: 992px) {
  .pb-2.navigazione {
    padding-bottom: 25px !important;
  }
}

#pano {
  width: 100%;
  position: absolute;
  z-index: 1000;
}

.footer {
  background-color: rgba(29, 29, 29, 1) !important;
  border-top: 1px solid var(--primario);
}

@media (max-width: 768px) {
  .footer img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 575px) {
  #home .sfondo-home {
    height: calc(100dvh - 45px);
  }

  .footer {
    height: 45px;
  }

  .footer img {
    max-height: 43px !important;
  }

  #pano {
    height: calc(100dvh - 45px);
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  #home .sfondo-home {
    height: calc(100dvh - 60px);
  }

  .footer {
    height: 60px;
  }

  .footer img {
    max-height: 58px !important;
  }

  #pano {
    height: calc(100dvh - 60px);
  }
  
}

@media (min-width: 768px) {
  #home .sfondo-home {
    height: calc(100dvh - 82px);
  }

  .footer {
    height: 82px;
  }

  .footer img {
    max-height: 80px !important;
  }

  #pano {
    height: calc(100dvh - 82px);
  }
}

#necropoli .footer {
  position: absolute;
    bottom: 0;
}