html,
body {
  -ms-touch-action: none;
}
html {
  background-image: url(../img/wood.jpg);
  overflow: hidden;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, Sans-serif;
  color: #000;
}
img {
  border: 0;
}
#loading {
  z-index: 1;
  background: #fff;
}
.hammer{
  cursor: url(../img/hammer.png),auto;
}
#langSelect {
  background: #fff;
  width: 200px;
  position: absolute;
  bottom: 0;
  left: 0;
}
/* .flag {
  background-image: url(../img/flags.png);
  background-size: 240px 12px;
  margin-right: 3px;
  width: 18px;
  height: 12px;
  display: inline-block;
} */
#langSelect td {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 2px;
}
#langSelect tbody td:hover {
  background: #ccc;
  cursor: pointer;
}
#langSelect tfoot tr td:after {
  content: "▼";
  float: right;
  display: inline-block;
  color: #838383;
}
#langSelect.open tfoot tr td:after {
  content: "▲";
}
#langSelect.open {
  z-index: 1;
}
#langSelect tbody {
  display: none;
}
.progressbar {
  position: absolute;
  top: 400px;
  left: 240px;
  width: 800px;
  border-radius: 18px;
  padding: 3px;
  background-color: #eee;
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4) inset;
  border-collapse: separate;
}
.progressbar > div {
  width: 0;
  height: 20px;
  border-radius: 20px;
  background: #ff0000;
  background: -moz-linear-gradient(top, #ff0000 0, #fbb03c 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #ff0000),
    color-stop(100%, #fbb03c)
  );
  background: -webkit-linear-gradient(top, #ff0000 0, #fbb03c 100%);
  background: -o-linear-gradient(top, #ff0000 0, #fbb03c 100%);
  background: -ms-linear-gradient(top, #ff0000 0, #fbb03c 100%);
  background: linear-gradient(to bottom, #ff0000 0, #fbb03c 100%);
}

#rotateHint {
  background: rgba(255, 255, 255, 0.85);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  display: none;
  z-index: 99999;
  font-family: Arial, Helvetica, Sans-serif;
  padding: 2em;
  color: #000;
}
#rotateHint h2 {
  font-size: 20px;
}
#rotateHint img.rotate {
  width: 80%;
  max-width: 400px;
}
#rotateHint #rotateClose {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
#gameContainer{
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
}
#timeLeft {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}
#timeLeft > div {
  width: 0;
  height: 4px;
  background: red;
}
* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  outline: none !important;
  outline-style: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
@font-face {
  font-family: "jungleadventurer";
  font-style: normal;
  font-weight: normal;
  src: local("jungleadventurer"), local("jungleadventurer"),
    url("jungleadventurer.eof?#iefix") format("embedded-opentype"),
    url("jungleadventurer.ttf") format("truetype");
}
.number {
  position: absolute;
  width: 100px;
  text-align: center;
  font: 30px Arial, Helvetica, Sans-serif;
  color: #fff;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 #000;
}
.remDiv {
  position: absolute;
  /* width: 70px;
  height: 70px; */
}
.languageText {
  position: absolute;
}
.languageUI {
  position: absolute;
}
.backButton {
  position: absolute;
}
.backPos {
  position: absolute;
  left: 0;
  top: 0;
}
.mahjong_css {
  position: absolute;
  left: 0;
  top: 0;
}
.txt_loading {
  position: absolute;
  width: 200px;
  height: 40px;
  left: 298px;
  top: 227px;
  border: 0;
  text-align: center;
  vertical-align: middle;
  font: 16px jungleadventurer, Helvetica;
  background-color: transparent;
}
.btnumber {
  position: absolute;
  font-family: jungleadventurer;
  letter-spacing: 3px;
  font-size: 26px;
  color: #fff;
  white-space: nowrap;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 rgba(6, 2, 1, 0.98);
}
.loogText {
  position: absolute;
  text-align: left;
  font: 24px jungleadventurer, Helvetica, Sans-serif;
  color: #fff;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 rgba(6, 2, 1, 0.98);
}
#title{
	animation-name:flyIn, shark;
    animation-duration:1500ms, 6000ms;
    animation-timing-function:linear, linear;
	animation-delay:0ms, 1500ms;
	animation-iteration-count:1, infinite;
	transform-origin: center top;
	
	-webkit-animation-name:flyIn, shark;
    -webkit-animation-duration:1500ms, 6000ms;
    -webkit-animation-timing-function:linear, linear;
	-webkit-animation-delay:0ms, 1500ms;
	-webkit-animation-iteration-count:1, infinite;
	-webkit-transform-origin: center top;

	-moz-animation-name:flyIn, shark;
    -moz-animation-duration:1500ms, 6000ms;
    -moz-animation-timing-function:linear, linear;
	-moz-animation-delay:0ms, 1500ms;
	-moz-animation-iteration-count:1, infinite;
	-moz-transform-origin: center top;

	-o-animation-name:flyIn, shark;
    -o-animation-duration:1500ms, 6000ms;
    -o-animation-timing-function:linear, linear;
	-o-animation-delay:0ms, 1500ms;
	-o-animation-iteration-count:1, infinite;
	-o-transform-origin: center top;
}
@-webkit-keyframes flyIn{
	0%{top:-100px;opacity: 0;}
	100%{opacity: 1;}
}
@keyframes flyIn{
	0%{top: -100px;opacity: 0;}
	100%{opacity: 1;}
}

@-webkit-keyframes shark{
	0%{transform:rotate(0deg);}
	25%{transform:rotate(1deg);}
	50%{transform:rotate(0deg);}
	75%{transform:rotate(-1deg);}
	100%{transform:rotate(0deg);}
}
@keyframes shark{
	0%{transform:rotate(0deg);}
	25%{transform:rotate(1deg);}
	50%{transform:rotate(0deg);}
	75%{transform:rotate(-1deg);}
	100%{transform:rotate(0deg);}
}