.timeline {
  position: relative;
  /*
  	.timeline-item {

  		.timeline-img-header {
  			background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0, .4)), center center no-repeat;
  			background-size: cover;
  		}

  	}
  */
  /*
  	.timeline-img-header {
  		//height: 200px;
  		position: relative;
  		//margin-bottom: 20px;
  		margin: -20px -20px 20px -20px;


  		h2 {
  			font-size: 18px;
  			font-weight: bold;
  			text-shadow: 0px 1px 0px black;
  			color: $text;
  			position: absolute;
  			display: inline-flex; 
  			padding: 3px 10px 3px 10px;
  			background-color:rgba(15, 71, 154, 0.45);  
  			bottom: 5px;
  			left: 10px;
  		}
  	}

  	blockquote {
  		margin-top: 30px;
  		color: $secondary-text;
  		border-left-color: $primary;
  		padding: 0 20px;
  	}
  */
}
.timeline::before {
  content: "";
  background: #87cefa;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.timeline .timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline .timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 20px 20px 0px 20px;
}
.timeline .timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline .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 #0f479a transparent transparent;
}
.timeline .timeline-item::after {
  content: "";
  display: block;
  clear: both;
}
.timeline .timeline-content {
  position: relative;
  width: 45%;
  padding: 0px 20px;
  border-radius: 2px;
  background: #f5f5f5;
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.6);
}
.timeline .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #0f479a;
}
.timeline .timeline-img {
  width: 30px;
  height: 30px;
  background: #0f479a;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}
.timeline a {
  background: #0f479a;
  color: #FFFFFF;
  color: white;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 10px;
  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 {
  background: #0a326c;
  color: #FFFFFF;
  text-decoration: none;
}
.timeline .timeline-card {
  padding: 0 !important;
}
.timeline .timeline-card p {
  padding: 0 20px;
}
.timeline .timeline-card a {
  margin-left: 20px;
}
.timeline .timeline-img-box {
  position: relative;
  margin: -20px -20px 20px -20px;
}
.timeline .timeline-img-text {
  position: absolute;
  display: inline-flex; /* keep the background color wrapped tight */
  padding: 3px 10px 3px 10px;
  background-color: rgba(15, 71, 154, 0.45);
  bottom: 5px;
  left: 10px;
  right: 10px;
}
.timeline .timeline-img-text h2 {
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0px 1px 0px black;
  color: #FFFFFF;
}
.timeline .date {
  background: #b91700;
  display: inline-block;
  color: #FFFFFF;
  padding: 5px;
  position: absolute;
  top: 10px;
  right: 10px;
  margin-left: 10px;
}
@media screen and (max-width: 768px) {
  .timeline .timeline::before {
    left: 50px;
  }
  .timeline .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .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;
  }
}
