.timeline img {
  max-width: 100%;
  height:auto;
}

@media only screen and (min-width: 1170px) {
  .is-hidden {
    visibility: hidden;
  }
}
.timeline {
  overflow: hidden;
  margin: 0 auto;
}
.timeline-container {
  position: relative;
  margin: 0 auto;
  padding: 2em 0;
}
.timeline-container::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #666666;
}

@media only screen and (min-width: 1170px) {
  .timeline-container::before {
    left: 50%;
    margin-left: -2px;
  }
}
.timeline-block {
  position: relative;
  margin: 2em 0;
}
.timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.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-bullet {
  position: absolute;
  top: 22px;
  left: 0;
  width: 40px;
  height: 40px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #e4010b;
  border:4px solid #fff;
}
.timeline-bullet img {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;
}

@media only screen and (min-width: 1170px) {
  .timeline-bullet {
    width: 18px;
    height: 18px;
    left: 50%;
    margin-left: -9px;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  .timeline-bullet.timeline-img--animate-in {
    visibility: visible;
    -webkit-animation: animate-1 0.6s;
            animation: animate-1 0.6s;
  }
}

@-webkit-keyframes animate-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes animate-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

.timeline-content {
  position: relative;
  margin-left: 60px;
  background: white;
  padding: 40px;
}
.timeline-content img {
  margin-bottom: 20px;
}

.timeline-content:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.timeline-content::before {
  /* triangle next to content block */
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #ffffff;
}
.timeline-content h3 {
  color: #333333;
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
}
.timeline-content p,
.timeline-read-more,
.timeline-date {
  font-size: 16px;
}
.timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
  color:#666666;
}
.timeline-read-more,
.timeline-date {
  display: inline-block;
}
.timeline-read-more {
  float: right;
  padding: 15px 30px;
  background: #ececec;;
  color: #666666;
  text-decoration: none;
}
.timeline-read-more:hover {
  background-color: #d00000;
  color:#fff;
}
.timeline-date {
  float: left;
  padding: .8em 0;
  opacity: .7;
}

@media only screen and (min-width: 768px) {
  .timeline-content h3 {
    font-size: 22px;
  }
  .timeline-content p {
    font-size: 16px;
  }
  .timeline-read-more,
  .timeline-date {
    font-size: 14px;
  }
}

@media only screen and (min-width: 1170px) {
  .timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  .timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: white;
  }
  .timeline-read-more {
    float: left;
  }
  .timeline-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
  }
  .timeline-block:nth-child(even) .timeline-content {
    float: right;
  }
  .timeline-block:nth-child(even) .timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: white;
  }
  .timeline-block:nth-child(even) .timeline-read-more {
    float: right;
  }
  .timeline-block:nth-child(even) .timeline-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .timeline-content.timeline-content--animate-in {
    visibility: visible;
    -webkit-animation: animate-2 0.6s;
            animation: animate-2 0.6s;
  }
}

@media only screen and (min-width: 1170px) {
  .timeline-block:nth-child(even) .timeline-content.timeline-content--animate-in {
    -webkit-animation: animate-2-inverse 0.6s;
            animation: animate-2-inverse 0.6s;
  }
}

@-webkit-keyframes animate-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
            transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes animate-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
            transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@-webkit-keyframes animate-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
            transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
            transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes animate-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
            transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
            transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
