:root {
  --primary-color: #fff;
  --screen-width: 100vw;
}

html, body {
  width: 100%;
  margin: 0 !important;
  font-family: "Segoe UI", "Arial", sans-serif;
  padding: 0 !important;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img.lazy {
  opacity: 0;
  transform: translateX(50px);
}

img:not(.lazy) {
  opacity: 1;
  transition: opacity 1s ease, transform 1s ease;
}

.lazy-bg {
  opacity: 0;
  transition: opacity 1s ease;
}

.lazy-bg.loaded {
  opacity: 1;
}

p {
  margin: 0;
}

.carousel-container {
  height: 100vh;
  width: 100vw;
  position: relative;
}

.sct-carousel {
  width: 100vw;
  height: 100vh;
  padding: 2rem 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  will-change: transform;
  transition: transform 1s ease-in-out;
}

.sct-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

.sct-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 2rem 2rem;
}

.stretched {
  justify-content: center;
  align-items: stretch;
}

.sct-opacity {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.gap-one {
  gap: 10px;
}

.flex-wrap {
  flex-wrap: wrap;
}

.centered {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  height: var(--heights, auto) !important;
}

.cent {
  align-items: center;
  justify-content: center;
}

.col-upper-left {
  align-items: flex-start;
  justify-content: flex-start;
}

.article-cover {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 50vh;
  padding: 8% 12.5% 0;
}
.article-cover__bgimage {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 5px 15%;
}
.article-section__title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.article-section__title h4 {
  color: #000000;
  font-size: 1.2rem;
  padding: 0.5rem 0;
  margin: 0;
  font-weight: 400;
}
.article-section__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.article-section__body-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}
.article-section__body-content p {
  font-size: 1rem;
  color: #000000;
  padding: 0;
  margin: 0;
  margin-bottom: 0.5rem;
}

.invisible-page {
  display: none;
}
.invisible-page.active {
  display: block;
}

.grid {
  display: grid;
  width: 100%;
  height: 100%;
}
.grid__child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2%;
}
.grid__child-title h1 {
  font-size: 1.5rem;
  color: #000000;
  text-align: center;
}
.grid__child-subtitle p {
  font-size: 1rem;
  color: #000000;
  text-align: center;
}
.grid__child img {
  width: 100%;
  height: auto;
}
.grid__child img.icona {
  width: var(--height, 100px);
  height: var(--width, 100px);
}
.grid__child-productName {
  margin-top: auto;
  margin-bottom: 0.8rem;
  color: #000000;
  font-weight: bold;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.grid__child-list-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.grid__child-list-container ul {
  list-style-type: disc;
  color: #000000;
  padding: 0;
  margin: 0;
}
.grid__child-list-container ul li {
  color: #000000;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 100;
}
.grid__child-list-container p {
  font-size: 0.8rem;
  font-weight: 100;
}
.grid__child-list-container h5 {
  font-size: 1rem;
  font-weight: 300;
}
.grid__child iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.grid__child-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2%;
}
.grid__child-left-title h1 {
  font-size: 1.5rem;
  color: #000000;
  font-weight: 400;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.grid__child-left-subtitle p {
  font-size: 0.8rem;
  color: #000000;
  font-weight: 200;
  text-align: left;
}

.col-2 {
  grid-template-columns: var(--cols, 1fr 1fr);
}

.rows-columns-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.grid-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: var(--height, 80vh);
  position: relative;
}

.grid-col-cl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.grid-col-cl-title h1 {
  font-size: 1.5rem;
  color: #000000;
  text-align: center;
}
.grid-col-cl-subtitle h4 {
  font-size: 1rem;
  text-decoration: underline;
  color: #000000;
}
.grid-col-cl-subtitle p {
  font-size: 1rem;
  color: #000000;
}

.small-pd {
  padding: 10px 0;
}

.gap {
  gap: 2%;
}

