@font-face {
    font-family: 'soupofjustice';
    src: url('../../fonts/soupofjustice-webfont.woff2') format('woff2'),
         url('../../fonts/soupofjustice-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
	margin : 0px;
	padding : 0px;
}

#gameContainer
{
	display : block;
	position : relative;
	width : 800px;
	height : 450px;
	max-width : 800px;
	max-height : 450px;
	padding : 0px;
	margin : 0px auto;
	font-family : soupofjustice, Arial;
	font-weight : normal;
	text-shadow : none;
	color : #000000;
	-ms-transform-origin: top left;
	-webkit-transform-origin: top left;
	transform-origin: top left;
	ZZZ-ms-transform : scale(0.6, 0.6);
	ZZZ-webkit-transform : scale(0.6, 0.6);
	ZZZtransform : scale(0.6, 0.6);
	line-height : normal;
	text-align : left;
}


#gameContainer div
{	padding : 0px;
	margin : 0px;
}


#gameContainer canvas
{
	position : absolute;
	left : 0px;
	top : 0px;
}


#gameContainer p
{	margin : 0px 0px;
	background-color : red;
}

#gameContainer p.noPadding
{	margin : 0px 0px;
}


#bg
{
	position : absolute;
	top : 0px;
	left: 0px;
	background : none;
	height : inherit;
	width : inherit;
	padding : 0px;
	margin : 0px;
	background : url('../images/bg_dark.png') no-repeat 0px 0px;
}


#bg.mainMenu
{	background : url('../images/bg_light.png') no-repeat 0px 0px;
}


#screenBG
{
	position : absolute;
	top : 0px;
	left: 0px;
	width : inherit;
	height : inherit;
	background : none;
	pointer-events : none;
}

#screenBG.highScores
{	background : url('../images/en/title_highScores.png') no-repeat 0px 0px;
	z-index : 0;
}

#screenBG.help
{	background : url('../images/en/title_howTo.png') no-repeat 0px 0px;
	z-index : 50;
}

#screenBG.selectCharacter
{	background : url('../images/en/title_selectCharacter.png') no-repeat 0px 0px;
}

#screenBG.levelOver
{	background : url('../images/en/scn_levelOver.png') no-repeat 0px 0px;
}

#screenBG.gameOver
{	background : url('../images/en/scn_gameOver.png') no-repeat 0px 0px;
	z-index : 20;
}

#screenBG.gameBoard
{	
}



.gameScreen
{
	display : none;	
	height: inherit;
	width : inherit;
	position : absolute;
	top : 0px;
	left: 0px;
	color : #ffffff;
	overflow : hidden;
}

.gameScreen.activeScreen
{	display : block;
}




#preloaderScreen
{	background : url('../images/en/text_loading.png') no-repeat 0px 0px;
}



#mainMenuScreen
{	
}

#mainMenuScreen #mainMenuPlayBtn, #mainMenuScreen #mainMenuHelpBtn, #mainMenuScreen #mainMenuHighScoresBtn, #gameOverScreen #postScoreBtn, #levelOverScreen #levelOverPlayBtn
{
	position : absolute;
	top : 494px;
	width : 258px;
	height : 47px;
	cursor : pointer;
}

#mainMenuScreen #mainMenuPlayBtn
{
	left : 539px;
	background : url('../images/en/buttons/btn_playNow.png') no-repeat 0px 0px;
}

#mainMenuScreen #mainMenuHelpBtn
{
	left : 12px;
	background : url('../images/en/buttons/btn_howTo.png') no-repeat 0px 0px;
}

#mainMenuScreen #mainMenuHighScoresBtn
{
	left : 275px;
	background : url('../images/en/buttons/btn_highScores.png') no-repeat 0px 0px;
}



#helpScreen
{	
}


#helpScreen .helpText
{
	position : absolute;
	left : 0px;
	top : 0px;
	width : inherit;
	height : inherit;
	background : url('../images/en/text_howTo.png') no-repeat 0px 0px;
	pointer-events : none;
}
#helpScreen .helpText.page_2
{	background : url('../images/en/help_2.png') no-repeat 0px 0px;
}

#helpScreen #helpPlayNowBtn, #helpScreen #helpHighScoresBtn, #highScoresScreen #highScoresPlayNowBtn, #highScoresScreen #highScoresHowToPlayBtn, #selectCharacterScreen #selectCharacterPlayNowBtn
{
	background : url('../images/en/buttons/btn_playNow.png') no-repeat 0px 0px;
	position : absolute;
	width : 258px;
	height : 47px;
	top : 394px;
	left : 539px;
	cursor : pointer;
}

#helpScreen #helpPlayNowBtn
{
	ZZZleft : 275px;
}

#helpScreen #helpHighScoresBtn
{
	background : url('../images/en/buttons/btn_highScores.png') no-repeat 0px 0px;
	left : 275px;
	ZZZleft : 12px;
}

#helpScreen .rightArrow, #helpScreen .leftArrow
{
	background : url('../images/btn_next.png');
	position : absolute;
	top : 394px;
	left : 625px;
	width : 100px;
	height : 47px;
	cursor : pointer;
}
#helpScreen .leftArrow
{	background : url('../images/btn_prev.png');
}


#selectCharacterScreen
{
	pointer-events : none;
}

#selectCharacterScreen #selectCharacterPlayNowBtn
{	left : 275px;
	pointer-events : auto;
}


#highScoresScreen #highScoresHowToPlayBtn
{
	background : url('../images/en/buttons/btn_howTo.png') no-repeat 0px 0px;
	left : 12px;
}


#highScoresScreen
{
	position : absolute;
	left : 0px;
	top : 0px;
	width : inherit;
	height : inherit;
	background : url('../images/scn_highScores.png') no-repeat 0px 0px;
}

#highScoresTable
{
	pointer-events : none;
	font-size : 21px;
	padding : 0px;
	margin : 0px;
	position : absolute;
	left : 225px;
	top : 67px;
	width : 360px;

	text-shadow :
       		2px 2px		4px	#000000;
}

#highScoresTable tr, #highScoresTable td
{
	padding : 0px;
	margin : 4px;
	line-height : 140%;
	color : #ffffff;
}

#highScoresTable td.rank
{
	text-align : left;
	color : #ffffff;
	width : 30px;

}

#highScoresTable td.initials
{
	text-align : center;
	padding : 0px 0px 0px 0px;
	color : #ffffff;
}

#highScoresTable td.score
{
	text-align : right;
	color : #ffe022;
}



#levelOverScreen
{
}

#levelOverScreen #levelScore, #gameOverScreen #finalScore
{
	top : 290px;
	left : 0px;
	font-size : 64px;
	line-height : 1.0em;
	text-align : center;
	padding : 0px;
	position : absolute;
	width : 100%;
	color : #ffe022;
	text-shadow : 4px 4px 2px #000000;
}

#levelOverScreen #levelOverPlayBtn
{
	background : url('../images/en/buttons/btn_nextLevel.png') no-repeat 0px 0px;
	top : 394px;
	left : 276px;
}



#gameOverScreen
{
	width : inherit;
	height : inherit;
}

#gameOverScreen #postScoreBtn
{
	background : url('../images/en/buttons/btn_submit.png') no-repeat 0px 0px;
	top : 288px;
	left : 276px;
}

#gameOverScreen #finalScore
{
	left : 0px;
	top : 110px;
}

#gameOverScreen	#initialsField
{
	font-family : soupofjustice, Arial;
	color : #ffffff;
	text-shadow : none;
	background-color : rgba(0,0,0,0);
	font-size : 82px;
	line-height : 1.0em;
	vertical-align : top;
	text-align : center;
	padding : 0px;
	margin : 0px;
	position : absolute;
	width : 220px;
	height : 80px;
	left : 287px;
	top : 185px;
	outline : none;
	border : none;
	z-index : 25;
}




#gameBoardScreen
{
	height : inherit;
	width : inherit;
	pointer-events : none;
}


#gameBoardScreen #HUD
{
	position : absolute;
	left : 0px;
	top : 0px;
	width : inherit;
	height : inherit;
	pointer-events : none;
	font-size : 26px;
	color : #ccff00;
	text-align : left;
	text-shadow :
       		0px 2px		1px	#000000,
       		2px 0px		1px	#000000,
       		-2px 0px	1px	#000000,
       		0px -2px	1px	#000000,
       		2px 2px		1px	#000000,
       		-2px 2px	1px	#000000,
       		2px -2px	1px	#000000,
		-2px -2px	1px	#000000,
       		2px 2px		4px	#000000;
}




@media only screen and (min-width: 191px) and (max-width: 310px) {
	#gameContainer { -ms-transform: scale(0.4, 0.4); -webkit-transform: scale(0.4, 0.4); transform: scale(0.4, 0.4); }
}


@media only screen and (max-width: 190px) {
	#gameContainer { -ms-transform: scale(0.24, 0.24); -webkit-transform: scale(0.24, 0.24); transform: scale(0.24, 0.24); }
}
