.horizontal-timeline h2 {
  text-align: center;
  margin-bottom: 30px;
}

.h-timeline-wrapper {
  background-color: #f4f4f4;
  padding: 65px;
  border-radius: 70px;
  position: relative;
}

.h-timeline-steps {
  list-style: none;
  margin: 0 0 50px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  min-height: 50px;
}

.h-timeline-steps::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #b2b4b5;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.h-timeline-step {
  font-size: 0;
  position: relative;
  text-align: center;
  width: 10px;
  height: 10px;
  background-color: #415AA8;
  border-radius: 12px;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  line-height: 2;
  transition: 0.3s ease all;
}

.h-timeline-step.is-active {
  font-size: 25px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(315deg, #2D3079 0%, #374590 50%, #415AA8 100%);
}

.h-timeline-slide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  display: none;
  min-height: 340px;
}

.h-timeline-slide.is-active {
  display: flex;
}

.h-timeline-slide .image-wrap {
  width: 50%;
}

.horizontal-timeline.right .h-timeline-slide .image-wrap {
  order: 2;
}

.h-timeline-slide .image-wrap img {
  max-height: 340px;
  margin: 0 auto;
}

.h-timeline-slide .content-wrap {
  width: 40%;
  padding-bottom: 75px;
}

.horizontal-timeline.right .h-timeline-slide .content-wrap {
  order: 1;
}

.ht-overline {
  color: #b2b4b5;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  display: block;
}

.ht-slide-title {
  color: #415aa8;
  text-transform: uppercase;
  font-size: 32px;
}

.ht-slide-content p {
  font-size: 22px;
  line-height: 1.3;
  margin: 10px 0 0;
}

.h-timeline-controls {
  position: absolute;
  left: 59%;
  bottom: 65px;
  width: 100%;
}

.horizontal-timeline.right .h-timeline-controls {
  left: 65px;
}

.h-timeline-controls button {
  font-family: var(--font-family);
  margin-right: 10px;
}

.h-timeline-controls .ccs-btn[disabled] {
  opacity: 0.3;
}

@media (max-width: 1080px) {
  .h-timeline-wrapper {
    padding: 30px;
    border-radius: 30px;
  }
  .h-timeline-steps {
    margin: 0 0 10px;
  }
  .h-timeline-controls {
    left: 59.5%;
  }
  .horizontal-timeline.right .h-timeline-controls {
    left: 30px;
  }
}

@media (max-width: 767px) {
  .h-timeline-slide .image-wrap {
    width: 100%;
    margin-bottom: 35px;
  }
  .h-timeline-slide .content-wrap {
    width: 100%;
  }
  .h-timeline-controls {
    left: 30px;
    bottom: 30px;
  }
  .horizontal-timeline.right .h-timeline-slide .image-wrap {
    order: 1;
  }
  .horizontal-timeline.right .h-timeline-slide .content-wrap {
    order: 2;
  }
}

@media (max-width: 640px) {
  .h-timeline-step {
    width: 8px;
    height: 8px;
  }
  .h-timeline-step.is-active {
    font-size: 18px;
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
}