/* COLORI */

:root {
 --primo: #4b702b;
 --secondo: #78a330;
 --terzo: #8ABF40;
 --quarto: #4A3219;
 --quinto: #3B1011;
 --nero: #031926;
 --bianco: #ffffff;
 --grigio: #f3f3f3;
 --trasp: rgba(0, 0, 0, 0);
 --bianco-trasp: rgba(255, 255, 255, 0.95);
}

/* FINE COLORI */

/* FONT */
/*font-family: "Montserrat", sans-serif;*/

html{
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: var(--nero);
}

p strong{
  font-weight: 600;
  color: var(--secondo);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

header {
  position: fixed;
  top: 0;
  z-index: 1001;
  width: 100%;
  height: var(--header-height);
  -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;
  background-color: var(--trasp);
}

.header-color header {
  background-color: var(--bianco-trasp);
  /*backdrop-filter: blur(10px);*/
}

.nav-active header {
  position: fixed;
}

.main-logo {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--trasp);
  padding: 1.25rem 0 1.25rem 2.5rem;
  margin-right: 0rem;
  transition: 0.5s all ease-out;
  width: 21.875rem;
  position: absolute;
  z-index: 1;
}

.main-logo a{
  position: relative;
  display: inline-block;
  height: 5rem;
  width: 19.375rem;
  font-size: 0.625rem;
  line-height: 0.625rem;
  background-image: url(../images/logo_w.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  text-indent: -9999px;
  -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;
}

.header-color header .main-logo a{
  background-image: url(../images/logo.png);
}

.side-nav-bar {
  position: absolute;
  z-index: 170;
  right: 0;
  top:0;
  margin: 2.5rem;
  display: block;
  width: 2.5rem;
}

.side-nav-bar .menu-btn {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    margin: 0;
    transition: 0.5s all ease-out;
}

.side-nav-bar input{
  margin-bottom: 0;
}

.side-nav-bar .menu-btn>span,
.side-nav-bar .menu-btn>span::before,
.side-nav-bar .menu-btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: 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;
    border-radius: 0.125rem;
}

.side-nav-bar .menu-btn>span::before {
  content: '';
  top: -0.625rem;
}

.side-nav-bar .menu-btn>span::after {
  content: '';
  top: 0.625rem;
}

.side-nav-bar .menu-btn:hover>span,
.side-nav-bar .menu-btn:hover>span::before,
.side-nav-bar .menu-btn:hover>span::after {
  background-color: var(--terzo);
}

.side-nav-bar #menu-toggle:checked~.menu-btn:hover>span:after,
.side-nav-bar #menu-toggle:checked~.menu-btn:hover>span:before{
  background-color: var(--terzo);
}

.header-color header .side-nav-bar .menu-btn>span,
.header-color header .side-nav-bar .menu-btn>span::before,
.header-color header .side-nav-bar .menu-btn>span::after{
  background-color: var(--quinto);
}

.header-color header .side-nav-bar .menu-btn:hover>span,
.header-color header .side-nav-bar .menu-btn:hover>span::before,
.header-color header .side-nav-bar .menu-btn:hover>span::after{
  background-color: var(--terzo);
}


.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: #031926;
  background: -webkit-linear-gradient(180deg, rgba(3, 25, 38, 0.75) 0%, rgba(3, 25, 38, 0) 35%, rgba(3, 25, 38, 0) 100%);
  background: -moz-linear-gradient(180deg, rgba(3, 25, 38, 0.75) 0%, rgba(3, 25, 38, 0) 35%, rgba(3, 25, 38, 0) 100%);
  background: linear-gradient(180deg, rgba(3, 25, 38, 0.75) 0%, rgba(3, 25, 38, 0) 35%, rgba(3, 25, 38, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#031926", endColorstr="#031926", 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::after{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  width: 0%;
  height: 100vh;
  z-index: 3;
  backdrop-filter: grayscale(100%);
  background: #8ABF40;
  background: -webkit-linear-gradient(180deg, rgba(138, 191, 64, 0.6) 0%, rgba(75, 112, 43, 0.9) 70%, rgba(75, 112, 43, 0.9) 100%);
  background: -moz-linear-gradient(180deg, rgba(138, 191, 64, 0.6) 0%, rgba(75, 112, 43, 0.9) 70%, rgba(75, 112, 43, 0.9) 100%);
  background: linear-gradient(180deg, rgba(138, 191, 64, 0.6) 0%, rgba(75, 112, 43, 0.9) 70%, rgba(75, 112, 43, 0.9) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8ABF40", endColorstr="#4B702B", GradientType=0);
  -webkit-transition: all 1s ease-out 1s;
  -moz-transition: all 1s ease-out 1s;
  -o-transition: all 1s ease-out 1s;
  transition: all 1s ease-out 1s;
}

.slider-hero .owl-stage-outer .owl-item.active .item::after{
  width: 40%;
}

.slider-hero .owl-stage-outer .owl-item .item .slide-container{
  position: absolute;
  left: 2.5rem;
  bottom: 2.5rem;
  width: calc(40% - 2.5rem);
  z-index: 4;
}

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

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

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

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

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

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

.slider-hero .owl-stage-outer .owl-item .item .slide-container .btn-wrap .cta{
  display: inline-block;
  position: relative;
  font-size: 1rem;
  line-height: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--bianco);
  padding: 1.5rem 2rem;
  overflow: hidden;
  border: 0.125rem solid var(--bianco);
  background-color: var(--trasp);
  -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;
}

.slider-hero .owl-stage-outer .owl-item .item .slide-container .btn-wrap .cta:hover{
  color: var(--primo);
  border: 0.125rem solid var(--bianco);
}

.slider-hero .owl-stage-outer .owl-item .item .slide-container .btn-wrap .cta span{
  position: relative;
  z-index: 2;
}

.slider-hero .owl-stage-outer .owl-item .item .slide-container .btn-wrap .cta::before{
  content: "";
  position: absolute;
  z-index: 1;
  background-color: var(--bianco);
  bottom:0;
  left: 0;
  width: 0;
  height: 0;
  transform: translate(-50%, 50%);
  border-radius: 100%;
  -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;
}

.slider-hero .owl-stage-outer .owl-item .item .slide-container .btn-wrap .cta:hover::before{
  width: 200%;
  height: 200%;
  border-radius: 0%;
}

.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);
}