.navbar {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.8rem;
  z-index: 999;
  transition: all 0.3s ease;
}
.navbar__social {
  display: flex;
  height: 30px;
  width: 100%;
  align-items: center;
  background-color: #000000;
  padding: 0 2%;
}
.navbar__social-socials {
  display: flex;
  flex-direction: row;
  width: 33.3%;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.navbar__social-socials i {
  color: #fff;
}
.navbar__social-catalogue {
  display: flex;
  flex-direction: row;
  width: 33.3%;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.navbar__social-catalogue a {
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 300;
}
.navbar__social-icons {
  display: flex;
  flex-direction: row;
  width: 33.3%;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.navbar__menu {
  display: flex;
  height: 80px;
  align-items: center;
  width: 100%;
  padding: 0 2%;
}
.navbar__menu-logo img {
  height: 70px;
  width: 120px;
  margin-right: auto;
}
.navbar__menu-list ul {
  display: flex;
  flex-direction: row;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: auto;
}
.navbar__menu li {
  position: relative;
}
.navbar__menu li a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  display: flex;
}
.navbar__menu li a:hover {
  color: #b60a0a !important;
}
.navbar__menu li i {
  padding: 0.4rem 0.2rem;
  font-size: 0.6rem;
}
.navbar__menu li i.drop {
  margin-left: auto;
  margin-right: 2%;
}
.navbar__menu li:hover .mod-menu__sub {
  display: block;
  opacity: 1;
  max-height: fit-content;
  pointer-events: auto;
}
.navbar__menu-search {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.navbar__searchbar {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: auto;
  margin-left: auto;
}

.mod-menu__sub {
  display: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  top: 100% ;
  left: -10%;
  right: -10%;
  position: absolute;
  background-color: #000000;
  max-height: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.mod-menu__sub ul {
  list-style: none;
  margin: 0;
  padding: 0.8rem 0 0 1rem;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  position: relative;
}
.mod-menu__sub li {
  color: #fff;
  display: flex;
  align-items: flex-start;
  width: 100% !important;
  height: fit-content;
  justify-content: flex-start;
  padding: 0.4rem 0
}
.mod-menu__sub li p {
  margin: 0 0 0.8rem;
}
.mod-menu__sub li a {
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  color: #fff !important;
}
.dropdown li:hover .dropdown-product {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-product {
  display: none;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 101%;
  background-color: #000000;
  pointer-events: none;
  transition: opacity 0.3s ease;
  /* usa max-content per crescere con il contenuto */
  width: max-content;
  min-width: 200px;
  padding: 0.5rem 1rem 0 1rem;
}
.dropdown-product ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}
.dropdown-product li {
  display: block;
  width: 100%;
  padding: 0 0 0.5rem 0;
}
.dropdown-product li p {
  margin: 0 0 0.8rem;
  padding: 0;
}
.dropdown-product li a {
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  color: #fff !important;
}

.inside-menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: auto;
}
.inside-menu ul {
  display: flex;
  flex-direction: row;
  gap: 10px;
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
}
.inside-menu ul li a {
  padding: 5px 10px;
  border-radius: 30px;
  color: #000000;
  text-decoration: none;
  font-size: 0.8rem;
}
.inside-menu ul li.current a {
  color: #fff;
  background-color: #000000;
}

.button {
  border-radius: 10px;
  border: 2px solid #fff;
  padding: 0.8rem 1.3rem;
  width: fit-content;
  display: flex;
  background-color: transparent;
  align-items: center;
  color: #fff;
  transition: all 0.3s ease-in-out, transform 1.5s ease-in-out;
  cursor: pointer;
  z-index: 10;
}
.button a {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.button:hover {
  background-color: #fff;
  color: #000000;
}
.button:hover a {
  color: #000000;
}

.home-news {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  height: 100%;
  max-width: 18%;
  flex: 1;
  min-height: 320px;
  min-width: 254px;
}
.home-news__container {
  flex: 0 0 60%;
  width: 100%;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-news__container img {
  width: 100%;
  height: 100%;
}
.home-news__text-container {
  position: absolute;
  width: 90%;
  left: 50%;
  top: 55%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 0 1.5rem;
  font-size: 0.8rem;
}
.home-news__text-container-title {
  width: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}
.home-news__text-container-title p {
  color: #000000;
  text-align: center;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}
.home-news__text-container-subtitle {
  width: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}
.home-news__text-container-subtitle p {
  color: #000000;
  font-weight: bold;
  text-align: center !important;
  padding-bottom: 0.5rem;
}
.page-header{
  width: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
  text-align: center;
}
.page-header h2{
  margin: 0;
  padding: 0;
  line-height: 0.8rem;
}
.page-header h2 a{
  color: #000000;
  font-weight: bold;
  text-align: center !important;
  padding-bottom: 0.5rem;
  text-decoration: none;
  text-align: center;
  font-size: 0.8rem;
}
.home-news__text-container-subtitle a {
  color: #000000;
  font-weight: bold;
  text-align: center !important;
  padding-bottom: 0.5rem;
  text-decoration: none;
  text-align: center;
}
.home-news__text-container-paragraph {
  width: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}
.home-news__text-container-paragraph p {
  color: #000000;
  text-align: center !important;
  padding-bottom: 0.5rem;
}
.home-news__text-container-date {
  width: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}
.home-news__text-container-date p {
  color: #000000;
  text-align: center;
  padding-bottom: 0.5rem;
}

.home-cards {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  max-width: 25%;
  width: 25%;
  position: relative;
  min-height: 300px;
}
.home-cards__imgContainer {
  height: 270px;
  width: 60%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.home-cards__imgContainer:hover {
  transform: scale(1.2);
}
.home-cards__description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.5rem;
  background-color: rgba(230, 230, 230, 0.808);
  color: #000;
  position: absolute;
  bottom: 0;
  right: 15%;
  max-width: 35%;
  height: auto;
  box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  transition: all 0.3s ease;
}
.home-cards__description:hover {
  transform: scale(1.2);
}
.home-cards__description-title {
  color: inherit;
  width: 100%;
  margin-bottom: 0.5rem;
}
.home-cards__description-title h3 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 500;
}
.home-cards__description-text {
  font-size: 0.6rem;
  color: inherit;
  width: 100%;
  margin-bottom: 0.5rem;
}
.home-cards__description-more {
  width: 100%;
  border-top: 1px solid grey;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 0.5rem;
}
.home-cards__description-more p {
  font-size: 0.7rem;
}
.home-cards__description-more i {
  margin-left: auto;
}

.navbar-space {
  width: 100%;
  height: 110px;
}

.animation-carousel {
  transform: translateX(100vw);
}

.header-bg {
  background-color: #000000;
  opacity: 1;
  transition: all 0.3s ease;
}

.header-up {
  transform: translateY(-30px);
}

.button-home {
  transform: translateY(-100vh);
}

.grid-animation {
  grid-template-columns: 1fr 0fr;
  transition: all 0.5s ease;
}

.grid-child-animation {
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden;
}

.grid-animation:hover {
  grid-template-columns: 2fr 1fr;
}

.grid-animation:hover .grid-child-animation {
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}

.footer {
  padding: 2.5% 5% 0.5%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100vw;
  background-color: #000000;
}
.footer__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.footer__grid-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}
.footer__grid-item img {
  max-width: 160px;
}
.footer__grid-item-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
}
.footer__grid-item-row i {
  color: #fff;
}
.footer__grid-item-rows {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer__grid-item-rows #madeinitaly {
  width: 40px;
}
.footer__grid-item-rows #zeroemission {
  width: 125px;
}
.footer__grid-item-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: #fff;
  width: 100%;
}
.footer__grid-item-column ul {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
}
.footer__grid-item-column ul li {
  padding-bottom: 0.8rem;
}
.footer__grid-item-column ul li a {
  color: inherit;
  text-decoration: none;
  margin: 0;
  padding: 0;
}
.footer__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 2.5% 0;
  gap: 10px;
}

