.hero{
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero .blockSlider{
  padding-top: calc(var(--menuh) + var(--bigmenuh));
}

@media screen and (orientation: landscape){
  .hero{
    /*min-height: calc(100vh - var(--menuh)) !important;*/
    min-height: 95vh !important;
  }
}

@media screen and (orientation: portrait){
  .hero{
    /*min-height: calc(100vh - var(--menuh)) !important;*/
    min-height: 95vh !important;
  }
}

.hero>div,
.bannerAuto>div{
  position: relative;
  z-index: 1;
}

.hero .six,
.hero .miniBanner{
  display: none;
}

.hero:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;

  background: rgb(24,76,150);
  background: -moz-linear-gradient(90deg, rgba(24,76,150,0.8) 0%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(90deg, rgba(24,76,150,0.8) 0%, rgba(255,255,255,0) 100%);
  background: linear-gradient(90deg, rgba(24,76,150,0.8) 0%, rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#184c96",endColorstr="#ffffff",GradientType=1);
}

#heroSlider .swiper-pagination{
  position: static;
  margin-top: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}

#heroSlider .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
#heroSlider .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
  height: 0.7rem;
  width: 0.7rem;
  margin-right: 0.6rem;
  background: var(--white);
}

.paginaCard{
  background: var(--white);
  border-radius: 0.6rem;
  padding: 2rem 1rem 1rem 1rem;
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 1rem;
  position: relative;
  overflow: hidden;
}

.paginaCard .icon{
  height: 3rem;
  margin-right: 1.5rem;
}

.paginaCard .greenLabel{
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primaryGreen);
  color: var(--white);
  padding: 0.1rem 0.5rem;
  display: block;
}

.bannerAuto{
  padding: 6rem 0;
  position: relative;
  background-position: center;
  background-size: cover;
}

.bannerAuto:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 80%;

  background: rgb(0,0,0);
  background: -moz-linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#ffffff",GradientType=1);
}

#perche{
  padding: 7rem 0;
}

#blockProdotti .cardProdotto{
  padding: 0 0.5rem;
  height: 100%;
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#blockProdotti .cardProdotto:after{
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  top: 50%;
  right: calc(var(--bs-gutter-x) * -.5);
  transform: translateY(-50%);
  background-color: var(--green);
}

#blockProdotti .row>div:last-child>.cardProdotto:after{
  display: none;
}

#blockProdotti .cardProdotto img{
  width: 100%;
}

.pressLogo{
  width: 9rem;
}

@media screen and (max-width: 767px){
  .hero{
    background: rgb(24,76,150) !important;
    background: -moz-linear-gradient(90deg, rgba(24,76,150,1) 0%, rgb(36,136,160) 100%) !important;
    background: -webkit-linear-gradient(90deg, rgba(24,76,150,1) 0%, rgb(36,136,160) 100%) !important;
    background: linear-gradient(90deg, rgba(24,76,150,1) 0%, rgb(36,136,160) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#184c96",endColorstr="#2488A0",GradientType=1) !important;
  }

  .hero .six{
    display: block;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) scale(1.3);
    mix-blend-mode: multiply;
  }

  .hero .miniBanner{
    display: flex;
    background-color: var(--primaryGreen);
    color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0.7rem;
  }

  .hero .miniBanner img{
    height: 3rem;
    margin-right: 1rem;
  }

  .paginaCard{
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
    margin-right: 0;
  }
  .paginaCard .greenLabel,
  .paginaCard .text{
    display: none;
  }
  .paginaCard .icon{
    height: 2rem;
    margin-right: 1rem;
  }
  .pressLogo{
    width: 9rem;
    margin-bottom: 1rem;
  }

  #perche{
    padding: 3rem 0;
  }

  .bannerAuto:before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;

    background: rgb(0,0,0, 0.5) !important;
  }

  #blockProdotti .cardProdotto{
    padding: 0;
  }
}


@media screen and (min-width: 768px) and (max-width: 1199px){
  .hero{
    background: rgb(24,76,150) !important;
    background: -moz-linear-gradient(90deg, rgba(24,76,150,1) 0%, rgb(36,136,160) 100%) !important;
    background: -webkit-linear-gradient(90deg, rgba(24,76,150,1) 0%, rgb(36,136,160) 100%) !important;
    background: linear-gradient(90deg, rgba(24,76,150,1) 0%, rgb(36,136,160) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#184c96",endColorstr="#2488A0",GradientType=1) !important;
  }


  .hero .six{
    display: block;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) scale(1.3);
    mix-blend-mode: multiply;
  }

  #perche{
    padding: 3rem 0;
  }

  .bannerAuto:before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;

    background: rgb(0,0,0, 0.5) !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1400px){
  .hero{
    height: auto;
    padding: 4rem 0;
  }
}











/**/