/* FINE HERO SLIDER */

/* MENU */

.nav__content {
    position: fixed;
    visibility: hidden;
    top: 50%;
    margin-top: 0px;
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    width: 100%;
}

.nav-overlay:before,
.nav-overlay:after {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: var(--secondo);
  border-bottom-left-radius: 200%;
  z-index: -1;
  -webkit-transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  -webkit-transform: translateX(100%) translateY(-100%);
  transform: translateX(100%) translateY(-100%);
}

.nav-overlay:after {
  background: var(--primo);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.nav-overlay h3{
  position: relative;
  color: var(--bianco);
  font-weight: 300;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 2rem;
  margin-bottom: 2rem;
}

.nav-overlay p{
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: var(--bianco);
}

.nav-overlay ul li.menu-item{
  position: relative;
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: var(--bianco);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.nav-overlay ul li.menu-item i{
  color: var(--bianco);
}

.nav-overlay ul li.menu-item a:link,
.nav-overlay ul li.menu-item a:visited{
  position: relative;
  color: 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;
}

.nav-overlay ul li.menu-item a:hover{
  color: var(--terzo);
}

.nav-overlay ul li.menu-item a::before{
  content: "";
  position: absolute;
  bottom:-0.125rem;
  left: 0;
  width: 100%;
  background-color: var(--bianco);
  height: 0.125rem;
  border-radius: 0.063rem;
  -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;
}

.nav-overlay ul li.menu-item a:hover::before{
  width: 0%;
  background-color: var(--terzo);
}

.nav-overlay ul li.menu-item i{
  position: absolute;
  top:0;
  left: 0;
}

.nav__list-item a:link,
.nav__list-item a:visited{
  position: relative;
  z-index: auto;
  color: var(--bianco);
  font-size: 3.75rem;
  line-height: 3.75rem;
  text-transform: uppercase;
  font-weight: 300;
  padding: 0 0 0 1rem;
  -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;
}

.nav__list-item.active-nav a,
.nav__list-item a:hover{
  color: var(--terzo)
}

.nav__list-item a::after{
  height: 0%;
  opacity: 1;
  left: 0;
  top:0;
  width: 0.125rem!important;
  border-radius: 0.063rem;
  background-color: var(--terzo);
}

.nav__list-item a:hover::after,
.nav__list-item.active-nav a::after {
  height: 100%;
}
/* FINE MENU */

.cta{
  display: inline-block;
  position: relative;
  font-size: 1rem;
  line-height: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primo);
  padding: 1.5rem 2rem;
  overflow: hidden;
  border: 0.125rem solid var(--primo);
  background-color: var(--trasp);
  -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;
}

.cta:hover{
  color: var(--bianco);
  border: 0.125rem solid var(--terzo);
}

.cta span{
  position: relative;
  z-index: 2;
}

.cta::before{
  content: "";
  position: absolute;
  z-index: 1;
  background-color: var(--terzo);
  bottom:0;
  left: 0;
  width: 0;
  height: 0;
  transform: translate(-50%, 50%);
  border-radius: 100%;
  -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;
}

.cta:hover::before{
  width: 200%;
  height: 200%;
  border-radius: 0%;
}

.section-header .title{
  margin-bottom: 2rem;
}

.section-header .title span {
  font-size: 1.5rem;
  color: var(--secondo);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 2rem;
  position: relative;
  font-weight: 400;
}

.section-header span:before {
  content: "";
  border-bottom: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 2px;
  height: 100%;
  background-color: var(--secondo)
}

.section-title {
  font-size: 4rem;
  line-height: 1;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--primo);
  margin-bottom: 4rem;
}

