@font-face {
  font-family: 'Avenir LT Std';
  src: url('../font/AvenirLTStd-Book.woff2') format('woff2'), url('../font/AvenirLTStd-Book.woff') format('woff'), url('../font/AvenirLTStd-Book.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir LT Std';
  src: url('../font/AvenirLTStd-Oblique.woff2') format('woff2'), url('../font/AvenirLTStd-Oblique.woff') format('woff'), url('../font/AvenirLTStd-Oblique.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir LT Std';
  src: url('../font/AvenirLTStd-Black.woff2') format('woff2'), url('../font/AvenirLTStd-Black.woff') format('woff'), url('../font/AvenirLTStd-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pirulen Rg';
  src: url('../font/PirulenRg-Regular.woff2') format('woff2'), url('../font/PirulenRg-Regular.woff') format('woff'), url('../font/PirulenRg-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Avenir LT Std';
  font-weight: normal;
  font-style: normal;
}

strong {
  font-family: 'Avenir LT Std';
  font-weight: 900;
  font-style: normal;
}

p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  text-align: justify;
}

em {
  font-family: 'Avenir LT Std';
  font-weight: normal;
  font-style: italic;
}

footer {
  /* padding-top: 80px; */
  padding-bottom: 50px;
}

button {
  border: none;
}

.sub-menu {
  width: 15rem;
  display: block;
  position: absolute;
  /* border-top: 3px solid #8e8e8e; */
  background-color: #191919;
  z-index: 100;
  top: 16rem;
  transition: all 650ms ease;
  opacity: 0;
}

.sub-menu:before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 3rem;
  border: 1.2rem solid transparent;
  /* border-bottom-color: #eb3007; */
}

.sub-menu .sub-menu {
  border-top: none;
  border-left: 3px solid #8e8e8e;
  top: 0;
  left: 160%;
}

.sub-menu .sub-menu:before {
  content: "";
  position: absolute;
  top: .9rem;
  left: -2.5rem;
  border: 1.2rem solid transparent;
  /* border-right-color: #eb3007; */
}

/* .nav-list li:hover>.sub-menu {
  top: 5rem;
  opacity: 1;
  visibility: visible;
}

.sub-menu li:hover>.sub-menu {
  top: 1rem;
  left: 100%;
}

.sub-menu li:hover {
  background-color: #8e8e8e;
}

.dropdown-menu {
  background-color: #191919;
  border-left: 3px solid #8e8e8e;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background-color: #8e8e8e;
  color: #fff;
} */

/* .navbar-expand-lg .navbar-nav .dropdown-menu {
  position: initial;
} */

/* .sub-menu:hover{
  background-color: red;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; 
} */

/* .princ-dropdown:click .sub-menu{
  display: block;
}

.sub-menu:hover .sub-sub-menu{
  display: block;
}

.sub-menu{
  position: absolute;
  display: none;
}

.sub-sub-menu{
  position: absolute;
  display: none;
  top: 0;
  right: 0;
 transform: translate(100%, 0);
} */

.dropdown-menu {
  background-color: #000000;
}

.slick-slider {
  margin: 0 -15px;
}

.slick-slide {
  padding: 10px;
  /* background-color:red;
  text-align:center; */
  margin-right: 15px;
  margin-left: 15px;
}

.img-carosello {
  height: 400px;
  object-fit: contain;
  width: 100%;
}

.bg-black {
  background-color: #000000;
}

.icon-img {
  width: 50px;
}

.bg-slide {
  background: url("../img/slide-immagine.jpg");
  object-position: center center;
  padding: 150px 0;
  margin-top: 150px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg-black-pagina {
  background: rgb(0, 0, 0);
  background: linear-gradient(171deg, rgba(0, 0, 0, 1) 0%, rgba(33, 33, 33, 1) 100%);
}

.contact-box {
  display: flex;
  outline: 1px solid #000000;
  align-items: center;
  margin: 20px;
  width: 350px;
  position: fixed;
  background-color: #FFFFFF;
  right: -310px;
  transition: all ease-in .3s;
  z-index: 1000;
}

.contact-box:hover {
  right: -20px;
}

.img-contact {
  width: 60px;
  outline: 1px solid #FFFFFF;
}

.titoletto {
  /* font-style: oblique; */
  font-size: 25px;
  margin-top: 30px;
  color: #8e8e8e;
  position: relative;
}

.titoletto::before {
  content: "";
  height: 3px;
  width: 50px;
  background-color: #8e8e8e;
  position: absolute;
  bottom: 0;
}

.titolo-par {
  font-size: 25px;
}

.btn-pdf {
  background-color: #8e8e8e;
  color: #FFFFFF;
  padding: 15px 20px;
  text-decoration: none;
}

.btn-pdf:hover {
  background-color: #FFFFFF;
  color: #000000;
  outline: 2px solid #000000;
}

.separatore {
  height: 3px !important;
  width: 60%;
  margin: 30px 0;
}

.titolo-anno {
  font-size: 70px;
  color: #2d2d2d;
  bottom: -15%;
  right: -60px;
  position: absolute;
  text-align: right;
  z-index: 10;
}

.titolo-anno p {
  line-height: 50px;
}

.titolo-anno:before {
  content: "";
  width: 100%;
  height: 15px;
  font-size: 50px;
  background-color: #f0eeee;
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: -1;
}

.img-prodotto {
  width: 400px;
}

.img-prodotto-azienda {
  bottom: -50px;
  right: 30px;
  /* position:absolute */
}

.border-top-left {
  border-top: 2px solid #000000;
  border-left: 2px solid #000000;
}

.border-top-left-paragrafo {
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
}

.border-bottom-right {
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
}

.no-scritta {
  padding: 10px 100px 0 0;
}

.sostenibilità {
  position: absolute;
  top: -55px;
  font-weight: 900;
  font-size: 60px;
  color: #8e8e8e;
  /* left: 50%; */
  right: 20%;
  z-index: 10;
}

.sostenibilità:before {
  content: "";
  position: absolute;
  width: 350px;
  height: 15px;
  bottom: 20px;
  font-weight: 900;
  font-size: 50px;
  z-index: -1;
  background-color: #f0eeee;
}

.menu {
  width: 95%;
  margin: 0 auto;
}

.menu-secondario {
  flex-direction: column;
  align-items: flex-end;
}

.menu li a {
  color: #FFFFFF;
  font-size: 15px;
}

#hero {
  position: relative;
  /* background-image: url("../img/copertina-home.jpg"); */
  background-image: url("../img/copertina-home.jpg");
  width: 100%;
  height: 100vh;
  background-position: center center;
  background-size: cover;
}

.slick-next:before {
  content: "" !important;
  background-image: url("../img/icone/freccia-right.png")  !important;
  width: 20px  !important;
  display: block  !important;
  height: 20px  !important;
  background-size: contain  !important;
}

.slick-prev:before {
  content: "" !important;
  background-image: url("../img/icone/freccia-left.png") !important;
  width: 20px !important;
  display: block !important;
  height: 20px !important; 
  background-size: contain !important;
}

.pirulen {
  font-family: 'Pirulen Rg';
  font-weight: normal;
  font-style: normal;
}

.titolo-par {
  font-size: 20px;
  font-weight: 700;
}

.par-agg {
  text-align: justify;
}

.bread-link {
  text-decoration: none;
  color: #000000;
}

.bread-link:hover {
  text-decoration: underline;
  color: #000000;
}

.active-bread {
  font-weight: 700;
}

.titolo-prodotto {
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 700;
}

.titolo-paragrafo {
  font-size: 35px;
}

.titolo {
  color: #FFFFFF;
}

.margine {
  margin-top: 100px;
}

.briciola span {
  padding: 10px 0 0 10px;
}

.titolo-home {
  position: absolute;
  right: 10%;
  left: 10%;
  bottom: 20%;
}

.logo {
  width: 280px;
}

.icon-down {
  color: #FFFFFF;
  font-size: 30px;
  animation: down 1s alternate infinite ease-in;
}

@keyframes down {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(20px);
  }
}

.menu {
  justify-content: flex-end;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.titolo-paragrafo-prodotti {
  color: #FFFFFF;
  right: 0;
  left: 0;
  top: 30%;
  text-align: center;
  text-transform: uppercase;
}

.logo-footer {
  width: 200px;
}

.icon-box {
  font-size: 25px;
  padding-right: 20px;
  display: flex;
  flex-wrap: nowrap;
}

.box-prodotto {
  padding-top: 20px;
  border: 2px solid #000000;
  color: #000000;
  text-decoration: none;
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  align-items: center;
}

.box-prodotto:hover {
  background: #8e8e8e;
  border: 2px solid #8e8e8e;
  outline: none;
  color: #FFFFFF;
}

/* RETURN TOP */

#scrolltotop {
  height: 55px;
  width: 55px;
  display: none;
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  background-color: #000000;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  outline: 1px solid #FFFFFF;
  z-index: 1000;
}

.box-prodotti {
  overflow: hidden;
  margin-bottom: 20px;
}

.box-prodotti img {
  transition: all .3s ease-in;
}

.box-prodotti img:hover {
  transform: scale(1.1);
}

.box-prodotti h2 {
  font-size: 25px;
}

.link {
  color: #000000;
}

.link:hover {
  color: #8e8e8e;
}

.link-scopri {
  color: #000000;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
}

.link-scopri span {
  position: relative;
  color: #000000;
  transition: all .2s ease-in;
}

.link-scopri span:hover {
  position: relative;
  color: #FFFFFF;
}

.link-scopri span:before {
  content: "";
  background-color: #FFFFFF;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 26px;
  left: 122px;
  overflow: hidden;
  z-index: -1;
  transition: all .2s ease-in;
}

.link-scopri span:hover:before {
  content: "";
  background-color: #8e8e8e;
  position: absolute;
  width: 100%;
  height: 100%;
  top: -6px;
  left: -6px;
  z-index: -1;
}

#scrolltotop:hover {
  background-color: #8e8e8e;
}

