@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 : 768px;
	height : 1024px;
	max-width : 768px;
	max-height : 1024px;
	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;
	-ms-transform : scale(0.6, 0.6);
	-webkit-transform : scale(0.6, 0.6);
	transform : 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.preloader, #bg.mainMenu
{	background : url('../images/bg_0.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;
}

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

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

#screenBG.gameBoard
{	
}



#dayBG {
	display : block;
	position : absolute;
	background : url('../images/bg_1.png') no-repeat 0px 0px;
	left : 0px;
	top : 0px;
	width : 100%;
	height : 100%;
	opacity : 1.0;
	pointer-events : none;
}
#dayBG.preloader, #dayBG.mainMenu {
	display : none;
}
#dayBG.help, #dayBG.highScores {
	opacity : 0.2;
}




.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;
}

#preloaderScreen .conveyor
{
	background : url('../images/conveyor_loading.png') no-repeat 0px 0px;
	position : absolute;
	top : 0px;
	left : 0px;
	width : 100%;
	height : 100%;
}



#mainMenuScreen
{	
}

#mainMenuScreen #mainMenuPlayBtn, #mainMenuScreen #mainMenuHelpBtn, #mainMenuScreen #mainMenuHighScoresBtn, #gameOverScreen #postScoreBtn
{
	position : absolute;
	left : 158px;
	width : 432px;
	height : 74px;
	cursor : pointer;
}

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

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

#mainMenuScreen #mainMenuHighScoresBtn
{
	top : 1941px;
	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 #helpPlayNowBtn, #helpScreen #helpHighScoresBtn, #highScoresScreen #highScoresPlayNowBtn, #highScoresScreen #highScoresHowToPlayBtn
{
	background : url('../images/en/buttons/btn_playNow.png') no-repeat 0px 0px;
	position : absolute;
	width : 432px;
	height : 74px;
	top : 862px;
	left : 158px;
	cursor : pointer;
}

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


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


#highScoresScreen
{
}

#highScoresTable
{
	font-size : 33px;
	padding : 0px;
	margin : 0px;
	position : absolute;
	left : 160px;
	top : 210px;
	width : 450px;

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

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

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

}

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

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




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

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

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

#gameOverScreen	#initialsField
{
	font-family : soupofjustice, Arial;
	color : #ffffff;
	text-shadow : none;
	background-color : rgba(0,0,0,0);
	font-size : 142px;
	line-height : 1.0em;
	vertical-align : top;
	text-align : center;
	padding : 0px;
	margin : 0px;
	position : absolute;
	width : 360px;
	height : 150px;
	left : 204px;
	top : 420px;
	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); }
}