.about{
  position:relative;
}

.about::before{
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 0;
  display: block;
  height: 90%;
  opacity: 0.2;
  z-index: -1;
  background-image: url(../images/sfondo_bianco.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

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

.servizi{
  position: relative;
  z-index: auto;
  background: #78A330;
  background: -webkit-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: -moz-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#78A330", endColorstr="#4B702B", GradientType=0);
}

.servizi .section-header .title span{
  color: var(--bianco);
}

.servizi .section-header span:before{
  background-color: var(--terzo);
}

.servizi h2.section-title{
  color: var(--bianco);
}

.servizi p{
  color: var(--bianco);
}

.servizi-item{
  position: relative;
  border-right: 2px solid var(--bianco);
  padding: 0;
  padding-left: 0;
  padding-right: 1rem;
  min-height: 34rem;
  height:auto !important;
  height: 34rem;
}

.servizi-item::before,
.servizi-item .serv-ico,
.restauro-item .serv-ico{
  content: "";
  display: block;
  position: absolute;
  bottom:0;
  right: 10%;
  width: 70%;
  opacity: 0.4;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

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

.servizi-item.servizio01::before{
  background-image: url(../images/ico_servizio_01.png);
}

.servizi-item.servizio02::before{
  background-image: url(../images/ico_servizio_02.png);
}

.servizi-item.servizio03::before{
  background-image: url(../images/ico_servizio_03.png);
}

.col-md-4:last-child .servizi-item{
  border-right: 0;
}

.servizi-item .number{
  position: relative;
  display: inline-block;
  font-size: 6rem;
  line-height: 6rem;
  color: var(--bianco);
  font-weight: 100;
  opacity: 0.4;
  margin-bottom: 2rem;
}

.servizi-item h3{
  position: relative;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--terzo);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2rem;
}


.restauro{
  position: relative;
  z-index: auto;
}

.restauro::before{
  content: "";
  position: absolute;
  left: 2rem;
  bottom: 0;
  display: block;
  height: 90%;
  opacity: 0.2;
  z-index: -1;
  background-image: url(../images/sfondo_bianco.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

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

/* BEFORE AFTER */

.prima-dopo h4{
  position: relative;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--quarto);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2rem;
}

#my-viewer{
  margin-bottom: 4rem;
}

/* FINE BEFORE AFTER */

.restauro-item{
  position: relative;
  border-right: 2px solid var(--terzo);
  padding: 0;
  padding-left: 0;
  padding-right: 1rem;
  min-height: 28rem;
  height:auto !important;
  height: 28rem;
}

.restauro-item::before{
  content: "";
  display: block;
  position: absolute;
  bottom:0;
  right: 10%;
  width: 70%;
  opacity: 0.4;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

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

.restauro-item.reastauro01::before{
  background-image: url(../images/ico_restauro_01.png);
}

.restauro-item.reastauro02::before{
  background-image: url(../images/ico_restauro_02.png);
}

.restauro-item.reastauro03::before{
  background-image: url(../images/ico_restauro_03.png);
}

.restauro-item.reastauro04::before{
  background-image: url(../images/ico_restauro_04.png);
}

.col-lg-3:last-child .restauro-item{
  border-right: 0;
}

.restauro-item .number{
  position: relative;
  display: inline-block;
  font-size: 6rem;
  line-height: 6rem;
  color: var(--terzo);
  font-weight: 100;
  opacity: 0.4;
  margin-bottom: 2rem;
}


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

.post-grid .prodotto-item figure {
  margin-bottom: 0;
}

.post-grid .prodotto-content {
  width: 100%;
  padding: 40px 30px;
  margin-bottom: 60px;
  box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 12%);
  -webkit-box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 12%);
  -moz-box-shadow: -7px 12px 41px -10px rgba(0, 0, 0, 0.12);
  background-color: var(--bianco)
}

.post-grid .prodotto-item .prodotto-title {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--terzo);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2rem;
}

