html {
  -ms-touch-action: none;
}

.odkAdsBannerContainer {
  padding-bottom: 96px;
}

@media only screen and (max-width: 992px) {
  .odkAdsBannerContainer {
    padding-bottom: inherit;
  }
}

body, canvas, div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  user-select: 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);
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  padding: 0;
  border: 0;
  margin: 0;

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

  text-align: center;
  font-family: Helvetica, Verdana, Arial, sans-serif;

  display: flex;
  flex-direction: column;
  
  /* fix bug: https://github.com/cocos-creator/2d-tasks/issues/791 */
  /* overflow cannot be applied in Cocos2dGameContainer, 
  otherwise child elements will be hidden when Cocos2dGameContainer rotated 90 deg */
  overflow: hidden;
}

#Cocos2dGameContainer {
  position: absolute;
  margin: 0 !important;
  left: 0px;
  top: 0px;

  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-align: center;
  -webkit-box-pack: center;
}

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

.mobile body {
  background: #000;
}

html {
  position: fixed;
  width: 100%;
  height: 100%;
  left:0;
  top:0;
  right:0;
  bottom:0;
} 

.tablet .bg,
.desktop .bg {
  background: url('bg_large.08bdf.jpg') no-repeat center #fff;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: 50% 100%;
  width:100%;
  height:100%;
  left:0;
  top:0;
  position: absolute;
}

.tablet #Cocos2dGameContainer:before,.tablet #Cocos2dGameContainer:after, 
.desktop #Cocos2dGameContainer:before,.desktop #Cocos2dGameContainer:after {
  content: "";
  position: absolute;
  display: block;
  width: 16px;
  background: url('v-border.8867d.png') repeat-y;
  top: 9px;
  bottom: 9px;
  z-index: 10;
}
.tablet #Cocos2dGameContainer:before,
.desktop #Cocos2dGameContainer:before {
  left: -14px;
}
.tablet #Cocos2dGameContainer:after,
.desktop #Cocos2dGameContainer:after {
  right: -14px;
  transform: scaleX(-1);
}

.tablet .gameWrapperInner:before,.tablet .gameWrapperInner:after, 
.desktop .gameWrapperInner:before,.desktop .gameWrapperInner:after {
  content: "";
  position: absolute;
  display: block;
  height: 16px;
  background: url('h-border.b1f06.png') repeat-x;
  left: 9px;
  right: 9px;
  z-index: 10;
}

.desktop .gameWrapperInner:after {
  right: 8px;
}

.tablet .gameWrapperInner:before,
.desktop .gameWrapperInner:before {
  top: -14px;
}
.tablet .gameWrapperInner:after,
.desktop .gameWrapperInner:after {
  bottom: -14px;
  transform: scaleY(-1);
}

.tablet .angle-0,
.desktop .angle-0 {
    background: url('angle.905e3.png');
    position: absolute;
    width: 23px;
    height: 23px;
    left: -14px;
    top: -14px;
    z-index: 11;
    background-repeat: no-repeat;
}

.tablet .angle-90,
.desktop .angle-90 {
    background: url('angle.905e3.png');
    position: absolute;
    width: 23px;
    height: 23px;
    right: -14px;
    top: -14px;
    z-index: 11;
    transform: rotate(90deg);
    background-repeat: no-repeat;
}

.tablet .angle-180,
.desktop .angle-180  {
    background: url('angle.905e3.png');
    position: absolute;
    width: 23px;
    height: 23px;
    right: -14px;
    bottom: -14px;
    z-index: 11;
    transform: rotate(180deg);
    background-repeat: no-repeat;
}

.tablet .angle-270,
.desktop .angle-270 {
    background: url('angle.905e3.png');
    position: absolute;
    width: 23px;
    height: 23px;
    left: -14px;
    bottom: -14px;
    z-index: 11;
    transform: rotate(270deg);
    background-repeat: no-repeat;
}

.gameWrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
}

.gameWrapperInner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    background: #000000;
}

.gameWrapper {
    overflow: hidden;
}

.gameWrapperInner {
    margin: auto;
}

#splash {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff url('splash.db9bc.png') no-repeat center;
  background-size: 25%;
  z-index: 20;
}

.mobile #splash {
  background-size: 40%;
}

.progress-bar {
    background-color: #fff;
    position: absolute;
    left: 35%;
    top: 80%;
    height: 15px;
    padding: 5px;
    width: 30%;
    border-radius: 5px;
    box-shadow: 0 1px 5px #ffb52c inset, 0 1px 0 #fff;          
}

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

.stripes span {
    background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
                        transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
                        transparent 75%, transparent);            
    
    animation: animate-stripes 1s linear infinite;             
}

@keyframes animate-stripes {
    0% {background-position: 0 0;} 100% {background-position: 60px 0;}
}

@keyframes pulse {
  from {
      transform: scale(1);
      -webkit-transform: scale(1);
  }
  to {
      transform: scale(1.05);
      -webkit-transform: scale(1.05);
  }
}
