body {
  font-family: "museo-sans", sans-serif;
}
.container {
  width: 1180px;
}
.text-black,
.factory-black {
  color: #0a0a0a !important;
}
.text-white,
.gm-style .gm-iw {
  color: #f5f5f5 !important;
}
.bg-black {
  background-color: #0a0a0a !important;
}
.fw-900 {
  font-weight: 900;
}
main,
header {
  border-right: 5rem solid rgba(0, 0, 0, 0);
}
.factory-grey {
  color: #838383 !important;
}
a.factory-grey,
a.factory-black,
.menu_lat a {
  text-decoration: none;
}
.cnt-header {
  margin-left: 4rem;
}
.nav li {
  padding: 0rem 1.5rem;
}
.nav li:last-child {
  padding-right: 0px;
}
.nav li .cta {
  text-decoration: none;
  padding: 15px 20px;
}
.nav li .cta .fal {
  font-size: inherit;
}
.nav li a {
  font-size: 12px;
  position: relative;
  padding: 0px;
  font-weight: 600;
}
.underline {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  /* margin-left: 1rem; */
  height: 2px;
  background: #0a0a0a;
  transform: translateY(400%) scaleX(0.001);
  opacity: 0;
  transform-origin: 100% 50%;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1),
    opacity 0.1s linear 0.2s;
}
a:hover .underline {
  opacity: 1;
  transform: translateY(400%) scaleX(1);
  transform-origin: 0 50%;
  transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.1s linear;
}
#hero {
  height: 90rem;
  max-height: calc(100vh - 7rem);
  position: relative;
  padding: 0 !important;
}
#hero .cnt_img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#hero h1 {
  font-size: 3.6em;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