.image-hvr-effect img.prodotto-image {
  transform: scale(1.1);
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.image-hvr-effect:hover img.prodotto-image {
  transform: scale(1);
}

@media only screen and (max-width: 850px) {
  .post-grid .prodotto-item .prodotto-image {
    width: 100%;
 }
}

.recensioni{
  position: relative;
  z-index: auto;
}

.recensioni::before{
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 0;
  display: block;
  height: 90%;
  opacity: 0.2;
  z-index: -1;
  background-image: url(../images/sfondo_bianco.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

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

.recensioni h4 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--secondo);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2rem;
}

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

.referenze-carousel .owl-nav .owl-prev,
.referenze-carousel .owl-nav .owl-next{
  position: relative;
  z-index: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1rem;
  line-height: 1rem;
  color: var(--quarto);
  background-color: var(--trasp);
  border: 0.125rem solid var(--quarto);
  -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;
}

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

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

.referenze-carousel .owl-nav .owl-next{
  border-left: 0.063rem solid var(--quarto);
}

.cont-star{
  position: relative;
  margin-bottom: 2rem;
}

.cont-star i{
  color: var(--primo);
  margin-right: 0.5rem;
}

.single-ref .cit{
  position: relative;
  padding: 0 2rem 3rem 3rem;
}

.single-ref .cit::before{
  content: "“";
  position: absolute;
  top:0;
  left: 0;
  color: var(--primo);
  font-weight: 900;
  font-size: 3rem;
  line-height: 3rem;
}

.single-ref .cit::after{
  content: "”";
  position: absolute;
  bottom:0;
  right: 0;
  color: var(--primo);
  font-weight: 900;
  font-size: 3rem;
  line-height: 3rem;
}

/* MAPPA */

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

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

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

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

/* FINE MAPPA */

.form-light input[type="text"],
.form-light input[type="tel"],
.form-light input[type="email"],
.form-light textarea {
  width: 100%;
  height: 3.375rem;
  color: var(--nero);
  font-style: italic;
  background: none;
  border: 1px solid var(--quarto);
  border-radius: 0;
  border-top:0;
  border-left:0;
  border-right:0;
  padding-left: 25px;
  margin-bottom: 20px;
}

.form-light textarea {
  height: 13.5rem;
}

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

label, legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 300;
  font-size: 0.8rem;
}

.right-content{
  position: relative;
  padding: 2rem;
  background-color: var(--bianco);
  box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 0%);
  -webkit-box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 0%);
  -moz-box-shadow: -7px 12px 41px -10px rgba(0, 0, 0, 0.0);
}

.right-content h4 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--secondo);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 0.2rem;
}

.iconbox i{
  margin-right: 1rem;
}

.iconbox a:link,
.iconbox a:visited{
  position: relative;
  color: var(--quarto);
  -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;
}

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

.iconbox a::before{
  content: "";
  position: absolute;
  bottom:-0.125rem;
  left: 0;
  width: 100%;
  background-color: var(--quarto);
  height: 0.125rem;
  border-radius: 0.063rem;
  -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;
}

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

.form-light button, .form-light input[type="submit"] {
    display: inline-block;
    position: relative;
    font-size: 1rem;
    line-height: 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--primo);
    padding: 1.5rem 2rem;
    overflow: hidden;
    border: 0.125rem solid var(--primo);
    background-color: var(--trasp);
    -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;
}

.form-light button:hover, .form-light input[type="submit"]:hover {
    color: var(--bianco);
    border: 0.125rem solid var(--terzo);
    background-color: var(--terzo);
}

.copyright p{
  font-size: 1rem;
  line-height: 1.2rem;
  color: var(--nero);
}

.social-links a:link,
.social-links a:visited{
  font-size: 2rem;
  color: var(--primo);
  -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;
}

.social-links a:hover{
  color: var(--terzo)!important;
}

.footer h5 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primo);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 1rem;
}

.menu-item i{
  color: var(--primo);
  margin-right: 0.5rem;
}

.footer-menu .menu-list li.menu-item {
    margin-bottom: 1rem;
}

.footer-menu .menu-item a:link,
.footer-menu .menu-item a:visited{
  position: relative;
  color: var(--quarto);
  text-transform: none;
  -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;
}

.footer-menu .menu-item a:hover{
  padding-left:0;
  color: var(--terzo);
}

.footer-menu .menu-item a:before {
  content: "";
  border-bottom: 2px solid var(--accent-color);
  position: absolute;
  top: 12px;
  left: 3px;
  width: 14px;
  align-items: center;
}

.footer-menu .menu-item a:before{
  content: "";
  position: absolute;
  bottom:-0.125rem!important;
  top:auto;
  left: 0;
  width: 100%;
  background-color: var(--quarto);
  border: 0;
  height: 0.125rem;
  border-radius: 0.063rem;
  -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;
}

.footer-menu .menu-item a:hover:before{
  width: 0%;
  top:auto;
  background-color: var(--terzo);
  left: 0!important;
}

.copyright a:link,
.copyright a:visited{
  position: relative;
  color: var(--quarto);
  text-transform: none;
  -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;
}

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

