* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -ms-content-zooming: none;
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden; 
  overflow-y: hidden; 
  font-family: 'Titillium Web', sans-serif;
  -webkit-overflow-scrolling: touch;
}

.hidden {
  display: none;
}

.fs-button
{
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 50px;
  height: 50px;
  z-index: 1000;
  font-size: 32px;
  background-color: #ffffffbb;
  cursor: pointer;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  border-radius: 10px;
}

#pano {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  touch-action: manipulation;
}

#navMenu {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: #ffffffee;
  text-align: center;
}

#navMenu a
{
  padding: 15px;
  border-radius: 10px;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  margin-top: 20px;
  min-width: 260px;
  max-width: 300px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  background-color: #806381;
  /*
  width: 47%;
  margin-left: 1%;
  margin-right: 1%;
  display: block;
  float: left;*/
}

#navMenu a:hover
{
  background-color: #39263c;
}

#navMenu.visible {
  display: block;
}

#navMenu .navHolder
{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-flow: column wrap;
}

@media only screen and (max-width: 570px) {
  #navMenu a {
    font-size: 16px;
    min-width: 260px;
    padding: 10px;
  }
}

#header {
  height: 50px;
  width: 100%;
  position: absolute;
  -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.5);
  z-index:99;
  background-color: #fff;
}

#header #logo{
  float: left;
  left: 0;
  width: 175px;
  height: 50px;
  padding-left: 15px;
}

#header #logo a{
  font-size: 32px;
  text-decoration: none;
  font-weight: bold;
  color:#806381;
}

@media only screen and (max-width: 570px) {
  #header #logo a{
    font-size: 24px;
  }
}

#header #logoText {
  float: left;
  left: 0;
  height: 50px;
  margin-top: 30px;
  font-weight: bold;
}

#header #nav {
    float: right;
    right: 0px;
    font-weight: bold;
    height: 100%;
}

#header #nav a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  padding-top: 15px;
  height: 100%;
}

#header #nav a:hover {
  background-color: #39263c;
  color: #fff;
  border-bottom: 3px #d8c5b4 ridge;
}

/* cover pop ups */
.cover
{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-transition: opacity 0.5s 0s ease;
  -moz-transition: opacity 0.5s 0s ease;
  -o-transition: opacity 0.5s 0s ease;
  transition: opacity 0.5s 0s ease;
  opacity: 0;
  /*display: none;*/
  z-index:99;
  pointer-events: none;
  min-height: -webkit-fill-available;
}

.cover.visible
{
  pointer-events: all;
  /*display: block;*/
  opacity: 1;
}

.cover.opaque
{
  background-color: rgba(255, 255, 255, 1);
  z-index: 1001;
}

.popupBG
{
  background-color: #fff;
  padding: 30px;
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 5px;
  -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.5);
  min-width: 200px;
  min-height: 200px;
  border-radius: 10px;
  text-align: center;
  z-index:101;
  max-height: 95%;
  overflow:auto;
}

.popupBG .testContainer
{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.popupBG .testContainer #pretestInstructions {
  display: none;
  font-size: 18px;
}

.popupBG .testContainer .pretest {
  flex-grow: 1;
}

.popupBG .testContainer .pretest .testEmbed {
  height: 100%;
}

.popupBG .testContainer .pretest .testEmbed iframe {
  height: 100%;
}

.popupBG .testContainer .button {
  flex-grow: 0;
}

.popupBG .externalLink
{
  font-size: 24px;
  text-decoration: underline;
  font-weight: 900;
  display: block;
  margin-top: 10px;
  color: #d8c5b4;
}

.popupBG.testFull
{
  width: 100%;
  height: 100%;
}

#welcomepopup h2
{
  font-size: 20px;
}

#welcomepopup a
{
  margin-top: 45px;
}

#pretestInstructions
{
  font-weight: bold;
}

#posttestInstructions
{
  font-weight: bold;
  margin-top: 25px;
  font-size: 24px;
}

@media only screen and (max-width: 1200px) {
  .popupBG {
    min-width: 70%;
  }
}

@media only screen and (max-width: 1050px) {
  .popupBG {
    min-width: 80%;
  }
}

@media only screen and (max-width: 850px) {
  .popupBG {
    min-width: 90%;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }
}

