:root {
  --timeline-height: 100px;
  --timeline-bullet-size: 18px;
  --timeline-bullet-active-color: #fc852a;
  --timeline-bullet-inactive-color: #ccc;
  --line-active-color: #fc852a;
  --line-inactive-color: grey;
  --line-thickness: 1px;
}

.timline-container {
  width: 100%;
  margin: 0 auto;
  max-width: 1920px;
  padding: 0 120px;
  text-align: center;
}

.slider-wrapper {
  position: relative;
  /*height: 200vh; Enable this for scroll behaviour*/
}

.slider-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #f7fcfc;
  transition: background-color 0.6s ease;
}

.timeline-wrapper {
  max-width: 1177px;
  margin: auto;
}

.timeline-global-title {

  color: var(--timeline-title-color);
  padding-top: 60px;
  padding-bottom: 60px;
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h);
  font-weight: 200;
}

.timeline-lines {
  margin: auto;
  transform: translate3d(0, 16px, 0);
  width: 100%;
  height: 1px;
  background: var(--timeline-line-color);
  border-radius: var(--line-thickness);
  z-index: 1;
}

.timeline-lines .active-line {
  position: absolute;
  top: 0;
  height: 100%;
  width: 0;
  background-color: var(--line-active-color);
  border-radius: var(--line-thickness);
  z-index: 2;
  transition: width 0.6s ease;
}

.timeline-bullets {
  margin: auto;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  pointer-events: auto;
}

.timeline-bullets-item {
  position: relative;
  width: 32px;
  height: 32px;
  border: 3px solid transparent;
  border-radius: 50%;
  background: var(--background-color);
  transition: background-color 600ms;
  cursor: pointer;
}

.timeline-bullets-item.active {
  border-color: var(--timeline-bullet-active-color);
}

.timeline-bullets-item::after {
  content: "";
  position: absolute;
  background: var(--timeline-bullet-inactive-color);
  width: 18px;
  height: 18px;
  top: 4px;
  left: 4px;
  border-radius: 50%;
}

.timeline-bullets-item.active::after {
  background: var(--timeline-bullet-active-color);
}

.timeline-info {
  position: absolute;
  left: 50%;
  display: flex;
  color: var(--timeline-info);
}

.timeline-info .timeline-bullets-item {
  position: absolute;
  flex: 0 0 32px;
}

.timeline-info-container {
  padding-left: 48px;
  height: 311px;
}

.timeline-info-title {
  font-size: 32px;
  padding-bottom: 8px;
  font-weight: 200;
  line-height: 130%;

}


.timeline-info-description {
  font-size: 18px;
  font-weight: 200;
  line-height: 150%;
}

.timeline-info-subscription {
  font-size: 18px;
  font-weight: 400;
  padding-top: 32px;
  padding-bottom: 8px;
}

.timeline-info-subscription {
  font-size: 16px;
}

.bullet-label {
  display: block;
  transform: translate3d(-50%, -24px, 0);
  font-size: 0.8em;
  color: var(--timeline-date-color);
  white-space: nowrap;
}

.slider-container {
  --timeline-title-color: #c66617;
  --timeline-date-color: #646868;
  --timeline-date-active-color: #000505;
  --timeline-line-color: #878c8c;
  --timeline-bullet-inactive-color: #acb2b2;
  --timeline-info: #242626;
  --background-color: #f7fcfc;
}

.slider-container.green {
  --timeline-title-color: #fff;
  --timeline-date-color: #acb2b2;
  --timeline-date-active-color: #fff;
  --timeline-line-color: #fff;
  --timeline-bullet-inactive-color: #029b9c;
  --timeline-info: #fff;
  --background-color: #017374;
}

.timeline-bullets li.active .bullet-label {
  color: var(--timeline-date-active-color);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.slide {
  position: relative;
  width: 100vw;
  height: calc(100vh - 301px);
  padding-top: 136px;
  font-size: 1.5em;
}

.slide:nth-child(odd) .timeline-info {
  right: -470px;
  border-left: 1px solid #fc852a;
  border-bottom: 1px solid #fc852a;
}

.slide:last-child .timeline-info {
  border: none;
}

.slide:nth-child(even) .timeline-info {
  flex-direction: column;
  right: -230px;
  transform: translateX(-230px);
  border-left: 1px solid #fc852a;
  border-top: 1px solid #fc852a;
}

.slide:nth-child(even) .timeline-info:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 328px;
  transform: translateX(-100%);
  border-top: 1px solid #fc852a;
}

.slide:nth-child(3) .timeline-info:before,
.slide:nth-child(5) .timeline-info:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 1180px;
  transform: translateX(-100%);
  border-top: 1px solid #fc852a;
}

.slide:nth-child(3) .timeline-info:before {
  right: 0;
}

.slide:nth-child(odd) .timeline-bullets-item {
  flex: 0 0 32px;
  transform: translate3d(-16px, -16px, 0);
}

.slide:nth-child(even) .timeline-bullets-item {
  flex: 0 0 32px;
  transform: translate3d(50px, -16px, 0);
}

.slide:nth-child(odd) .timeline-info-container {
  padding-bottom: 126px;
}

.slide:first-child .timeline-info-container {
  padding-bottom: 85px;
}


.slide:last-child .timeline-info-container {
  transform: translate(0, -20px);
}

.extra {
  padding-bottom: 54px !important;
}

.slide:nth-child(even) .timeline-info-container {
  padding-top: 31px;
  padding-bottom: 68px;
}

.timeline-step {
  color: var(--timeline-bullet-active-color);
  position: absolute;
  left: -4%;
}

.timeline-step-circle {
  position: relative;
  width: 32px;
  height: 32px;
  border: 3px solid var(--timeline-bullet-active-color);
  border-radius: 50%;
}

.timeline-step-circle:before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 4px;
  background-color: var(--timeline-bullet-active-color);
  border-radius: 50%;
}

.timeline-container {
  display: none;
  position: relative;
  background-color: #fff;
  padding: 60px 40px;
}

.timeline {
  position: relative;
  margin-left: 30px;
}

.line {
  position: absolute;
  left: 0;
  top: 10px;
  width: 2px;
  height: 100%;
  background-color: #ccc;
}

.progress {
  position: absolute;
  left: 0;
  top: 10px;
  width: 2px;
  background-color: orange;
  height: 0%;
  transition: height 0.2s ease-out;
}

.timeline-item {
  position: relative;
  margin-bottom: 100px;
}

.timeline-title {
  text-align: center;
  padding-bottom: 48px;
  color: var(--color-primary-600);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h);
  font-weight: 200;
}

.timeline-description {
  color: #555;
  line-height: 1.5;
}