@font-face
{	font-family : 'MyriadProBlackCond';
	src :	url('../fonts/MyriadPro-BlackCond.eot') format("eot"),
		url('../fonts/MyriadPro-BlackCond.svg') format("svg"),
		url('../fonts/MyriadPro-BlackCond.ttf') format("truetype"),
		url('../fonts/MyriadPro-BlackCond.woff') format("woff");
	font-weight : bold;
	font-style : normal;
}

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


#gameContainer
{
	position : absolute;
	left : 0;
	top : 0;
	width : 640px;
	height : 480px;
	text-align : left;
	padding : 0px;
	margin : 0px;
	font-family : MyriadProBlackCond, Arial;
	color : #ffffff;
}


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


#gameContainer .hasShadow
{
	text-shadow: 3px 3px 5px #000000, 2px 2px 1px #000000;
}



#bg
{
	background : #000000 url('../images/downhill/bg.png') no-repeat 0px 0px;
	height : inherit;
	width : inherit;
	padding : 0px;
	margin : 0px;
}

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

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

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

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

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

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

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

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

#screenBG.gameBoard
{	
}

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

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




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

.gameScreen.activeScreen
{	display : block;
}




#preloaderScreen
{	
}




#mainMenuScreen
{	
}

#mainMenuScreen #mainMenuPlayBtn
{
	position : absolute;
	top : 205px;
	left : -200px;
	background : url('../images/downhill/buttons/btn_play_1.png') no-repeat 0px 0px;
	width : 200px;
	height : 70px;
	cursor : pointer;
}

#mainMenuScreen #mainMenuHelpBtn
{
	position : absolute;
	top : 335px;
	left : -200px;
	background : url('../images/downhill/buttons/btn_how_to.png') no-repeat 0px 0px;
	width : 200px;
	height : 50px;
	cursor : pointer;
}

#mainMenuScreen #mainMenuHighScoresBtn
{
	position : absolute;
	top : 280px;
	left : -200px;
	background : url('../images/downhill/buttons/btn_hi_scores.png') no-repeat 0px 0px;
	width : 200px;
	height : 50px;
	cursor : pointer;
}




#helpScreen
{	
}


#helpScreen img.helpPageImage
{
	position : absolute;
	left : -5px;
	top : -10px;
}

#helpScreen .helpText
{
	font-size : 18px;
	line-height : 1.2em;
	position : absolute;
	left : 273px;
	top : 95px;
	width : 320px;
}

#helpScreen #helpPlayNowBtn
{
	background : url('../images/downhill/buttons/btn_play_2.png') no-repeat 0px 0px;
	position : absolute;
	width : 200px;
	height : 60px;
	top : 415px;
	left : 435px;
	cursor : pointer;
}

#helpScreen #helpBackBtn
{
	background : url('../images/downhill/buttons/btn_back.png') no-repeat 0px 0px;
	position : absolute;
	width : 200px;
	height : 60px;
	top : 415px;
	left : 235px;
	cursor : pointer;
}

#helpScreen .leftArrow
{
	position : absolute;
	top : 210px;
	left : 230px;
	background : url('../images/downhill/buttons/btn_prev_arrow.png') no-repeat 0px 0px;
	width : 45px;
	height : 70px;
	cursor : pointer;
}

#helpScreen .leftArrow:hover
{	background-position : -64px 0px;
}

#helpScreen .rightArrow:hover
{	background-position : -64px 0px;
}
#helpScreen .rightArrow
{
	position : absolute;
	top : 210px;
	left : 595px;
	background : url('../images/downhill/buttons/btn_next_arrow.png') no-repeat 0px 0px;
	width : 45px;
	height : 70px;
	cursor : pointer;
}




#highScoresScreen
{
}

#highScoresScreen #highScoresPlayNowBtn
{
	background : url('../images/downhill/buttons/btn_play_2.png') no-repeat 0px 0px;
	position : absolute;
	width : 200px;
	height : 60px;
	top : 415px;
	left : 435px;
	cursor : pointer;
}

#highScoresScreen #highScoresHelpBtn
{
	background : url('../images/downhill/buttons/btn_how_to.png') no-repeat 0px 0px;
	position : absolute;
	width : 200px;
	height : 60px;
	top : 415px;
	left : 235px;
	cursor : pointer;
}

#highScoresTable, #gameOverHighScoresTable
{
	font-size : 26px;
	line-height : 1.15em;
	padding : 0px;
	position : absolute;
	left : 280px;
	top : 95px;
	width : 290px;
}

