.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #ffc800;
}
.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}
.timeline > li:after, .timeline > li:before {
  display: table;
  content: " ";
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 10px 0 20px;
  text-align: left;
  margin-top:  -10px;
  left: 150px;
}
.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #ffc800;
  border-radius: 100%;
  background-color: #ffc800;
}
.timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 20px;
  text-align: left;
  margin-top:  -10px;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li:last-child {
  margin-bottom: 0;
}
.timeline .timeline-heading h4, .timeline .timeline-heading .h4 {
  margin-top: 0;
  color: inherit;
}
.timeline .timeline-heading h4.subheading, .timeline .timeline-heading .subheading.h4 {
  text-transform: none;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
  margin-top: -7px;
}

.timeline .timeline-body > h1 {
  margin-top: -50px;
}

.timeline .timeline-body > h3 {
  margin-top: -90px;
}

.timeline-milestone-right{
  width: 120px;
  height: 120px;
  position: relative;
  top: -80px;
  right: -80%;
}

.timeline-milestone-left{
  width: 120px;
  height: 120px;
  position: relative;
  top: -80px;
  left: -80%;
}

.dot-line {
  width: 100%;
  height: 20px;
  background-image: linear-gradient(to right, #ffc800 100%);
  background-size: 10px 100%;
  background-repeat: repeat-x;
}

.line {
  width: 100%;
  border-top: 8px dotted #ffc800;
  margin: 10px 0;
  font-weight: bold;
  
}

@media (min-width: 280px) and (max-width: 540px) {

  .timeline > li .timeline-panel {
    float: left;
    width: 100%;
    padding: 0 -20px 20px 20px;
    text-align: right;
    top: 50px;
    left: -5px;
  }


  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 -20px 20px 20px;
    text-align: left;
    top: 50px;
    left: -5px;
  }

  .timeline-milestone-right{
    width: 80px;
    height: 80px;
    top: -60px;
    right: -80%;
  }

  .timeline-milestone-left{
    width: 80px;
    height: 80px;
    top: -60px;
    left: 4%;
  }

  .timeline .timeline-body > p {
  margin-top: 50px;
  position: relative;
  right: -8%;
  text-align: left;
  }
  .timeline .timeline-body > h1 {
    position: relative;
    right: -20%;
    text-align: left;
  }
  .timeline .timeline-body > h3 {
    position: relative;
    right: -20%;
    text-align: left;
  }

}


@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
    top: 20px;
    left: 58px;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
    left: -60px;
  }
}
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
    left: 80px;
  }
  .timeline > li .timeline-image {
    width: 40px;
    height: 40px;
    margin-left: -20px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
    left: -80px;
  }
}
@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
    left: 110px;
  }
  .timeline > li .timeline-image {
    width: 40px;
    height: 40px;
    margin-left: -20px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
    left: -110px;
  }
}


