/*CLIENTI - Layout*/

.clienti {
  position: relative;
}

.clienti .splide__track,
.clienti .views-element-container {
  position: relative;
  height: 100%;
}

.clienti .splide__track {
  max-width: 400px;
  margin: 0px auto;
}

.clienti .clients-carousel-wrapper {
  width: 90%;
  position: relative;
}

.clienti .clients-carousel {
  height: calc(100% - 160px);
  position: relative;
}

.clienti .clients-carousel-wrapper {
  padding: 0 15px !important;
}

.clienti .container {
  position: relative;
  width: 100%;
  margin: 0px auto;
  z-index: 1;
  display: flex;
  flex-direction: row;
  padding: 0px;
  height: 100%;
  top: 0px;
}

.clients-carousel-wrapper {
  position: relative;
  height: 100%;
}

@media (min-width: 1400px) {
  .clienti.section {
    min-height: 910px;
  }
  .sectors.section .it-carousel-wrapper .splide__pagination {
    bottom: 0px;
}
  .clienti .clients-carousel-wrapper {
    width: 100%;
  }
}

/*CLIENTI - Title*/

.clienti h2 {
  text-align: center;
  position: relative;
}

@media (min-width: 576px) {
  .clienti .clients-carousel {
    height: calc(100% - 220px);
    position: relative;
    margin-top: 4rem;
  }

  .clienti .splide__track {
    max-width: 480px;
  }
}

@media (min-width: 1024px) {
  .clienti .clients-carousel {
    height: calc(100% - 190px);
    margin-top: 1rem;
  }
  .clienti.section .it-carousel-wrapper .splide__pagination {
    bottom: 10px !important;
  }
  .clienti .splide__track {
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .clienti .container {
    padding: 0px 4rem;
  }
  .clienti .clients-carousel {
    height: calc(100% - 210px);
  }
}

@media (min-width: 1400px) {
  .clienti .clients-carousel {
    height: calc(100% - 280px);
    margin-top: 4rem;
  }
  .clienti .container {
    padding: 0px 1rem;
  }
}

/*CLIENTI - deco */


.clienti-deco-orange {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--orange);
  right: -10px;
  top: -10px;
  z-index: 0;
  display: none;
}

/*l shape animation*/
.clienti-l-shape-animation {
  width: 500px;
  pointer-events: none;
  height: 400px;
  position: absolute;
  right: 77px;
  bottom: 0px;
  z-index: 0;
  display: none;
}
.clienti-l-shape-animation > div {
  width: 88px;
  height: 88px;
  position: absolute;
}

.clienti-l-shape-animation > div:nth-child(1) {
  top: 262px;
  left: -911px;
  background-color: #001775;
}
.clienti-l-shape-animation > div:nth-child(2) {
  top: 350px;
  left: -911px;
  background-color: #00209a;
}
.clienti-l-shape-animation > div:nth-child(3) {
  top: 350px;
  left: -823px;
  background-color: #002bd2;
}
.clienti-l-shape-animation > div:nth-child(4) {
  top: 350px;
  left: -735px;
  background-color: #002bd2;
}
.clienti-l-shape-animation > div:nth-child(5) {
  top: 350px;
  left: -647px;
  background-color: #2f59ff;
}

@media (min-width: 768px) {
  .clienti-deco-orange {
    display: block;
    right: 90px;
  }
  .clienti-l-shape-animation {
    display: block;
  }
}

@media (min-width: 1200px) {
  .clienti-deco-orange {
    right: -40px;
  }
  .clienti-l-shape-animation {
    top: 58px;
    display: block;
    left: -60px;
  }

  .clienti-l-shape-animation > div:nth-child(1) {
    top: 262px;
    left: -11px;
  }
  .clienti-l-shape-animation > div:nth-child(2) {
    top: 350px;
    left: -11px;
  }
  .clienti-l-shape-animation > div:nth-child(3) {
    top: 350px;
    left: 76px;
  }
  .clienti-l-shape-animation > div:nth-child(4) {
    top: 350px;
    left: 163px;
  }
  .clienti-l-shape-animation > div:nth-child(5) {
    top: 350px;
    left: 248px;
  }
}

@media (min-width: 1400px) {
  .clienti-l-shape-animation {
    top: 77px;
  }
}

/*CLIENTI - carousel */

.client-item {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: baseline;
  justify-content: end;
  overflow: hidden;
}

.client-item .curtain {
  position: absolute;
  width: 100%;
  pointer-events: none;
  height: 100%;
  transform-origin: bottom;
  opacity: 1;
  background: rgb(255, 255, 255);
}

.client-item > div {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;

  background-image: linear-gradient(0deg, #000000bd 25%, #00000029 78%);
}

.client-item img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

.client-item h4 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 32px;
  margin: 0;
  margin-left: 15px;
  margin-right: 15px;
  text-align: center;
}

.client-item a {
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
  margin: 1rem 0rem 2rem 0rem;

    svg {
  transition: 0.2s ease;
  }
}

.client-item a:hover {
  color: var(--orange);

  svg {
      fill:var(--orange) !important ;
  }
}

@media (min-width: 576px) {
  .client-item h4 {
    font-size: 36px;
    line-height: 54px;
  }
  .client-item a {
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .client-item h4 {
    font-size: 34px;
    line-height: 42px;
  }
}

/* DOTS */
.clienti .it-carousel-wrapper .splide__pagination {
  position: absolute;
  bottom: -30px;
  padding: 0;
}
