

body {
	margin: 0;
	padding: 0;
	border: 0;
	background-color: black;
	color: white;
}

/* Police par d�faut */
* {
	font-family: 'Play',Lucida Grande,Bitstream Vera Sans,Verdana,sans-serif;
	font-size: 12px;
}

#race {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
}

#map, #nebula, #nearStarfield, #farStarfield {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* Clipping sur la zone courante */
#nebula, #nearStarfield, #farStarfield { z-index: 1; }
#area { z-index: 2; }

#nearStarfield { background-image: url('images/near-starfield.gif'); }
#farStarfield   { background-image: url('images/far-starfield.gif'); }

#area {
	position: absolute;
	top: 0;
	left: 0;
}

.body {
	position: absolute;
	z-index: 3;
}

.star {
    height: 400px;
    margin: -200px 0 0 -200px;
    width: 400px;
}

.star div {
    width: 100%;
    height: 100%;
}

.planet {
	width: 100px;
	height: 100px;
	margin: -50px 0 0 -50px;
	background-image: url('images/planets.png');
}

.ship {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	background: url('images/ship.png');
	text-align: center;
}

.gate {
	position: absolute;
	z-index: 4;
	width: 400px;
	height: 400px;
	margin: -200px 0 0 -200px;
}

.gate .marker {
	position: absolute;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	background-image: url('images/markers.png');
}

.gate.done .marker { background-position: -16px 0; }

#acceleration {
	z-index: 1;
	position: absolute;
	right: 30px;
	top: 70px;
	width: 102px;
	height: 14px;
	background-color: black;
	border-radius: 2px;
}

#acceleration .value {
	height: 14px;
	background-color: white;
	box-shadow: 0 0 2px white;
}

#selectLevel {
	z-index: 10;
	position: absolute;
	left: 30px;
	top: 20px;
	font-weight: bold;
	font-size: 14px;
}

.level {
	display: inline-block;
	width: 19px;
	height: 19px;
	line-height: 18px;
	text-align: center;
	border: 1px solid white;
	border-radius: 50px;
	cursor: pointer;
	margin-right: 4px;
}

.level:hover, .level-selected {
	background-color: white;
	color: black;
    box-shadow: 0 0 2px white;
}

#time {
	z-index: 1;
	position: absolute;
	right: 30px;
	top: 18px;
	font-weight: bold;
	font-size: 18px;
    text-align: right;
}

#highscores {
	position: absolute;
	top: 18px;
	left: 50%;
	width: 220px;
	margin-left: -110px;
	color: white;
	z-index: 10;
	max-height: 52px;
	overflow: hidden;
}

#highscores:hover {
	max-height: 400px;
}

#highscores .score { float: right; }

#loading {
	position: absolute;
	bottom: 20px;
	left: 50%;
	width: 500px;
	margin: -25px 0 0 -250px;
	font-size: 16px;
	font-family: Lucida Grande, Bitstream Vera Sans, Verdana, sans-serif;
	vertical-align: middle;
	background-color: #101010;
	border: 1px solid #1a1a1a;
	padding: 10px;
	z-index:100;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow:0 0 15px rgba(0,0,0,0.6);
	color:#6b6b6b;
}

#loading h1{
	color: white;
	margin: 0 0 4px 0;
	padding: 0;
	font-size: 1em;
	display: block;
}

#loading .small {
	font-size: 12px;
}

#loading a {
	color: white;
	text-decoration: none;
	cursor: pointer;
}

#loading a:hover {
	text-decoration: underline;
}
