
/* --------------------------------

Main Components

-------------------------------- */
.cd-horizontal-timeline {
  opacity: 0;
  margin: 0 auto;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.cd-horizontal-timeline::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
.cd-horizontal-timeline.loaded {
  /* show the timeline after events position has been set (using JavaScript) */
  opacity: 1;
}
.cd-horizontal-timeline .timeline {
  position: relative;
  height: 110px;
  width: 100%;
  margin: 0 auto;
}
.cd-horizontal-timeline .events-wrapper {
  position: relative;
  height: 100%;
  margin: 0 20px;
  overflow: hidden;
}

.cd-horizontal-timeline .events {
  /* this is the grey line/timeline */

  position: absolute;
  z-index: 1;
  left: 0;
  top: 49px;
  height: 5px;
/*   width will be set using JavaScript*/
/*  background: #dfdfdf;*/
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
	margin: 0 25px;

}

.events-bg{
	position: absolute;
	top: 2px;
	left: 0;
	height: 2px;
	background: #d7d7d7;
}
.cd-horizontal-timeline .filling-line {
  /* this is used to create the green line filling the timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 2px;
  height: 2px;
  width: 100%;
  background-color: #ffd300;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.cd-horizontal-timeline .events a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  font-size: 1.3rem;
  padding-bottom: 22px;
  color: #373737;
	margin-left: -16px;
  /* fix bug on Safari - text flickering while timeline translates */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.cd-horizontal-timeline .events a:hover{
  text-decoration: none;
}
.cd-horizontal-timeline .events a::after {
  /* this is used to create the event spot */
  content: '';
  position: absolute;
  left: 49%;
  right: auto;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -5px;
  height: 15px;
  width: 15px;
  border-radius: 50%;
/*  border: 2px solid #dfdfdf;*/
  background-color: #333;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
}
.no-touch .cd-horizontal-timeline .events a:hover::after {
  background-color: #ffd300;
  border-color: #ffd300;
}
.cd-horizontal-timeline .events a.selected {
  pointer-events: none;
  text-decoration: none;
}
.cd-horizontal-timeline .events li:first-child a:after{
  background-color: #ed1c24;
  border-color: #ed1c24;
}
.cd-horizontal-timeline .events a.selected::after {
  background-color: #ffd300;
  border-color: #ffd300;
}
.cd-horizontal-timeline .events a.older-event::after {
  background: #ffd300;
  border-color: #ffd300;
}

.cd-horizontal-timeline .events-content {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-transition: height 0.4s;
  transition: height 0.4s;
}
.cd-horizontal-timeline .events-content ol li {
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  top: 0;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  padding: 0;
  opacity: 0;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}
.cd-horizontal-timeline .events-content ol li.selected {
  /* visible event content */
  position: relative;
  z-index: 2;
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.cd-horizontal-timeline .events-content ol li.enter-right, .cd-horizontal-timeline .events-content ol li.leave-right {
  -webkit-animation-name: cd-enter-right;
  animation-name: cd-enter-right;
}
.cd-horizontal-timeline .events-content ol li.enter-left, .cd-horizontal-timeline .events-content ol li.leave-left {
  -webkit-animation-name: cd-enter-left;
  animation-name: cd-enter-left;
}
.cd-horizontal-timeline .events-content ol li.leave-right, .cd-horizontal-timeline .events-content ol li.leave-left {
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

*/
@-webkit-keyframes cd-enter-right {
  0% {
	opacity: 0;
	-webkit-transform: translateX(100%);
  }
  100% {
	opacity: 1;
	-webkit-transform: translateX(0%);
  }
}
@keyframes cd-enter-right {
  0% {
	opacity: 0;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
  }
  100% {
	opacity: 1;
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
  }
}
@-webkit-keyframes cd-enter-left {
  0% {
	opacity: 0;
	-webkit-transform: translateX(-100%);
  }
  100% {
	opacity: 1;
	-webkit-transform: translateX(0%);
  }
}
@keyframes cd-enter-left {
  0% {
	opacity: 0;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
  }
  100% {
	opacity: 1;
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
  }
}
