body {
  cursor: default;
  color: #888;
  background-color: #333;

  display: -webkit-flex;
  display: flex;

  -webkit-flex-direction: column;
  flex-direction: column;

  height: 100%; /* for firefox */
  width: 100%;

  position: absolute;
  padding: 0px;
  border: 0px;
  margin: 0px;
}

body,
canvas,
div {
  outline: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

canvas {
  background-color: rgba(0, 0, 0, 0);
}

#splash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #171717 url(./splash.e87a7.png) no-repeat center;
  background-size: 100%;
}

.content {
  display: -webkit-flex;
  display: flex;

  -webkit-justify-content: center;
  justify-content: center;

  -webkit-align-items: center;
  align-items: center;

  -webkit-flex-direction: column;
  flex-direction: column;

  -webkit-flex: auto;
  flex: auto;
}

#GameDiv {
  visibility: hidden;
}

.progress-bar {
  background-color: #1a1a1a;
  position: absolute;
  left: 25%;
  top: 80%;
  height: 15px;
  padding: 5px;
  width: 50%;
  /*margin: 0 -175px;         */
  border-radius: 5px;
  box-shadow:
    0 1px 5px #000 inset,
    0 1px 0 #444;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  transition: width 0.4s ease-in-out;
  background-color: #34c2e3;
  width: 0%;
}

.stripes span {
  background-size: 30px 30px;
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );

  animation: animate-stripes 1s linear infinite;
}

/**NEW**/
#mask {
  position: absolute;
  z-index: 9999;
  background-color: rgb(19, 19, 19);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: none;
  opacity: 0.5;
}

#tip {
  color: red;
  text-align: center;
  float: center;
  line-height: 250px;
}

#swipeGif {
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(fsc/swipe.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
  z-index: 99999;
  opacity: 1;
}
/* #loadingIcon {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -15px;
  margin-left: -15px;
  width: 31px;
  height: 30px;
  background: url(fsc/waiting.png);
  background-position: center;
  background-size: cover;
  z-index: 99999;
  opacity: 1;
} */
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}

#handImage {
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(fsc/touch.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(20, 20, 20, 0.7);
  display: none;
  opacity: 1;
  background-size: 20%;
}
/* 
#enterFullscreen {
  border: none;
  margin: 0 auto;
  position: absolute;
  background: url(fsc/enterFullscreen.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(0, 0, 0, 0);
  background-size: contain;
  display: block;
  opacity: 1;
} */

/* .buttonHide {
  visibility: 'hidden';
}

.buttonShow {
  visibility: 'visible';
} */

/* .enterFullScreen_Portrait {
  top: 2%;
  left: 45%;
  width: 9vmin;
  height: 9vmin;
  background-size: 80%;
}

.enterFullScreen_Landscape {
  top: 45%;
  left: 2%;
  width: 9vmin;
  height: 9vmin;
  background-size: 80%;
}

#exitFullscreen {
  border: none;
  margin: 0 auto;
  position: absolute;
  background: url(fsc/exitFullscreen.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(0, 0, 0, 0);
  background-size: contain;
  display: none;
  opacity: 1;
} */
/* 
.exitFullScreen_Portrait {
  top: 2%;
  left: 45%;
  width: 9vmin;
  height: 9vmin;
  background-size: 100%;
}

.exitFullScreen_Landscape {
  top: 45%;
  left: 2%;
  width: 9vmin;
  height: 9vmin;
  background-size: 40%;
}

.alignTopRight {
  top: 2vmin;
  right: 2vmin;
  left: auto;
  bottom: auto;
  width: 9vmin;
  height: 9vmin;
}

.alignBotRight {
  right: 2vmin;
  left: auto;
  top: auto;
  bottom: 2vmin;
  width: 9vmin;
  height: 9vmin;
}

.alignBotLeft {
  bottom: 2vmin;
  left: 2vmin;
  top: auto;
  right: auto;
  width: 9vmin;
  height: 9vmin;
}

.alignTopLeft {
  bottom: auto;
  left: 2vmin;
  top: 2vmin;
  right: auto;
  width: 9vmin;
  height: 9vmin;
}

.alignBotLeft23 {
  bottom: 18vmin;
  left: 2vmin;
  top: auto;
  right: auto;
  width: 9vmin;
  height: 9vmin;
}

.alignTopLeft23 {
  bottom: auto;
  left: 22vmin;
  top: 2vmin;
  right: auto;
  width: 9vmin;
  height: 9vmin;
} */

/* #splashGamePortrait {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vmax;
  height: 100vmin;
  background: #000000 url(fsc/splashscreen.jpg) no-repeat center center;
  background-size: 100%;
} */
/* .splashPortraitForGamePortrait {
  transform-origin: 50% 28.125%;
  transform: rotate(270deg);
}
.splashPortrait {
  transform-origin: 28.125% 50%;
  transform: rotate(90deg);
} */

.hidden {
  display: none !important;
}
