

/* Heading */




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



Main Components 



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



.horizontal-timeline {

  opacity: 0;

  margin: 0;

  -webkit-transition: opacity 0.2s;

  -moz-transition: opacity 0.2s;

  transition: opacity 0.2s;

    position: relative;

    display: flex;

  align-items: center;

  justify-content: center;

  background: #000;

  z-index: 0;

}





.horizontal-timeline:after {

  content: "";

    background-repeat: no-repeat;

    background-position: center;

    -webkit-background-size: cover;

    -moz-background-size: cover;

    -o-background-size: cover;

    background-size: cover;

  opacity: 0;

  top: 0;

  left: 0;

  bottom: 0;

  right: 0;

  position: absolute;

  z-index: 1;  



    -webkit-transition: opacity 0.4s;

  -moz-transition: opacity 0.4s;

  transition: opacity 0.4s; 



}



.horizontal-timeline.active:after{

    opacity: 0.6;

}





.horizontal-timeline::before {

  /* never visible - this is used in jQuery to check the current MQ */

  content: 'mobile';

  display: none;

}

.horizontal-timeline.loaded {

  /* show the timeline after events position has been set (using JavaScript) */

  opacity: 1;

}

.horizontal-timeline .timeline {

  position: absolute;

  height: 100px;

  width: 80%;

  max-width: 900px;

  margin: 0 auto;

  left:0;

  right:0;

  bottom:40px;

  z-index:2;

}

.horizontal-timeline .events-wrapper {

  position: relative;

  height: 100%;

  margin: 0 55px;

  overflow: hidden;

}



.horizontal-timeline .events {

  /* this is the grey line/timeline */

  position: absolute;

  z-index: 3;

  left: 0;

  top: 49px;

  height: 2px;

  /* width will be set using JavaScript */

  background: #dfdfdf;

  -webkit-transition: -webkit-transform 0.4s;

  -moz-transition: -moz-transform 0.4s;

  transition: transform 0.4s;

}



.horizontal-timeline .events ol {

    list-style-type: none;

}



.horizontal-timeline .filling-line {

  /* this is used to create the green line filling the timeline */

  position: absolute;

  z-index: 1;

  left: 0;

  top: 0;

  height: 100%;

  width: 100%;

  background-color: #ED3237;

  -webkit-transform: scaleX(0);

  -moz-transform: scaleX(0);

  -ms-transform: scaleX(0);

  -o-transform: scaleX(0);

  transform: scaleX(0);

  -webkit-transform-origin: left center;

  -moz-transform-origin: left center;

  -ms-transform-origin: left center;

  -o-transform-origin: left center;

  transform-origin: left center;

  -webkit-transition: -webkit-transform 0.3s;

  -moz-transition: -moz-transform 0.3s;

  transition: transform 0.3s;

}

.horizontal-timeline .events a {

  position: absolute;

  bottom: 0;

  z-index: 2;

  text-align: center;

  font-size: 1.2rem;

  padding-bottom: 15px;

  color: #fff;

  /* fix bug on Safari - text flickering while timeline translates */

  -webkit-transform: translateZ(0);

  -moz-transform: translateZ(0);

  -ms-transform: translateZ(0);

  -o-transform: translateZ(0);

  transform: translateZ(0);

}

.horizontal-timeline .events a::after {

  /* this is used to create the event spot */

  content: '';

  position: absolute;

  left: 50%;

  right: auto;

  -webkit-transform: translateX(-50%);

  -moz-transform: translateX(-50%);

  -ms-transform: translateX(-50%);

  -o-transform: translateX(-50%);

  transform: translateX(-50%);

  bottom: -5px;

  height: 12px;

  width: 12px;

  border-radius: 50%;

  border: 2px solid #fff;

  background:#fff;

  -webkit-transition: all 0.3s;

  -moz-transition: all 0.3s;

  transition: all 0.3s;





}

.horizontal-timeline .events a:hover::after {

  background-color: #ED3237;

  border-color: #ED3237;

  bottom: -8px;

    height: 18px;

    width: 18px;

}

.horizontal-timeline .events a.selected {

  pointer-events: none;

}

.horizontal-timeline .events a.selected::after {

  background-color: #ED3237;

  border-color: #ED3237;

  bottom: -8px;

    height: 18px;

    width: 18px;

}

.horizontal-timeline .events a.older-event::after {

  border-color: #ED3237;

}

@media only screen and (min-width: 1100px) {

  .horizontal-timeline {

  }

  .horizontal-timeline::before {

    /* never visible - this is used in jQuery to check the current MQ */

    content: 'desktop';

  }

}



