.main-timeline {
  position: relative;
}

.main-timeline:before {
  content: "";
  width: 5px;
  height: 100%;
  background: #ba81c5;
  position: absolute;
  top: 0;
  left: 50%;
}

.main-timeline .timeline {
  position: relative;
  margin-bottom: 20px;
}

.main-timeline .timeline:before,
.main-timeline .timeline:after {
  content: "";
  display: block;
  width: 100%;
  clear: both;
}

.main-timeline .timeline-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #ba81c5;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 4px;
  right: 0;
  z-index: 1;
}

.main-timeline .timeline-content {
  width: 45%;
  padding: 20px;
  background: #ba81c5;
  text-align: center;
  float: left;
  margin-top: 8px;
  position: relative;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.main-timeline .timeline-content:before {
  content: "";
  width: 10%;
  height: 5px;
  background: #ba81c5;
  position: absolute;
  top: 0;
  right: -10%;
}

.main-timeline .title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-top: 0;
  text-shadow: 1px 1px 1px rgba(56, 56, 56, 0.5);
}

.main-timeline .description {
  font-size: 16px;
  color: #fff;
}

.main-timeline .timeline-content.right {
  float: right;
}

.main-timeline .timeline-content.right:before {
  left: -10%;
}

@media only screen and (max-width: 767px) {
  .main-timeline:before {
    left: 0;
  }
  .main-timeline .timeline-icon {
    left: -8px;
    margin: 0;
  }
  .main-timeline .timeline-content {
    width: 90%;
    float: right;
  }
  .main-timeline .timeline-content:before {
    left: -10%;
  }
}
