﻿section {
  padding: 25px 0;
}
header {
  background: #3f51b5;
  color: #fff;
  padding: 150px 0;
}
header p {
  font-family: 'Allura';
  color: rgba(255, 255, 255, .2);
  margin-bottom: 0;
  font-size: 60px;
  margin-top: -30px;
}
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  background: #018ae5;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 140px;
  transform: translateX(-50%);
}
.timeline-item {
  width: 100%;
  margin-bottom: 10px;
}

.timeline-item:nth-child(odd) .timeline-content {
  float: none;
  padding: 30px 10px 10px 20px!important;
      margin-left: 160px;
      width: 100%;
    }
.timeline-item:nth-child(even) .timeline-content {
  float: none;
  padding: 30px 10px 10px 20px!important;
      margin-left: 160px;
      width: 100%;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 7px;
}
.timeline-item:nth-child(even) .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 #696969 transparent transparent;
}
.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}
.timeline-content {
     position: relative;
    width: 50%;
    padding: 10px 30px;
    border-radius: 4px;
    background: #f5f5f5;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
    margin-top: 1em;
    margin-left:80px;
}
.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 #696969 transparent transparent;
}
.timeline-img {
      width: 100px;
    /* height: 30px; */
    background: #c91329;
    position: relative;
    left: 90px;
    /* margin-top: 25px; */
    /* margin-left: -15px; */
    padding: 12px 23px;
    color: white;
  text-align: center;
    font-weight: bolder;
      text-align: center;
    font-weight: bolder;
    border-radius: 4px;
    box-shadow: 0px 0px 3px 2px #bfbebe;
}
.timeline-card {
  padding: 0 !important;
}
.timeline-card p {
}
.timeline-card a {
  margin-left: 20px;
}
.timeline-item:nth-child(2) .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://hd.unsplash.com/photo-1458530970867-aaa3700e966d') center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(5) .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://hd.unsplash.com/photo-1444093826349-9ce8c622f4f3') center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(6) .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://hd.unsplash.com/photo-1471479917193-f00955256257') center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(8) .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://hd.unsplash.com/photo-1466840787022-48e0ec048c8a') center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(10) .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://hd.unsplash.com/photo-1447639703758-f525f36456bf') center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(11) .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://hd.unsplash.com/photo-1469429978400-082eec725ad5') center center no-repeat;
  background-size: cover;
}
.timeline-img-header {
  height: 200px;
  position: relative;
  margin-bottom: 20px;
}
.timeline-img-header h2 {
  color: #fff;
  position: absolute;
  bottom: 5px;
  left: 20px;
}
blockquote {
  margin-top: 30px;
  color: #757575;
  border-left-color: #3f51b5;
  padding: 0 20px;
}
.date {
  background: #c91329;
  display: inline-block;
  color: #fff;
  padding: 10px;
  position: absolute;
  top: 7px;
  right: 7px;
}
@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;
  }
}