/* Legenda

- classi default splide
- custom class
- classi splide per service.php
- classi splide per co-cb-carousel-teasers in single-portfolio.php
  __card splide project: cm-card-splide-project
  __ style card
-

/*

/* -------------------------------------------------------------------------------- */
/* ! Classi che si ripetono in tutti gli splide */
/* -------------------------------------------------------------------------------- */
.splide {
  width: 100%;
  height: 100%;
  /* background-color: violet; */
  position: relative;
  margin: 0 auto;
  visibility: inherit;
  /* padding-right: var(--space-l); */

  display: flex;
  flex-direction: column;
}


/* Modifire*/

:is(.cm-slide-image-fullscreen-1__media-group, .co-cb-carousel-teasers) .splide {
  padding: 0;
}


/* Wrapper ul */
.splide__track {
  padding-block: var(--space-xl);
  overflow: inherit;
}
 
/* ul */
.splide__list {
  display: grid;
  transition-property: transform;
}


/* li */
.splide__slide {
  will-change: scroll-position;
  transition: all .6s cubic-bezier(.215, .61, .355, 1);
}




.splide__sr {
  display: none;
}




.splide__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: var(--space-m);
  padding-bottom: var(--space-m);
}





.my-slider-progress {
  width: min(80%, 400px);
  margin-inline: auto;
  background: var(--color-brand-l);
  border-radius: 16px;
  margin-top: 48px;
}

.my-slider-progress-bar {
  background: var(--color-brand-d);
  height: 3px;
  transition: width 600ms ease;
  width: 0;
}



/* ! -----------  Dots pagination -------------- */
/* 
.cm-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: none
}

.cm-pagination__bullet {
  position: relative;
  opacity: .7;
  display: block;
  overflow: hidden;
  width: .6rem;
  height: .6rem;
  margin: .25rem;
  cursor: pointer;
  transition: .3s;
  border-radius: 50%;
  background-color: #ccc;
  padding: 0px;
}



.cm-pagination__bullet.is-active {
  background-color: blue;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
} */

/* ! -----------  arrows -------------- */
.splide__arrows {
  width: fit-content;
  display: flex;
  padding: var(--space-xs);
  background-color: var(--color-neutral-xd);
  /* position: absolute; */
  /* z-index: 9; */
  /* top: 50%; */
  /* transform: translateY(-50%); */
  border-radius: 0px;
  order: -1;
}

@media (width >= 768px){
  .splide__arrows {

    margin-left: auto;
    margin-right: var(--space-xs);
  }
}

.splide__arrows::after {
  content: '';
  display: block;
  position: relative;
  width: 1px;
  height: 2rem;
  margin-top: .5rem;
  margin-inline: 4px;
  border: 1px solid var(--color-neutral-l);
}

.splide__arrow {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 1px;
  background-color: var(--color-neutral-xd);
  transition: 0.3s;
  opacity: 1;

}
button[disabled]{
  opacity: .3;
}

@media (max-width: 992px) {
  .splide__arrow {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: auto;
  }
}

.splide__arrow svg {
  width: min(3rem, 70%);
  height: 100%;
  fill: var(--color-neutral-lst);
}


.splide__arrow:hover {
  background-color: var(--color-neutral-dst);

}

.splide__arrow--prev svg {
  transform: rotate(180deg);
}

.splide__arrow--next {
  order: 2;

}


/* ---------- fine -----------*/




/* -------------------------------------------------------------------------------- */
/* ! Classi per service.php */
/* -------------------------------------------------------------------------------- */
/* 
.splide__list .item {
  position: relative;
  overflow: hidden;
  margin: 1em auto;
  padding-top: 100%;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}
 */



/* -------------------------------------------------------------------------------- */
/* ! Classi per single-portfolio.php */
/* -------------------------------------------------------------------------------- */

/* 
.list--service {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-flow: row nowrap;
  transition-property: transform;
 }

.list--fullscreen .item {

  padding-top: 0;

} */




/* ! ----------------------  Aspetto card project ----------------------- */
/* 
.cm-card-splide-project {
  max-width: 400px;
  padding-right: 32px;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

@media (max-width: 768px) {

  /* smartphone portrai and landscape 
  .cm-card-splide-project {
    max-width: 280px;
  }
}

.cm-card-splide-project .cm-card-progetto__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  margin: 1em auto;
  flex-shrink: 0;
}

.cm-card-splide-project .cm-card-progetto__text {
  padding: 0;
}

.cm-card-splide-project .cm-card-progetto__text h3 {
  font-size: 1.25rem;
  color: #000;
  margin-bottom: 0.5em;
}


.cm-card-splide-project .cm-card-progetto__text .cm-card-progetto__description ul {
  margin: 0;
}

.cm-card-splide-project .cm-card-progetto__text .cm-card-progetto__description ul li {
  font-size: 1rem;
  color: #000;
  margin-bottom: 0.85em;
}

.cm-card-splide-project .cm-card-progetto__text .cm-card-progetto__description ul li::before {
  font-size: 1rem;
  color: #000;
}


.cm-card-splide-project .cm-card-progetto__text .cm-card-progetto__description {
  margin-bottom: 0.5em;
}

.cm-card-splide-project .cm-card-progetto__text .cm-card-progetto__description small {
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 0.5em;
}


.cm-card-splide-project .cm-card-progetto__text .cm-card-progetto__data p {
  font-size: 1rem;
  font-weight: 400;
  color: #000;
}
 */