.timeline-container {
  max-width: 1224px;
  margin: 0 auto;
}
.timeline-container:after {
  content: '';
  display: table;
  clear: both;
}
#header-top {
  background-color: #00b5ad;
  text-align: center;
  padding: 10px 20px 20px 20px;
}
#header-top .date {
  display: block;
  font-size: 50px;
  font-weight: 300;
  color: #fff;
}
#header-top p {
  color: #5e5e5e;
  font-size: 14px;
}
#timeline {
  padding-top: 30px;
  position: relative;
  padding-bottom: 200px;
}
#timeline .timeline-date {
  line-height: 1.2;
  font-size: 50px ;
  color: #00b5ad ;
  background: url(../img/bg-date-right.png) no-repeat left center;
  padding-left: 85px;
  float: left;
  width: 50.6%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#timeline p {
  margin: 0;
}
#timeline .picture .table {
  display: table;
  width: 100%;
}
#timeline .picture img {
  display: table-cell;
  vertical-align: middle;
}
#timeline .picture p {
  padding-left: 20px;
  width: 250px;
  font-weight: normal;
  display: table-cell;
  vertical-align: middle;
}
#timeline .timeline-content {
  position: relative;
  padding-left: 60px;
  font-size: 14px;
  color: #5e5e5e;
  float: left;
  width: 45%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#timeline .timeline-content p {
  color: #5e5e5e;
  line-height: 1.4;
}
#timeline .timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
#timeline .timeline-block {
  position: relative;
  margin-bottom: 30px;
  text-align: left;
}
#timeline .timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
#timeline .timeline-block.right .timeline-date {
  text-align: right;
  background: url(../img/bg-date-left.png) no-repeat right center;
  padding-right: 85px;
  padding-left: 0;
  float: left;
}
#timeline .timeline-block.right .timeline-content {
  text-align: left;
  float: left;
}
#timeline .timeline-block.picture .timeline-date {
  margin-top: 80px;
}
#timeline .timeline-block.picture.left .table {
  text-align: left;
}
#timeline .timeline-block.picture.left .table p {
  padding: 0 20px 0 0;
}
#timeline .timeline-block.left .timeline-date {
  text-align: left;
  background: url(../img/bg-date-right.png) no-repeat left center;
  padding-left: 85px;
  padding-right: 0;
  float: right;
}
#timeline .timeline-block.left .timeline-content {
  text-align: right;
  float: left;
}
#timeline .timeline-block:first-child {
  margin-top: 0;
}
@media only screen and (min-width: 1224px) {
  .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-content .cd-read-more {
    float: right;
  }
  .cssanimations .timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}
@media only screen and (min-width: 1224px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .timeline-block:nth-child(even) .timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@media only screen and (min-width: 1224px) {
  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}
@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }
  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
#timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #d7e4ed;
}
@media only screen and (min-width: 1224px) {
  #timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}
@media only screen and (max-width: 1224px) {
  body #timeline.timeline-container .timeline-block .timeline-date {
    float: left ;
    text-align: left ;
    padding-left: 80px;
    background: url("../img/bg-date-right.png") no-repeat left center;
    padding-right: 0;
    margin-left: 10px;
    width: 180px;
    font-size: 30px;
  }
  body #timeline.timeline-container .timeline-block .timeline-content {
    float: left;
    text-align: left !important;
  }
  body #timeline.timeline-container .timeline-block br {
    display: none;
  }
  body #timeline.timeline-container .timeline-block.picture .timeline-date {
    margin-top: 0;
  }
  body #timeline.timeline-container .timeline-block.picture .table p {
    width: 70% !important;
    float: right;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
  }
  body #timeline.timeline-container .timeline-block.picture .table img {
    width: 20%;
    float: left;
  }
}
@media only screen and (max-width: 811px) {
  #timeline .timeline-content {
    padding-left: 40px !important;
  }
  #timeline .table p {
    width: 100% !important;
    float: none !important;
  }
  #timeline .table img {
    display: none !important;
  }
}
@media only screen and (max-width: 511px) {
  #timeline .timeline-content {
    width: 95% !important;
  }
}