.exit-link
{
  display: none;
}

.popupBG .button a
{
  padding: 15px;
  border-radius: 10px;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
  margin-top: 20px;
  display: block;
  color: #fff;
  font-size: 20px;
  background-color: #806381;
}

.popupBG .button.inline
{
  display: inline-block;
  margin-right: 10px;
  min-width: 285px;
}

.popupBG .button a:hover
{
  background-color: #39263c;
}

.popupBG a
{
  color: #000;
  text-decoration: none;
}

.popupBG .closeButton
{
  color: #000;
}

.popupBG h1
{
  font-weight: bold;
  font-size: 24px;
  margin: 10px;
  margin-bottom: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.popupBG h2
{
  font-weight: bold;
  font-size: 18px;
  margin-top: 30px;
}

.popupBG .resourceLink
{
  text-decoration: underline;
  margin-top: 10px;
  display: block;
}

.popupBG h3
{
  font-weight: bold;
  font-size: 16px;
}

.popupBG .cardLink
{
  margin-top: 50px;
}

.popupBG .appDLArea
{
  margin-top: 30px;
  text-align: center;
  width: 100%;
  min-width: 800px;
}

@media only screen and (max-width: 950px) {
  .popupBG .appDLArea
  {
    min-width: 700px;
  }
}

@media only screen and (max-width: 750px) {
  .popupBG .appDLArea
  {
    min-width: 0px;
  }
}

.largeButton
{
  font-size: 55px !important;
  height: 90px;
}

@media only screen and (max-width: 800px) {
  .largeButton
  {
    font-size: 35px !important;
    height: 70px;
  }
}

@media only screen and (max-width: 450px) {
  .largeButton
  {
    font-size: 22px !important;
    height: 55px;
  }
}

.appSeperator
{
  margin-top: 30px;
  margin-bottom: 45px;
}

.popupBG .appDLArea h2
{
  font-size: 20px;
  display: block;
  margin-left: 286px;
}

@media only screen and (max-width: 750px) {
  .popupBG .appDLArea h2
  {
    margin-left: 0px;
  }
}

.popupBG .appDLArea .description
{
  display: inline-block;
  font-weight: bold;
  text-align: left;
  padding: 10px;
  font-size: 18px;
  width: 62%;
}

.popupBG .appDLArea .logoDescHolder
{
  width: 100%;
}

.popupBG .appDLArea .button
{
  text-align: center;
}

.popupBG .appDLArea .appLinkContainer
{
  display: block;
  text-align: center;
}

.popupBG .appDLArea .logo
{
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    display: inline-block;
    width: 32%;
}

@media only screen and (max-width: 750px) {
  .popupBG .appDLArea .logo
  {
    width: auto;
  }
}

.popupBG .appDLArea .logo img
{
  width: 100%;
}
.popupBG .appDLIcon
{
  margin-top: 20px;
  height: 60px;
  margin-right: 5px;
  margin-left: 5px;
}

@media only screen and (max-width: 750px) {
  .popupBG .appDLArea .logoDescHolder
  {
    display: block;
  }
  .popupBG .appDLArea .description
  {
    width: 100%;
  }
  .popupBG .appDLArea .logo img
  {
    width: 150px;
  }
}

.popupBG .closeButton
{
  font-size: 32px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.popupBG .backButton
{
  font-size: 32px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.popupBG .pretest
{
  display: none;
}

#postvideopopup h1
{
  margin-bottom: 10px;
}

.videoRotateInstructions
{ 
  background-color: #ffffffbb;
  color: #000;
  font-size: 18px;
  z-index: 1000000;
  position: absolute;
  bottom: 50%;
  width: 100%;
  text-align: center;
  padding: 15px;
  font-weight: bold;
}

/* General layout */

.video-controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  overflow: hidden;
}


.control-btn, .time {
  height: 100%;
  position: absolute;
  box-size: border-box;
}

.video-controls {
  height: 40px;
}
.play, .sound, .options, .FS {
  width: 40px;
}
.resolution {
  width: 100px;
}

.play { left: 0;    }
.sound { left: 40px; }
.FS { right: 0px; }
.options { right: 0; display: none; }
.resolution { right: 40px; }

.time {
  position: absolute;
  left: 80px;
  right: 140px;
}

/* Control button style (play, mute, options, resolution) */

.control-btn {
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
  cursor: pointer;
  transition: .3s all ease-in-out;
}

.control-btn:hover{
  background-color: rgb(78,88,104);
  background-color: rgba(78,88,104,0.8);
}

/* Play, mute, options */

.play img, .sound img, .options img, .FS i {
  height: 66%;
  width: 66%;
  margin-top: 17%;
  margin-left: 17%;
  font-size: 27px;
}


/* Resolution button */
.resolution {
  text-align: center;
  padding-top: 10px;
}

.resolution h4,
.resolution img {
  display: inline-block;
  vertical-align: middle;
}

.resolution h4 {
  font-size: 14px;
}

.resolution img {
  height: 14px;
}

.resolution-changing-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: .8em;
  background-color: rgb(58,68,84);
  font-size: .9em;
  color: #fff;
}

/* Progress bar */

.initial-time, .progress-wrapper, .end-time {
  position: absolute;
}

.initial-time, .end-time{
  width: 50px;
}

.initial-time {
  left: 14px;
}

.end-time {
  right: 14px;
}

.progress-wrapper {
  left: 78px;
  right: 78px;
}

.initial-time, .end-time {
  text-align: center;
  top: 12px;
}

.progress-wrapper {
  padding: 15px 0;
  cursor: pointer;
}

.progress-bar {
  height: 10px;
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
  border-radius: 20px;
}

.progress-wrapper .progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background-color: #eee;
  border-radius: 20px;
}