.social {
  list-style-type: none;
  justify-content: flex-end;
}

.social li {
  margin-right: 20px;
}

.social li img {
  width: 30px;
}

.magical--underline {
  cursor: pointer;
  background-image: linear-gradient(45deg, #8e8e8e 0%, #8e8e8e 100%);
  background-repeat: no-repeat;
  background-size: 100% .2em;
  background-position: 0 95%;
  transition: background-size .25s linear, color .2s linear;
  text-decoration: none;
  padding: 5px;
}

.magical--underline:hover {
  color: #fff !important;
  background-size: 100% 95%;
}

.link-scopri-prodotti {
  transition: all .3s ease-in;
  transform: translateY(200px);
  text-align: center;
}

.box-prodotti:hover .link-scopri-prodotti {
  transition: all .3s ease-in;
  transform: translateY(0px);
}

.margine-sotto {
  margin-bottom: 70px;
}

/* LINEA */

.linea-menu {
  position: relative;
  overflow: hidden;
}

.linea-menu:before {
  content: "";
  position: absolute;
  bottom: 0;
  background: #FFFFFF;
  height: 2px;
  width: 30px;
  transition: all .3s ease-in;
  transform: translateX(-100px);
}

.linea-menu:active:before, .linea-menu:focus:before, .linea-menu:hover:before {
  transform: translateX(0px);
}

.active-menu {
  position: relative;
}

.linea-azienda {
  position: absolute;
  bottom: -50px;
  left: 60%;
  z-index: -1;
}

.active-menu:before {
  content: "";
  position: absolute;
  width: 30px;
  bottom: 0;
  background: #FFFFFF;
  height: 2px;
}

.titolo-pagina {
  color: #FFFFFF;
}

@media all and (max-width: 1500px) {
  .titolo-anno {
    right: -20%;
    bottom: -30%;
  }
}

@media all and (max-width: 1200px) {
  .titolo-anno {
    /* right: -30px; */
    /* bottom: -100px; */
  }
}

@media all and (min-width: 992px) {
  .lingua {
    margin-left: 20px;
    margin-right: 10px;
    background-color: #FFFFFF;
    color: #000000 !important;
  }
  .lingua:hover {
    outline: 1px solid #FFFFFF;
    background-color: #000000;
    color: #FFFFFF !important;
  }
}

@media all and (max-width: 992px) {
  .sub-menu {
    position: initial;
    border: 3px solid transparent;
    border-left-color: #8e8e8e;
    margin-left: 1rem;
    max-height: 0;
    ;
  }
  .titolo-anno {
    right: -200px;
    bottom: -70px;
  }
  .sub-menu li {
    padding-left: 2rem;
  }
  .sub-menu:before {
    display: none;
  }
  .nav-list li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: initial;
  }
  .sub-menu li:hover {
    background-color: transparent;
  }
  .sub-menu {
    background-color: #000000;
  }
  .social {
    justify-content: flex-start;
  }
  .margin-md-mobile {
    margin-bottom: 20px;
  }
  .lingua {
    color: #000000;
    position: relative;
  }
  .lingua:before {
    content: "";
    height: 2px;
    width: 30px;
    position: absolute;
    bottom: 0;
    background-color: #FFFFFF;
    transition: all .3s ease-in;
    transform: translateX(-100px);
  }
  .lingua:hover:before {
    transform: translateX(0px);
  }
}

