/* hslider2-M2 HTML */

.hslider2-M2-section {
    background-color: #ffffff;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hslider2-M2-container {
    padding-top: 60px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
}

.hslider2-M2-wrapper {
    margin: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1400px;
}

/* CAROSELLO PERSONALIZZATO */

.custom-hslider2-M2 {
    position: relative;
    max-width: 1400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-right: 50px;
    padding-left: 50px;
}

.custom-hslider2-M2-inner {
    display: flex;
    width: 100%;
    max-width: 1400px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
}

.hslider2-M2-cols-12 {
    width: 100%;
    display: block;
    text-align: left;
    padding-left: 50px;
    padding-bottom: 30px;
}

.section-title-hslider2-M2 {
    font-family: Inter, sans-serif;
    font-size: 45px;
    line-height: 52px;
    color: #000000;
    font-weight: 600;
    text-align: left;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

/* STILI PER I CONTENUTI DELLE SLIDE  */

.hslider2-M2-cols-12-slider {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: row;
    margin: 0px;
}

.hslider2-M2-lg-cols-6-left {
    width: 50%;
    box-sizing: border-box;
    align-content: center;
}

.hslider2-M2-lg-cols-6-right {
    width: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding-left: 30px;
}

.slide-title-hslider2-M2 {
    font-family: Inter, sans-serif;
    font-size: 28px;
    line-height: 34px;
    color: #000000;
    font-weight: 600;
    text-align: left;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    padding-bottom: 20px;
}

.slide-description-hslider2-M2 {
    font-family: Inter, sans-serif;
    font-size: 20px;
    line-height: 26px;
    color: #000000;
    font-weight: 400;
    text-align: left;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.features-title-hslider2-M2 {
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #969696;
    font-weight: 400;
    text-align: left;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    padding-bottom: 20px;
}

.image-container-hslider2-M2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.img-fluid-hslider2-M2 {
    max-width: 100%;
    height: auto;
    display: block;
}

.custom-hslider2-M2-controls,
.controls-position-outside-hslider2-M2 {
    position: relative;
    margin-top: 50px !important;
}

/* EFFETTO DI FADE PER LE SLIDE ATTIVO SOLO QUANDO LE ANIMAZIONI SONO ABILITATE */

.custom-hslider2-M2-fade .custom-hslider2-M2-inner {
    transform: none !important;
    max-width: 1400px;
}

.custom-hslider2-M2-fade .custom-hslider2-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-hslider2-M2-fade .custom-hslider2-M2-item.active {
    opacity: 1;
    z-index: 1;
}

/* QUANDO LE ANIMAZIONI SONO DISABILITATE, MANTENIAMO LA STRUTTURA MA SENZA TRANSIZIONI */

.custom-hslider2-M2:not(.custom-hslider2-M2-fade) .custom-hslider2-M2-item {
    display: none;
}

.custom-hslider2-M2:not(.custom-hslider2-M2-fade) .custom-hslider2-M2-item.active {
    display: block;
}

/* PERSONALIZZAZIONE DEGLI INDICATORI */

/* BASE: CONTENITORE DEGLI INDICATORI */

.custom-hslider2-M2-controls {
    max-width: 1400px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    z-index: 10;
}

/* BASE: INDICATORI */

.custom-hslider2-M2-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(160, 160, 160);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

/* BASE: INDICATORE NON ATTIVO */

.custom-hslider2-M2-indicator.active {
    background-color: #535353;
    transform: scale(1.1);
}

/* BASE: EFFETTO HOVER */

.custom-hslider2-M2-indicator:hover {
    background-color: rgba(155, 155, 155);
}

/* POSIZIONE IN ALTO */

.controls-position-top-hslider2-M2 {
    bottom: auto;
    top: 20px;
}

/* POSIZIONE A DESTRA */

.controls-position-right-hslider2-M2 {
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    left: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
}

/* POSIZIONE A SINISTRA */

.controls-position-left-hslider2-M2 {
    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-hslider2-M2-indicator {
    width: 8px;
    height: 8px;
}

/* PUNTINI GRANDI */

.indicator-size-large .custom-hslider2-M2-indicator {
    width: 16px;
    height: 16px;
}

/* VARIANTI DI FORMA */

/* QUADRATI */

.indicator-shape-square .custom-hslider2-M2-indicator {
    border-radius: 0;
}

/* ARROTONDATI */

.indicator-shape-rounded .custom-hslider2-M2-indicator {
    border-radius: 3px;
}

/* RETTANGOLARI */

.indicator-shape-line .custom-hslider2-M2-indicator {
    width: 25px;
    height: 4px;
    border-radius: 2px;
}

/* VARIANTI DI COLORE */

/* TEMA CHIARO (SFONDI SCURI) */

.indicator-theme-light .custom-hslider2-M2-indicator {
    background-color: rgba(255, 255, 255, 0.5);
}

.indicator-theme-light .custom-hslider2-M2-indicator.active {
    background-color: #fff;
}

.indicator-theme-light .custom-hslider2-M2-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* TEMA BLU */

.indicator-theme-blue .custom-hslider2-M2-indicator {
    background-color: rgba(0, 123, 255, 0.5);
}

.indicator-theme-blue .custom-hslider2-M2-indicator.active {
    background-color: rgb(0, 123, 255);
}

.indicator-theme-blue .custom-hslider2-M2-indicator:hover {
    background-color: rgba(0, 123, 255, 0.8);
}

/* TEMA ARANCIONE */

.indicator-theme-orange .custom-hslider2-M2-indicator {
    background-color: rgba(255, 102, 0, 0.5);
}

.indicator-theme-orange .custom-hslider2-M2-indicator.active {
    background-color: rgb(255, 102, 0);
}

.indicator-theme-orange .custom-hslider2-M2-indicator:hover {
    background-color: rgba(255, 102, 0, 0.8);
}

/* EFFETTI SPECIALI */

/* CON BORDO */

.indicator-with-border .custom-hslider2-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-hslider2-M2-indicator {
    border-radius: 50%;
}

.indicator-effect-morph .custom-hslider2-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) {
      
      .hslider2-M2-wrapper {
          flex-direction: column;
      }
      
      .hslider2-M2-cols-xs-12 {
          width: 100%;
      }
      
      .hslider2-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) {
      .hslider2-M2-wrapper {
          flex-direction: column;
      }
      
      .hslider2-M2-cols-sm-12 {
          width: 100%;
      }
      
      .hslider2-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) {
      .hslider2-M2-wrapper {
          flex-wrap: wrap;
      }
      
      .hslider2-M2-cols-md-12 {
          width: 100%;
      }
      
      .hslider2-M2-cols-md-6 {
          width: 50%;
      }
      
      .hslider2-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) {
      .hslider2-M2-wrapper {
          width: 960px;
      }
      
      .hslider2-M2-cols-lg-12 {
          width: 100%;
      }
      
      .hslider2-M2-cols-lg-6 {
          width: 50%;
      }
      
      .hslider2-M2-cols-lg-4 {
          width: 33.33%;
      }
      
      .hslider2-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){
      .hslider2-M2-wrapper {
          width: 1400px;
      }
      
      .hslider2-M2-cols-xl-12 {
          width: 100%;
      }
      
      .hslider2-M2-cols-xl-6 {
          width: 50%;
      }
      
      .hslider2-M2-cols-xl-4 {
          width: 33.33%;
      }
      
      .hslider2-M2-cols-xl-3 {
          width: 25%;
      }
  }
  @media (min-width: 1400px) {
      .hslider2-M2-wrapper {
          width: 100%;
      }
      
      .hslider2-M2-cols-12 {
          width: 100%;
      }
  
      .hslider2-M2-cols-11 {
          width: 91.67%;
      }
  
      .hslider2-M2-cols-10 {
          width: 83.33%;
      }
  
      .hslider2-M2-cols-9 {
          width: 75%;
      }
  
      .hslider2-M2-cols-8 {
          width: 66.67%;
      }
  
      .hslider2-M2-cols-7 {
          width: 58.33%;
      }
  
      .hslider2-M2-cols-6 {
          width: 50%;
      }
  
      .hslider2-M2-cols-5 {
          width: 41.67%;
      }
  
      .hslider2-M2-cols-4 {
          width: 33.33%;
      }
  
      .hslider2-M2-cols-3 {
          width: 25%;
      }
  
      .hslider2-M2-cols-2 {
          width: 16.67%;
      }
  
      .hslider2-M2-cols-1 {
          width: 8.33%;
      }
  }
  */

@media (max-width:699px) {
    .custom-hslider2-M2 {
        width: 100%;
        max-width: 699px;
        height: auto;
        padding-right: 50px;
        padding-left: 0px;
    }

    .custom-hslider2-M2 {
        padding-left: 0px;
        padding-right: 0px;
    }

    .hslider2-M2-lg-cols-6-left {
        padding-top: 30px;
    }
}

@media (max-width:409px) {
    .custom-hslider2-M2 {
        width: 100%;
        max-width: 699px;
        height: auto;
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media (max-width:699px) {
    .custom-hslider2-M2-inner {
        display: block;
        width: 100%;
        max-width: 699px;
        flex-direction: column;
    }
}


/* TITOLO */

/* < 369PX */
@media (max-width: 368px) {
    .section-title-hslider2-M2 {
        font-size: 31px;
        line-height: 37px;
    }
}

/*  Da 369px a 374px */
@media (min-width: 369px) and (max-width: 374px) {
    .section-title-hslider2-M2 {
        font-size: 31px;
        line-height: 37px;
    }
}

/*  Da 375px a 408px */
@media (min-width: 375px) and (max-width: 408px) {
    .section-title-hslider2-M2 {
        font-size: 32px;
        line-height: 38px;
    }
}

/*  Da 409px a 413px */
@media (min-width: 409px) and (max-width: 413px) {
    .section-title-hslider2-M2 {
        font-size: 33px;
        line-height: 39px;
    }
}

/*  Da 414px a 429px */
@media (min-width: 414px) and (max-width: 429px) {
    .section-title-hslider2-M2 {
        font-size: 33.5px;
        line-height: 39.5px;
    }
}

/*  Da 430px a 790px */
@media (min-width: 430px) and (max-width: 790px) {
    .section-title-hslider2-M2 {
        font-size: 34px;
        line-height: 40px;
    }
}

/* Da 791px a 809px */
@media (min-width: 791px) and (max-width: 809px) {
    .section-title-hslider2-M2 {
        font-size: 35px;
        line-height: 41px;
    }
}

/* Da 810px a 829px */
@media (min-width: 810px) and (max-width: 829px) {
    .section-title-hslider2-M2 {
        font-size: 36px;
        line-height: 42px;
    }
}

/* Da 830px a 848px */
@media (min-width: 830px) and (max-width: 848px) {
    .section-title-hslider2-M2 {
        font-size: 37px;
        line-height: 43px;
    }
}

/* Da 849px a 886px */
@media (min-width: 849px) and (max-width: 886px) {
    .section-title-hslider2-M2 {
        font-size: 38px;
        line-height: 44px;
    }
}

/* Da 887px a 963px */
@media (min-width: 887px) and (max-width: 963px) {
    .section-title-hslider2-M2 {
        font-size: 39px;
        line-height: 45px;
    }
}

/* Da 964px a 1066px */
@media (min-width: 964px) and (max-width: 1066px) {
    .section-title-hslider2-M2 {
        font-size: 41px;
        line-height: 47px;
    }
}

/* Da 1067px a 1231px */
@media (min-width: 1067px) and (max-width: 1231px) {
    .section-title-hslider2-M2 {
        font-size: 43px;
        line-height: 49px;
    }
}




/* STILI PER LE SLIDE */

@media (max-width: 699px) {
    .hslider2-M2-cols-12 {
        width: 100%;
        max-width: 699px;
        padding-left: 50px;
        padding-right: 50px;
        flex-direction: column;
    }
}

@media (max-width: 409px) {
    .hslider2-M2-cols-12 {
        width: 100%;
        max-width: 409px;
        padding-left: 30px;
        padding-right: 30px;
        flex-direction: column;
    }
}

@media (max-width: 964px) {
    .section-title-hslider2-M2 {
        font-size: 45px;
        line-height: 51px;
    }
}

@media (max-width: 887px) {
    .section-title-hslider2-M2 {
        font-size: 44px;
        line-height: 50px;
    }
}

@media (max-width: 849px) {
    .section-title-hslider2-M2 {
        font-size: 43px;
        line-height: 49px;
    }
}

@media (max-width: 1100px) {
    .hslider2-M2-lg-cols-6-left {
        padding-right: 0px !important;
    }
}

/* STILI PER I CONTENUTI DELLE SLIDE */

@media (max-width: 699px) {
    .hslider2-M2-cols-12-slider {
        display: block;
        width: 100%;
        max-width: 699px;
        flex-direction: column;
    }

    .hslider2-M2-cols-12-slider {
        padding-left: 0px;
        padding-right: 0px;
    }

    .hslider2-M2-lg-cols-6-left {
        padding-left: 0px;
        padding-right: 0px;
    }

    .hslider2-M2-cols-12 {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width: 409px) {
    .hslider2-M2-cols-12-slider {
        width: 100%;
        max-width: 409px;
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .hslider2-M2-lg-cols-6-left {
        width: 50%;
        max-width: 495.5px;
    }
}

@media (max-width: 870px) {
    .hslider2-M2-lg-cols-6-left {
        width: 50%;
        max-width: 435px;
    }
}

@media (max-width: 699px) {
    .hslider2-M2-lg-cols-6-left {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .hslider2-M2-lg-cols-6-right {
        width: 50%;
        max-width: 495.5px;
    }
}

@media (max-width: 870px) {
    .hslider2-M2-lg-cols-6-right {
        width: 50%;
        max-width: 435px;
    }
}

@media (max-width: 699px) {
    .hslider2-M2-lg-cols-6-right {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 943px) {
    .slide-title-hslider2-M2 {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 699px) {
    .slide-title-hslider2-M2 {
        padding-bottom: 20px;
    }
}

@media (max-width: 409px) {
    .slide-title-hslider2-M2 {
        line-height: 28px;
        font-size: 22px;
    }
}

@media (max-width: 369px) {
    .slide-title-hslider2-M2 {
        line-height: 26px;
        font-size: 20px;
    }
}

@media (max-width: 943px) {
    .slide-description-hslider2-M2 {
        line-height: 25px;
        font-size: 19px;
    }
}

@media (max-width: 820px) {
    .slide-description-hslider2-M2 {
        line-height: 24px;
        font-size: 18px;
    }
}

@media (max-width: 699px) {
    .slide-description-hslider2-M2 {
        padding-bottom: 32px;
    }
}

@media (max-width: 409px) {
    .slide-description-hslider2-M2 {
        line-height: 23px;
        font-size: 17px;
    }
}

@media (max-width: 388px) {
    .slide-description-hslider2-M2 {
        line-height: 22px;
        font-size: 16px;
    }
}

@media (max-width: 1128px) {
    .features-title-hslider2-M2 {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (max-width: 369px) {
    .features-title-hslider2-M2 {
        line-height: 20px;
        font-size: 14px;
        margin-bottom: 20px;
    }
}

@media(max-width:699px) {
    .image-container-hslider2-M2 {
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 60px;
    }

    .section-title-hslider2-M2 {
        padding-left: 0px;
    }
}

@media (min-width: 700px) {
    .custom-hslider2-M2-inner {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .custom-hslider2-M2-item {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (min-width: 700px) {
    .hslider2-M2-cols-12-slider {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 699px) {
    .custom-hslider2-M2-controls {
        position: absolute;
        bottom: 0;
        transform: translateY(100%);
        justify-content: center
    }

    .hslider2-M2-lg-cols-6-right {
        padding-left: 0px;
    }

}

@media (max-width: 1400px) {
    .hslider2-M2-lg-cols-6-left {
        padding-right: 0px;
    }
}

@media (max-width: 1280px) {
    .custom-hslider2-M2 {
        padding-left: 0px;
        padding-right: 0px;
    }

    .hslider2-M2-cols-12 {
        padding-left: 0px;
    }
}

@media (max-width: 409px) {
    .hslider2-M2-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .hslider2-M2-container {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .hslider2-M2-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}