/**
 * Variables
 */
/**
 * Functions
 */
/**
 * Mixins
 */
html.isfullscreen #video-player {
  width: auto !important;
  height: auto !important;
  position: static !important;
}
html.isfullscreen .pbskids-onhover-overlay {
  position: static;
}
/**
 * Global changes
 */
header {
  position: relative;
  padding: 12px 0 0 0;
  margin: 0 40px;
  width: auto;
  height: 82px;
}
header .pbs-logo {
  position: static;
}
header .pbs-logo img {
  width: 40px;
  height: 40px;
}
header .site-nav {
  text-align: left;
}
header .splash-logo {
  position: static;
  display: inline;
  width: auto;
  padding: 0;
}
header .splash-logo img {
  width: 88px;
  margin-top: -2px;
}
header .controls {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 999;
}
header .controls a {
  top: 20px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
header .controls a:before, header .controls a:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
header .controls a:after {
  opacity: 0;
  -ms-transition: opacity 200ms ease-out;
  -webkit-transition: opacity 200ms ease-out;
  transition: opacity 200ms ease-out;
}
.no-touchevents header .controls a:hover:after, .touchevents header .controls a:active:after, header .controls .muted a:after {
  opacity: 1;
}
header .controls .cc a {
  position: relative;
  display: inline-block;
  width: 65px;
  height: 56px;
}
header .controls .cc a:before {
  background: url(../static/game/cc.png) no-repeat left top;
  background-size: 100% auto;
}
header .controls .cc a:after {
  background: url(../static/game/cc.png) no-repeat left bottom;
  background-size: 100% auto;
}
header .controls .audio a {
  position: relative;
  display: inline-block;
  width: 65px;
  height: 56px;
}
header .controls .audio a:before {
  background: url(../static/game/audio.png) no-repeat left top;
  background-size: 100% auto;
}
header .controls .audio a:after {
  background: url(../static/game/audio.png) no-repeat left bottom;
  background-size: 100% auto;
}
header .controls .close a {
  position: relative;
  display: inline-block;
  width: 66px;
  height: 56px;
}
header .controls .close a:before {
  background: url(../static/game/close.png) no-repeat left top;
  background-size: 100% auto;
}
header .controls .close a:after {
  background: url(../static/game/close.png) no-repeat left bottom;
  background-size: 100% auto;
}
@media (max-width: 480px) {
  header .controls .cc a, header .controls .audio a, header .controls .close a {
    top: 30px;
    width: 40px;
    height: 34px;
  }
}
@media (max-width: 640px) {
  header {
    margin: 0 20px;
  }
}
nav.main-nav {
  display: none;
}
main {
  padding-top: 1px;
  margin-bottom: -1px;
  min-height: 0;
}
/**
 * Game
 */
#game {
  text-align: center;
  font-size: 0;
}
@media (max-width: 640px) {
  #game .content {
    padding: 15px 20px 30px 20px;
  }
}
@media (min-width: 641px) {
  #game .content {
    padding: 15px 40px 50px 40px;
  }
}
#game #game-container {
  display: block;
  position: relative;
  margin: 0 auto;
  width: 90vw;
  max-width: 1130px;
  height: calc(90vw * 3 / 4);
  min-height: calc(90vw * 3 / 4);
  max-height: 80vh;
  border-radius: 5px;
  background-color: #FFF;
  border: solid 4px #FFF;
}
@media screen and (orientation: landscape) {
  #game #game-container {
    width: 85vw;
    height: calc(85vw * 9 / 16);
    min-height: calc(85vw * 9 / 16);
    max-height: 80vh;
  }
}
/**
 * Background
 */
main {
  background-image: url(../static/game/background.jpg);
  height: auto;
}
