/* FORCE LANDSCAPE*/
@media only screen and (orientation:portrait){
    html {
      height: 100vw;
      width: 100vh;
      transform: rotate(90deg);
      transform-origin: top left;
      position: fixed; 
     left: 100vw;
    }
    canvas{
      margin-top: 0px !important;
      height: 95vw !important;
      width: 100vh !important;
    }
  }
  
  
  .orientation-msg-container {
      z-index: 99999;
      position: fixed;
      top: 0;
      left: 0;
      padding: 16px;
      transform: rotate(0deg);
      transform-origin: left top;
      background: #fe9225;
      width: 100vh;
      height: 100vh;
      box-sizing: border-box;
      display: block;
      text-align: center;
  }
  
  .msg-container-content {
      color: #ffffff;
      box-sizing: border-box;
      /* border: 4px solid; */
      margin: auto;
      width: calc(100vw - 32px);
      height: calc(100vh - 32px);
      transform-origin: top left;
      transform: rotate(-90deg) translateX(-100%);
  }
  
  @media(min-width: 720px)  {
      .orientation-msg-container{
          display: none;
      }
  }
  
  #canvas{
      z-index: -1;
  }
  
  /*BULMA COLOR OVERRIDES*/
  .has-text-primary{
    color:#006500 !important;
  }
  .is-primary{
    background-color:#006500 !important;
  }
  
  .has-text-gold{
    color:gold !important;
  }
  
  
  #gameheader{
      z-index: 99;
      position: relative;
      width: 100%;
      text-align: center;
      font-family: sans-serif;
      color: black;
      font-size: 12px;
      font-weight: lighter;
      background-color: rgba(255, 152, 18, 0.88);
      line-height: 16px;
      text-shadow: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.88);
      vertical-align: middle;
  }
  
  #gameheader .stat{
      margin-left: 1em;
  }
  #gameheader i{
      vertical-align: baseline !important;
      margin:2px 8px;
  }
  
  #fs-toggle {
      float: right;
  }
  
  #push_toggle {
      float: left;
  }
  #share_btn {
      float: left;
  }
  /*END HEADER*/
  
  
  .vex a:link,
  .vex a:visited,
  .vex a:hover,
  .vex a:active {
      color: #e08f2e;
  }
  
  
  /*chatbox*/
  #chatbox {
      background-color: rgba(255, 255, 255, 0.98);
      position: fixed;
      top: 2vh;
      height: 200px;
      z-index: 998;
      width: 96vw;
      left: 2vw;
      border-radius: 1em;
      transition: top 0.5s;
  }
  
  #chatbox.stashed {
      top: -60vw;
  }
  
  #chatbutton {
      z-index: 999;
      color: #5d5c5c;
      position: fixed;
      /*bottom: 170px;*/
      top: 6vh;
      left: 3vw;
      transition: bottom 0.5s;
  }
  
  #chatbutton.stashed {
      top: 6vh;
  }
  /* end chatbox*/
  
  
  .grecaptcha-badge {
      visibility: hidden;
  }
  
  #iframePopup{
      display: none;
      position: absolute;
      top: 6vh;
      height: 92vh;
      width: 98vw;
      left: 1vw;
      z-index: 9997;
      border-radius: 15px;
      box-shadow: 10px 10px 10px #0009;
      overflow: hidden;
      background: #ffffffa6;
  }
  #iframePopupClose{
      position: absolute;
      top: 0px;
      left: 0px;
      cursor: pointer;
  }
  #iframePopup iframe{
      margin: 0px;
      border: none;
      width: 100%;
      height: 100%;
  }
  
  
  
  #helpContainer{
      cursor: pointer;
      z-index: 999;
      position: fixed;
      color: #a2a2a2;
      top: 6vh;
      right: 3vw;
  }
  
  #fullscreen_video{
      background-color: black;
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      min-width: 100%;
      min-height: 100%;
      max-width: 100%;
      max-height: 100%;
      z-index: 9999;
  }
  #introSkipBtn{
      position:absolute;
      display: none;
      bottom:5%;
      right:5%;
      color:white;
      font-family: sans-serif;
      z-index:9999;
  }
  
  /*SPINNER*/
  div#spinner {
      display:none;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      padding-top: 40vh;
      text-align: center;
      color: white;
      background: #000000d9;
      font-family: sans-serif;
      z-index: 999;
  }
  
  .lds-dual-ring {
      display: block;
      width: 64px;
      height: 64px;
      margin-left: auto;
      margin-right: auto;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  /*END SPINNER*/
  
  
  /*PRELOADER*/
  .load-overlay {
    position: fixed;
    text-align: center;
    bottom: 0px;
    right: 0px;
    left: 0px;
    /* top: 0px; */
    background-color: #fdbe00;
    padding:1em;
    z-index: 10000;
  }
  
  
  .load-icon {
      position: relative;
      margin-top: 2%;
      height: 40%;
      margin-left: auto;
      margin-right: auto;
  }
  
  .load-text{
      font-size:20px;
      color:white;
      font-family: 'Bubblegum Sans', cursive;
      font-weight:bold;
  }
  
  .load-overlay .load-percent {
    display: block;
    position: absolute;
    left: 0%;
    width:100%;
    top: 60%;
    text-align: center;
  }
  
  .load-overlay .load-bar {
      position: absolute;
      display: block;
      top: 75%;
      width: 0%;
      left: 0;
      height: 2px;
      background-color: white;
  }
  
  #play-btn-container{
      position: absolute;
      /*display: none;*/
      bottom: 5%;
      left: 0px;
      right: 0px;
      text-align: center;
  }
  #load-play{
      color: white;
      background: #ff651d;
      font-size: 40px;
      border: thin white solid;
      border-radius: 5px;
      padding: 5px 20px;
      box-shadow: 2px 2px 7px 0px #00000066;
  }
  
  
  .only_portrait{
      display:none;
  }
  
  /*  portrait*/
  @media all and (orientation:portrait) {
      .load-icon {
          height: 25%;
      }
      .only_portrait{
          display:inline;
      }
  }
  /* END PRELOADER */