
/* Timeline */
.timeline-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #eeeeee;
}
@media only screen and (min-width: 1170px) {
  .timeline-container::before {
    left: 50%;
    margin-left: -2px;
  }
}
.timeline-block {
  position: relative;
  margin: 2rem 0;
  clear: both;
}
.timeline-block:after {
  clear:both;
  content: ".";
  display:block;
  height:0;
  line-height:0;
  overflow:hidden;
  visibility:hidden;
}
.timeline-block:first-child {
  margin-top: 0;
}
.timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .timeline-block {
    margin: 4em 0;
  }
  .timeline-block:first-child {
    margin-top: 0;
  }
  .timeline-block:last-child {
    margin-bottom: 0;
  }
}
.timeline-icon {
  background: #B4BF04;  
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
}
.timeline-icon i {
  color: #fff;
  font-size: 1rem;
}
@media only screen and (min-width: 1141px) {
  .timeline-icon {
    width: 60px;
    height: 60px;
    left: 50%;
    margin-left: -30px;
    line-height: 60px;
  }
  .timeline-icon i {
    font-size: 2rem;
  }
}
.timeline-content {
  position: relative;
  margin-left: 60px;
  background: #f5f5f5;
  border-radius: 0.25rem;
  padding: 1em;
  text-align: left;
}
.timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.timeline-content .timeline-date {
  display: inline-block;
  float: left;
  font-size: 1.5rem;
  color: #333;
}
.timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 11px solid transparent;
  border-right: 11px solid #f5f5f5;
}
.timeline-icon img {
  top: 0px;
  min-height: 100%;
  min-width: 100%;
  width: auto;
}
.timeline-icon {
  overflow: hidden;
}
@media only screen and (min-width: 1141px) {
  .timeline-content {
    margin-left: 0;
    padding: 15px;
    width: 45%;
    text-align: right;
  }
  .timeline-content .timeline-date {
    position: absolute;
    width: 100%;
    left: 121%;
    top: 0;
    text-align: left;
  }
  .timeline-content::before {
    left: 100%;
    border-left: 11px solid #f5f5f5;
    border-right: 0;
  }
  .timeline-block:nth-child(even) .timeline-content {
    float: right;
    text-align: left;
  }
  .timeline-block:nth-child(even) .timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;   
    border-right: 11px solid #f5f5f5;
  }
  .timeline-block:nth-child(even) .timeline-content .timeline-date {
    left: auto;
    right: 121%;
    text-align: right;
  } 
}