html, body {
  overflow-x: hidden;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}
/* Home page background section - esagoni */
.bg-home-background {
  width: 100vw;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.bg-home-background-inner {
  max-width: 1920px;
  /*background-image: url('../images/bg-home.png');*/
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  padding-top: 180px;
  object-position: center;
}
/* Rimuovi padding Bootstrap per immagine R&D */
.rd-img {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* Media query mobile e small device */
@media (max-width: 576px) {
  .swiper,
  .slider-fullwidth {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .home-hero-text {
    position: absolute;
    top: 10vw;
    left: -3vw;
    width: 105vw;
    height: auto;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: #006798;
    text-align: center;
    background: none;
    margin: 0;
    padding: 0;
    z-index: 2;
    display: block;
	padding-right: 6%;
	  padding-left: 6%;
	  white-space:nowrap;
  }
  .home-hero-text strong {
    font-weight: 500;
    color: #006798;
  }
  .swiper-slide {
    background-size: cover !important;
    background-position: center !important;
  }
  .cosa-facciamo-titolo,
  .rd-titolo,
  .cl-titolo {
    width: 110px;
    height: 32px;
    font-size: 12px;
  }
}

@media (min-width: 767px) and (max-width: 991.98px) {
  .home-hero-text {
    position: absolute;
    top: 7vw;
    left: 5vw;
    width: 90vw;
    height: auto;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 21px;
    color: #006798;
    text-align: center;
    background: none;
    margin: 0;
    padding: 0;
    z-index: 2;
    display: block;
  }
  .home-hero-text strong {
    font-weight: 500;
    color: #006798;
  }
}

@media (min-width: 992px) {
  .home-hero-text {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: 300;
    
    font-size: 1.6vw;
    line-height: 1.9vw;
    color: #006798;
    text-align: center;
    background: none;
    margin: 0 auto 3vw auto;
    padding: 0;
    z-index: 2;
    display: block;
    max-width: 70vw;
  }
  .home-hero-text strong {
    font-weight: 500;
    color: #006798;
  }
}



@media (min-width: 992px) {
  .cosa-facciamo-row {
    margin-top: 8% !important;
  }
  .cosa-facciamo-titolo {
    width: 374px;
    height: 110px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 40px;
    color: white;
    text-align: center;
    padding-top: 3%;
    margin-left: 3%;
    margin-top: -2%;
  }
  .cosa-facciamo-img img {
    box-shadow: -5px 5px 40px rgba(0,0,0,0.25);
  }
  .cosa-facciamo img {
    width: 455px;
    height: 523px;
   border-radius: 10px;
}
.cosa-facciamo-lista {
  font-family: 'tenso', Arial, sans-serif;
  font-weight: var(--font-weight-medium);
  font-size: 33px;
  color: #006798;
  text-align: left;
  margin-top: 5%;

}
  .cosa-facciamo-lista li {
    margin-bottom: 3%;
    display: flex;
  }
  .cosa-facciamo-lista li img {
    width: 70px;
    height: 70px;
   
  }
    .cosa-facciamo-testo {
      margin-left: 5%;
    }
    .cosa-facciamo-numero {
      border-radius: 0px !important;
    }
}

@media (min-width: 767px) and (max-width: 991.98px) {
  .cosa-facciamo-row {
    margin-top: 15% !important;
  }
  .cosa-facciamo-titolo {
    width: 250px;
    height: 73px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 27px;
    color: white;
    text-align: center;
    padding-top: 4%;
    margin-left: 10%;
    margin-top: -2%;
  }
  .cosa-facciamo-img img {
    box-shadow: -5px 5px 40px rgba(0,0,0,0.25);
    border-radius: 10px;
  }
  .cosa-facciamo img {
    width: 308px;
    height: 308px;
    object-fit: cover;
    margin-left: 10%;
    border-radius: 2%;
    
  }
  .cosa-facciamo-lista {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-medium);
    font-size: 19px;
    color: #006798;
    text-align: left;
    margin-top: 5%;
    white-space: nowrap;
  }
  .cosa-facciamo-lista li {
    display: flex;
    margin-bottom: 3%;
  }
  .cosa-facciamo-lista li img {
    width: 37px;
    height: 37px;
  }
  .cosa-facciamo-numero {
    border-radius: 0px !important;
  }
}

@media (max-width: 766px) {
  .cosa-facciamo-row {
    margin-top: 8% !important;
  }
  .cosa-facciamo-titolo {
    width: 140px;
    height: 58px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: contain;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 15px;
    color: white;
    text-align: center;
    padding-top: 4%;
    margin-left: 9%;
    margin-top: -3%;
  }
  .cosa-facciamo-img img {
    box-shadow: -5px 5px 40px rgba(0,0,0,0.25);
  }
  .cosa-facciamo div img {
    width: 223px;
    height: 223px;
    object-fit: cover;
   
    margin-right: 16%;
    border-radius: 2%;
    
  }
  .cosa-facciamo-lista {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-medium);
    font-size: 12px;
    color: #006798;
    text-align: left;
    margin-top: 5%;
    line-height: 13px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

 

  }
  .cosa-facciamo-lista li {
    display: flex;
    margin-bottom: 3%;
    padding-left: 3%;
  }
  .cosa-facciamo-lista li img {
    width: 30px;
    height: 30px;
    margin-left: 0%;
    margin-right: 3%;
  }
  .cosa-facciamo-testo {
margin-top: 2%;
} 
  .cosa-facciamo-numero {
    border-radius: 0px !important;
  }
}

@media (min-width: 992px) {

  .rd {
    margin-top: 10.8%;
    /* display: flex; */
    /* align-items: center; */
  }
  .rd-titolo {
    width: 374px;
    height: 110px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 40px;
    color: white;
    text-align: center;
    padding-top: 2%;
    margin: 0 auto;
    margin-top: -2%;
  }
  .rd-testo {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 30px;
    color: #006798;
    text-align: center;
    margin-left: 3%;
    margin-top: 3%;
    line-height: 37px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%; /**/
    width: 70%;
  }
  .rd-testo strong {
    font-weight: var(--font-weight-medium);
  }
.rd img {
  width: 583px;
  height: 523px;
  text-align: right;
  border-radius: 2%;
  box-shadow: -5px 5px 40px rgba(0,0,0,0.25);
}

.rd-img.p-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
  
  
}
@media (min-width:766px) and (max-width: 991.98px) {

  .rd-titolo {
    width: 250px;
    height: 73px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 27px;
    color: white;
    text-align: center  ;
    padding-top: 3%;
    margin-top: -2%;

  }
  .rd-testo {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 19px;
    color: #006798;
    text-align: center;
padding: inherit;
    margin-top: 3%;
  }
  .rd img {
    width: 278px;
    height: 307px;
    object-fit: cover;
    margin-right: 10%;
    border-radius: 2%;
    box-shadow: -5px 5px 40px rgba(0,0,0,0.25);
  }
  .rd {
    margin-top: 15%;
  }

  .rd-testo strong {
    font-weight: var(--font-weight-medium);
  } 
}

@media (max-width: 766px) {
  .rd-titolo {
    width: 140px;
    height: 58px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: contain;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 15px;
    color: white;
    text-align: center;
    padding-top: 4%;
    margin-top: -2%;
  }
  .rd-testo {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 12px;
    color: #006798;
    text-align: center;
    margin-left:6%;
    padding-bottom: 10%;
  }
  .rd img {
    width: 223px;
    height: 223px;
    object-fit: cover;

    border-radius: 2%;
    box-shadow: -5px 5px 40px rgba(0,0,0,0.25);
  }
  .rd {
    margin-top: 15%;
  }
  .rd-testo strong {
    font-weight: var(--font-weight-medium);
  }


}

@media (min-width: 992px) {
  .cl-titolo {
    width: 374px;
    height: 110px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 37px;
    color: white;
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 2%;
    margin: 0 auto;
    margin-top: -2%;
  }
  .cl-testo {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 30px;
    color: #006798;
    text-align: center;
    margin-left: 3%;
    margin-top: 10%;
    margin-bottom: 10%;
  }
  .cl-testo strong {
    font-weight: var(--font-weight-medium);
  }
  .cl {
    margin-top: 11%;
  }
  .cl-img {
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 767px) and (max-width: 991.98px) {
  .cl-titolo {
    width: 250px;
    height: 73px;
    background-image: url('../images/box-titolo-blu.svg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 27px;
    color: white;
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 3%;
    margin: 0 auto;
    margin-top: -2%;
  }
  .cl-testo {
    font-family: 'tenso', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    font-size: 19px;
    color: #006798;
    text-align: center;
    margin-left: 8%;
    margin-top: 3%;
    margin-bottom: 10%;
  }
  .cl-testo strong {
    font-weight: var(--font-weight-medium);
  }

  }
  @media (max-width: 766px) {
    .cl-titolo {
      width: 160px;
      height: 58px;
      background-image: url('../images/box-titolo-blu.svg');
      background-size: contain;
      background-repeat: no-repeat;
      font-family: 'tenso', Arial, sans-serif;
      font-weight: var(--font-weight-light);
      font-size: 15px;
      color: white;
      text-align: center;
      padding-left: 16px;
      padding-right: 16px;
      padding-top: 3%;
      margin: 0 auto;
      margin-top: -2%;
      padding-bottom: 10%;
    }
 .cl-testo {
  margin: 0 auto;
  font-family: 'tenso', Arial, sans-serif;
  font-weight: var(--font-weight-light);
  font-size: 12px;
  color: #006798;
  text-align: center;
  padding: -4 10px;
  margin-top: 5%;
  margin-bottom: 10%;
 }
 .cl-testo strong {
  font-weight: var(--font-weight-medium);
 }
 .cl {
  margin-top: 15%;
 }
  }
