@font-face
{	font-family : 'Barmeno-Bold';
	src :	url('../../fonts/Barmeno-Bold.eot') format("embedded-opentype"),
		url('../../fonts/Barmeno-Bold.otf') format("opentype"),
		url('../../fonts/Barmeno-Bold.woff') format("woff"),
		url('../../fonts/Barmeno-Bold.ttf') format("truetype"),
		url('../../fonts/Barmeno-Bold.svg#Barmeno-Bold') format("svg");
	font-weight : normal;
	font-style : normal;
}

body
{
	padding : 0px;
	margin : 0px;
	/*background-color : #eeeeee;*/
}
/*
#game {
	width: 100%;
	padding-bottom: 75%;
	position: relative;
	overflow: hidden;
}*/

#game-holder {
	/*position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	-webkit-transform-origin: top left;
	        transform-origin: top left;
	display: block;*/
	max-width: 1024px;
	height: 768px;
	margin: 40px auto;
	background: transparent;
	position: relative;
	left: -30px;
}
* {
	margin: 0 auto;
}


#gameContainer
{
	position : absolute;
	width : 1024px;
	height : 768px;
	max-width : 1024px;
	max-height : 768px;
	padding : 0px;
	margin : 0px;
	font-family : Barmeno-Bold, Arial;
	font-weight : normal;
	text-shadow :
       		-2px -2px 2px #000000,
       		-2px 0px 2px #000000,
       		-2px 2px 2px #000000,
       		0px 2px 2px #000000,
       		2px 2px 2px #000000,
       		2px 0px 2px #000000,
       		2px -2px 2px #000000,
       		0px -2px 2px #000000,
       		5px 4px 4px #000000;
	color : #ffcc00;
	-ms-transform : scale(1.055, 1.055);
	-webkit-transform : scale(1.055, 1.055);
	transform : scale(1.055, 1.055);
	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;
}


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

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

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

#bg.gameBoard
{	
	background-image : none;
	ZZZbackground-color : #C1C600;
}

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

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

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

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

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

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

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

#screenBG.gameBoard
{	
}

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




.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 : 1024px;
	width : 390px;
	height : 90px;
	cursor : pointer;
}

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

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

#mainMenuScreen #mainMenuHighScoresBtn
{
	top : 613px;
	background : url('../images/buttons/btn_high_scores.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_small.png') no-repeat 0px 0px;
	position : absolute;
	width : 300px;
	height : 78px;
	top : 683px;
	left : 221px;
	cursor : pointer;
}

#helpScreen #helpHighScoresBtn, #highScoresScreen #highScoresHowToPlayBtn
{
	background : url('../images/buttons/btn_high_scores_small.png') no-repeat 0px 0px;
	position : absolute;
	width : 300px;
	height : 78px;
	top : 683px;
	left : 519px;
	cursor : pointer;
}

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


#highScoresScreen
{
}

#highScoresTable, #gameOverHighScoresTable
{
	font-size : 45px;
	padding : 0px;
	margin : 0px;
	position : absolute;
	left : 310px;
	top : 175px;
	width : 400px;
}

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

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

}

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

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




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

#gameOverHighScoresScreen #gameOverHighScoresTable
{
	left : 550px;
}

#gameOverHighScoresScreen #gameOverHighScoresPlayAgainBtn
{
	background : url('../images/buttons/btn_play_again.png') no-repeat 0px 0px;
	position : absolute;
	width : 300px;
	height : 78px;
	top : 683px;
	left : 611px;
	cursor : pointer;
}


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

#gameOverScreen #postScoreBtn
{
	background : url('../images/buttons/btn_enter_initials.png') no-repeat 0px 0px;
	position : absolute;
	width : 415px;
	height : 78px;
	top : 534px;
	left : 575px;
	cursor : pointer;
}

#gameOverScreen #finalScore, #levelOverScreen #levelOverScore, #levelOverScreen #levelOverBonus
{
	font-size : 50px;
	line-height : 1.0em;
	text-align : left;
	padding : 0px;
	position : absolute;
	width : 125px;
	left : 822px;
	top : 235px;
}

