/* hslider-M2 HTML */
.hslider-M2-section {
  background-color: #ffffff;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hslider-M2-container {
  padding-top: 60px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 60px;
  display: flex;
  justify-content: center;
}

.hslider-M2-wrapper {
  margin: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1400px;
}

/* TITOLO */

.hslider-M2-cols-12 {
  display: block;
  text-align: left;
  width: 100%;
  padding-bottom: 30px;
}

.hslider-M2-title {
  font-family: Inter, sans-serif;
  font-size: 36px;
  line-height: 42px;
  color: #000000;
  font-weight: 600;
  text-align: left;
  padding-bottom: 10px;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
}

.hslider-M2-subtitle {
  font-size: 20px;
  line-height: 26px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  color: #000;
  text-align: left !important;
  padding-bottom: 30px;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
  padding-bottom: 30px;
}

/* CAROSELLO PERSONALIZZATO */
.custom-hslider-M2 {
  position: relative;
  max-width: 1400px;
  width: 100%;
  height: auto;


}

.custom-hslider-M2-inner {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
}


/* STILI PER I CONTENUTI DELLE SLIDE  */
.hslider-M2-cols-12-slider {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin: 0px;
}

.hslider-M2-lg-cols-6-left {
  width: 50%;
  box-sizing: border-box;
  padding-right: 30px;
  align-content: center;
}

.hslider-M2-lg-cols-6-right {
  width: 50%;
  box-sizing: border-box;
  padding-left: 30px;
}

.PROVA {
  padding-bottom: 50px;
}

.slide-title-hslider-M2 {
  font-family: Inter, sans-serif;
  font-size: 28px;
  line-height: 32px;
  color: #000;
  font-weight: 700;
  text-align: left;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
  padding-bottom: 32px;
}

.slide-description-hslider-M2 {
  font-family: Inter, sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: #000;
  font-weight: 400;
  text-align: left;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
}

.btn-hslider-M2.btn-discover {
  border: solid 2px #000;
  border-radius: 30px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  display: inline-block;
}

.btn-hslider-M2.btn-discover:hover {
  background-color: #000;
  color: #fff;
}