.initial-time,
.end-time {
  font-size: 14px;
}

.time {
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
}

/* Modals */

.resolution.selected,
.options.selected {
  background-color: #29aae2;
}

.resolution-modal,
.options-modal {
  position: absolute;
  bottom: 55px;
  border-radius: 3px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
}

.resolution-modal {
  width: 84px;
  right: 48px;
}

.resolution-modal:after,
.options-modal:after {
  content: '';
  position: absolute;
  top: 100%;
  width: 0;
  height: 0;
  margin-left: -8px;
  border-top: 8px solid rgb(58,68,84);
  border-top: 8px solid rgba(58,68,84,0.8);
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}

.resolution-modal:after {
  left: 50%;
}

.options-modal:after {
  right: 10px;
}

.resolution-modal li {
  padding: 5px 7px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: .3s all ease-in-out;
}

.resolution-modal li.selected {
  color: #29aae2;
}

.resolution-modal li:hover {
  background-color: #29aae2;
  color: #fff;
}

.resolution-modal-changing-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  padding-top: 1.8em;
  background-color: rgb(58,68,84);
}

.resolution-modal-changing-indicator .spinner{
  width: 20px;
  margin: auto;
  margin: 2em auto;
  font-size: 7px;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: spin .8s infinite linear;
  animation: spin .8s infinite linear;
}

@-webkit-keyframes spin {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}
@keyframes spin {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}


.options-modal {
  right: 5px;
  width: 200px;
  height: 120px;
  padding: 10px;
  color: #fff;
}

.options-modal, .options-modal select {
  font-size: 16px;
}

/* Show state */

.play-icon  { display: block; }
.pause-icon { display: none;  }
.video-playing .play-icon  { display: none;  }
.video-playing .pause-icon { display: block; }

.sound-on  { display: block; }
.sound-off { display: none;  }
.video-muted .sound-on  { display: none;  }
.video-muted .sound-off { display: block; }

.resolution-modal {
  transition: transform 0.5s;
  transform: translateY(200%);
  -webkit-transform: translateY(200%);
}

.resolution-select-open .resolution-modal {
  transform: translateY(0);
  -webkit-transform: translateY(0);
}

.options-modal {
  transition: transform 0.5s;
  transform: translateY(200%);
  -webkit-transform: translateY(200%);
}

.options-open .options-modal {
  transform: translateY(0);
  -webkit-transform: translateY(0);
}

.resolution-changing-indicator,
.resolution-modal-changing-indicator {
  display: none;
}

.video-resolution-changing .resolution-changing-indicator,
.video-resolution-changing .resolution-modal-changing-indicator {
  display: block;
}