﻿html {
  font-family: 'Source Sans Pro', sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
html input {
  font-family: 'Source Sans Pro', sans-serif;
}
body {
  margin: 0;
}
.loader-wrapper {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 100000;
  background-color: #606060;
}
.loader-wrapper .loader {
  width: 200px;
  height: 200px;
  background: url('/images/AI_Load.gif') center no-repeat;
  margin: auto;
  margin-top: calc(50vh - 100px);
}
.screen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background-image: url(/images/AI-Challenge-image.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: black;
}
@media only screen and (max-width: 480px) {
  .screen {
    background-image: url(/images/AI_Challenge_Mobile_BG_1@2x.jpg);
  }
}
.screen > .screen-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto;
  z-index: 10;
}
.screen .btn {
  width: 440px;
  height: 74.58px;
  border-radius: 37.29px;
  line-height: 74.58px;
  font-size: 19px;
  color: white;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  cursor: pointer;
}
@media only screen and (max-width: 480px) {
  .screen .btn {
    width: 161.74px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }
}
.screen .btn:hover {
  filter: brightness(1.1);
  box-shadow: #1C2831 0 20px 50px;
}
.screen .btn:focus,
.screen .btn:active {
  filter: brightness(0.9);
  box-shadow: none;
  -webkit-transition-timing-function: unset;
  transition-timing-function: unset;
  transition-duration: 0.2s;
  transition-property: transform;
  transform: scale(0.9);
}
.screen .btn-primary {
  background-color: #B5161E;
  border: 2px solid #C21720;
}
.screen .btn-secondary {
  background-color: #19965B;
  border: 2px solid #1B7B4E;
}
.screen .btn-dark {
  background-color: #332F2E;
  border: 2px solid #C21720;
}
.screen .topbar {
  height: 100px;
}
@media only screen and (max-width: 480px) {
  .screen .topbar {
    position: fixed;
    width: 100vw;
    height: 60px;
    background-color: #262422;
    background-image: url(/images/brand.png);
    background-position: center;
    background-repeat: no-repeat;
    z-index: 999;
  }
}
.screen .btn-info,
.screen .btn-cancel,
.screen .btn-language {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid #E6E6E6;
  border-radius: 30px;
  background-color: rgba(51, 47, 46, 0.5);
  box-shadow: black 0 10px 20px;
  box-sizing: border-box;
  z-index: 1000;
}
@media only screen and (max-width: 480px) {
  .screen .btn-info,
  .screen .btn-cancel,
  .screen .btn-language {
    width: 32.95px;
    height: 32.95px;
    border: 1px solid #E6E6E6;
    border-radius: 16px;
  }
}
.screen .btn-info {
  top: 20px;
  left: 30px;
  background-image: url(/images/btn-info.png);
  background-position: center;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 480px) {
  .screen .btn-info {
    top: 14px;
    left: 10px;
    background-size: 4px 15px;
  }
}
.screen .btn-cancel {
  top: 20px;
  right: 30px;
  background-image: url(/images/btn-cancel.png);
  background-position: center;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 480px) {
  .screen .btn-cancel {
    top: 14px;
    right: 10px;
    border: none;
    background-color: transparent;
    background-size: 20px 21px;
    box-shadow: none;
  }
}
.screen .btn-language {
  position: absolute;
  top: 20px;
  left: 100px;
}
.screen .btn-language span {
  line-height: 58px;
  font-size: 30px;
}
@media only screen and (max-width: 480px) {
  .screen .btn-language {
    top: 14px;
    left: 50px;
  }
  .screen .btn-language span {
    line-height: 33px;
    font-size: 24px;
  }
}
.screen .language-switch-area.open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}
.screen .language-menu {
  display: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: none;
  position: relative;
  left: 100px;
  top: 20px;
  z-index: 1000;
  float: left;
  min-width: 160px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #332f2e;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.screen .language-menu > li > a {
  padding: 10px 18px;
  color: white;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  font-size: 20px;
  line-height: 40px;
  display: block;
  clear: both;
  font-weight: normal;
  white-space: nowrap;
  text-decoration: none;
}
.screen .language-menu > li > a.language-current {
  background-color: rgba(255, 255, 255, 0.2);
}
.screen .language-menu > li > a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
@media only screen and (max-width: 480px) {
  .screen .language-menu {
    top: 14px;
    left: 50px;
  }
  .screen .language-menu > li > a {
    padding: 5px 18px;
    font-size: 14px;
    line-height: 23px;
  }
}
.screen .language-menu.open {
  display: block;
}
.screen .famfamfam-flags {
  display: inline-block;
}
.screen .score-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200px;
  background-color: rgba(51, 47, 46, 0.8);
  box-sizing: border-box;
  z-index: 100;
}
@media only screen and (max-width: 480px) {
  .screen .score-wrapper {
    top: unset;
    bottom: calc(100vh - 60px - 100vw);
    left: -28px;
    width: 94px;
    transform: rotate(90deg);
  }
}
.screen .score-wrapper .score-ai {
  width: 50%;
  float: left;
  height: 100%;
}
.screen .score-wrapper .score-ai .icon {
  background-image: url(/images/AI_Icon.gif);
  background-size: 100%;
  background-position: center 2px;
  background-repeat: no-repeat;
}
.screen .score-wrapper .score-ai .filled {
  background-color: #C21720;
}
.screen .score-wrapper .score-ai .filled:before {
  content: "AI Score";
  display: block;
  transform: rotate(-90deg);
  transform-origin: 0 0;
  width: 150px;
  padding-left: 26px;
  color: white;
  font-weight: lighter;
  font-size: 30px;
  line-height: 46px;
  position: fixed;
  bottom: 80px;
}
@media only screen and (max-width: 480px) {
  .screen .score-wrapper .score-ai .filled:before {
    font-size: 16px;
    line-height: 25px;
    bottom: 12px;
  }
}
.screen .score-wrapper .score-player {
  width: 50%;
  float: right;
  height: 100%;
}
.screen .score-wrapper .score-player .icon {
  background-image: url(/images/icon_player_score.png);
  background-position: center;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 480px) {
  .screen .score-wrapper .score-player .icon {
    background-size: 12px 17px;
  }
}
.screen .score-wrapper .score-player .filled {
  background-color: #BF967E;
}
.screen .score-wrapper .score-player .filled:before {
  content: "User Score";
  display: block;
  transform: rotate(-90deg);
  transform-origin: 0 0;
  width: 150px;
  padding-left: 26px;
  color: white;
  font-weight: lighter;
  font-size: 30px;
  line-height: 46px;
  position: fixed;
  bottom: 80px;
}
@media only screen and (max-width: 480px) {
  .screen .score-wrapper .score-player .filled:before {
    font-size: 16px;
    line-height: 25px;
    bottom: 12px;
  }
}
.screen .score-wrapper .bar {
  width: 46px;
  height: 83.33vh;
  background-image: linear-gradient(to top, #332f2e, rgba(51, 47, 46, 0));
  position: absolute;
  bottom: 61px;
  margin: 0 calc(25% - 23px);
}
@media only screen and (max-width: 480px) {
  .screen .score-wrapper .bar {
    width: 25px;
    height: calc(100vw - 58px);
    background-image: linear-gradient(to top, #0D0D0D, #4E4E4E);
    bottom: 22px;
    margin: 0 calc(25% - 13px);
  }
}
.screen .score-wrapper .icon {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  border: 2px solid #C21720;
  background-color: #B5161E;
  position: absolute;
  bottom: 21px;
  margin: 0 calc(25% - 40px);
  box-sizing: border-box;
}
@media only screen and (max-width: 480px) {
  .screen .score-wrapper .icon {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    border: 1px solid #C21720;
    bottom: 0;
    margin: 0 calc(25% - 22px);
    transform: rotate(-90deg);
  }
}
.screen .score-wrapper .filled {
  position: absolute;
  bottom: 49px;
  width: 46px;
  min-height: 17px;
  height: 17px;
  transition: all 1s;
  -webkit-transition: all 1s;
}
@media only screen and (max-width: 480px) {
  .screen .score-wrapper .filled {
    bottom: 27px;
    width: 25px;
    min-height: 9px;
    height: 9px;
  }
}
.screen .stage-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 200px;
  padding-right: 39px;
  padding-top: 13.89vh;
  background-color: rgba(51, 47, 46, 0.8);
  box-sizing: border-box;
  z-index: 100;
}
@media only screen and (max-width: 480px) {
  .screen .stage-wrapper {
    top: calc(100vw + 60px);
    left: 0;
    width: calc(100vw - 16px);
    padding-right: unset;
    padding-top: unset;
    margin: 0 8px;
    height: 40px;
    white-space: nowrap;
    overflow: auto;
    background-color: transparent;
  }
}
.screen .stage-wrapper > span {
  display: block;
  color: white;
  font-size: 30px;
  font-weight: lighter;
  text-align: right;
}
@media only screen and (max-width: 480px) {
  .screen .stage-wrapper > span {
    display: inline-block;
    font-size: 20px;
    width: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
  }
  .screen .stage-wrapper > span > .thumbnail-image {
    display: block;
    height: 40px;
    width: 40px;
    margin-bottom: 1px;
    background-color: #272423;
    background-size: cover;
    background-position: center;
  }
  .screen .stage-wrapper > span > .thumbnail-result {
    display: block;
    height: 10px;
    width: 40px;
    background-color: #272423;
  }
}
.screen .stage-wrapper > span[data-current-stage="true"] {
  font-weight: normal;
  font-size: 40px;
}
@media only screen and (max-width: 480px) {
  .screen .stage-wrapper > span[data-current-stage="true"] {
    font-size: 30px;
  }
}
@media only screen and (max-width: 480px) {
  .screen .stage-wrapper > span[data-current-stage="true"][data-passed="false"] > .thumbnail-result {
    background-color: #8E8E8E;
  }
}
.screen .stage-wrapper > span[data-result=true] > .thumbnail-result {
  background-color: rgba(25, 150, 91, 0.8);
}
.screen .stage-wrapper > span[data-result=false] > .thumbnail-result {
  background-color: rgba(181, 22, 30, 0.8);
}
.screen .stage-wrapper[data-mode="training"],
.screen .stage-wrapper[data-review="true"] {
  height: 100px;
}
.screen .clock-wrapper {
  position: absolute;
  top: -37px;
  left: calc(50vw - 292px / 2);
  z-index: 100;
  width: 292px;
  height: 119px;
  padding: 64px 42px 15px;
  border-radius: 21px;
  background-color: #50453d;
  box-sizing: border-box;
}
@media only screen and (max-width: 480px) {
  .screen .clock-wrapper {
    top: 0;
    left: calc(50vw - 194px / 2);
    width: 194px;
    height: 100px;
    padding: 65px 39px 15px;
  }
}
.screen .clock-wrapper span {
  display: inline-block;
  color: #E6E6E6;
  font-size: 30px;
  font-weight: lighter;
  background-image: url(/images/Time_bar_static.gif);
  background-repeat: no-repeat;
  background-position: 0;
  background-size: contain;
  line-height: 45px;
  height: 45px;
  padding-left: 45px;
}
@media only screen and (max-width: 480px) {
  .screen .clock-wrapper span {
    font-size: 16px;
    line-height: 30px;
    height: 30px;
    padding-left: 30px;
  }
}
.screen .clock-wrapper span[data-is-running=true] {
  background-image: url(/images/Time_bar.gif);
}
.screen .dialog {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #5F5F5F;
  z-index: 10000;
}
@media only screen and (max-width: 480px) {
  .screen .dialog {
    background-color: transparent;
  }
}
.screen.locking-screen {
  cursor: wait !important;
}
.screen.locking-screen .btn,
.screen.locking-screen .btn:disabled {
  pointer-events: none;
  background-color: #332F2E;
  border-color: #C21720;
}
.btn.disabled {
  pointer-events: none;
  background-color: #332F2E;
  border-color: #C21720;
}
.screen.no-background {
  background-image: none;
  background-color: #332F2E;
}
.hidden {
  display: none !important;
}
.no-padding {
  padding: 0 !important;
}