.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  background: #C5CAE9;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}


.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 24px 20px 20px 20px;
}



.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: -6px;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 32px;
  left: -16px;
  border-width: 4px 10px 4px 0;
  border-color: transparent #c51a1b transparent transparent;
}
.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 46%;
  padding: 23px 20px 20px 20px;
  border-radius: 4px;
  background: #f5f5f5;
  box-shadow: 0 15px 13px -15px rgba(0, 0, 0, 0.3);
  border: 1px solid #efefef;
}
.timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 34px;
  right: -17px;
  border-width: 4px 0 4px 10px;
  border-color: transparent transparent transparent #c51a1b;
}

.timeline-img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -12px;
}

.timeline a {
  color: #FFFFFF;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 0px;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
}
.timeline a:hover, .timeline  a:active, .timeline  a:focus {

  color: #FFFFFF;
  text-decoration: none;
}

.timeline-card {
  padding: 0 !important;
}
.timeline-card p {
  padding: 0 20px;
}
.timeline-card a {
  margin-left: 20px;
}

.timeline-item .timeline-card .timeline-img-header:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  background-size: cover;
  top: 0;
  left: 0;
}

.timeline-img-header {
  /* height: 200px; */
  position: relative;
  margin-bottom: 20px;
}





.timeline-item h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-right: 90px;
  max-height: 48px;
  overflow: hidden;
  margin-top: 25px;
  padding-left: 20px;
}

.timeline-item.js--fadeInRight h2{
  padding-left: 90px;
  padding-right: 0;
}


.timeline-item.js--fadeInRight .timeline-card h2 {
  padding:0;
}

.timeline-img-header h2 {
  color: #FFFFFF;
  position: absolute;
  bottom: 10px;
  left: 20px;
  font-size: 20px;
  max-height: 44px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 3;
}

.timeline  blockquote {
  margin-top: 20px;
  color: #757575;
  border-left-color: #3F51B5;
  padding: 0;
}

.timeline .date {
  display: inline-block;
  color: #FFFFFF;
  padding: 6px 15px;
  position: absolute;
  top: 22px;
  right: -7px;
  font-size: 13px;
  z-index: 3;
}


.timeline p {
  text-indent: inherit !important;
  font-size: 14px;
  line-height: 20px;
  /*max-height: 63px;*/
  /*overflow: hidden;*/
}

.timeline-card .bnt-more {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}