#cnt-hero {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}
#cnt-hero .descrizione {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
}
.menu_lat {
  position: fixed;
  transform: rotate(-0.25turn);
  top: 43%;
  right: -3.5rem;
  z-index: 10;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12rem;
}
.menu_lat a.active {
  display: block !important;
}
.griglia-professionisti {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-gap: 20px;
}
#trovacentro .cta-cnt .cta {
  padding: 1rem 2rem;
}
.cta-cnt .cta {
  text-decoration: none;
  opacity: 1;
  transition: 0.2s ease all;
  white-space: nowrap;
  display: block;
  padding: 2rem 2rem;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  min-width: 18rem;
}
.cta-cnt .cta.bg-black {
  min-width: 26rem;
}
#community .cta-cnt .cta {
  min-width: 100%;
}
.cta:hover {
  opacity: 0.9;
}
.cta:after {
  content: "";
  display: inline-block;
  height: 0.6rem;
  opacity: 0;
  transition: 0.2s ease all;
  width: 0;
  margin-left: 0;
  background-image: url("img/arrow-right-black.svg");
  background-size: 0.6rem 0.6rem;
  background-position: center;
}
.cta.bg-black:after {
  background-image: url("img/arrow-right-white.svg");
}
.cta:hover:after {
  opacity: 1;
  transition: 0.2s ease all;
  width: 0.6rem;
  margin-left: 0.6rem;
}
.swiper-button-next {
  position: relative;
  background-position: top left;
  background-size: 1.2rem;
  background-repeat: no-repeat;
  width: 2rem;
  height: 2rem;
  display: inline-block;
  opacity: 1;
  transition: 0.2s ease all;
  margin: 1.4rem 0rem 1rem 1rem;
  cursor: pointer;
  background-image: url("img/arrow-right-black.svg");
}
.swiper-button-prev {
  left: auto;
  position: relative;
  background-position: top left;
  background-size: 1.2rem;
  background-repeat: no-repeat;
  width: 2rem;
  height: 2rem;
  display: inline-block;
  opacity: 1;
  transition: 0.2s ease all;
  margin: 1.4rem 1rem 1rem 0rem;
  cursor: pointer;
  background-image: url("img/arrow-left-black.svg");
}
.swiper-button-next:after,
.swiper-button-prev:after {
  color: #fff;
  display: none;
}
.swiper-pagination-bullet-active {
  background-color: black;
}
.swiperVideo .swiper-slide {
  border-top: 3px solid #000;
}
.swiperCentro {
  width: 100%;
}
.swiperCentro .swiper-wrapper {
  width: 50%;
}
.swiperCentro .swiper-slide {
  text-align: center;
  width: auto;
}
.swiperCentro img {
  height: 398px;
  width: auto;
}
.close_popup {
  font-size: 2rem;
  position: absolute;
  right: 1rem;
  top: 0.3rem;
}
.cnt-footer {
  width: 1180px;
}
footer.footer .factory-spa-full-logo {
  background-image: url("img/logo-factoryspa.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
  height: 13rem;
}
.component-newsletter {
  position: relative;
  background-color: #0a0a0a;
  padding: 3px 0;
  height: 13rem;
}
.component-newsletter .inner-component .submit-container {
  height: 11rem;
  position: relative;
}
.component-newsletter .inner-component input[type="submit"] {
  background: none;
  border: 3px solid #fff;
  color: #fff;
  padding: 1rem 2rem;
}
.component-newsletter .inner-component:before,
.component-newsletter .inner-component:after {
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background-color: #fff;
}
.component-newsletter .inner-component:after {
  top: auto;
  bottom: 3px;
}
.component-newsletter .inner-component .nl-logo {
  height: 11rem;
  background-image: url("img/factoryspa-logo-only.svg");
  background-repeat: no-repeat;
  background-size: auto 9rem;
  background-position: left 3rem center;
}
.component-newsletter .inner-component .email-container {
  position: relative;
  height: 11rem;
  padding: 2rem;
}
.component-newsletter .inner-component .email-container .email,
.component-newsletter .inner-component .email-container [data-name="email"] {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 6rem);
  outline: none;
  padding: 2rem 0;
}
.component-newsletter .inner-component .email-container [data-name="privacy"] {
  color: #fff;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 6rem);
  outline: none;
  padding: 2rem 0;
}
.component-newsletter
  .inner-component
  .email-container
  [data-name="privacy"]
  span {
  font-size: 14px;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  content: " ";
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
#orarioSelect {
  border: none;
  background: none;
  border-bottom: 1px solid #f5f5f5;
  color: #f5f5f5;
  opacity: 0.9;
  width: 100%;
  border-radius: 0px;
}
input:focus-visible {
  outline: none;
}
select {
  padding-bottom: 3px;
}
label {
  display: none;
}
#orarioSelect {
  appearance: auto;
  padding-left: 7px;
  padding-bottom: 8px;
}
.form-control:focus,
#orarioSelect:focus {
  background-color: transparent;
  box-shadow: none;
  border-color: #f5f5f5;
  color: #f5f5f5;
}
#orarioSelect:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;
}
input::placeholder {
  color: #f5f5f5 !important;
}
.footer-menus {
  padding: 3rem 0;
  text-align: left;
}
.footer-menus .footer-links {
  list-style: none;
  padding: 0;
}
.footer-menus .footer-links li a,
.footer-menus p {
  font-size: 14px;
  text-decoration: none;
  color: #0a0a0a;
}
footer.footer .social-links a {
  font-size: 1.2rem;
  margin-right: 1rem;
  opacity: 1;
  transition: 0.2s ease all;
  color: #0a0a0a;
}
footer.footer .footer-made {
  margin-bottom: 2rem;
  font-size: 13px;
}
#map {
  height: 400px;
}
.gm-style .gm-style-iw-c {
  background-color: #0a0a0a;
  padding: 12px !important;
  box-shadow: none !important;
  border-radius: 0px !important;
  font-family: "museo-sans", sans-serif;
}
.gm-style .gm-style-iw-d {
  overflow: hidden !important;
}
.gm-style .gm-style-iw-tc::after {
  background: #0a0a0a;
}
.info_content a {
  background: #f5f5f5;
  color: #0a0a0a;
  text-decoration: none;
  padding: 10px;
  width: 100%;
  display: block;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1rem;
}
.gm-ui-hover-effect > span {
  background-color: #f5f5f5 !important;
}
.popup_contatto {
  background-color: #0a0a0a8f;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 30;
  padding: 3rem 12rem;
}
.cnt_popup {
  background-color: #0a0a0a;
  height: 100%;
  padding: 3rem;
  overflow-y: scroll;
}
#directions-panel p {
  color: #0a0a0a;
  margin: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid #dadada;
  padding: 20px;
}
div#directions-panel {
  background: #f5f5f5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, auto);
  grid-gap: 0px;
}
span.icon {
  font-size: 1.4rem;
  background: #0a0a0a;
  line-height: 0;
  border-radius: 50%;
  color: #f5f5f5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
span.icon i {
  line-height: 0;
}
span.duration {
  padding-top: 13px;
  display: flex;
}
span.duration strong {
  padding-left: 2px;
}
i.fal.fa-map-marker-alt {
  font-size: 16px;
}
#videoOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

#videoContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Stile del pulsante di chiusura */
#closeButton {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
@media screen and (min-width: 660px) {
  .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: flex-end;
  }
}
@media screen and (max-width: 660px) {
  div#directions-panel {
  }
  span.duration div {
    display: none;
  }
  main,
  header {
    border-right: 0px;
  }
  .cnt-header {
    margin-left: 0px;
  }
  #hero h1 {
    font-size: 34px;
  }
  #cnt-hero h1 br {
    display: none;
  }
  .container {
    width: 100%;
  }
  .cta-cnt .cta.bg-black {
    min-width: auto;
  }
  div#menu_lat,
  .factory-spa-full-logo {
    display: none;
  }
  .component-newsletter .inner-component .nl-logo {
    background-size: auto 4rem;
    background-position: center;
    height: 6rem;
  }
  .component-newsletter {
    height: 22rem;
  }
  .component-newsletter .inner-component .email-container {
    height: 10rem;
  }
  .component-newsletter .inner-component .submit-container {
    height: 2rem;
  }
  .component-newsletter
    .inner-component
    .email-container
    [data-name="privacy"]
    span {
    font-size: 12px;
  }
  .row.footer-menus {
    text-align: center;
  }
  #cnt-hero .descrizione {
    left: 15px !important;
    right: 15px;
  }
  .cta-cnt .cta {
    min-width: auto !important;
    padding: 1.5rem 0rem;
  }
  button.navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("img/hamburger-closed.svg");
    background-position: center center;
  }
  button.navbar-toggler .navbar-toggler-icon {
    background-image: url("img/hamburger-open.svg");
    background-position: center center;
  }
  .cntLogo {
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    position: absolute;
    top: 50%;
  }
  div#navbarTogglerDemo02 {
    top: 56px;
    position: absolute;
    height: calc(100vh - 56px);
    left: 0;
    z-index: 99999;
    background: #fff;
    width: 100%;
  }
  ul.nav.nav-pills.align-items-sm-center {
    height: calc(100vh - 56px);
    flex-direction: column;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  li.nav-item {
    padding: 23px 0px;
  }
  .nav li a {
    font-size: 14px;
  }
  .underline {
    display: none;
  }
  .dettaglio header h3 {
    font-size: 19px;
  }
}