.copyright a:before{
  content: "";
  position: absolute;
  bottom:-0.125rem!important;
  top:auto;
  left: 0;
  width: 100%;
  background-color: var(--quarto);
  border: 0;
  height: 0.125rem;
  border-radius: 0.063rem;
  -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;
}

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


/* PAGINA INTERNA */

.testata{
  position: relative;
  background: #78A330;
  background: -webkit-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: -moz-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#78A330", endColorstr="#4B702B", GradientType=0);
}

.testata h1{
  color: var(--bianco);
  font-weight: 100;
  font-size: 6rem;
  line-height: 6rem;
  margin-top: 8rem;
  margin-bottom: 4rem;
  text-align: left;
  text-transform: uppercase;
}

.landing h1{
  font-size: 3rem;
  line-height: 3rem;
}

.azienda_01{
  position:relative;
}

.azienda_01::before{
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 0;
  display: block;
  height: 90%;
  opacity: 0.2;
  z-index: -1;
  background-image: url(../images/sfondo_bianco.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

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

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

h6.firma{
  position: relative;
  margin: 0 0 2rem 0;
  font-size: 1.2rem;
  line-height: 1.2rem;
  text-align: right;
  font-weight: 400;
  font-style: italic;
  color: var(--quarto);
}

.cta_contatti{
  position: relative;
  padding: 4rem 0;
  text-align: center;
  background: #78A330;
  background: -webkit-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: -moz-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#78A330", endColorstr="#4B702B", GradientType=0);
}

.cta_contatti h3{
  color: var(--bianco);
  font-size: 4rem;
    line-height: 1;
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.cta_contatti p{
  color: var(--bianco);
}

.cta_contatti .btn-wrap .cta{
  display: inline-block;
  position: relative;
  font-size: 1rem;
  line-height: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--bianco);
  padding: 1.5rem 2rem;
  overflow: hidden;
  border: 0.125rem solid var(--bianco);
  background-color: var(--trasp);
  -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;
}

.cta_contatti .btn-wrap .cta:hover{
  color: var(--primo);
  border: 0.125rem solid var(--bianco);
}

.cta_contatti .btn-wrap .cta span{
  position: relative;
  z-index: 2;
}

.cta_contatti .btn-wrap .cta::before{
  content: "";
  position: absolute;
  z-index: 1;
  background-color: var(--bianco);
  bottom:0;
  left: 0;
  width: 0;
  height: 0;
  transform: translate(-50%, 50%);
  border-radius: 100%;
  -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;
}

.cta_contatti .btn-wrap .cta:hover::before{
  width: 200%;
  height: 200%;
  border-radius: 0%;
}



/* CONTATTI HEADER */

.contatti-header{
  position: absolute;
  top:40px;
  right: 110px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contatti-header li{
  position: relative;
  margin: 0;
}

.contatti-header li a:link,
.contatti-header li a:visited{
  position: relative;
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  color: var(--bianco);
  background-color: var(--trasp);
  font-size: 1.2rem;
  line-height: calc(2.5rem - 2px);
  border: 2px solid var(--bianco);
  margin: 0 0.4rem 0 0.4rem;
  -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;
}

.contatti-header li a:hover{
  background-color: var(--primo);
  border: 2px solid var(--primo);
}

.contatti-header li a.cta_preventivo:link,
.contatti-header li a.cta_preventivo:visited{
  position: relative;
  display: block;
  width: auto;
  height: 2.5rem;
  text-align: center;
  color: var(--bianco);
  background-color: var(--primo);
  font-size: 0.6rem;
  line-height: calc(2.5rem - 2px);
  border: 2px solid var(--primo);
  margin: 0 0.4rem 0 0.4rem;
  padding: 0 1rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  -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;
}

.contatti-header li a.cta_preventivo:hover{
  background-color: var(--secondo);
  border: 2px solid var(--secondo);
}

.header-color .contatti-header li a:link,
.header-color .contatti-header li a:visited{
  color: var(--quarto);
  border: 2px solid var(--quarto);
}

.header-color .contatti-header li a:hover{
  color: var(--bianco);
  border: 2px solid var(--terzo);
  background-color: var(--terzo);
}

.header-color .contatti-header li a.cta_preventivo:link,
.header-color .contatti-header li a.cta_preventivo:visited{
  color: var(--bianco);
  border: 2px solid var(--primo);
}

.header-color .contatti-header li a.cta_preventivo:hover{
  color: var(--bianco);
  border: 2px solid var(--secondo);
  background-color: var(--secondo);
}

/* FINE CONTATTI HEADER */

/* RESTAURO */

.restauro_01{
  position:relative;
}

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

.restauro_03{
  position:relative;
}

.restauro_03 h3{
  position: relative;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--terzo);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2rem;
}

.box-restauro{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
  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-restauro::after{
  content: "\f27b";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  position: absolute;
  font-size: 6rem;
  line-height: 6rem;
  color: var(--terzo);
  z-index: 3;
}

.box-restauro.box-restauro-01::after,
.box-restauro.box-restauro-05::after{
  top:calc(50% - 3rem);
  right: 0;
  -webkit-animation: slide-right 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
	        animation: slide-right 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
}

.box-restauro.box-restauro-02::after,
.box-restauro.box-restauro-06::after{
  bottom:0;
  right: calc(50% - 3rem);
  -webkit-animation: slide-bottom 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
	        animation: slide-bottom 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
}

.box-restauro.box-restauro-03::after,
.box-restauro.box-restauro-07::after{
  top:calc(50% - 3rem);
  left: 0;
  -webkit-animation: slide-left 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
	        animation: slide-left 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
}

.box-restauro.box-restauro-04::after{
  bottom:0;
  left: calc(50% - 3rem);
  -webkit-animation: slide-bottom 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
	        animation: slide-bottom 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
}

.box-restauro.box-restauro-08::after{
  display: none;
}

@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(60px);
            transform: translateX(60px);
  }
}
@keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(60px);
            transform: translateX(60px);
  }
}

