body{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#health{
	position: absolute;
	top: 10px;
	right: 10px;
	width: 365px;
	height: 14px;
	background: url('../img/healthbar.png');
	padding-left: 32px;
	padding-top: 4px;
	padding-right: 3px;
	z-index: 2;
}

#health-bar{ 
	width: 100%;
	height: 11px;
	background: url('../img/healthfill.png'); 
}

.health-small{
	padding: 1px;
	width: 28px;
	height: 2px;
	background: url(../img/healthbar-small.png);
}

.health-bar-small {
	width: 100%;
	height: 100%;
	background: red;
}

#healthicon{
	position: relative;
	left: -22px;
	float: left;
}

#playspace{
	width:100%;
	height:100%;
	overflow:hidden;
	background: #000;
}

#lives{
	position:fixed;
	top:10px;
	right:10px;
	z-index: 2;
}
.life{
	width: 50px;
	height: 30px;
	background: black;
	float: left;
	margin-left: 10px;
}

#splashscreen{
	z-index: 20;
	max-width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 90%;
	height: 240px;
}

#splashscreen img{
	max-width: 100%;
	display: block;
	margin: auto;
}

#debuginfo{
	position:absolute; 
	top: 30px; 
	right: 10px; 
	color: #FFF;
}
#debuginfo span{
	display: block;
}

@font-face {
    font-family: 'visitor_tt1_brkregular';
    src: url('../font/visitor1-webfont.eot');
    src: url('../font/visitor1-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/visitor1-webfont.woff') format('woff'),
         url('../font/visitor1-webfont.ttf') format('truetype'),
         url('../font/visitor1-webfont.svg#visitor_tt1_brkregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

#goldcount, #debug{
	font-family: 'visitor_tt1_brkregular';
}

#minimap{
	position: absolute;
	bottom: 10px;
	right: 10px;
	border: 1px solid #FFF;
	opacity: 0.7;
}

#debug{
	/*display: none;*/
	width: 165px;
}

#fpsnum {
	float: left;
	font-size: 25px;
}

#fps {
	float: left;
}

#goldcount{
	font-size: 30px;
}

#endgame h2{
	margin:10px 0px;
}

#endgame{
	/*
	#scores
	#form
	*/
	font-family: 'visitor_tt1_brkregular';
	z-index: 20;
	max-width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 90%;
	height: 80%;
	background: #000;
	background: rgba(0,0,0,0.6);
	border: 2px solid #fff;
	color: #FFF;

	display: none;
}

#scores{
	width: 45%;
	float: left;
	margin: 2.5%;
}

#scoreformcontainer{
	width: 45%;
	float: right;
	margin: 2.5%;
}

#endgold{
	font-size: 22px;
}