#gameContainer
{
	display : inline-block;
	width : 460px;
	height : 615px;
	max-width : 460px;
	max-height : 615px;
	padding : 0px;
	margin : 0px;
	background-color : #ffffff;
	font-family : 'JFCalibre-Semibold', Arial;
	font-weight : normal;
	color : #000000;
	-ms-transform : scale(1.0, 1.0);
	-webkit-transform : scale(1.0, 1.0);
	transform : scale(1.0, 1.0);
	transform-origin : top left;
	line-height : normal;
	text-align : left;
}


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


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


#gameContainer p
{	margin : 20px 0px;
}

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


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

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

#screenBG.highScores, #screenBG.gameOverHighScores
{	background : url('../images/screen_highScores.png') no-repeat 0px 0px;
}

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

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

#screenBG.gameBoard
{	
}




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

.gameScreen.activeScreen
{	display : block;
}




#preloaderScreen
{	
}



#mainMenuScreen
{	
}

#mainMenuScreen #mainMenuPlayBtn, #mainMenuScreen #mainMenuHelpBtn, #mainMenuScreen #mainMenuHighScoresBtn
{
	position : absolute;
	left : 122px;
	width : 217px;
	height : 46px;
	cursor : pointer;
}

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

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

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



#helpScreen
{	
}


#helpScreen img.helpPageImage
{
	position : absolute;
	left : 0px;
	top : 0px;
}

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

#helpScreen .helpText em {
	font-style : italic;
}

#helpScreen ul {
	list-style-type: square;
	list-style-position : outside;
	margin : 15px 0px 0px 10px;
	padding-left : 0px;
}

#helpScreen li {
	margin : 0px 20px 20px 10px;
}

#helpScreen #helpPlayNowBtn, #highScoresScreen #highScoresPlayNowBtn
{
	background : url('../images/buttons/btn_play.png') no-repeat 0px 0px;
	position : absolute;
	width : 217px;
	height : 46px;
	top : 558px;
	left : 122px;
	cursor : pointer;
}

#helpScreen #helpHighScoresBtn, #highScoresScreen #highScoresHowToPlayBtn
{
	background : url('../images/buttons/btn_highScores.png') no-repeat 0px 0px;
	position : absolute;
	width : 217px;
	height : 46px;
	top : 495px;
	left : 122px;
	cursor : pointer;
}

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


#highScoresScreen
{
}

#highScoresTable, #gameOverHighScoresTable
{
	font-size : 34px;
	padding : 0px;
	margin : 0px;
	position : absolute;
	left : 50px;
	top : 97px;
	width : 350px;
}

#highScoresTable tr, #highScoresTable td, #gameOverHighScoresTable tr, #gameOverHighScoresTable td
{
	padding : 0px;
	margin : 4px;
	line-height : 105%;
}

#highScoresTable td.rank, #gameOverHighScoresTable td.rank
{
	width : 30px;
	text-align : right;

}

#highScoresTable td.initials, #gameOverHighScoresTable td.initials
{
	width : 350px;
	text-align : center;
	padding : 0px 0px 0px 30px;
}

#highScoresTable td.score, #gameOverHighScoresTable td.score
{
	text-align : right;
}




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

#gameOverHighScoresScreen #gameOverHighScoresContestBtn
{
	background : url('../images/buttons/btn_enterNow.png') no-repeat 0px 0px;
	position : absolute;
	width : 217px;
	height : 46px;
	top : 495px;
	left : 122px;
	cursor : pointer;
}


#gameOverHighScoresScreen #gameOverHighScoresPlayAgainBtn
{
	background : url('../images/buttons/btn_playAgain.png') no-repeat 0px 0px;
	position : absolute;
	width : 217px;
	height : 46px;
	top : 558px;
	left : 122px;
	cursor : pointer;
}


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

#gameOverScreen #postScoreBtn
{
	background : url('../images/buttons/btn_submit.png') no-repeat 0px 0px;
	position : absolute;
	width : 284px;
	height : 46px;
	top : 495px;
	left : 81px;
	cursor : pointer;
}

#gameOverScreen #finalScore, #gameOverScreen #bonusPoints
{
	font-size : 34px;
	line-height : 1.0em;
	text-align : right;
	padding : 0px;
	position : absolute;
	width : 65px;
	right : 40px;
	top : 113px;
	text-shadow : none;
}
#gameOverScreen #finalScore {
	top : 170px;
}

#gameOverScreen	#initialsField
{
	font-family : 'JFCalibre-Bold', Arial;
	text-shadow : none;
	background-color : rgba(0,0,0,0);
	font-size : 80px;
	line-height : 1.0em;
	vertical-align : top;
	text-align : center;
	padding : 0px;
	margin : 0px;
	position : absolute;
	width : 230px;
	height : 80px;
	left : 105px;
	top : 365px;
	outline : none;
	color : #ffffff;
	border : none;
}



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




#gameBoardScreen #gameBoardPopupMsg
{
	display : block;
	opacity : 0;
	position : absolute;
	top : 0px;
	left : 0px;
	width : 640px;
	font-size : 60px;
	text-align : center;
	vertical-align : center;
	text-shadow :
       		0px 2px 2px	#39AFDE,
       		2px 0px 2px	#39AFDE,
       		-2px 0px 2px	#39AFDE,
       		0px -2px 2px	#39AFDE,
       		2px 2px 2px	#39AFDE,
       		-2px 2px 2px	#39AFDE,
       		2px -2px 2px	#39AFDE,
		-2px -2px 2px	#39AFDE,

       		4px 4px 4px #000000;
}

#gameBoardScreen #gameBoardPopupMsg .levelTarget {
	font-size : 70px;
}




@media only screen and (max-width: 1050px) {
	#game-holder { width: 820px; height: 614px; }
	#gameContainer { -ms-transform: scale(0.8, 0.8); -webkit-transform: scale(0.8, 0.8); transform: scale(0.8, 0.8); transform-origin: 0% 0%; }
}

@media only screen and (max-width: 850px) {
	#game-holder { width: 614px; height: 460px; }
	#gameContainer { -ms-transform: scale(0.6, 0.6); -webkit-transform: scale(0.6, 0.6); transform: scale(0.6, 0.6); }
}

@media only screen and (max-width: 650px) {
	#game-holder { width: 410px; height: 308px; }
	#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: 450px) {
	#game-holder { width: 307px; height: 230px; }
	#gameContainer { -ms-transform: scale(0.3, 0.3); -webkit-transform: scale(0.3, 0.3); transform: scale(0.3, 0.3); }
}