.timeline-navigation {

    list-style-type: none;

}



.timeline-navigation a {

  /* these are the left/right arrows to navigate the timeline */

  position: absolute;

  z-index: 9999999!important;

  top: 50%;

  bottom: auto;

  -webkit-transform: translateY(-50%);

  -moz-transform: translateY(-50%);

  -ms-transform: translateY(-50%);

  -o-transform: translateY(-50%);

  transform: translateY(-50%);

  height: 50px;

  width: 50px;

  border-radius: 50%;

  background:#fff;

  /* replace text with an icon */

  overflow: hidden;

  color: transparent;

  text-indent: 100%;

  white-space: nowrap;

  -webkit-transition: border-color 0.3s;

  -moz-transition: border-color 0.3s;

  transition: border-color 0.3s;

}

.timeline-navigation a::after {

  /* arrow icon */

  content: '';

  position: absolute;

  height: 18px;

  width: 18px;

  left: 50%;

  top: 50%;

  bottom: auto;

  right: auto;

  -webkit-transform: translateX(-50%) translateY(-50%);

  -moz-transform: translateX(-50%) translateY(-50%);

  -ms-transform: translateX(-50%) translateY(-50%);

  -o-transform: translateX(-50%) translateY(-50%);

  transform: translateX(-50%) translateY(-50%);

  background: url(../cd-arrow.svg) no-repeat 0 0;

  background-position: 0 0;

  background-size:100%;

}

.timeline-navigation a.prev {

  right: 0;

  -webkit-transform: translateY(-50%) rotate(180deg);

  -moz-transform: translateY(-50%) rotate(180deg);

  -ms-transform: translateY(-50%) rotate(180deg);

  -o-transform: translateY(-50%) rotate(180deg);

  transform: translateY(-50%) rotate(180deg);

}

.timeline-navigation a.next {

  left: 0;

}



.timeline-navigation a:hover:after{

    background-position: 0 -18px;

}



.no-touch .timeline-navigation a:hover {

    background-position: -18px 0;

}

.timeline-navigation a.inactive {

  cursor: not-allowed;

  opacity: 0.6;

}



.timeline-navigation a.inactive:hover:after{

    background-position: 0 0;

}



.no-touch .timeline-navigation a.inactive:hover {

  border-color: #dfdfdf;

}





.horizontal-timeline .events-content {

  position: relative;

  width: 100%;

  overflow: hidden;

  -webkit-transition: height 0.4s;

  -moz-transition: height 0.4s;

  transition: height 0.4s;

    text-align: center;

    margin-top:40px;

}



.horizontal-timeline .events-content ol {

    list-style-type: none;

    margin:0;

    padding:0;

}



.horizontal-timeline .events-content li {

  position: absolute;

  z-index:4;

  width: 100%;

  left: 0;

  top: 0;

  -webkit-transform: translateX(-100%);

  -moz-transform: translateX(-100%);

  -ms-transform: translateX(-100%);

  -o-transform: translateX(-100%);

  transform: translateX(-100%);

  padding: 0 5%;

  opacity: 0;

  -webkit-animation-duration: 0.4s;

  -moz-animation-duration: 0.4s;

  animation-duration: 0.4s;

  -webkit-animation-timing-function: ease-in-out;

  -moz-animation-timing-function: ease-in-out;

  animation-timing-function: ease-in-out;

}

.horizontal-timeline .events-content li.selected {

  /* visible event content */

  position: relative;

  z-index: 4;

  opacity: 1;

  -webkit-transform: translateX(0);

  -moz-transform: translateX(0);

  -ms-transform: translateX(0);

  -o-transform: translateX(0);

  transform: translateX(0);

}

.horizontal-timeline .events-content li.enter-right, .horizontal-timeline .events-content li.leave-right {

  -webkit-animation-name: cd-enter-right;

  -moz-animation-name: cd-enter-right;

  animation-name: cd-enter-right;

}

.horizontal-timeline .events-content li.enter-left, .horizontal-timeline .events-content li.leave-left {

  -webkit-animation-name: cd-enter-left;

  -moz-animation-name: cd-enter-left;

  animation-name: cd-enter-left;

}

.horizontal-timeline .events-content li.leave-right, .horizontal-timeline .events-content li.leave-left {

  -webkit-animation-direction: reverse;

  -moz-animation-direction: reverse;

  animation-direction: reverse;

}

.horizontal-timeline .events-content li > * {

  max-width: 800px;

  margin: 0 auto;

}

.horizontal-timeline .events-content h2 {

  font-weight: bold;

  font-size: 3rem;

  line-height: 1.2;

  color:#fff;

}

