.main-timeline {
  position: relative;
  margin: 20px 0;
}
.main-timeline:before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background: hsl(233, 11%, 71%);
  margin: 0 auto 0 140px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.main-timeline .timeline {
  margin-bottom: 20px;
  position: relative;
}
.main-timeline .timeline:after {
  content: "";
  display: block;
  clear: both;
}
.main-timeline .timeline:last-child {
  margin-bottom: 0;
}
.main-timeline .timeline:hover .date-outer:before {
  left: 6px;
}
.main-timeline .timeline:hover .date-outer:after {
  left: -6px;
}
.main-timeline .timeline .icon {
  width: 18px;
  height: 18px;
  line-height: 18px;
  transform: translateX(-50%);
  margin: auto 0;
  position: absolute;
  top: 0;
  left: 140px;
  bottom: 0;
  right: 0;
}
.main-timeline .timeline .icon:before, .main-timeline .timeline .icon:after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.33s ease-out 0s;
}
.main-timeline .timeline .icon:before {
  background: #fff;
  border: 2px solid hsl(12, 93%, 61%);
  left: -3px;
}
.main-timeline .timeline .icon:after {
  border: 2px solid hsl(233, 11%, 71%);
  left: 3px;
}
.main-timeline .timeline .date-content {
  width: 140px;
  float: left;
  margin-top: 22px;
  margin-bottom: 22px;
  position: relative;
}
.main-timeline .timeline .date-content:before {
  content: "";
  width: calc(140px - 110px - 5px);
  height: 2px;
  background: hsl(12, 93%, 61%);
  margin: auto 0;
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
}
.main-timeline .timeline .date-outer {
  width: 110px;
  height: 110px;
  font-size: 16px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
}
.main-timeline .timeline .date-outer:before, .main-timeline .timeline .date-outer:after {
  content: "";
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.33s ease-out 0s;
}
.main-timeline .timeline .date-outer:before {
  border: 2px solid hsl(12, 93%, 61%);
  left: -6px;
}
.main-timeline .timeline .date-outer:after {
  border: 2px solid hsl(233, 11%, 71%);
  left: 6px;
}
.main-timeline .timeline .date {
  width: 100%;
  left: 0;
}
.main-timeline .timeline .month,
.main-timeline .timeline .year {
  font-weight: 700;
}
.main-timeline .timeline .year {
  display: block;
  font-size: 24px;
  color: hsl(228, 9%, 11%);
  line-height: 36px;
}
.main-timeline .timeline .timeline-content {
  width: calc(100% - 140px);
  padding: 10px 0 10px 20px;
  float: right;
}
.main-timeline .timeline .timeline-content .title {
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
  margin: 0 0 15px 0;
}
.main-timeline .timeline .timeline-content .description {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .main-timeline:before {
    margin: 0 auto;
  }
  .main-timeline .timeline .icon {
    left: 50%;
  }
  .main-timeline .timeline .date-content {
    width: 50%;
  }
  .main-timeline .timeline .date-content:before {
    width: calc((100% - 125px) / 2 - 5px);
  }
  .main-timeline .timeline .timeline-content {
    width: 50%;
    padding: 20px 0 20px 50px;
  }
  .main-timeline .timeline .timeline-content .title {
    font-size: 19px;
  }
  .main-timeline .timeline:nth-child(2n) .date-content {
    order: 2;
  }
  .main-timeline .timeline:nth-child(2n) .date-content:before {
    left: 10px;
    width: calc((100% - 125px) / 2 - 12px);
  }
  .main-timeline .timeline:nth-child(2n) .timeline-content {
    order: 1;
    text-align: right;
    padding: 20px 50px 20px 0;
  }
  .main-timeline .timeline .date-outer {
    width: 125px;
    height: 125px;
    margin: 0 auto;
  }
  .main-timeline .timeline .date-outer:before, .main-timeline .timeline .date-outer:after {
    width: 125px;
    height: 125px;
  }
  .main-timeline .timeline .year {
    font-size: 30px;
  }
}