@font-face{ 
    font-family: "MontserratBold"; 
    src: local('☺'), url('../media/fonts/MontserratBold.woff') format('woff');
    font-style:normal;
}


@font-face{ 
    font-family: "MontserratRegular"; 
    src: local('☺'), url('../media/fonts/MontserratRegular.woff') format('woff');
    font-style:normal;
}

@font-face {
    font-family: 'Orbitron';
    src: local('☺'), url('../media/fonts/Orbitron-Bold.woff') format('woff');
    font-style:bold;
}

@font-face{ 
    font-family: "Bungee"; 
    src: local('☺'), url('../media/fonts/Bungee-Regular.woff') format('woff');
    font-style:normal;
}

select {
    /*height: 34px;*/
    position: relative;
    display: inline-block;
    font-family: Arial;
    padding: 8px;
    /*font-size: 18px;*/
    background-color: #ffffff;
    color: #333333;

    border: 0 !important;  /*Removes border*/
    border-width: 0px;
    border-radius: 8px;
    border-style: none;
    padding-left: 10px;
    padding-right: 45px;
    
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    background-image: url('../media/images/pulldown_arrow.svg');

    margin-right:10px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    outline:none;
    cursor: pointer;

    pointer-events: auto;
}

select::-ms-expand {
    display: none;
}

a, a:visited, a:hover, a:active, a:focus {
    color: inherit;
    outline: 0;
}


html {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;

   overflow: hidden;
  -ms-user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none; 
  -webkit-user-callout: none;
  -ms-touch-action: manipulation !important;
  -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
}

body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;

  background-color: #000000;
  background-position: center;
  background-image: url('../media/images/background_pattern.jpg');

  overflow: hidden;
  -ms-user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none; 
  -webkit-user-callout: none;
  -ms-touch-action: manipulation !important;
  -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
}



/* -------------------------- */
/* main                       */
/* -------------------------- */


#wrapper{
    position: relative;
    display: inline-block;
    top: 0px; 
    left: 0px;
  
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
}


#debug{
    position: absolute;
    top: 0px; 
    left: 0px;
    background-color: #ffffff;
    font-size: 10px;
    font-family: Arial;
    color: #333333;
}


#canvas_game {
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  display: none;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_debug{
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#canvas_mute {
  position: absolute;
  display: none;
  right: 0px; 
  top: 90px;
  width: 64px;
  height: 180px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_screens {
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_overlay {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  background: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_background {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* -------------------------- */
/* landscape / screensize     */
/* -------------------------- */

#orientation_overlay {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;

  background-color: #000000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#screensize_overlay {
  position: absolute;
  overflow: hidden;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;

  background-color: #333333;
  color: #89a8cc;
  text-align: center;
  font-family: Arial, Helvetica;
  font-weight: normal;
  font-size: 14pt;
}

#div_instructions{
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;


    background-repeat: no-repeat;
    background-position: center;
    background-size: "";
    background-image: url('../media/images/spinner.gif');

}

#div_errors{
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    font-family: Arial, Helvetica;
    width: 100%;
    height: 100%;
    opacity: 1;
    font-size: 14pt;
    color: #89a8cc;
    background-color: #333333;
}


/* -------------------------- */
/* fader                      */
/* -------------------------- */

#fader {
  position: absolute;
  top: 0px; 
  left: 0px;
  background-color: rgb(13, 100, 169);
  transform: transale3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

/* -------------------------- */
/* legal                      */
/* -------------------------- */

#div_legal{
    position: absolute;
    display: block;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 100;
    overflow: visible;
    background-color: #0b111d;
    touch-action: none;
    font-size: 20px;
    text-align: center;
    -webkit-overflow-scrolling: none;
    -webkit-text-size-adjust: 100%;
     -ms-transform-origin: 0% 0%; /* IE 9 */
    -webkit-transform-origin: 0% 0%; /* Chrome, Safari, Opera */
    transform-origin: 0% 0%;
}


.legal_block {
    position: relative;
    display: inline-block;
    top: 0px;
    width: 100%;
    padding: 8px;
    font-size: 14px;
    font-family: "MontserratRegular";
    color: #ffffff;
    text-align:center;
    pointer-events: none;
    background-color: #000000;
}

/*legal links*/
.legal_link {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-size: 14px;
    font-family: "MontserratRegular";
}

.legal_link:hover {
    color: #faaf1e;
}
.legal_link:active {
    color: #faaf1e;
}

/*legal links for mobile*/
.legal_link_mobile {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-size: 14px;
    font-family: "MontserratRegular";
}

.b_legal {
    position: relative;
    display: block;
    top: -45px;
    width: 120px;
    margin-left: auto;
    margin-right: auto;

    height: 46px;
    min-width: 120px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    padding-right: 20px;
    padding-left: 20px;
    text-decoration: none;
    pointer-events: auto;
    font-family: "MontserratRegular";
    border-radius: 30px 30px 0px 0px;
    background-color: #000000;
}
.b_legal:active {
    color: #faaf1e;
}
.b_legal:hover {
    color: #faaf1e;
}

.b_legal_mobile {
    position: relative;
    display: block;
    top: -45px;
    width: 120px;
    margin-left: auto;
    margin-right: auto;

    height: 46px;
    min-width: 120px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    padding-right: 20px;
    padding-left: 20px;
    text-decoration: none;
    pointer-events: auto;
    font-family: "MontserratRegular";
    border-radius: 30px 30px 0px 0px;
    background-color: #000000;
}
.legal_image{
    position: relative;
    display: inline-block;
    margin: 5px;
    pointer-events: none;
}
