.timeline {
  display: block;
  float: none;
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  width: 100%;
}
.timeline ul.days {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.timeline li.day {
  float: left;
  position: relative;
  width: 100% !important;
}
.timeline li.day:first-child .events {
  padding-top: 80px;
}
.timeline li.day:last-child .events {
  padding-bottom: 50px;
}
.timeline .events {
  border-left: 1px solid #d4d9de !important;
  float: right;
  padding: 15px 30px;
  position: relative;
  text-align: left;
  width: 50%;
}
.timeline .events .title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}
.timeline .date {
  font-size: 22px;
  font-weight: 700;
  padding: 30px;
  position: absolute;
  right: 100%;
  text-align: left;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
}
li.day:nth-child(2n) .events {
  border-left: 0 !important;
  border-right: 1px solid #d4d9de !important;
  float: left !important;
  text-align: right !important;
  width: calc(50% + 1px);
}
.timeline li.day:nth-child(2n) .date {
  left: 100%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.timeline .date:after {
  bottom: 50%;
  position: absolute;
  right: -10px;
  top: 36%;
}
.timeline li.day:first-child .events:before {
  left: -6px;
  top: 0;
}
.timeline li.day:first-child .events:before,
li.day:last-child:before {
  background-color: #d4d9de;
  border: 1px solid #d4d9de;
  border-radius: 100%;
  content: "";
  height: 11px;
  position: absolute;
  width: 11px;
}
li.day:last-child:before {
  bottom: 0;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}
.timeline li.day:first-child .date {
  transform: translateY(-20px) !important;
}
.timeline li.day:last-child .date {
  transform: translateY(-70px) !important;
}
.timeline li.day:nth-child(2n) .date:after {
  bottom: 50%;
  left: -10px;
  top: 36%;
}
.timeline .desc h1,
.timeline .desc h2,
.timeline .desc h3,
.timeline .desc h4,
.timeline .desc h5,
.timeline .desc h6 {
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .timeline .events {
    width: 100% !important;
  }
  .timeline .date,
  .timeline li.day:nth-child(2n) .date {
    font-size: 16px !important;
    left: 0;
    padding: 0;
    position: relative;
    top: 0;
    transform: none !important;
  }
  li.day .events,
  li.day:nth-child(2n) .events {
    border-left: 1px solid #d4d9de !important;
    border-right: 0 !important;
    float: left !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: left !important;
  }
  .timeline .date:after {
    bottom: 0 !important;
    left: -30px !important;
    position: absolute !important;
    top: 0 !important;
  }
  li.day:last-child:before {
    left: 0 !important;
  }
  .timeline li.day:first-child .date,
  .timeline li.day:last-child .date {
    transform: none !important;
  }
  .timeline .events .title {
    padding-top: 10px;
  }
  .timeline li.day:first-child .events {
    padding-top: 50px !important;
  }
  .timeline li.day:last-child .events {
    padding-bottom: 30px !important;
  }
}