.image-container-hslider-M2 {

  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.img-fluid-hslider-M2 {

  height: auto;
  display: block;
  max-width: 100%;
}

.custom-hslider-M2-controls,
.controls-position-outside {
  position: relative;
  margin-top: 50px !important;
}

/* EFFETTO DI FADE PER LE SLIDE ATTIVO SOLO QUANDO LE ANIMAZIONI SONO ABILITATE */
.custom-hslider-M2-fade .custom-hslider-M2-inner {
  transform: none !important;
  max-width: 1400px;
}

.custom-hslider-M2-fade .custom-hslider-M2-item {
  position: absolute;
  max-width: 1400px;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.custom-hslider-M2-fade .custom-hslider-M2-item.active {
  opacity: 1;
  z-index: 1;
}

/* QUANDO LE ANIMAZIONI SONO DISABILITATE, MANTENIAMO LA STRUTTURA MA SENZA TRANSIZIONI */
.custom-hslider-M2:not(.custom-hslider-M2-fade) .custom-hslider-M2-item {
  display: none;
}

.custom-hslider-M2:not(.custom-hslider-M2-fade) .custom-hslider-M2-item.active {
  display: block;
}

/* PERSONALIZZAZIONE DEGLI INDICATORI */

/* BASE: CONTENITORE DEGLI INDICATORI */
.custom-hslider-M2-controls {
  max-width: 1400px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

/* BASE: INDICATORI */
.custom-hslider-M2-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

/* BASE: INDICATORE NON ATTIVO */
.custom-hslider-M2-indicator.active {
  background-color: #000;
  transform: scale(1.1);
}

/* BASE: EFFETTO HOVER */
.custom-hslider-M2-indicator:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* POSIZIONE IN ALTO */
.controls-position-top {
  bottom: auto;
  top: 20px;
}

/* POSIZIONE A DESTRA */
.controls-position-right {
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  left: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
}

/* POSIZIONE A SINISTRA */
.controls-position-left {
  position: absolute;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
}


/* VARIANTI DI DIMENSIONE */

/* PUNTINI PICCOLI */
.indicator-size-small .custom-hslider-M2-indicator {
  width: 8px;
  height: 8px;
}

/* PUNTINI GRANDI */
.indicator-size-large .custom-hslider-M2-indicator {
  width: 16px;
  height: 16px;
}

/* VARIANTI DI FORMA */

/* QUADRATI */
.indicator-shape-square .custom-hslider-M2-indicator {
  border-radius: 0;
}

/* ARROTONDATI */
.indicator-shape-rounded .custom-hslider-M2-indicator {
  border-radius: 3px;
}

/* RETTANGOLARI */
.indicator-shape-line .custom-hslider-M2-indicator {
  width: 25px;
  height: 4px;
  border-radius: 2px;
}

/* VARIANTI DI COLORE */

/* TEMA CHIARO (SFONDI SCURI) */
.indicator-theme-light .custom-hslider-M2-indicator {
  background-color: rgba(255, 255, 255, 0.5);
}

.indicator-theme-light .custom-hslider-M2-indicator.active {
  background-color: #fff;
}

.indicator-theme-light .custom-hslider-M2-indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* TEMA BLU */
.indicator-theme-blue .custom-hslider-M2-indicator {
  background-color: rgba(0, 123, 255, 0.5);
}

.indicator-theme-blue .custom-hslider-M2-indicator.active {
  background-color: rgb(0, 123, 255);
}

.indicator-theme-blue .custom-hslider-M2-indicator:hover {
  background-color: rgba(0, 123, 255, 0.8);
}

/* TEMA ARANCIONE */
.indicator-theme-orange .custom-hslider-M2-indicator {
  background-color: rgba(255, 102, 0, 0.5);
}

.indicator-theme-orange .custom-hslider-M2-indicator.active {
  background-color: rgb(255, 102, 0);
}

.indicator-theme-orange .custom-hslider-M2-indicator:hover {
  background-color: rgba(255, 102, 0, 0.8);
}

/* EFFETTI SPECIALI */

/* CON BORDO */
.indicator-with-border .custom-hslider-M2-indicator {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

/* EFFETTO DI CAMBIAMENTO FORMA SULLO STATO ATTIVO  */
.indicator-effect-morph .custom-hslider-M2-indicator {
  border-radius: 50%;
}

.indicator-effect-morph .custom-hslider-M2-indicator.active {
  border-radius: 3px;
}

/* ORDER CLASSES */
.order-first {
  order: -1;
}

.order-last {
  order: 1;
}

.order-0 {
  order: 0;
}

/* MEDIA QUERIES */
/* CLASSI RESPONSIVE PER I DIVERSI DEVICES */
/* EXTRA SMALL DEVICES - xs (phones, less than 576px) 
@media (max-width: 575.98px) {
    
    .hslider-M2-wrapper {
        flex-direction: column;
    }
    
    .hslider-M2-cols-xs-12 {
        width: 100%;
    }
    
    .hslider-M2-cols-xs-6 {
        width: 50%;
    }
    
    .order-xs-first {
        order: -1;
    }
    
    .order-xs-last {
        order: 1;
    }
    
    .order-xs-0 {
        order: 0;
    }
}

/* SMALL DEVICES - sm (landscape phones, 576px and up) 
@media (min-width: 576px) and (max-width: 767.98px) {
    .hslider-M2-wrapper {
        flex-direction: column;
    }
    
    .hslider-M2-cols-sm-12 {
        width: 100%;
    }
    
    .hslider-M2-cols-sm-6 {
        width: 50%;
    }
    
    .order-sm-first {
        order: -1;
    }
    
    .order-sm-last {
        order: 1;
    }
    
    .order-sm-0 {
        order: 0;
    }
}

/* MEDIUM DEVICES - md (tablets, 768px and up) 
@media (min-width: 768px) and (max-width: 991.98px) {
    .hslider-M2-wrapper {
        flex-wrap: wrap;
    }
    
    .hslider-M2-cols-md-12 {
        width: 100%;
    }
    
    .hslider-M2-cols-md-6 {
        width: 50%;
    }
    
    .hslider-M2-cols-md-4 {
        width: 33.33%;
    }
    
    .order-md-first {
        order: -1;
    }
    
    .order-md-last {
        order: 1;
    }
    
    .order-md-0 {
        order: 0;
    }
}

/* LARGE DEVICES - lg (desktops, 992px and up) 
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hslider-M2-wrapper {
        width: 960px;
    }
    
    .hslider-M2-cols-lg-12 {
        width: 100%;
    }
    
    .hslider-M2-cols-lg-6 {
        width: 50%;
    }
    
    .hslider-M2-cols-lg-4 {
        width: 33.33%;
    }
    
    .hslider-M2-cols-lg-3 {
        width: 25%;
    }
}

/* EXTRA LARGE DEVICES - xl (large desktops, 1200px up to 1400px) 
@media (min-width: 1200px) and (max-width: 1399.98px){
    .hslider-M2-wrapper {
        width: 1400px;
    }
    
    .hslider-M2-cols-xl-12 {
        width: 100%;
    }
    
    .hslider-M2-cols-xl-6 {
        width: 50%;
    }
    
    .hslider-M2-cols-xl-4 {
        width: 33.33%;
    }
    
    .hslider-M2-cols-xl-3 {
        width: 25%;
    }
}
@media (min-width: 1400px) {
    .hslider-M2-wrapper {
        width: 100%;
    }
    
    .hslider-M2-cols-12 {
        width: 100%;
    }

    .hslider-M2-cols-11 {
        width: 91.67%;
    }

    .hslider-M2-cols-10 {
        width: 83.33%;
    }

    .hslider-M2-cols-9 {
        width: 75%;
    }

    .hslider-M2-cols-8 {
        width: 66.67%;
    }

    .hslider-M2-cols-7 {
        width: 58.33%;
    }

    .hslider-M2-cols-6 {
        width: 50%;
    }

    .hslider-M2-cols-5 {
        width: 41.67%;
    }

    .hslider-M2-cols-4 {
        width: 33.33%;
    }

    .hslider-M2-cols-3 {
        width: 25%;
    }

    .hslider-M2-cols-2 {
        width: 16.67%;
    }

    .hslider-M2-cols-1 {
        width: 8.33%;
    }
}
*/

@media (max-width:1200px) {
  .hslider-M2-container {
    justify-content: flex-start;
  }
}

@media (max-width:699px) {
  .custom-hslider-M2 {
    width: 100%;
    max-width: 699px;
    height: auto;

  }

  .hslider-M2-container {
    padding-left: 50px;
    padding-right: 50px;
    justify-content: center;
  }
}

@media (max-width:409px) {
  .custom-hslider-M2 {
    width: 100%;
    max-width: 699px;
    height: auto;
    padding-right: 0px;
    padding-left: 0px;
  }

  .hslider-M2-container {
    padding-left: 30px;
    padding-right: 30px;
    justify-content: center
  }
}

@media (max-width:699px) {
  .custom-hslider-M2-inner {
    display: block;
    width: 100%;
    max-width: 699px;
    flex-direction: column;
  }

  .hslider-M2-lg-cols-6-left {
    padding-top: 60px;
  }

  .controls-position-left {
    bottom: -65px;
    left: 39%;
    margin-bottom: 30px;
  }

  .hslider-M2-lg-cols-6-left,
  .hslider-M2-lg-cols-6-right {
    width: 100%;
  }


}

/* STILI PER LE SLIDE */

@media (max-width: 699px) {
  .hslider-M2-cols-12 {
    width: 100%;
    max-width: 699px;
    flex-direction: column;
  }

  .hslider-M2-lg-cols-6-right {
    padding-left: 0px;
  }

}

@media (max-width: 409px) {
  .hslider-M2-cols-12 {
    width: 100%;
    max-width: 409px;
    padding-left: 0px;
    padding-right: 0px;
    flex-direction: column;
  }
}

@media (max-width: 750px) {
  .hslider-M2-lg-cols-6-left {
    padding-top: 0px;
  }

}

/* TITOLO */

@media (max-width: 369px) {
  .hslider-M2-title {
    font-size: 26px;
    line-height: 32px;
  }
}

@media (min-width: 370px) and (max-width: 375px) {
  .hslider-M2-title {
    font-size: 24px;
    line-height: 30px;
  }
}

@media (min-width: 376px) and (max-width: 409px) {
  .hslider-M2-title {
    font-size: 27px;
    line-height: 33px;
  }
}

@media (min-width: 410px) and (max-width: 414px) {
  .hslider-M2-title {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (min-width: 415px) and (max-width: 430px) {
  .hslider-M2-title {
    font-size: 29px;
    line-height: 35px;
  }
}

@media (min-width: 431px) and (max-width: 791px) {
  .hslider-M2-title {
    font-size: 30px;
    line-height: 36px;
  }
}

@media (min-width: 792px) and (max-width: 810px) {
  .hslider-M2-title {
    font-size: 31px;
    line-height: 37px;
  }
}

@media (min-width: 811px) and (max-width: 830px) {
  .hslider-M2-title {
    font-size: 32px;
    line-height: 38px;
  }
}

@media (min-width: 831px) and (max-width: 849px) {
  .hslider-M2-title {
    font-size: 33px;
    line-height: 39px;
  }
}


@media (min-width: 850px) and (max-width: 964px) {
  .hslider-M2-title {
    font-size: 35px;
    line-height: 41px;
  }
}

/* NTRIP DESCRIZIONE */
@media (max-width: 369px) {
  .hslider-M2-subtitle {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (min-width: 370px) and (max-width: 1200px) {
  .hslider-M2-subtitle {
    font-size: 18px;
    line-height: 24px;
  }
}

/* STILI PER I CONTENUTI DELLE SLIDE */

@media (max-width: 699px) {
  .hslider-M2-cols-12-slider {
    display: block;
    width: 100%;
    max-width: 699px;
    flex-direction: column;
  }
}

@media (max-width: 409px) {
  .hslider-M2-cols-12-slider {
    width: 100%;
    max-width: 409px;
    flex-direction: column;
  }
}

@media (min-width: 410px) and (max-width: 699px) {
  .hslider-M2-container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 991px) {
  .hslider-lg-cols-6-left {
    width: 50%;
    max-width: 495.5px;
  }
}

@media (max-width: 870px) {
  .hslider-lg-cols-6-left {
    width: 50%;
    max-width: 435px;
  }
}

@media (max-width: 699px) {
  .hslider-lg-cols-6-left {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .hslider-lg-cols-6-right {
    width: 50%;
    max-width: 495.5px;
  }
}

@media (max-width: 870px) {
  .hslider-lg-cols-6-right {
    width: 50%;
    max-width: 435px;
  }
}

@media (max-width: 699px) {
  .hslider-lg-cols-6-right {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 943px) {
  .slide-title-hslider-M2 {
    font-size: 24px;
    line-height: 28px;
  }
}

@media (max-width: 699px) {
  .slide-title-hslider-M2 {
    padding-bottom: 20px;
  }
}

@media (max-width: 409px) {
  .slide-title-hslider-M2 {
    line-height: 26px;
    font-size: 22px;
  }
}

@media (max-width: 369px) {
  .slide-title-hslider-M2 {
    line-height: 24px;
    font-size: 20px;
  }
}

@media (max-width: 943px) {
  .slide-description-hslider-M2 {
    line-height: 22px;
    font-size: 18px;
  }
}

@media (max-width: 820px) {
  .slide-description-hslider-M2 {
    line-height: 22px;
    font-size: 18px;
  }
}

@media (max-width: 699px) {
  .slide-description-hslider-M2 {
    padding-bottom: 32px;
  }
}

@media (max-width: 409px) {
  .slide-description-hslider-M2 {
    line-height: 22px;
    font-size: 18px;
  }
}

@media (max-width: 388px) {
  .slide-description-hslider-M2 {
    line-height: 21px;
    font-size: 17px;
  }
}


@media (max-width: 890px) {
  .btn-hslider-M2.btn-discoverr {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (min-width: 891px) and (max-width: 1066px) {
  .btn-hslider-M2.btn-discoverr {
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 10px;
  }
}

@media(max-width:699px) {
  .image-container-hslider-M2 {
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
  }
}

@media (min-width: 700px) {
  .custom-hslider-M2-inner {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .custom-hslider-M2-item {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (min-width: 700px) {
  .hslider-M2-cols-12-slider {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}


@media (max-width: 409px) {
  .hslider-M2-container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (min-width: 410px) and (max-width: 699px) {
  .hslider-M2-container {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (min-width: 700px) and (max-width: 870px) {
  .hslider-M2-container {
    padding-left: 30px;
    padding-right: 30px;
  }
}