@font-face {
    font-family: 'Silkscreen';
    src: url('fonts/Silkscreen.eot?iefix') format('eot'), url('fonts/Silkscreen.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html,body a{
	margin: 0;
	padding: 0;
}

#gameStage {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 640px;
	height: 320px;
	overflow: hidden;
	font-family: Silkscreen;
	background-color: #000;
	color: #fff;
	/*left: 50%;
    margin-left: -320px;*/
	z-index : -2;
}

#background {
	width : 100%;
	height : 100%;

	position : absolute;
	top : 0px;
	left : 0px;
	overflow-x : hidden;
	overflow: hidden;
	z-index : -1;
	display: none;
	background-color: #000;
}

#background #level {
	height : 320px;
	width : 2160px;
	position : absolute;
	/*bottom : -16px;*/
	top: 0px;
	left : 0px;
	/*background-image : url(level_01.png);
	background-position: bottom left;
	background-repeat: no-repeat;*/
/*	overflow-x : hidden;*/
	overflow: hidden;
}

#background .overlay {
	width : 2160px;
	height : 100%;
	position : absolute;
	top : 0px;
	left : 0px;
	background-color : rgba(50,40,20,0.5);
}

#background #playerSprite {
	width : 48px;
	height : 96px;
	/*background-color: #00f;*/
	overflow : hidden;
	position : absolute;
	left : -999px;
}

#background #enemySprite {
	width : 32px;
	height : 64px;
	overflow : hidden;
	position : absolute;
	left : -999px;
}

.level1Enemy {
	width: 48px;
	height: 96px;
	/*background-color: #f00;*/
	overflow : hidden;
	position : absolute;
	top: 0px;
	left: 0px;
	z-index: 1000;
	background-image: url('enemysprite_01.png');
	/*background-position: -144px 0px;*/
	background-position: -144px bottom;
}

.level2Enemy {
	width: 122px;
	height: 160px;
	/*background-color: #f00;*/
	overflow : hidden;
	position : absolute;
	top: 0px;
	left: 0px;
	z-index: 1000;
	background-image: url('enemysprite_02.png');
	/*background-position: -144px 0px;*/
	background-position: -144px bottom;
}

.level3Enemy {
	width: 60px;
	height: 96px;
	/*background-color: #f00;*/
	overflow : hidden;
	position : absolute;
	top: 0px;
	left: 0px;
	z-index: 1000;
	background-image: url('enemysprite_03.png');
	/*background-position: -144px 0px;*/
	background-position: -144px bottom;
}

#background #princess {
	width: 84px;
	height: 106px;
	/*background-color: #f00;*/
	overflow : hidden;
	position : absolute;
	top: 52px;
	left: 1909px;
	background-image: url('princesssprite.png');
	/*background-position: -144px 0px;*/
	background-position: -144px bottom;
}

#cageDiv {
	/*margin-top: 52px;
	margin-left: 509px;*/
	position: absolute;
	top: 52px;
	left: 1904px;
	width: 96px;
	height: 108px;
	background-image: url('cage.png');
}

#debug {
	color: #fff;
	font-family: sans-serif;
	font-size: 10px;
}

#scoreDiv {
	position: absolute;
	color: #fff;
	font-size: 16px;
	top: 8px;
	left: 10px;
}

#audioToggleDiv {
	position: absolute;
	color: #fff;
	font-size: 16px;
	top: 30px;
	left: 10px;
	cursor: pointer;
	display: none;
}

#titleDiv {
	position: absolute;
	color: #fc0;
	font-size: 20px;
	width:440px;
	top: 16px;
	left: 100px;
	text-align: center;
	display: none;
}

#livesDiv {
	color: #fff;
	font-family: sans-serif;
	font-size: 10px;
	width: 100%;
	text-align: right;
}

#livesDiv img {
	margin: 5px 5px 0px 0px;
}

#gameStage #disableMask
{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background-image: url('black_100x100px_75.png');
	display: block;
}

#gameStage #loadScreen 
{
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	background-color: #000;
	color: #fff;
	text-align: center;
}

#gameStage #loadScreen p
{
	margin-top: 130px;
}

#gameStage #startScreen 
{
	position: absolute;
	width: 100%;
	height: 100%;
	display: none;
	background-color: #000;
	background-image: url('startScreenBg.png');
	background-repeat: no-repeat;
}

#gameStage #startScreen #startButton
{
	position: absolute;
	left: 420px;
	top: 50%;
    margin-top: -15px;
	width: 206px;
	height: 30px;
	background-color: transparent;
	border: none;
	background-image: url('startGameBtn.png');
	cursor: pointer;
	display: none;
}

#gameStage #startScreen #startButton:hover, #gameStage #gameOverScreen #againButton:hover, #gameStage #gameCompleteScreen #completeAgainButton:hover
{
	background-color: rgba(255,255,0,0.4);
}

#gameStage #nextLevelScreen, #gameStage #gameOverScreen, #gameStage #gameCompleteScreen, #gameStage #bonusScreen  
{
	position: absolute;
	width: 100%;
	height: 100%;
	display: none;
	text-align: center;
}

#gameStage #nextLevelScreen h1, #gameStage #bonusScreen h1
{
	font-size: 36px;
	color: #fc0;
	margin-top: 100px;
}

#gameStage #gameOverScreen h1
{
	font-size: 62px;
	color: #fc0;
	margin-top: 75px;
}

#gameStage #gameCompleteScreen h1
{
	font-size: 58px;
	color: #fc0;
	margin-top: 25px;
}

#gameStage #gameCompleteScreen a
{
	color: #fff;
	text-decoration: none;
}

#gameStage #gameCompleteScreen img
{
	vertical-align:middle;
}

#gameStage #gameCompleteScreen a:hover
{
	color: #fff;
	text-decoration: underline;
}

#gameStage #gameOverScreen #againButton, #gameStage #gameCompleteScreen #completeAgainButton
{
	position: relative;
	left: 50%;
	margin-left: -125px;
	display: block;
	width: 250px;
	height: 36px;
	background-color: transparent;
	border: none;
	font-family: Silkscreen;
	font-size: 32px;
	text-align: center;
	color: #fc0;
	cursor: pointer;
}

#gameStage #livesDiv 
{
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
}

#gameStage #debug 
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	text-align: center;
}