.vertical-timeline {
  position: relative;
}
.vertical-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 52px;
  height: 100%;
  width: 6px;
  background: #efefef;
  display: block !important;
}

.vertical-timeline .container {
  padding: 30px 60px;
}

@media only screen and (min-width: 992px) {
  .vertical-timeline:before {
    left: 50%;
    margin-left: -3px;
  }
}

.timeline-item {
  position: relative;
  margin: 15px 0;
}

.timeline-item::after {
  clear: both;
  content: "";
  display: table;
}

.timeline-item:first-child {
  margin-top: 0;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 992px) {

  .timeline-item {
    margin: 60px 0;
  }

  .timeline-item:first-child {
    margin-top: 0;
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

}

.timeline-date {
  position: absolute;
  top: 0;
  left: -46px;
  width: 80px;
  height: 80px;
  border: 3px solid #fff;
  border-radius: 150%;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
  background: #efefef;
  text-align: center;
  font-size: 16px;
  line-height: 74px;
}

@media only screen and (min-width: 992px) {
  .timeline-date {
    width: 120px;
    height: 120px;
    left: 50%;
    margin-left: -60px;
    border: 6px solid #fff;
    font-size: 20px;
    line-height: 110px;
  }
}

.timeline-text {
  position: relative;
  margin-left: 65px;
  background: #ffffff;
  padding: 20px 15px;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
}

.timeline-text p {
  margin: 0;
}

.timeline-text .timeline-date {
  float: left;
  padding: 10px 0;
  position: absolute;
  top: 0;
  font-style: italic;
}

.timeline-text:after {
  content: '';
  position: absolute;
  left: 0;
  top: 42px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-right-color: #fff;
  border-left: 0;
  margin-top: -10px;
  margin-left: -10px;
}

@media only screen and (min-width: 768px) {
  .timeline-text p {
    font-size: 16px;
  }
}

@media only screen and (min-width: 992px) {
  .timeline-text {
    padding: 30px;
    width: calc(50% - 200px);
    float: left;
    margin-left: 140px;
  }

  .timeline-text:after {
    content: '';
    position: absolute;
    right: 0;
    left: auto;
    top: 65px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #fff;
    border-right: 0;
    margin-top: -10px;
    margin-right: -10px;
  }

  .timeline-text .timeline-date {
    position: absolute;
    width: 100%;
    left: calc(100% + 220px);
    top: 40px;
    font-size: 16px;
  }

  .timeline-item:nth-child(even) .timeline-text {
    float: right;
    margin-right: 140px;
    margin-left: 0;
  }

  .timeline-item:nth-child(even) .timeline-text:after {
    content: '';
    position: absolute;
    left: 0;
    top: 65px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #fff;
    border-left: 0;
    margin-top: -10px;
    margin-left: -10px;
  }

  .timeline-item:nth-child(even) .timeline-text .timeline-date {
    left: auto;
    right: calc(100% + 220px);
    text-align: right;
  }
}


.timeline-img {
  padding: 0;
  margin: 0 0 0 65px;
  position: relative;
  background: #ffffff;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
}

.timeline-img ul {
  padding: 0;
  margin: 0;
}

.timeline-img img {
  max-width: 100%;
  height: auto;
}

@media only screen and (min-width: 992px) {
  .timeline-img {
    margin-left: 0;
    padding: 0;
    width: calc(50% - 60px);
    float: right;
  }

  .timeline-item:nth-child(even) .timeline-img {
    float: left;
  }
}