@media all and (min-width: 767px) {
  .margin-mobile {
    margin-bottom: 20px;
  }
  .titolo-paragrafo-prodotti {
    font-size: 20px;
  }
  .img-prodotto-azienda {
    bottom: -50px;
    right: 30px;
    position: absolute
  }
  .logo-rina {
    text-align: end;
  }
}

@media all and (max-width: 767px) {
  .margin-mobile {
    margin-bottom: 20px;
  }
  .titolo-paragrafo-prodotti {
    font-size: 20px;
  }
  .titolo-anno:before {
    content: "";
    width: 200px;
  }
  .reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .bg-slide {
    padding: 50px 0;
  }
  /* .sostenibilità {
    left: 0;
  } */
  .linea-azienda {
    display: none;
  }
  .titolo-anno {
    font-size: 50px;
    display: flex;
    justify-content: left;
    margin-top: 20px;
    position: initial;
    text-align: right;
    z-index: 10;
  }
  .titolo-anno p {
    text-align: start;
  }
  .box-prodotti h2 {
    font-size: 15px;
  }
  .link-scopri-prodotti {
    font-size: 15px;
  }
}

/* @media all and (max-width: 540px) {
  .titolo-paragrafo-prodotti {
    font-size: 15px;
  }
} */

@media all and (max-width: 460px) {
  /* .titolo-paragrafo-prodotti {
    top:30%
  } */
  .link-scopri-prodotti {
    display: none;
  }
  .sostenibilità {
    font-size: 40px;
    top: -40px;
  }
  .sostenibilità:before {
    content: "";
    position: absolute;
    width: 250px;
    height: 15px;
    bottom: 15px;
    font-weight: 900;
    font-size: 50px;
    z-index: -1;
    background-color: #f0eeee;
  }
  .logo-menu {
    width: 200px;
  }
  .margine {
    margin-top: 70px
  }
}