
.carousel-partenaires-accueil .splide__slide{
  max-width: 190px;
  margin: 0 5px;
}

/* Expendable img box, home page */

@media (min-width: 1024px) {
  body:not(.elementor-editor-active){
    .eimgbox{
      &.armed{
        margin-bottom: 10px;
        & *{
          transition: all .5s;
        }
        & .e-con-inner{
          padding: 0;
        }
        & .eimgbox_content_wrap {
          padding: 0;
        }
        & .eimgbox_content_box {
          padding: 0px;
          background-color: rgba(255,244,227, 0) !important;
        }

        & .eimgboxtext{
          max-height: 0;
          overflow: hidden;
        }

        & .eimgbox-img{
            position: absolute;
          transition: all 1s;
          opacity: 0;
          margin-top: 50%;
          transform: rotate(20deg) translateX(100%) translateY(-50%);
          max-width: 0 !important;
        }
      }
      
      &.active{
        
        & .eimgbox_content_wrap{
          padding: 100px 0;
        }
        & .eimgbox_content_box {
          padding: 45px;
          background-color: rgba(255,244,227, 1) !important;
          & a {
            cursor: url("/wp-content/uploads/2025/10/curseur-savoir-plus-128.png") 90 100, auto;
          }
        }
        
        & .eimgboxtext{
          max-height: 250px;
        }
        
        & .eimgbox-img{
          transition: all 1s;
          opacity: 1;
          transform: rotate(0deg) translateX(0)  translateY(-50%);
          max-width: 90% !important;
        }
      }
    }
  }
}


/* Expendable service box, services page */
body:not(.elementor-editor-active){
  & .expservicebox{
    & *{
      transition: all .35s;
    }
    & .expservicebox-wrap{
      background-color: #fefefe;
    }
    
    
    & .txt-sous-services{
      overflow: hidden;
      //background-color: blue;
      height: 30px;
      cursor: pointer;
    }

    & .service-items-wrap{
      max-height: 0;
      overflow: hidden;
      padding:0;
    }

    & .service-btn{
      max-height: 0;
      margin-top: -40px;
      overflow: hidden;
    }

    &.active{
      *{
        transition: all .35s;
      }
      & .expservicebox-wrap{
        background-color: #fff4e3;
        border-color: rgba(255,255,255,0);
      }
        
      & .txt-sous-services{
        overflow: hidden;
        height: 0;
        cursor: pointer;
      }
        
      & .service-items-wrap{
        max-height: 230px;        
        @media (max-width: 1024px) {
          max-height: none;
        }
        overflow: hidden;
        padding:10px;
        margin-top: -40px;
      }
        
      & .service-btn{
        margin-top: 0px;
        max-height: 120px;
        overflow: hidden;
      }
    }
  }
}

.splide__arrows {
    display: none;
}