@-webkit-keyframes slide-left {
  0% {
    -webkit-transform: translateX(0) rotate(180deg);
            transform: translateX(0) rotate(180deg);
  }
  100% {
    -webkit-transform: translateX(-60px) rotate(180deg);
            transform: translateX(-60px) rotate(180deg);
  }
}
@keyframes slide-left {
  0% {
    -webkit-transform: translateX(0) rotate(180deg);
            transform: translateX(0) rotate(180deg);
  }
  100% {
    -webkit-transform: translateX(-60px) rotate(180deg);
            transform: translateX(-60px) rotate(180deg);
  }
}

@-webkit-keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0) rotate(90deg);
            transform: translateY(0) rotate(90deg);
  }
  100% {
    -webkit-transform: translateY(60px) rotate(90deg);
            transform: translateY(60px) rotate(90deg);
  }
}
@keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0) rotate(90deg);
            transform: translateY(0) rotate(90deg);
  }
  100% {
    -webkit-transform: translateY(60px) rotate(90deg);
            transform: translateY(60px) rotate(90deg);
  }
}

.box-restauro .didascalia-box-restauro_cornice{
  position: absolute;
  top:0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro{
  position: absolute;
  left: 0;
  top: calc(100% - 160px);
  width: 100%;
  padding: 2rem;
  background: #78A330;
  background: -webkit-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: -moz-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#78A330", endColorstr="#4B702B", GradientType=0);
  min-height: 340px;
  height:auto !important;
  height: 340px;
  -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-restauro:hover .didascalia-box-restauro_cornice .didascalia-box-restauro{
  top:calc(100% - 340px)
}

.box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro .number {
    position: relative;
    display: inline-block;
    font-size: 3rem;
    line-height: 3rem;
    color: var(--bianco);
    font-weight: 100;
    opacity: 0.4;
    margin-bottom: 1rem;
}

.box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro h3 {
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--terzo);
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 1rem;
}

.box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro p{
  color: var(--bianco);
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  -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;
  opacity: 0;
}

.box-restauro:hover .didascalia-box-restauro_cornice .didascalia-box-restauro p{
  opacity: 1;
}

.box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro img{
  position: relative;
  width: 100%;
}

/* FINE RESTAURO */

/* PAGINA CONTATTI */

.contatti-pagina{
  position: relative;
  background-color: var(--bianco);
}

.right-content-pagina{
  position: relative;
  padding: 2rem;
  background-color: var(--grigio);
  box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 0%);
  -webkit-box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 0%);
  -moz-box-shadow: -7px 12px 41px -10px rgba(0, 0, 0, 0.0);
}

.right-content-pagina h4 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--secondo);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 0.2rem;
}
/* FINE PAGINA CONTATTI */

/* PAGINE PRODOTTI */

.prodotti_01{
  position:relative;
}

