/* Brand logo slider */
.marquee-slider .brands {
  position: relative;
  overflow: hidden;
  height: 8.5rem;
  direction: ltr;
}

.marquee-slider .brands__preWrapper {
  position: relative;
  width: 100%;
  height: 8.5rem;
  transform: translateX(0%);
  animation: scroll1 20s linear infinite;
  animation-direction: alternate;

  will-change: transform;
}

.marquee-slider .brands__wrapper {
  position: absolute;
  white-space: nowrap;
  transform: translateX(0%) translateZ(0);
  animation: scroll2 20s linear infinite;
  animation-direction: alternate;

  will-change: transform;
}

.marquee-slider .brands__wrapper > div,
.marquee-slider .brands__wrapper > img {
  position: relative;
  display: inline-block;
  margin: 0 1rem;
  vertical-align: middle;
}

.marquee-slider .brands__wrapper > div img {
  max-width: 15rem;
  max-height: 8.5rem;
  border-radius: 16px;
}

@keyframes scroll1 {
  0% {
    transform: translateX(-0%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes scroll2 {
  0% {
    transform: translateX(0%) translateZ(0);
  }
  100% {
    transform: translateX(-100%) translateZ(0);
  }
}
/*load more*/
.read-more-check {
  display: none;
}
.read-more-check:checked ~ .read-more-label:before {
  top: .7rem;
  transform: rotate(0);
}
.read-more-label:after {
  content: 'نمایش اطلاعات بیشتر';
}
.read-more-check:checked ~ .read-more-label:after {
  content: 'نمایش کمتر';
}
.read-more-label {
  position: absolute;
  display: block;
  margin: -5.5rem auto;
  left: 0;
  right: 0;
  width: 250px;
  text-align: center;
  bottom: 1rem;
  padding: 0.8rem 2.5rem;
  color: #254CA7;
  transition: bottom .5s linear 0s;
  border: 1px solid #254CA7;
  border-radius: 12px;
  z-index: 9;
}

/*
  The styles above aren't related with the functionality
*/
.read-more {
  max-height: 0;
  display: block;
  overflow: hidden;
  transition: max-height .5s linear 0s;
}
/*
The down side of this approach is that you have to know what will be the max-height in advance
*/
.read-more-check:checked ~ .read-more {
  max-height: 5000px;
}

.d-none {
    display: none;
}