#gameOverScreen	#initialsField
{
	background-color : rgba(0,0,0,0);
	font-size : 70px;
	line-height : 1.0em;
	vertical-align : top;
	text-align : center;
	padding : 0px;
	margin : 0px;
	position : absolute;
	width : 230px;
	height : 80px;
	left : 657px;
	top : 430px;
	outline : none;
	border : none;
	color : #ffcc00;
	font-family : Barmeno-Bold, Arial;
	font-weight : normal;
	text-shadow :
       		-1px -1px 1px #000000,
       		-1px 0px 1px #000000,
       		-1px 1px 1px #000000,
       		0px 1px 1px #000000,
       		1px 1px 1px #000000,
       		1px 0px 1px #000000,
       		1px -1px 1px #000000,
       		0px -1px 1px #000000,
       		2px 2px 5px #000000;
}


#levelOverScreen #levelOverPIN #levelOverPINText
{
	font-size : 35px;
	text-align : center;
	line-height : 1.0em;
	padding : 0px;
	position : absolute;
	width : 270px;
	left : 635px;
	top : 327px;
}

#gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresPINCount, #gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresPINPrompt
{
	font-size : 28px;
	color : #ffffcc;
	text-align : center;
	text-shadow :
       		-1px -1px 1px #000000,
       		-1px 0px 1px #000000,
       		-1px 1px 1px #000000,
       		0px 1px 1px #000000,
       		1px 1px 1px #000000,
       		1px 0px 1px #000000,
       		1px -1px 1px #000000,
       		0px -1px 1px #000000,
       		4px 4px 4px #000000;
	position : absolute;
	width : 350px;
	left : 75px;
	top : 220px;
}

#gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresPINPrompt
{
	top : 480px;
	left : 45px;
	width : 420px;
}

#gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresPINText
{
	font-size : 35px;
	text-align : center;
	line-height : 1.0em;
	padding : 0px;
	position : absolute;
	width : 270px;
	left : 114px;
	top : 275px;
	height : 180px;
	overflow : auto;
}


#gameOverScreen #gameOverSponsorBtn, #gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresSponsorBtn, #levelOverScreen #levelOverPIN #levelOverSponsorBtn
{
	background : url('../images/buttons/btn_enter_contest.png') no-repeat 0px 0px;
	position : absolute;
	width : 415px;
	height : 78px;
	top : 606px;
	left : 50px;
	cursor : pointer;
}


#gameOverScreen #gameOverPrintBtn, #gameOverHighScoresScreen #gameOverHighScoresPrintBtn, #levelOverScreen #levelOverPIN #levelOverPrintBtn
{
	background : url('../images/buttons/btn_print_pin.png') no-repeat 0px 0px;
	position : absolute;
	width : 415px;
	height : 78px;
	top : 683px;
	left : 50px;
	cursor : pointer;
}



#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;
	line-height : 1.0em;
	text-align : center;
	vertical-align : center;
	color : #ffffcc;
	text-shadow :
       		0px 2px 2px	#000000,
       		2px 0px 2px	#000000,
       		-2px 0px 2px	#000000,
       		0px -2px 2px	#000000,
       		2px 2px 2px	#000000,
       		-2px 2px 2px	#000000,
       		2px -2px 2px	#000000,
		-2px -2px 2px	#000000,

       		4px 4px 4px #000000;
}

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



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

#levelOverScreen #levelOverPlayBtn
{
	background : url('../images/buttons/btn_keep_playing.png') no-repeat 0px 0px;
	position : absolute;
	width : 415px;
	height : 78px;
	top : 649px;
	left : 575px;
	cursor : pointer;
}

#levelOverScreen #levelOverPIN #levelOverSponsorBtn
{
	left : 575px;
	top : 454px;
}

#levelOverScreen #levelOverPIN #levelOverPrintBtn
{
	left : 575px;
	top : 534px;
}

#levelOverScreen #levelOverBonus
{
	top : 160px;
	left : 822px;
}

#levelOverScreen #levelOverScore
{
	top : 210px;
	left : 822px;
}


#debug, #ndgmrCanvas1, #ndgmrCanvas2 {
	position : absolute;
	top : 150px;
	left : 1030px;
	width : 200px;
	height : 100px;
	border : 2px solid green;
}

#game-links {
	display: block;
	text-align: center;
}
#game-links .othergames {
	width: 600px;
}

.wordmark {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}
.wordmark a {
	text-decoration: none;
}

@media only screen and (max-width: 1050px) {
	#game-holder { width: 820px; height: 614px; left: auto;}
	#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); }
}
