html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


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

Primary style

-------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-size: 1.6rem;
  font-family: "Fira Sans", sans-serif;
  color: #383838;
  background-color: #ccc;
}

a {
  color: #337ACC;
  text-decoration: none;
}

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

Fullscreen video background

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

.video-background {
  background: #000;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -99;
}
.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (max-width: 728px) {
    .video-foreground {
        display: none;
    }
}
#vidtop-content {
	top: 0;
	color: #fff;
}
.vid-info { position: absolute; top: 0; right: 0; width: 33%; background: rgba(0,0,0,0.3); color: #fff; padding: 1rem; font-family: Avenir, Helvetica, sans-serif; }
.vid-info h1 { font-size: 2rem; font-weight: 700; margin-top: 0; line-height: 1.2; }
.vid-info a { display: block; color: #fff; text-decoration: none; background: rgba(0,0,0,0.5); transition: .6s background; border-bottom: none; margin: 1rem auto; text-align: center; }
@media (min-aspect-ratio: 16/9) {
  .video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .video-foreground { width: 300%; left: -100%; }
}
@media all and (max-width: 600px) {
.vid-info { width: 50%; padding: .5rem; }
.vid-info h1 { margin-bottom: .2rem; }
}
@media all and (max-width: 500px) {
.vid-info .acronym { display: none; }
}

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

Main Components

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

h1.timeline {
  font-family: 'Museo Sans', 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 40px;
  color: #FFFFFF;
  padding:20px;
  border:1px solid #fff;
  margin:30px auto;
  width:50%;
  text-align:center;
}
@media (max-width: 900px) {
    h1.timeline {
        font-size: 31px;
    }
}
@media (max-width: 768px) {
    h1.timeline {
        width: 80vw;
        margin: 15px auto 0;
    }
    .cd-horizontal-timeline {
        margin: 15px auto 20px !important;
    }
}

.cd-horizontal-timeline {
  opacity: 0;
  margin: 2em auto;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
  padding: 0px;
}
.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: 100px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.cd-horizontal-timeline .events-wrapper {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.cd-horizontal-timeline .events-wrapper::before {
  left: 0;
  background-image: -webkit-linear-gradient( left , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to right, #f8f8f8, rgba(248, 248, 248, 0));
}
.cd-horizontal-timeline .events-wrapper::after {
  right: 0;
  background-image: -webkit-linear-gradient( right , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to left, #f8f8f8, rgba(248, 248, 248, 0));
}
.cd-horizontal-timeline .events {
  /* this is the grey line/timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 69px;
  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;
}
.cd-horizontal-timeline .filling-line {
  /* this is used to create the blue line filling the timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #337ACC;
  -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;
}
.cd-horizontal-timeline .events a strong {
  /* date line */
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 2px;
  text-align: center;
  display:block;
  padding-bottom:5px;
}
.cd-horizontal-timeline .events a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 0;
  text-align: center;
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  padding-bottom: 15px;
  /* fix bug on Safari - text flickering while timeline translates */
  -webkit-transform: translateZ(0) translateX(-50%);
  -moz-transform: translateZ(0) translateX(-50%);
  -ms-transform: translateZ(0) translateX(-50%);
  -o-transform: translateZ(0) translateX(-50%);
  transform: translateZ(0) translateX(-50%);
  max-width: 300px;
  width: 100%;
}
.cd-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 #dfdfdf;
  background-color: #f8f8f8;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  -moz-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: #337ACC;
  border-color: #337ACC;
}
.cd-horizontal-timeline .events a.selected {
  pointer-events: none;
}
.cd-horizontal-timeline .events a.selected strong::after {
  background-color: #337ACC;
  border-color: #337ACC;
  content:"";
  width:12px;
  height:12px;
  position:absolute;
  bottom:-4px;
  left:50%;
  border-radius: 50%;
  transform: translateX(-50%);
}
.cd-horizontal-timeline .events a.selected strong::before {
  background-color: rgba(255,255,255,0);
  border-color: #337ACC;
  position:absolute;
  bottom:1px;
  left:50%;
  content:"";
  display:block;
  border:2px solid #fff;
  -webkit-border-radius: 50%;
  height: 30px;
  width: 30px;
  -webkit-animation: pulsate 2s ease-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-delay: 0.5s;
  opacity: 0.0;
  transform: translateX(-50%) translateY(50%);
}
@-webkit-keyframes pulsate {
  0% { width: 3px; height: 3px; opacity: 0.0;}
  50% {opacity: 0.5;}
  100% {width: 36px; height: 36px; opacity: 0.0;}
}
.cd-horizontal-timeline .events a.older-event::after {
  border-color: #337ACC;
}
@media only screen and (min-width: 1100px) {
  .cd-horizontal-timeline {
    margin: auto;
  }
  .cd-horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

.cd-timeline-navigation a {
  /* these are the left/right arrows to navigate the timeline */
  position: absolute;
  z-index: 1;
  bottom: -5px;
  opacity:0.35;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  /* 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;
}
.cd-timeline-navigation a::after {
  /* arrow icon */
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  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(../img/cd-arrow.svg) no-repeat 0 -16px;
}
.cd-timeline-navigation a.prev {
  left: 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);
}
.cd-timeline-navigation a.next {
  right: 0;
}
.no-touch .cd-timeline-navigation a:hover {
  border-color: #fff;
  opacity:0.75;
}
.cd-timeline-navigation a.inactive {
  cursor: not-allowed;
}
.cd-timeline-navigation a.inactive::after {
  background-position: 0 -16px;
}
.no-touch .cd-timeline-navigation a.inactive:hover {
  border-color: #dfdfdf;
}

.cd-horizontal-timeline .events-content {
  /* the card container */
  position: relative;
  max-width: 445px;
  margin: 0 auto;
  -webkit-transition: height 0.4s;
  -moz-transition: height 0.4s;
  transition: height 0.4s;
}
@media (max-width: 500px) {
    .cd-horizontal-timeline .events-content {
        padding: 0 30px;
    }
}
.cd-horizontal-timeline .events-content li {
  /* the actual card */
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  top: 0;
  background:#fff;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  padding: 20px 0 0 0;
  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;
}
.cd-horizontal-timeline .events-content li::before {
  /* card top arrow */
  content: "";
  position: absolute;
  top: -25px;
  left:50%;
  z-index: 1;
  border: solid 15px transparent;
  border-right-color: #FFF;
  -ms-transform: rotate(90deg)  translateY(50%); /* IE 9 */
  -webkit-transform: rotate(90deg)  translateY(50%); /* Safari */
  transform: rotate(90deg)  translateY(50%);
}
.cd-horizontal-timeline .events-content li .content-wrapper {
    max-height: calc(100vh - 280px);
    overflow-y: auto;
}
@media (max-width: 1359px) {
    .cd-horizontal-timeline .events-content li .content-wrapper {
        max-height: calc(100vh - 320px);
    }
}
@media (max-width: 1099px) {
    .cd-horizontal-timeline .events-content li .content-wrapper {
        max-height: calc(100vh - 335px);
    }
}
.cd-horizontal-timeline .events-content li:not(.selected) {
    visibility: hidden;
}
.cd-horizontal-timeline .events-content li.selected {
  /* visible event content */
  position: relative;
  z-index: 2;
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-horizontal-timeline .events-content li.enter-right, .cd-horizontal-timeline .events-content li.leave-right {
  -webkit-animation-name: cd-enter-right;
  -moz-animation-name: cd-enter-right;
  animation-name: cd-enter-right;
}
.cd-horizontal-timeline .events-content li.enter-left, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-name: cd-enter-left;
  -moz-animation-name: cd-enter-left;
  animation-name: cd-enter-left;
}
.cd-horizontal-timeline .events-content li.leave-right, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  animation-direction: reverse;
}
.cd-horizontal-timeline .events-content li > * {
  margin: 0 auto;
}
.cd-horizontal-timeline .events-content h2::before {
  /* Headline little bar thing */
  background-color:red;
  display:block;
  width:55px;
  height:3px;
  margin:0 0 15px;
  content: ""
}
.cd-horizontal-timeline .events-content h2 {
  /* Card headline */
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 18px !important;
  color: #4A4A4A;
  padding:15px 35px 25px;
  text-transform: uppercase;
}
.cd-horizontal-timeline .events-content p {
  /* Card content */
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px !important;
  color: #4A4A4A;
  line-height: 20px;
  padding:0 35px 25px;
  margin-bottom:35px;
  display:block;
}
.cd-horizontal-timeline .events-content img {
    /* Card image */
    max-width:100%;
    height:auto;
    padding-bottom:0px;
    padding-bottom:0px;
    display: block;
    margin: -35px auto 0;
}
.cd-horizontal-timeline .events-content a.cardNext {
  position:absolute;
  right:-25px;
  top:90px;
  background-color:#337ACC;
  width:50px;
  height:50px;
  border-radius: 50px;
  display:block;
  box-shadow: 0 5px 10px 0 rgba(0,0,0,0.25);
  text-align:center;
  z-index: 10;
}
.cd-horizontal-timeline .events-content a.cardPrev {
  position:absolute;
  left:-25px;
  top:90px;
  background-color:#337ACC;
  width:50px;
  height:50px;
  border-radius: 50px;
  display:block;
  box-shadow: 0 5px 10px 0 rgba(0,0,0,0.25);
  text-align:center;
  z-index: 10;
}
.cd-horizontal-timeline .events-content a.cardNext svg, .cd-horizontal-timeline .events-content a.cardPrev svg {
  margin-top:16px;
}
.cd-horizontal-timeline .events-content em, .cd-horizontal-timeline .events-content p {
  line-height: 1.6;
}
@media only screen and (min-width: 768px) {
  .cd-horizontal-timeline .events-content h2 {
    font-size: 7rem;
  }
  .cd-horizontal-timeline .events-content em {
    font-size: 2rem;
  }
  .cd-horizontal-timeline .events-content p {
    font-size: 1.8rem;
  }
}

@-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%);
  }
}

@media (max-width: 500px) {
    h1.timeline {
        font-size: 20px;
        padding: 10px;
        width: 90vw;
        margin: 10px auto 0;
    }

    .cd-horizontal-timeline {
        margin: 0 auto 15px;
    }
}

@media (max-height: 500px) {
    h1.timeline {
        font-size: 20px;
        padding: 10px;
        width: 90vw;
        margin: 10px auto 0;
    }

    .cd-horizontal-timeline {
        margin: 0 auto 10px;
    }

    .cd-horizontal-timeline .timeline {
        height: 90px;
    }

    .cd-horizontal-timeline .events-content li .content-wrapper {
        max-height: calc(100vh - 155px);
    }

    .cd-horizontal-timeline .events-content a.cardNext, .cd-horizontal-timeline .events-content a.cardPrev {
        top: 60px;
    }

    .cd-horizontal-timeline .events-content li {
        padding: 0;
    }

    .cd-horizontal-timeline .events-content h2 {
        padding: 10px 35px 10px;
    }

    .cd-horizontal-timeline .events-content p {
        font-size: 14px !important;

    }
}
