:root {
  --primo: #008ECF;
  --secondo: #AC7B84;
  --terzo: #011638;
  --bianco: #FFFFFF;
  --nero: #292F36;
  --black: #000000;
  --grigio: #f2f2f2;
  --trasp: rgba(0, 0, 0, 0);
  --bianco-trasp: rgba(255, 255, 255, 0.95);
  --nero-trasp: rgba(0, 0, 0, 0.5);
  --nero-trasp-2: rgba(0, 0, 0, 0.3);
}

/*
font-family: "Roboto Condensed", sans-serif;
font-family: "Roboto Flex", sans-serif;
*/

html{
  scroll-padding-top:153px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}


body {
  font-family: "Roboto Flex", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8rem;
  color: var(--nero);
  margin: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Condensed", sans-serif;
}

a{
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

p strong{
  color: var(--primo);
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
    /* Opzionale: rimuove anche eventuali ombre blu su alcuni browser */
    box-shadow: none;
}

.bg-body {
    background-color: var(--bianco) !important;
}

#navbar-mobile{
  display: none;
}

.navbar{
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: var(--trasp);
  box-shadow: rgba(0, 0, 0, 0) 0px 1px 4px;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.fixed-header .navbar{
  background: var(--bianco-trasp);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.navbar-brand img{
  position: relative;
  max-height: 50px;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  filter: brightness(0) invert(1);
}

.fixed-header .navbar-brand img{
  filter: brightness(1) invert(0);
}

.banner-content p {
  width: 40%;
}

.site-header{
  position: fixed;
  width: 100%;
}

.prenavbar{
  position: relative;
  z-index: auto;
  background-color: var(--terzo);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.prenavbar ul.prenav{
  position: relative;
  z-index: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.prenavbar ul.prenav li{
  position: relative;
  z-index: auto;
  margin: 0;
  padding: 0 1rem;
}

.prenavbar ul.prenav li:last-child{
  padding: 0 0 0 1rem;
}

.prenavbar ul.prenav li a:link,
.prenavbar ul.prenav li a:visited{
  position: relative;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--bianco);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.prenavbar ul.prenav li a:hover,
.prenavbar ul.prenav li a.active{
  color: var(--primo);
}

.prenavbar ul.prenav li a::before{
  position: absolute;
  bottom:0;
  left: 0;
  content: "";
  width: 0%;
  height: 1px;
  background-color: var(--primo);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.prenavbar ul.prenav li a:hover::before,
.prenavbar ul.prenav li a.active::before{
  width: 100%;
}

.prenavbar ul.contatti-prehead{
  position: relative;
  z-index: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.prenavbar ul.contatti-prehead li{
  position: relative;
  z-index: auto;
  margin: 0;
  padding: 0 1rem;
}

.prenavbar ul.contatti-prehead li:first-child{
  padding: 0 1rem 0 0;
}

.prenavbar ul.contatti-prehead li a:link,
.prenavbar ul.contatti-prehead li a:visited{
  position: relative;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--bianco);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 300;
}

.prenavbar ul.contatti-prehead li a:hover{
  color: var(--primo);
}

.prenavbar ul.contatti-prehead li a::before{
  position: absolute;
  bottom:0;
  left: 0;
  content: "";
  width: 0%;
  height: 1px;
  background-color: var(--primo);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.prenavbar ul.contatti-prehead li a:hover::before{
  width: 100%;
}

.navbar ul{
  position: relative;
  z-index: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li{
  position: relative;
  z-index: auto;
  margin: 0;
  padding: 0 1rem;
}

.navbar ul li:last-child{
  padding: 0 0 0 1rem;
}

.navbar ul li a:link,
.navbar ul li a:visited{
  position: relative;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--bianco);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.fixed-header .navbar ul li a:link,
.fixed-header .navbar ul li a:visited{
  color: var(--terzo);
}

.navbar ul li a:hover,
.navbar ul li a.active{
  color: var(--primo);
}

.navbar ul.navbar-catalogo li a:hover,
.navbar ul.navbar-catalogo li a.active{
  color: var(--bianco);
}

.fixed-header .navbar ul.navbar-catalogo li a:hover,
.fixed-header .navbar ul.navbar-catalogo li a.active{
  color: var(--primo);
}

.navbar ul li a::before{
  position: absolute;
  bottom:0;
  left: 0;
  content: "";
  width: 0%;
  height: 1px;
  background-color: var(--primo);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.navbar ul.navbar-catalogo li a::before{
  background-color: var(--bianco);
}

.fixed-header .navbar ul.navbar-catalogo li a::before{
  background-color: var(--primo);
}

.navbar ul li a:hover::before,
.navbar ul li a.active::before{
  width: 100%;
}

@media (min-width: 992px) {
  .navbar-expand-lg .offcanvas-body {
    justify-content: flex-end;
  }
}


.slider-content{
  width: 100%!important;
}

/* HERO SLIDER */

.slider-hero{
  position: relative;
  z-index: auto;
  width: 100%;
  height: 100vh;
  background-color: var(--nero);
}

.slider-hero .owl-stage-outer{
  height: 100vh;
}

.slider-hero .owl-stage-outer .owl-item{
  position: relative;
  height: 100vh;
  display: block;
  overflow: hidden;
}

.slider-hero .owl-stage-outer .owl-item .item::before{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  background: #292F36;
  background: -webkit-linear-gradient(0deg, rgba(41, 47, 54, 0) 0%, rgba(41, 47, 54, 0.5) 75%, rgba(41, 47, 54, 0.5) 100%);
  background: -moz-linear-gradient(0deg, rgba(41, 47, 54, 0) 0%, rgba(41, 47, 54, 0.5) 75%, rgba(41, 47, 54, 0.5) 100%);
  background: linear-gradient(0deg, rgba(41, 47, 54, 0) 0%, rgba(41, 47, 54, 0.5) 75%, rgba(41, 47, 54, 0.5) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#292F36", endColorstr="#292F36", GradientType=0);
}

.slider-hero .owl-stage-outer .owl-item .item .img-sfondo-slider{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid{
  position: relative;
  z-index: 4;
  height: 100vh;
  padding: 0 0 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid h1,
.slider-hero .owl-stage-outer .owl-item .item .container-fluid h2{
  color: var(--bianco);
  font-weight: 700;
  font-size: 6rem;
  line-height: 6rem;
  margin-bottom: 4rem;
  text-align: left;
  transform: translateX(-2.5rem);
  transition: 1s;
  transition-delay: 0.2s;
  opacity: 0;
  width: calc(33% - 5rem);
  z-index: 4;
}

.slider-hero .owl-stage-outer .owl-item.active .item .container-fluid h1,
.slider-hero .owl-stage-outer .owl-item.active .item .container-fluid h2{
  transform: translateX(0rem);
  opacity: 1;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid p{
  position: relative;
  color: var(--bianco);
  margin-bottom: 4rem;
  font-size: 1.5rem;
  line-height: 2rem;
  transform: translateX(-2.5rem);
  transition: 1s;
  transition-delay: 0.4s;
  opacity: 0;
  z-index: 4;
  width: 50%;
}

.slider-hero .owl-stage-outer .owl-item.active .item .container-fluid p{
  transform: translateX(0rem);
  opacity: 1;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid .btn-wrap{
  transform: translateX(-2.5rem);
  transition: 1s;
  transition-delay: 0.6s;
  opacity: 0;
  z-index: 4;
}

.slider-hero .owl-stage-outer .owl-item.active .item .container-fluid .btn-wrap{
  transform: translateX(0rem);
  opacity: 1;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid .btn-wrap .cta{
  display: inline-block;
  position: relative;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 1px;
  color: var(--bianco);
  padding: 1rem 1.5rem;
  overflow: hidden;
  border: 1px solid var(--bianco);
  background-color: var(--trasp);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid .btn-wrap .cta:hover{
  border: 1px solid var(--primo);
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid .btn-wrap .cta strong{
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid .btn-wrap .cta::before{
  content: "";
  display: block;
  position: absolute;
  top:0;
  left: 0;
  width: 0%;
  height: 100%;
  z-index: 1;
  background-color: var(--bianco)
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.slider-hero .owl-stage-outer .owl-item .item .container-fluid .btn-wrap .cta:hover::before{
  width: 100%;
  background-color: var(--primo);
}

/*.owl-nav{
  position: absolute;
  bottom:2.5rem;
  right:2.5rem;
  display: flex;
  border: 2px solid var(--bianco);
}

.owl-nav .owl-prev,
.owl-nav .owl-next{
  position: relative;
  z-index: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.75rem;
  height: 3.75rem;
  font-size: 1.25rem;
  line-height: 1.25rem;
  color: var(--bianco);
  background-color: var(--trasp);
  border: 0.125rem solid var(--bianco);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover{
  background-color: var(--primo);
  border-color: var(--primo);
}

.owl-nav .owl-prev{
  border-right: 0.063rem solid var(--bianco);
}

.owl-nav .owl-next{
  border-left: 0.063rem solid var(--bianco);
}*/

.owl-dots{
  position: absolute;
  bottom:1rem;
  left: 0;
  padding: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.owl-dots .owl-dot{
  position: relative;
  margin: 0 1rem;
  border: 1px solid var(--bianco);
  height: 0.8rem;
  width: 3.2rem;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.owl-dots .owl-dot:hover,
.owl-dots .owl-dot.active{
  border: 1px solid var(--primo);
}

.owl-dots .owl-dot span{
  position: relative;
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--bianco);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.owl-dots .owl-dot:hover span,
.owl-dots .owl-dot.active span{
  width:100%;
  background-color: var(--primo);
}

/* FINE HERO SLIDER */

/* SEZIONE CHI SIAMO HOME */

.titolo_sezione_home{
  position: relative;
  z-index: auto;
  color: var(--primo);
  font-weight: 700;
  font-size: 5rem;
  line-height: 5rem;
  text-align: left;
  margin: 0 0 2rem 0;
  padding: 0;
}

.sottotitolo_sezione_home{
  position: relative;
  z-index: auto;
  color: var(--terzo);
  font-weight: 500;
  font-size: 2rem;
  line-height: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.titolino_sezione_home{
  position: relative;
  z-index: auto;
  color: var(--primo);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.cta{
  display: inline-block;
  position: relative;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 1px;
  color: var(--primo);
  padding: 1rem 1.5rem;
  overflow: hidden;
  border: 1px solid var(--primo);
  background-color: var(--trasp);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.cta:hover{
  color: var(--bianco);
}

.cta strong{
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.cta::before{
  content: "";
  display: block;
  position: absolute;
  top:0;
  left: 0;
  width: 0%;
  height: 100%;
  z-index: 1;
  background-color: var(--primo)
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.cta:hover::before{
  width: 100%;
  background-color: var(--primo);
}

.mini-cta{
  display: inline-block;
  position: relative;
  font-size: 0.8rem;
  line-height: 1.2rem;
  letter-spacing: 1px;
  color: var(--primo);
  padding: 0.5rem 0.8rem;
  overflow: hidden;
  border: 1px solid var(--primo);
  background-color: var(--trasp);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.mini-cta:hover{
  color: var(--bianco);
}

.mini-cta strong{
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.mini-cta::before{
  content: "";
  display: block;
  position: absolute;
  top:0;
  left: 0;
  width: 0%;
  height: 100%;
  z-index: 1;
  background-color: var(--primo)
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.mini-cta:hover::before{
  width: 100%;
  background-color: var(--primo);
}

.btn-wrap_section{
  margin-top: 2rem;
}

/* FINE SEZIONE CHI SIAMO HOME */

/* SERVIZI HOME */

.servizi-home{
  position: relative;
  background-color: var(--grigio);
}

.servizi-home h3{
  position: relative;
  z-index: auto;
  color: var(--primo);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4rem;
  margin:0;
  padding: 0;
  text-align: left;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.icon-box-icon{
  position: relative;
  margin-right: 1rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--primo);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.icon-box-icon i{
  position: relative;
  font-size: 2rem;
  line-height: 2rem;
  color: var(--primo);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.servizi-home a:hover .icon-box-icon{
  border: 1px solid var(--secondo);
}

.servizi-home a:hover .icon-box-icon i{
  color: var(--secondo);
}

.servizi-home a:hover h3{
  color: var(--secondo);
}

/* FINE SERVIZI HOME */

/* PROMOZIONI HOME */

.promozioni_home{
  position: relative;
  background-color: var(--grigio);
}

.product-card .image-overlay{
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

    &::after {
      display: block;
      content: "";
      clear: both;
    }
  }
}

h3.card-title a{
  position: relative;
  z-index: auto;
  color: var(--primo);
  font-weight: 500;
  font-size: 2rem;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

h3.card-title a:hover{
  color: var(--secondo);
}

.image-overlay h4{
  position: relative;
    z-index: auto;
    color: var(--primo);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.4rem;
    text-align: left;
}

.box-slide{
  width: 100%;
}

.image-overlay .text-content{
  width: 100%;
}

.image-overlay .text-content p{
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 1rem;
  color: var(--nero);
}

/* FINE PROMOZIONI HOME */

/* CATALOGO HOME */

.product-store{
  position: relative;
  background-color: var(--bianco);
}

.link_catalogo{
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.link_catalogo h3{
  position: relative;
  z-index: auto;
  color: var(--primo);
  font-weight: 500;
  font-size: 2rem;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.link_catalogo:hover h3{
  color: var(--secondo);
}

.link_catalogo p{
  font-size: 1rem;
  line-height: 1rem;
  color: var(--nero);
  text-transform: uppercase;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}
.link_catalogo:hover p{
  color: var(--secondo);
}

/* FINE CATALOGO HOME */


/* MAPPA */

.mappa{
  position:relative;
  margin: 0;
  padding: 0;
}

.mappa .container-fluid{
  max-width:100%;
}

#map{
  display: block;
  position: relative;
  width: 100%;
  height: 600px;
  z-index: 1;
}

.leaflet-tile-pane {
  -webkit-filter: grayscale(100%)!important;
  filter: grayscale(100%)!important;
}

/* FINE MAPPA */

/* CONTATTI HOME */

.contatti_home{
  position: relative;
  background-color: var(--grigio);
  border-top:3px solid var(--primo);
}

.box-contatti{
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--primo);
  text-align: center;
}

.box-contatti .icon-box-icon{
  margin: 0 auto 1rem auto;
}

.box-contatti a:link,
.box-contatti a:visited{
  position: relative;
  display: inline-block;
  color: var(--nero);
  font-size: 1.2rem;
  line-height: 1.2rem;
}

.box-contatti a:hover{
  color: var(--primo);
}

.box-contatti a::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--nero);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.box-contatti a:hover::before{
  width: 0%;
  background-color: var(--primo);
}

.form-contatti input,
.form-contatti textarea{
  position: relative;
  width: 100%;
  border: 0;
  background-color: var(--trasp);
  padding: 1rem;
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--nero);
  border-bottom: 1px solid var(--primo);
  margin-bottom: 1rem;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.form-contatti input:focus,
.form-contatti textarea:focus{
  border-bottom: 1px solid var(--secondo);
}

.form-contatti  input::placeholder,
.form-contatti textarea::placeholder{
  color: var(--nero);
  font-style: italic;
  font-size: 1rem;
}

.form-contatti button{
  display: inline-block;
  position: relative;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 1px;
  color: var(--primo);
  padding: 1rem 1.5rem;
  overflow: hidden;
  border: 1px solid var(--primo);
  background-color: var(--trasp);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.form-contatti button:hover{
  color: var(--bianco);
  background-color: var(--primo);
}

.form-contatti input[type="checkbox"] {
    width: 20px !important;
    float: left;
    display: inline-grid;
    margin-right: 20px;
    margin-top: -20px;
}

.form-contatti input[type="submit"] {
    display: block;
    width: auto;
    padding: 0px 50px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--primo);
    color: var(--primo);
}

.form-contatti input[type="submit"]:hover {
  background-color: var(--primo)!important;
  color: var(--bianco)!important;
}

/* FINE CONTATTI HOME */

/* GALLERY HOME */

.box-gallery{
  display: flex;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0!important;
  margin-bottom: 2rem!important;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

    &::after {
      display: block;
      content: "";
      clear: both;
    }
  }
}

.box-gallery img{
  height: 100%;
  width: auto!important;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.box-gallery:hover img{
  transform: scale(1.10);
}

.slider-foto{
  margin-bottom: 2rem;
}

.realizzazioni .owl-dots{
  position: absolute;
  bottom:-2.5rem;
}

.realizzazioni .owl-dots .owl-dot{
  border: 1px solid var(--primo);
}


.ngg-galleryoverview.default-view {
  text-align: left!important;
}

/* FINE GALLERY HOME */

/* FOOTER */

.footer{
  position: relative;
  background-color: var(--primo);
}

.footer p{
  position: relative;
  color: var(--bianco);
  font-size: 1rem;
  line-height: 1.5rem;
}

.footer .logo_footer{
  position: relative;
  max-width: 300px;
  filter: brightness(0) invert(1);
  padding-bottom: 3rem;
}

.footer h5{
  position: relative;
  z-index: auto;
  color: var(--bianco);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.footer a:link,
.footer a:visited{
  position: relative;
  display: inline-block;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--bianco);
}

.footer a:hover{
  color: var(--terzo);
}

.footer a::before{
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--bianco);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}


.footer a:hover::before{
  width: 0%;
  background-color: var(--terzo);
}

.footer #menu-footer-menu-01 li,
.footer #menu-footer-menu-02 li{
  padding-bottom: 0.5rem;
}
/* FINE FOOTER */

/* HEADER PAGINA */

.page_header{
  position: relative;
  z-index: auto;
  padding-top:12rem;
  padding-bottom: 6rem;
  background-position: center center;
  background-size: cover;
}

.page_header::before{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primo);
  opacity: 0.8;
}

.page_header h1{
  position: relative;
  z-index: auto;
  color: var(--bianco);
  font-weight: 700;
  font-size: 5rem;
  line-height: 5rem;
  text-align: left;
  margin: 0;
  padding: 0;
}

.background-grigio{
  position: relative;
  background-color: var(--grigio);
}
/* FINE HEADER PAGINA */

.yt-video {
    border: 1px solid var(--primo);
    padding: 1rem,
    width: 100%;
    aspect-ratio: 16 / 9;
}

.yt-video > iframe {
    display: block;
    width: 100%;
    height: 100%;
}

@supports not (aspect-ratio: 16 / 9) {
  .yt-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
  }
  .yt-video > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.display-header .icon-box-icon{
  margin-bottom: 2rem;
}

/* PAGINE PRODOTTI */

.box-gallery-pagina{
  display: flex;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0!important;
  margin-bottom: 2rem!important;
  aspect-ratio: 4/3;
    // Fallback
    @supports not (aspect-ratio: 4/3) {
    &::before {
      float: left;
      padding-top: 75%;
      content: "";
    }

    &::after {
      display: block;
      content: "";
      clear: both;
    }
  }
}

.box-gallery-pagina img{
  height: 100%;
  width: auto!important;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.box-gallery-pagina:hover img{
  transform: scale(1.10);
}

.marchi-trattati{
  padding-top: 0rem;
  padding-bottom: 2rem;
}

.marchi-trattati h4{
  margin: 0 1rem 0 0;
  padding: 0;
}

.marchi-trattati img{
  border: 1px solid var(--grigio);
  margin: 0 1rem 0 0;
}

/* FINE PAGINE PRODOTTI */

/* PAGINA PROMOZIONI */


p.nota-promo{
  font-size: 0.8rem;
  line-height: 1.2rem;
}

/* FINE PAGINA PROMOZIONI */

/* Reset layout NextGen */
.ngg-galleryoverview.default-view {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    text-align: left !important;
}

/* Ogni thumbnail */
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
    flex: 0 0 calc(16.666% - 10px) !important; /* 6 per riga su desktop */
    margin: 0 !important;
    padding: 0 !important;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box a,
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Responsive */
@media (max-width: 1199px) {
    .ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
        flex: 0 0 calc(25% - 10px) !important; /* 4 per riga */
    }
}

@media (max-width: 767px) {
    .ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
        flex: 0 0 calc(33.333% - 10px) !important; /* 3 per riga */
    }
}

@media (max-width: 479px) {
    .ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
        flex: 0 0 calc(50% - 10px) !important; /* 2 per riga */
    }
}

/* SILE MOBILE */

@media only screen and (max-height: 720px) {
}

@media only screen and (min-width: 1920px) {
}

@media only screen and (min-width: 1720px) {
}

@media only screen and (max-width: 1720px) {
  .slider-hero .owl-stage-outer .owl-item .item .container-fluid {
    padding: 0 2rem 5rem 2rem;
  }
}

@media only screen and (max-width: 1500px) {

}

@media only screen and (max-width: 1400px) {
}

@media only screen and (max-width: 1300px) {
}

@media only screen and (max-width: 1280px) {
}

@media only screen and (max-width: 1239px) {
}

@media only screen and (max-width: 1199px) {
  .navbar ul li{
    padding: 0 0.5rem;
  }
}

@media only screen and (max-width: 1043px) {
}

@media only screen and (max-width: 991px) {
  .prenavbar{
    display: none;
  }

  .navbar-toggler{
    width: 4rem;
    height: 3rem;
    border-radius: 0;
    align-items: center;
    justify-content: center;
  }

  .navbar-toggler span{
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--bianco);
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
  }

  .navbar-toggler span::before{
    content: "";
    position: absolute;
    top: -0.6rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--bianco);
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
  }

  .navbar-toggler:hover span::before{
    width: 60%;
  }

  .navbar-toggler span::after{
    content: "";
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--bianco);
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
  }

  .navbar-toggler:hover span::after{
    width: 80%;
  }

  .fixed-header .navbar-toggler span,
  .fixed-header .navbar-toggler span::before,
  .fixed-header .navbar-toggler span::after{
    background-color: var(--primo);
  }

  .btn-close{
    background: var(--trasp);
    border-radius: 0;
    width: 4rem;
    height: 3rem;
    opacity: 1;
    box-sizing: border-box;
  }

  .btn-close span{
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    background-color: var(--trasp);
  }

  .btn-close span::before{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primo);
    transform: rotate(45deg);
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
  }

  .btn-close span::after{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primo);
    transform: rotate(-45deg);
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
  }

  .btn-close:hover span::before{
    background-color: var(--secondo);
    transform: rotate(30deg);
  }

  .btn-close:hover span::after{
    background-color: var(--secondo);
    transform: rotate(-30deg);
  }

  .offcanvas-header .navbar-brand img{
    filter: brightness(1) invert(0);
  }

  .navbar ul li a:link,
  .navbar ul li a:visited {
    color: var(--nero);
  }

  #navbar{
    display: none;
  }

  #navbar-mobile{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem 0 0 1rem;
  }

  .dropdown-menu{
    display: none!important;
  }

  .dropdown-menu.show{
    display: flex!important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .navbar ul li{
    position: relative;
    z-index: auto;
    margin: 0;
    padding: 0;
  }

  .offcanvas.show .nav-item a.nav-link {
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 0;
    margin: 0 0 1.5rem 0;
  }

  .navbar ul li:last-child {
    padding: 0;
  }

  .dropdown-menu{
    border-radius: 0;
    border: 0px;
    background-color: var(--bianco);
    margin-bottom: 1rem!important;
    margin-top: 0!important;
    padding: 0 0 0 1rem!important;
  }

  .dropdown-item{
    padding: 0;
    margin: 0 0 0.5rem 0;
  }

  .dropdown-item:focus,
  .dropdown-item:hover {
    background-color: var(--trasp);
  }
  .navbar ul.navbar-catalogo li a:hover, .navbar ul.navbar-catalogo li a.active
  {
    color: var(--nero);
  }

  .image-overlay{
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 767px) {
  body {
    font-size: 1.1rem;
    line-height: 1.65rem;
  }
  .padding-large{
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .slider-hero .owl-stage-outer .owl-item .item::before{
    background: var(--nero-trasp-2);
  }

  .slider-hero .owl-stage-outer .owl-item .item .container-fluid h1,
  .slider-hero .owl-stage-outer .owl-item .item .container-fluid h2{
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 3rem;
    width: 75%;
  }

  .slider-hero .owl-stage-outer .owl-item .item .container-fluid p{
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.65rem;
    width: 75%;
  }

  .titolo_sezione_home{
    font-size: 3.5rem;
    line-height: 3.5rem;
    margin: 0 0 1.4rem 0;
  }

  .sottotitolo_sezione_home{
    font-size: 1.4rem;
    line-height: 1.4rem;
    margin-bottom: 1.4rem;
  }

  .titolino_sezione_home{
    font-size: 1.2rem;
    line-height: 1.2em;
  }

  .servizi-home h3{
    font-size: 1.3rem;
    line-height: 1.3rem;
  }

  .icon-box-icon{
    width: 3.5rem;
    height: 3.5rem;
  }

  .icon-box-icon i{
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .link_catalogo h3{
    font-size: 1.6rem;
    line-height: 1.6rem;
  }

  .link_catalogo p {
    font-size: 1rem;
    line-height: 1rem;
  }

  h3.card-title a{
    font-size: 1.6rem;
    line-height: 1.6rem;
  }

  .image-overlay h4{
    font-size: 1.4rem;
    line-height: 1.4rem;
  }

  .image-overlay .text-content p{
    font-size: 0.9rem;
    line-height: 1.35rem;
  }

  .marchi-trattati img{
    max-width: 150px;
  }

  .page_header{
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  .page_header h1{
    font-size: 3.5rem;
    line-height: 3.5rem;
  }
}

@media only screen and (max-width: 620px) {
}

@media only screen and (max-width: 575px) {
  body {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .p-5{
    padding: 1rem!important;
  }

  .navbar-brand img{
    max-height: 40px;
  }

  .slider-hero .owl-stage-outer .owl-item .item .container-fluid h1,
  .slider-hero .owl-stage-outer .owl-item .item .container-fluid h2{
    font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 2rem;
    width: 100%;
  }

  .slider-hero .owl-stage-outer .owl-item .item .container-fluid p{
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
    width: 100%;
  }

  .slider-hero .owl-stage-outer .owl-item .item .container-fluid .btn-wrap .cta{
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 0.8rem 1.2rem;
  }

  .titolo_sezione_home{
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin: 0 0 1rem 0;
  }

  .sottotitolo_sezione_home{
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin-bottom: 1rem;
  }

  .titolino_sezione_home{
    font-size: 1rem;
    line-height: 1em;
  }

  .cta{
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 0.8rem 1.2rem;
  }

  .servizi-home h3{
    font-size: 1.2rem;
    line-height: 1.2rem;
  }

  .icon-box-icon{
    width: 3rem;
    height: 3rem;
  }

  .icon-box-icon i{
    font-size: 1.4rem;
    line-height: 1.4rem;
  }

  .icon-box .icon-box-content {
    width: calc(100% - 4rem);
  }

  .link_catalogo h3{
    font-size: 1.4rem;
    line-height: 1.4rem;
  }

  .link_catalogo p {
    font-size: 0.8rem;
    line-height: 0.8rem;
  }

  h3.card-title a{
    font-size: 1.4rem;
    line-height: 1.4rem;
  }

  .image-overlay h4{
    font-size: 1.2rem;
    line-height: 1.2rem;
  }

  .image-overlay .text-content p{
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .form-contatti input,
  .form-contatti textarea{
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .form-contatti  input::placeholder,
  .form-contatti textarea::placeholder{
    color: var(--nero);
    font-style: italic;
    font-size: 0.8rem;
  }

  .form-contatti input[type="submit"] {
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 0.8rem 1.2rem!important;
    height: auto!important;
  }

  .box-contatti a:link,
  .box-contatti a:visited{
    font-size: 1rem;
    line-height: 1rem;
  }

  .footer p{
    font-size: 0.8rem;
    line-height: 1.2rem;
  }
  .footer h5{
    font-size: 1.2rem;
    line-height: 1.2rem;
  }

  .footer a:link,
  .footer a:visited{
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .footer .logo_footer{
    max-width: 200px;
    padding-bottom: 2rem;
  }
  .marchi-trattati img{
    max-width: 75px;
  }
  .page_header{
    padding-top:6rem;
    padding-bottom: 3rem;
  }
  .page_header h1{
    font-size: 2.5rem;
    line-height: 2.5rem;
  }
}

@media only screen and (max-width: 559px) {
}

@media only screen and (max-width: 479px) {
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {

}

@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
  and (orientation: landscape) {
}

/* FINE STILI MOBILE */
