.timeline {
  position: relative;
}
.timeline * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.timeline:not(.timeline--horizontal):before {
  background-color: #ddd;
  bottom: 0;
  content: "";
  left: 50%;
  margin-left: -2px;
  position: absolute;
  top: 0;
  width: 4px;
  z-index: 1;
}
.timeline__wrap {
  width: 1200px;
  left: 50%;
  margin-left: -600px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.timeline__item {
  font-size: 16px;
  font-size: 1rem;
  padding: 0.625rem 2.5rem 0.625rem 0;
  position: relative;
  width: 50%;
  z-index: 2;
}
.timeline__item:after {
  background-image: url("../images/timePoint.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #fff;
  content: "";
  height: 19px;
  position: absolute;
  right: -11px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  width: 12px;
  z-index: 1;
}
.timeline__item.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  opacity: 0;
}
.timeline__item.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}
.timeline__item--left {
  left: 0;
}
.timeline__item--right {
  left: 50%;
  padding: 0.625rem 0 0.625rem 2.5rem;
}
.timeline__item--right:after {
  left: -11px;
}
.timeline__item--right .timeline__content:before {
  border-bottom: 10px solid transparent;
  border-right: 12px solid #ccc;
  border-left: none;
  border-top: 10px solid transparent;
  left: -12px;
}
.timeline__item--right .timeline__content:after {
  border-bottom: 9px solid transparent;
  border-right: 11px solid #fff;
  border-left: none;
  border-top: 9px solid transparent;
  left: -10px;
}
.timeline__content {
  background-color: transparent;
  border: none;
  color: #222;
  display: block;
  padding: 1.5rem;
  position: relative;
  font-size: 0.875rem;
  line-height: 1.375rem;
}

.timeline__content h2 {
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: bold;
  /* margin: 0 0 0.625rem; */
}
.timeline__item:first-child .timeline__content h2 {
  color: #4f3df5;
}
.timeline__content p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.timeline--horizontal {
  font-size: 0;
  padding: 0 3.125rem;
  overflow: hidden;
  white-space: nowrap;
}
.timeline--horizontal .timeline-divider {
  background-color: #4f3df5;
  opacity: 0.1;
  display: block;
  height: 2px;
  left: 0px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  z-index: 1;
}
.timeline--horizontal .timeline__items {
  -webkit-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
  will-change: transform;
}
.timeline--horizontal .timeline__item {
  display: inline-block;
  left: 0;
  padding: 0;
  position: relative;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
  vertical-align: top;
  white-space: normal;
}
.timeline--horizontal .timeline__item:after {
  left: 50%;
  margin-left: -60px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  top: -15px;
}
.timeline--horizontal .timeline__item:not(:first-child)::after {
  opacity: 0.2;
}
.timeline--horizontal .timeline__item .timeline__item__inner {
  display: table;
  height: 100%;
  width: 100%;
}
.timeline--horizontal .timeline__item .timeline__content__wrap {
  display: table-cell;
  margin: 0;
  padding: 0;
  /* vertical-align: bottom; */
}

/* .timeline--horizontal .timeline__item:nth-child(even) {
  padding: 2.5rem 0 0;
}
.timeline--horizontal .timeline__item:nth-child(even):after {
  top: 0;
}
.timeline--horizontal .timeline__item:nth-child(even) .timeline__content__wrap {
  vertical-align: top;
}
.timeline--horizontal .timeline__item:nth-child(even) .timeline__content:before {
  border-bottom: 12px solid #ccc;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: none;
  bottom: 100%;
  top: auto;
}
.timeline--horizontal .timeline__item:nth-child(even) .timeline__content:after {
  border-bottom: 10px solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: none;
  bottom: 100%;
  top: auto;
} */
.timeline-nav-button {
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 50px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: none;
  box-shadow: none;
  cursor: pointer;
  display: block;
  height: 40px;
  outline: 0;
  position: absolute;
  text-indent: -9999px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  width: 40px;
  z-index: 10;
}
.timeline-nav-button:disabled {
  /* opacity: 0.5; */
  pointer-events: none;
  border: 2px solid rgba(221, 221, 221, 0.8);
  background-color: rgba(255, 255, 255, 0.8);
}
.timeline-nav-button:before {
  background-position: center center;
  background-repeat: no-repeat;
  content: "";
  display: block;
  height: 12px;
  left: 50%;
  position: absolute;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  width: 6px;
}
.timeline-nav-button--prev {
  left: 0;
}
.timeline-nav-button--prev:not(:disabled) {
  border-color: #4f3df5;
}
.timeline-nav-button--prev:before {
  background-image: url(../images/left.svg);
}
.timeline-nav-button--prev:not(:disabled):before {
  background-image: url(../images/right.svg);
  transform: rotate(180deg);
  top: 12px;
  left: 15px;
}
.timeline-nav-button--next {
  right: 0;
}
.timeline-nav-button--next:not(:disabled) {
  border-color: #4f3df5;
}
.timeline-nav-button--next:disabled:before {
  background-image: url(../images/left.svg);
  transform: rotate(180deg);
  top: 12px;
  left: 16px;
}
.timeline-nav-button--next:before {
  background-image: url(../images/right.svg);
}
.timeline--mobile {
  padding: 0;
}
.timeline--mobile:before {
  left: 10px !important;
  margin: 0 !important;
}
.timeline--mobile .timeline__item {
  left: 0;
  padding-left: 40px;
  padding-right: 0;
  width: 100%;
}
.timeline--mobile .timeline__item:after {
  left: 1px;
  margin: 0;
}
.timeline--mobile .timeline__item .timeline__content:before {
  left: -12px;
  border-bottom: 12px solid transparent;
  border-right: 12px solid #ccc;
  border-left: none;
  border-top: 12px solid transparent;
}
.timeline--mobile .timeline__item .timeline__content:after {
  left: -10px;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
  border-left: none;
  border-top: 10px solid transparent;
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    top: 70px;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    top: 70px;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}
@-webkit-keyframes liftUp {
  0% {
    top: 0;
  }
  100% {
    top: -15px;
  }
}
@keyframes liftUp {
  0% {
    top: 0;
  }
  100% {
    top: -15px;
  }
}
