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

canvas, div {
    overflow-x: hidden;
    display: block;
    outline: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    overscroll-behavior: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

body {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    border: 0;
    overflow-x: hidden;
    color: #888;
    background-color: #000;
    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    touch-action: manipulation;
}

#Cocos2dGameContainer {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0
}

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

canvas {
    background-color: transparent
}

a:active, a:hover, a:link, a:visited {
    color: #666
}

p.header {
    font-size: small
}

p.footer {
    font-size: x-small
}

#turnorientation {
    margin: 0 auto auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url("rotate.png") no-repeat center;
    z-index: 999;
    display: none;
    opacity: .8;
}

#turnorientationportrait {
    margin: 0 auto auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url("rotate_portrait.png") no-repeat center;
    z-index: 999;
    display: none;
    opacity: .8;
}

#orientationswipe {
    margin: 0 auto auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url("swipe.png") no-repeat center;
    z-index: 999;
    display: none;
    opacity: .8;
}

#closeswipe {
    background: url("close.png") no-repeat center;
    width: 48px;
    height: 48px;
    border: 0 none;
    margin-top: 5%;
    margin-left: 50%;
}

div{
    cursor:url(cursor.ico) 16 16,auto;
    overflow-x:hidden;
    display:block;
    outline:none;
    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)
}