.prodotti_01::before{
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 0;
  display: block;
  height: 90%;
  opacity: 0.2;
  z-index: -1;
  background-image: url(../images/sfondo_bianco.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
    // Fallback
    @supports not (aspect-ratio: 1/1) {
    &::before {
      float: left;
      padding-top: 100%;
      content: "";
    }

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

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

.box-prodotti{
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.box-prodotti .didascalia-box-prodotti{
  position: relative;
  width: 100%;
  padding: 2rem;
  min-height: 380px;
  height:auto !important;
  height: 380px;
  background: #78A330;
  background: -webkit-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: -moz-linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  background: linear-gradient(180deg, rgba(120, 163, 48, 1) 1%, rgba(75, 112, 43, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#78A330", endColorstr="#4B702B", GradientType=0);
}

.box-prodotti .didascalia-box-prodotti h3 {
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--terzo);
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 2rem;
}

.box-prodotti .didascalia-box-prodotti p{
  color: var(--bianco);
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 2rem;
}

.titolo-pagina{
  font-size: 4rem;
  line-height: 1;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--primo);
  margin-bottom: 4rem;
}

.bg-grey{
  background-color: var(--grigio);
}

.gallery{
  position: relative;
}

.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{
  width: 100%;
  -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.05);
  opacity: 0.7;
}

/* FINE PAGINE PRODOTTI */

.blocco-1, .blocco-3, .blocco-5, .blocco-7 {
  position: relative;
  background-color: var(--bianco)!important;
}

.blocco-2, .blocco-4, .blocco-6, .blocco-8 {
  position: relative;
  background-color: var(--grigio)!important;
}

.blocco-3 h3 {
    color: var(--terzo);
}










/* STILI PER MOBILE */
@media only screen and (min-width: 1920px) {
}

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

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

@media only screen and (max-width: 1500px) {
  .slider-hero .owl-stage-outer .owl-item.active .item::after{
    width: 50%;
  }
}

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

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

@media only screen and (max-width: 1280px) {
  .slider-hero .owl-stage-outer .owl-item .item .slide-container h1,
  .slider-hero .owl-stage-outer .owl-item .item .slide-container h2{
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 3rem;
  }
  .slider-hero .owl-stage-outer .owl-item .item .slide-container p{
    margin-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
  .testata h1 {
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 3rem;
  }
  .nav__list-item a:link,
  .nav__list-item a:visited{
    font-size: 3rem;
    line-height: 3rem;
  }

  .nav-overlay ul li.menu-item{
    margin-bottom: 1rem;
  }


}

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

@media only screen and (max-width: 1199px) {
  .nav__list-item a:link,
  .nav__list-item a:visited {
    font-size: 2.2rem;
    line-height: 2.2rem;
  }
  .nav-overlay h3 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  .nav-overlay p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--bianco);
  }
  .nav-overlay ul li.menu-item {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

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

@media only screen and (max-width: 991px) {
  .slider-hero .owl-stage-outer .owl-item .item::after{
    top:auto;
    bottom:0;
    left: 0;
    width: 100%;
    height: 0vh;
  }

  .slider-hero .owl-stage-outer .owl-item.active .item::after{
    height: 50vh;
    width: 100%;
  }

  .slider-hero .owl-stage-outer .owl-item .item .slide-container{
    position: absolute;
    left: 2.5rem;
    bottom: 2.5rem;
    width: calc(100% - 2.5rem);
    z-index: 4;
  }
}

@media only screen and (max-width: 767px) {
  .nav__list{
    margin-bottom: 2rem;
  }

  .nav__block{
    flex-direction: column!important;
  }

  .nav__block .col-md-4 h3,
  .nav__block .col-md-4 p{
    display: none;
  }

  .nav__block .col-md-4 .list-unstyled .menu-item{
    padding-left: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .nav-overlay ul.nav__list li.menu-item {
    margin-bottom: 0.5rem;
    margin-left: -1rem;
    padding: 0;
  }

  .nav__list-item a:link,
  .nav__list-item a:visited {
    font-size: 2rem;
    line-height: 2rem;
  }

  .contatti-header{
    display: none;
  }

  .owl-nav{
    bottom:0rem;
    right:0rem;
  }

  .owl-nav .owl-prev,
  .owl-nav .owl-next{
    width: 2.50rem;
    height: 2.50rem;
    font-size: 1rem;
    line-height: 1rem;
  }

  .section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
  }

  .section-header .title span {
    font-size: 1.2rem;
  }

  .section-header .title {
    margin-bottom: 1.5rem;
  }

  body {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .servizi-item .number{
    font-size: 3rem;
    line-height: 3rem;
  }

  .box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro .number {
    font-size: 2rem;
    line-height: 2rem;
}

  .servizi-item h3{
    font-size: 1.2rem;
  }

  .servizi-item{
    position: relative;
    border-bottom: 1px solid var(--bianco);
    padding: 0!important;
    min-height: 0px;
    height:auto !important;
    border-right: 0;
    margin-bottom: 2rem;
  }

  .col-md-4:last-child .servizi-item{
    border-bottom: 0;
  }

  .servizi-item::before,
  .servizi-item .serv-ico,
  .restauro-item .serv-ico{
    bottom:auto;
    top:0;
    right: 0%;
    width: 20%;
    opacity: 0.4;
  }

  .prima-dopo h4 {
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
  }

  .restauro-item .number {
    font-size: 3rem;
    line-height: 3rem;
  }

  .restauro-item {
    position: relative;
    border-bottom: 2px solid var(--terzo);
    padding: 0!important;
    min-height: 0px;
    height:auto !important;
    border-right: 0;
    margin-bottom: 2rem;
  }

  .col-md-6:last-child .restauro-item{
    border-bottom: 0;
  }

  .post-grid .prodotto-item .prodotto-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .recensioni h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .referenze-carousel .owl-nav{
    bottom: 0rem;
  }

  .right-content h4 {
    font-size: 1.2rem;
  }

  .footer h5 {
    font-size: 1.2rem;
  }

  #footer img.footer-logo{
    max-width: 50%;
  }

  .nav__block .col-md-4 .list-unstyled{
    margin-bottom: 0;
  }

  .nav__block .col-md-4 .list-unstyled .menu-item {
    font-size: 0.8rem;
    line-height: 1rem;
  }

  .cta_contatti h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro h3 {
    font-size: 1.2rem;
  }

  .box-restauro::after{
    font-size: 3rem;
    line-height: 3rem;
  }

  .box-restauro.box-restauro-01::after,
  .box-restauro.box-restauro-02::after,
  .box-restauro.box-restauro-03::after,
  .box-restauro.box-restauro-04::after,
  .box-restauro.box-restauro-05::after,
  .box-restauro.box-restauro-06::after,
  .box-restauro.box-restauro-07::after{
    bottom:0;
    top:auto;
    left: auto;
    right: calc(50% - 1.5rem);
    -webkit-animation: slide-bottom 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
  	        animation: slide-bottom 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
  }

  @-webkit-keyframes slide-bottom {
    0% {
      -webkit-transform: translateY(0) rotate(90deg);
              transform: translateY(0) rotate(90deg);
    }
    100% {
      -webkit-transform: translateY(40px) rotate(90deg);
              transform: translateY(40px) rotate(90deg);
    }
  }
  @keyframes slide-bottom {
    0% {
      -webkit-transform: translateY(0) rotate(90deg);
              transform: translateY(0) rotate(90deg);
    }
    100% {
      -webkit-transform: translateY(40px) rotate(90deg);
              transform: translateY(40px) rotate(90deg);
    }
  }

  .titolo-pagina{
    font-size: 3rem;
    margin-bottom: 3rem;
  }

  .box-prodotti .didascalia-box-prodotti h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .box-prodotti .didascalia-box-prodotti{
    min-height: 0px;
    height:auto !important;
  }

  .right-content-pagina h4 {
    font-size: 1.2rem;
  }

}

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

@media only screen and (max-width: 575px) {
  .nav__list-item a:link,
  .nav__list-item a:visited {
    font-size: 1.3rem;
    line-height: 1.3rem;
    padding: 0;
    padding-left: 1rem
  }

}

@media only screen and (max-width: 559px) {
  .main-logo a{
    height: 2.5rem;
    width: 9.688rem;
    margin: 0;
  }
  .side-nav-bar {
    margin: 2rem 2.5rem;
  }
  .slider-hero .owl-stage-outer .owl-item .item .slide-container h1,
  .slider-hero .owl-stage-outer .owl-item .item .slide-container h2{
    font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 2rem;
  }
  .slider-hero .owl-stage-outer .owl-item .item .slide-container p{
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }

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

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

  .cta_contatti .btn-wrap .cta{
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 1rem 1.25rem;
  }

  .form-light button, .form-light input[type="submit"] {
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 1rem 1.25rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .section-header .title span {
    font-size: 1rem;
  }

  .section-header .title {
    margin-bottom: 1rem;
  }

  body {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .servizi-item .number{
    font-size: 2rem;
    line-height: 2rem;
  }

  .servizi-item h3{
    font-size: 1rem;
  }
  .prima-dopo h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .restauro-item .number {
    font-size: 2rem;
    line-height: 2rem;
  }

  .box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro .number {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .post-grid .prodotto-item .prodotto-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .recensioni h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .right-content h4 {
    font-size: 1rem;
  }

  .footer h5 {
    font-size: 1rem;
  }

  .copyright p {
    font-size: 0.8rem;
    line-height: 1rem;
    color: var(--nero);
  }
  .testata h1 {
    font-size: 3rem;
    line-height: 3rem;
    margin-top: 6rem;
    margin-bottom: 2rem;
  }
  .cta_contatti h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }

  .box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro h3 {
    font-size: 1rem;
  }
  .titolo-pagina{
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .box-prodotti .didascalia-box-prodotti p {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }
  .box-prodotti .didascalia-box-prodotti h3 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  .right-content-pagina h4 {
    font-size: 1rem;
  }
  .box-restauro .didascalia-box-restauro_cornice .didascalia-box-restauro p{
    font-size: 0.8rem;
    line-height: 1.2rem;
  }
}

@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 */