#gameOverHighScoresTable
{
	left : 25px;
}

#highScoresTable tr, #highScoresTable td, #gameOverHighScoresTable tr, #gameOverHighScoresTable td
{
	padding : 0px;
	margin : 0px;
}

#highScoresTable td.rank, #gameOverHighScoresTable td.rank
{
	width : 30px;
	text-align : right;
	color : #ff0000;
	text-shadow :
       		1px 1px 0px #ffffff,
       		-1px 1px 0px #ffffff,
       		1px -1px 0px #ffffff,
		-1px -1px 0px #ffffff,
       		2px 2px 1px #000000,
       		-2px 2px 1px #000000,
       		2px -2px 1px #000000,
		-2px -2px 1px #000000,
		3px 3px 5px #000000, 2px 2px 1px #000000;

}

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

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



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

#gameOverHighScoresScreen #gameOverHighScoresPlayAgainBtn
{
	background : url('../images/downhill/buttons/btn_play_again.png') no-repeat 0px 0px;
	position : absolute;
	width : 200px;
	height : 60px;
	top : 390px;
	left : 385px;
	cursor : pointer;
}


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

#gameOverScreen #postScoreBtn
{
	background : url('../images/downhill/buttons/btn_enter_score.png') no-repeat 0px 0px;
	position : absolute;
	width : 145px;
	height : 40px;
	top : 383px;
	left : 415px;
	cursor : pointer;
}

#gameOverScreen #gameOverFacebookScoreBtn
{
	background : url('../images/downhill/buttons/btn_share_score.png') no-repeat 0px 0px;
	position : absolute;
	width : 240px;
	height : 40px;
	top : 425px;
	left : 370px;
	cursor : pointer;
}

#gameOverScreen #finalScore
{
	font-size : 40px;
	line-height : 1.0em;
	text-align : center;
	padding : 0px;
	position : absolute;
	width : 270px;
	left : 350px;
	top : 292px;
}

#gameOverScreen	#initialsField
{
	font-family : MyriadProBlackCond;
	color : #ffffff;
	background-color : #000000;
	font-size : 25px;
	line-height : 0.3em;
	vertical-align : top;
	text-align : center;
	padding : 0px;
	margin : 0px;
	position : absolute;
	width : 100px;
	height : 25px;
	left : 434px;
	top : 343px;
	outline : none;
}

#gameOverScreen #gameOverPIN, #gameOverHighScoresScreen #gameOverHighScoresPIN, #levelOverScreen #levelOverPIN
{
	display : none;
	background : url("../images/downhill/panel_won_a_pin.png") no-repeat 0px 0px;
	position : absolute;
	top : 0px;
	left : 0px;
	height :inherit;
	width : inherit;
}

#gameOverHighScoresScreen #gameOverHighScoresPIN
{
	top : 70px;
}

#levelOverScreen #levelOverPIN
{
	top : 80px;
}

#gameOverScreen #gameOverPIN #gameOverPINText, #gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresPINText, #levelOverScreen #levelOverPIN #levelOverPINText
{
	font-size : 25px;
	text-align : center;
	line-height : 1.2em;
	padding : 0px;
	position : absolute;
	width : 152px;
	left : 408px;
	top : 55px;
}


#gameOverScreen #gameOverPIN #gameOverSponsorBtn, #gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresSponsorBtn, #levelOverScreen #levelOverPIN #levelOverSponsorBtn
{
	background : url('../images/downhill/buttons/btn_use_pin.png') no-repeat 0px 0px;
	position : absolute;
	width : 240px;
	height : 40px;
	top : 100px;
	left : 370px;
	cursor : pointer;
}


#gameOverScreen #gameOverPIN #gameOverEmailBtn, #gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresEmailBtn, #levelOverScreen #levelOverPIN #levelOverEmailBtn
{
	background : url('../images/downhill/buttons/btn_email_pin.png') no-repeat 0px 0px;
	position : absolute;
	width : 240px;
	height : 40px;
	top : 140px;
	left : 370px;
	cursor : pointer;
}


#gameOverScreen #gameOverPIN #gameOverPrintBtn, #gameOverHighScoresScreen #gameOverHighScoresPIN #gameOverHighScoresPrintBtn, #levelOverScreen #levelOverPIN #levelOverPrintBtn
{
	background : url('../images/downhill/buttons/btn_print_pin.png') no-repeat 0px 0px;
	position : absolute;
	width : 240px;
	height : 40px;
	top : 180px;
	left : 370px;
	cursor : pointer;
}



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