.horizontal-timeline .events-content em {

  display: block;

  font-style: italic;

  margin: 10px auto;

}

.horizontal-timeline .events-content em::before {

  content: '- ';

}

.horizontal-timeline .events-content p {

  font-size: 1.2rem;

  color: #fff;

  font-weight: 300;

}



.horizontal-timeline .events-content a{

  margin-top:40px;

  display: inline-block;

  color:#fff;

  font-size:1.2rem;

  border-bottom:1px solid;

  border-color: rgba(255, 255, 255, 0.3);

    -webkit-transition: all 0.4s;

  -moz-transition: all 0.4s;

  transition: all 0.4s; 

}



.horizontal-timeline .events-content a:hover {

  border-color: rgba(255, 255, 255, 1);

}





@media only screen and (min-width: 768px) {

  .horizontal-timeline .events-content h2 {

    font-size: 6rem;

  }

  .horizontal-timeline .events-content em {

    font-size: 2rem;

  }

  .horizontal-timeline .events-content p {

    font-size: 1.4rem;

  }

}



@-webkit-keyframes cd-enter-right {

  0% {

    opacity: 0;

    -webkit-transform: translateX(100%);

  }

  100% {

    opacity: 1;

    -webkit-transform: translateX(0%);

  }

}

@-moz-keyframes cd-enter-right {

  0% {

    opacity: 0;

    -moz-transform: translateX(100%);

  }

  100% {

    opacity: 1;

    -moz-transform: translateX(0%);

  }

}

@keyframes cd-enter-right {

  0% {

    opacity: 0;

    -webkit-transform: translateX(100%);

    -moz-transform: translateX(100%);

    -ms-transform: translateX(100%);

    -o-transform: translateX(100%);

    transform: translateX(100%);

  }

  100% {

    opacity: 1;

    -webkit-transform: translateX(0%);

    -moz-transform: translateX(0%);

    -ms-transform: translateX(0%);

    -o-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%);

  }

}

@-moz-keyframes cd-enter-left {

  0% {

    opacity: 0;

    -moz-transform: translateX(-100%);

  }

  100% {

    opacity: 1;

    -moz-transform: translateX(0%);

  }

}

@keyframes cd-enter-left {

  0% {

    opacity: 0;

    -webkit-transform: translateX(-100%);

    -moz-transform: translateX(-100%);

    -ms-transform: translateX(-100%);

    -o-transform: translateX(-100%);

    transform: translateX(-100%);

  }

  100% {

    opacity: 1;

    -webkit-transform: translateX(0%);

    -moz-transform: translateX(0%);

    -ms-transform: translateX(0%);

    -o-transform: translateX(0%);

    transform: translateX(0%);

  }

}



.wrapper {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wrapper svg {
	
	
	
  width: 70px;
  height: auto;
 
  cursor: pointer;
  overflow: visible;
 fill: #F52A14;
}
.wrapper svg polygon, .wrapper svg path {
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}
.wrapper svg:hover polygon, .wrapper svg:hover path {
  transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
  fill: #FF4136;
}
.wrapper svg:hover .arrow {
  animation: arrow-anim 2.5s cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
.wrapper svg:hover .arrow-fixed {
  animation: arrow-fixed-anim 2.5s cubic-bezier(0.2, 1, 0.3, 1) infinite;
}

@keyframes arrow-anim {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  5% {
    transform: translateX(-0.1rem);
  }
  100% {
    transform: translateX(1rem);
    opacity: 0;
  }
}
@keyframes arrow-fixed-anim {
  5% {
    opacity: 0;
  }
  20% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}




.arrow {
	cursor: pointer;
  position: absolute;
  top: 50%;
  width: 3vmin;
  height: 3vmin;
  background: transparent;
  border-top: 1vmin solid white;
  border-right: 1vmin solid white;
  box-shadow: 0 0 0 lightgray;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}
.arrow.left {
  left: 0;
  -webkit-transform: translate3d(0, -50%, 0) rotate(-135deg);
          transform: translate3d(0, -50%, 0) rotate(-135deg);
}
.arrow.right {
  right: 0;
  -webkit-transform: translate3d(0, -50%, 0) rotate(45deg);
          transform: translate3d(0, -50%, 0) rotate(45deg);
}
.arrow:hover {
  border-color: #F52A14;
  box-shadow: 0.5vmin -0.5vmin 0 white;
}
.arrow:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-40%, -60%) rotate(45deg);
          transform: translate(-40%, -60%) rotate(45deg);
  width: 200%;
  height: 200%;
}

