.timeline {
  max-width: 1080px;
  margin: 60px auto;
  padding-left: 20px;
  padding-right: 20px;
}

.timeline .flickity-slider:not(.flickity-slider .flickity-slider) {
  transform: none !important;
}

.timeline-years {
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.timeline-year {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 20px;
  padding-bottom: 50px;
  &:last-child {
    .timeline-year-seperator {
      display: none;
    }
  }
  &.active {
    .timeline-year-label {
      color: #D6001C;
    }
    .timeline-year-seperator {
      background-color: #D6001C;
    }
  }
}

.timeline-slider .carousel-cell.fade-cell {
  width: 100%;
  margin-right: 20px;
  opacity: 0;
  transition: opacity 2s ease;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  left: 50% !important;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  &.is-selected {
    opacity: 1;
    z-index: 2;
  }
}

.timeline-year-label {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333F48;
  background: none;
  border: none;
}

.timeline-year-seperator {
  width: 45px;
  height: 1.5px;
  background-color: #D6001C;
}