#gameBoardScreen #HUD
{
	width : inherit;
	height : 30px;
	background-color : rgba(51, 153, 204, 0.7);
	font-size : 24px;
	font-family : MyriadProBlackCond, Arial;
	text-shadow :
       		0px 2px 1px #000000,
       		-0px 2px 1px #000000,
       		2px -0px 1px #000000,
		-2px -0px 1px #000000,
       		2px 0px 1px #000000,
       		-2px 0px 1px #000000,
       		0px -2px 1px #000000,
		-0px -2px 1px #000000,
       		2px 2px 1px #000000,
       		-2px 2px 1px #000000,
       		2px -2px 1px #000000,
		-2px -2px 1px #000000;
}

#gameBoardScreen #HUD #hudLevelNum
{
	position : absolute;
	top : 5px;
	left : 8px;
}

#gameBoardScreen #HUD #hudScore
{
	position : absolute;
	top : 5px;
	right : 8px;
	text-align : right;
}

#gameBoardScreen #HUD #hudFlags
{
	width : 100%;
	height : inherit;
	text-align : center;
}

#gameBoardScreen #HUD #hudFlags .hudFlag
{
	background : url('../images/downhill/sprites/hud-flags.png') no-repeat;
	background-position : -36px 5px;
	display : inline-block;
	width : 18px;
	height : 30px;
	margin : 0px 1px;
}

#gameBoardScreen #HUD #hudFlags .hudFlagSep
{
	background : url('../images/downhill/flag-sep.png') no-repeat 0px 0px;
	display : inline-block;
	width : 4px;
	height : 30px;
	padding : 0px;
	margin : 0px 5px;
}

#gameBoardScreen #gameBoardPopupMsg
{
	display : block;
	opacity : 0;
	position : absolute;
	top : 0px;
	left : 0px;
	width : 300px;
	font-size : 40px;
	color : #ff0000;
	text-align : center;
	vertical-align : center;
	text-shadow :
       		0px 2px 1px #ffffff,
       		-0px 2px 1px #ffffff,
       		2px -0px 1px #ffffff,
		-2px -0px 1px #ffffff,
       		2px 0px 1px #ffffff,
       		-2px 0px 1px #ffffff,
       		0px -2px 1px #ffffff,
		-0px -2px 1px #ffffff,
       		2px 2px 1px #ffffff,
       		-2px 2px 1px #ffffff,
       		2px -2px 1px #ffffff,
		-2px -2px 1px #ffffff,
       		0px 4px 2px #000000,
       		-0px 4px 2px #000000,
       		4px -0px 2px #000000,
		-4px -0px 2px #000000,
       		4px 0px 2px #000000,
       		-4px 0px 2px #000000,
       		0px -4px 2px #000000,
		-0px -4px 2px #000000,
       		4px 4px 2px #000000,
       		-4px 4px 2px #000000,
       		4px -4px 2px #000000,
		-4px -4px 2px #000000;
}

#gameBoardScreen #gameBoardPopupMsg .requiredFlags
{
	color : #6633CC;
}

#gameBoardScreen #gameBoardLeftBtn
{
	position : absolute;
	top : 332px;
	left : 30px;
	background : url('../images/downhill/buttons/btn_left.png') no-repeat 0px 0px;
	height : 95px;
	width : 60px;
	cursor : pointer;
}

#gameBoardScreen #gameBoardRightBtn
{
	position : absolute;
	top : 332px;
	left : 565px;
	background : url('../images/downhill/buttons/btn_right.png') no-repeat 0px 0px;
	height : 95px;
	width : 60px;
	cursor : pointer;
}


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

#levelOverScreen #levelOverPlayBtn
{
	background : url('../images/downhill/buttons/btn_next_level.png') no-repeat 0px 0px;
	position : absolute;
	width : 200px;
	height : 60px;
	top : 390px;
	left : 385px;
	cursor : pointer;
}

#levelOverScreen #levelOverPrompt
{
	position : absolute;
	top : 100px;
	left : 350px;
	width : 270px;
	font-size : 40px;
	text-align : center;
}


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

#pinReminderScreen #reminderCountdown
{
	font-size : 18px;
	position : absolute;
	top : 377px;
	left : 422px;
	width : 160px;
	text-align : center;
}