.form-contatto {
  background-color: #fff;
  padding: 1% 0.5%;
  max-width: 600px;
}
.form-contatto input[type=text] {
  border: 1px solid grey;
  background-color: #fff;
  color: #000000;
  padding: 4px 8px;
  width: calc(50% - 5px);
}
.form-contatto input[type=checkbox] {
  margin: 0;
}
.form-contatto textarea {
  border: 1px solid grey;
  background-color: #fff;
  color: #000000;
  padding: 4px 8px;
  width: 100%;
  min-height: 50px;
}
.form-contatto label {
  font-size: 0.8rem;
  padding: 0;
  margin: 0;
}

.form-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  align-items: flex-start;
  justify-content: flex-start;
}
.form-col__title h4 {
  font-size: 1rem;
  font-weight: 300;
  color: #000000;
  padding: 0;
  margin: 0 0 0.5rem 0;
}
.form-col__subtitle p {
  font-size: 0.8rem;
  font-weight: 200;
  color: #000000;
  margin: 0 0 0.5rem 0;
}

.form-row {
  display: flex;
  flex-direction: row;
  width: var(--w, 100%);
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--mb, 0.5rem);
}

.btn.btn-primary{
  background-color: red;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 6px 12px;
  border: none;
}
.awesomplete input{
  padding: 6px 12px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: none;
}
.chevron-menu{
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-40%);
  color: #fff;
}
sub-menu-chevron{
  margin-left: auto;
}
.moduletable{
  display: flex !important;
  flex-direction: row !important;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  wrap: flex-wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}