/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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 {
  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;
}

/** Style */
html,
body {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

body {
  background: #000;
}

h1,h2,h3,h4,h5,h6 {
  margin: 0;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000;
}

.root {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  position: relative;
}

.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.control-layer {
  bottom: 3em;
}

.video-aligned {
  position: relative;
  width: 100%;
  padding-bottom: 56%;
  margin: 0 auto;
}

.splash-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 2vw 2vw;
  border: 1vw dashed rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.main-title {
  font-family: Oswald;
  text-align: left;
  font-size: 4vw;
  line-height: 1;
  margin: 2.5vw 2.75vw;
}

.main-play-link {
  font-family: "Oswald";
  font-weight: 200;
  font-size: 2vw;
  animation: a_fuzz_judder 8s cubic-bezier(.36,.07,.19,.97) both;
  animation-iteration-count: infinite;
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 2vw;
  transition: all 0.2s ease-out;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 0 #00000082;
  padding: 0.9vw 0.9vw 1.2vw 1.6vw;
  border: 0.2vw dashed rgba(255,255,255,0);
}

.main-play-link:hover {
  border: 0.2vw dashed rgba(255,255,255,0.1);
  transition: all 0.2s ease-in;
  color: rgba(255,255,255,1);
}

.substory-available {
  opacity: 0;
  position: absolute;
  top: 4vw;
  right: 4vw;
  animation: a_bob 3s ease-in-out;
  animation-iteration-count: infinite;
  font-family: "Oswald";
  font-weight: 200;
  font-size: 2vw;
  color: rgba(255,255,255,0.8);
  padding: 1vw 1.3vw 1.25vw 1.5vw;
  border: 0.2vw dashed transparent;
  transition: all 0.3s ease-out;
}

.substory-available > .controls {
  font-size: 1vw; 
  margin-top: 0.5rem; 
  text-align: left; 
  padding: 0 0.5rem;
}

.substory-available.in {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.substory-available .play {
  opacity: 0;
  transition: all 0.3s ease-out;
  float: right;
}

.substory-available:hover,
.substory-available.hover {
  color: white;
  border-color: rgba(255,255,255,0.3);
  transition: all 0.3s ease-in;
  cursor: pointer;
}

.substory-available:hover .play {
  opacity: 1;
  transition: all 0.3s ease-in;
}


.more-detail-link {
  position: absolute;
  bottom: 2vw;
  left: 2.5vw;
  opacity: 0.4;
  text-transform: uppercase;
  font-size: 1vw;
  font-family: Oswald;
  transition: opacity 0.3s ease-out;
  font-weight: 200;
}


.more-detail-link:hover {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.segment-return {
  position: absolute;
  top: 5vw;
  left: 3.5vw;
  color: white;
  font-family: Oswald;
  opacity: 0.4;

  transition: opacity 0.2s ease-out;
}

.segment-return:hover {
  opacity: 1;
  transition: opacity 0.2s ease-in;

}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: black;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-family: Oswald;
  font-size: 24px;
  line-height: 1.2;
}

.overlay-segments {
  background: rgba(0,0,0,0.8);
}

.overlay > .inner {
  max-width: 500px;
  transform: translate(0,100%);
  opacity: 0;
  transition: all 0.5s ease 0.3s;
}


.overlay.in > .inner {
  transform: translate(0,0);
  opacity: 1;
  transition: all 0.5s ease 0;
}

.overlay > .inner > h3 {
  margin-bottom: 1.5em;
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
}

.overlay > .inner > p {
  font-family: "Catamaran";
  font-weight: 100;
  margin-bottom: 1em;
  text-align: center;
}

.overlay > .inner > .close {
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 3.5em;
  color: #888;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease-out;
}

.overlay > .inner > .close:hover {
  color: #CCC;
  transition: color 0.2s ease-in;
}

footer {
  margin: 0;
  display: flex;
  flex-direction: row;
  text-transform: uppercase;
  color: white;
  padding: .75vw 1vw;
  font-family: "Oswald";
  font-weight: 300;
  background: #000;
  font-size: 12px;
}

footer .title {
  margin: 0;
  flex: 1;
} 

footer .links {
  text-align: right;
}

footer .links a {
  color: white;
  text-decoration: none;
}

footer .links a:hover {
  color: white;
  text-decoration: underline;
}

.playing footer {
  opacity: 0.1;
  transition: opacity 1s ease-out;
}

.playing footer:hover {
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

svg.icon {
  fill: currentColor;
}

.fade {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.fade.in {
  opacity: 1;
  transition: opacity 1s ease-out;
}

.fade-slow {
  opacity: 0;
  transition: opacity 1.5s ease-in;
}

.fade-slow.in {
  opacity: 1;
  transition: opacity 1.5s ease-out;
}

.hidden {
  display: none !important;
}

.incorrectorientation {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5em;
  text-align: center;
  font-size: 2.5rem;
  font-family: Oswald;
  text-transform: uppercase;
}

/** VideoJS Customisation */

.content .video-js .vjs-big-play-button {
    display: none;
}

.content .video-js .vjs-play-progress {
    background-color: #e8971d;
}

.content .video-js .vjs-control-bar {
  position: fixed;
  width: auto;
  right: 1vw;
  bottom: 2.5vw;
  left: 1vw;
  background-color: #222222;
  background-color: rgba(25, 25, 25, 0.7);
}

.content .video-js .vjs-slider {
  background-color: #868686;
  background-color: rgba(134, 134, 134, 0.5);
}

.content .video-js .vjs-load-progress div {
    background: rgba(152, 152, 152, 0.75);
}

:focus {
  outline-color: #e8971d;
}

/** Animations */

@keyframes a_bob {
     0% {transform:translate(0, 0px);}
    65% {transform:translate(0, 15px);}
   100% {transform: translate(0, -0px);    }    
}

@keyframes a_fuzz_judder {
  0% { opacity: 1; filter: blur(0); }

  50% { opacity: 1; filter: blur(0);}
  55% { opacity: 0; filter: blur(0.2rem);}
  60% { opacity: 1; filter: blur(0.2rem);}
  65% { opacity: 1; filter: blur(0);}

  85% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0);}
  86% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0);}
  88% { opacity: 1; filter: blur(0); transform: translate3d(0,-0.3rem,0);}
  90% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0);}
  92% { opacity: 1; filter: blur(0); transform: translate3d(0,-0.3rem,0);}
  94% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0);}
  96% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0);}

  100% { opacity: 1; filter: blur(0); }
}

/** Orientation */

@media screen and (orientation: landscape) {
  .incorrectorientation {
    display: none;
  }
}

@media screen and (orientation: portrait) {
  .correctorientation {
    display: none;
  }
}