/*@font-face {
	font-family: 'Just Another Hand';
	src: url('../fonts/JustAnotherHand.eot');  IE9 Compat Modes 
	src: url('../fonts/JustAnotherHand.eot?#iefix') format('embedded-opentype'),  IE6-IE8 
	     url('../fonts/JustAnotherHand.woff') format('woff'),  Modern Browsers 
	     url('../fonts/JustAnotherHand.ttf')  format('truetype');  Safari, Android, iOS 
}*/

@font-face {
	font-family: 'Komika Text Kaps';
	src: url('../fonts/KOMTXTK_.eot'); /* IE9 Compat Modes */
	src: url('../fonts/KOMTXTK_.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('../fonts/KOMTXTK_.woff') format('woff'), /* Modern Browsers */
	     url('../fonts/KOMTXTK_.ttf')  format('truetype'); /* Safari, Android, iOS */
}
@font-face {
	font-family: 'Komika Text Kaps';
        font-style: italic;
	src: url('../fonts/KOMTXTKI.eot'); /* IE9 Compat Modes */
	src: url('../fonts/KOMTXTKI.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('../fonts/KOMTXTKI.woff') format('woff'), /* Modern Browsers */
	     url('../fonts/KOMTXTKI.ttf')  format('truetype'); /* Safari, Android, iOS */
}

@font-face {
	font-family: 'Komika Axis';
	src: url('../fonts/KOMIKAX_.eot'); /* IE9 Compat Modes */
	src: url('../fonts/KOMIKAX_.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('../fonts/KOMIKAX_.woff') format('woff'), /* Modern Browsers */
	     url('../fonts/KOMIKAX_.ttf')  format('truetype'); /* Safari, Android, iOS */
}



html {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    height: 100%;
    overflow: hidden;
}
/*html.mobile {
    overflow: hidden;
}*/


body{
    text-align: center;
    background-color: #000000;
/*    font-family: 'Just Another Hand';*/
    font-family: 'Komika Text Kaps';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    color: #FFF;
}
/*.mobile body {
    overflow: hidden;
}*/


#warningUnsuported,
#warningPortrait{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #000000;
    z-index: 99999;
    text-align: center;
    overflow: hidden;
    display: none;
}

#warningUnsuported{
    z-index: 999;
    display: block;
}


#warningUnsuported .table,
#warningPortrait .table{
    display: table;
    width: 100%;
    height: 100%;
}
#warningUnsuported .cell,
#warningPortrait .cell{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
#warningUnsuported img,
#warningPortrait img{
    max-width: 100%;
    max-height: 100%;
}

#console{
    display: none;
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    z-index: 99999;
    background-color: #ff00ff;
    color: #FFFFFF;
}
#wrap100{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-bottom: 50px;
}
.mobile #wrap100{
    margin-bottom: 0px;
}


#wrap{
    position: relative;
    display: table;
    height: 100%;
    width: 100%;
}
#wrap-cell{
    position: relative;
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

/*
.no-mobile #wrap {
    height: 100%;
    min-height: 750px;
    margin-bottom: 0px;
    position: relative;
}
.mobile #wrap {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
}*/

#gameArea{
    position: relative;
    margin: auto;
    /*display: table-cell;*/
    
    /*max-width: 1334px;*/
    /*max-height: 750px;*/
    
}
#tester{
    background-color: yellowgreen;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 90%;
    z-index: 10;
    opacity: 0;
    display: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*.no-mobile #gameArea{
    top: 50%;
    margin-top: -375px;
}
.mobile #gameArea{
    top: 50%;
    margin: -375px 0 0 -667px;
}*/

canvas{
    position: relative;
    z-index: 0;
    /*width: 100%;*/
    /*height: 100%;*/
    background-color: #000000;
    /*display: none;*/
    
}

/*#debug{
    position: absolute;
    top: -281px;
    right: -350px;
    z-index: 1;
    background-color: #000000;
        display: none;
    transform: scale(.25);
    -moz-transform: scale(.25);
    -webkit-transform: scale(.25);
    display: none;
}*/
#debug{
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: transparent;
    transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    z-index: 1;
    display: none;
}
