*
{
	margin: 0;
	padding: 0;
	float: left;
	clear: both;
}

body
{
	font-family: "Helvetica", sans-serif;
	color: #666;
	font-size: 14px;
	background: #333;
	line-height: 20px;
	overflow: hidden;
}

h1
{
	font-size: 20px;
	color: #ddd;
	line-height: 20px;
	text-shadow: 1px 1px 1px #111;
	font-family: 'Droid Serif', 'Georgia', serif;
	font-weight: normal;
}

canvas
{

}

article,
header,
footer,
nav,
section
{
	display: block;
}

strong,
span,
em
{
	clear: none;
	float: none;
	display: inline;
}

code
{
	font-family: monospace;
}

header
{
	clear: both;
	margin-bottom: 10px;
	position: absolute;
	bottom: 30px;
	left: 30px;
	z-index: 3;
}

#welcome
{
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
	font-family: 'Droid Serif', 'Georgia', serif;
	width: 500px;
	margin-top: 20px;
}

#okay
{
	display: block;
	clear: both;
	float: left;
	line-height: 20px;
	padding: 0 5px;
	background: #ffba00;
	color: #333;
	margin-top: 25px;
	cursor: pointer;
}

#okay:hover
{
	color: #fff;
	box-shadow: 0 0 5px #FFBA00;
	-moz-box-shadow: 0 0 5px #FFBA00;
	-webkit-box-shadow: 0 0 5px #FFBA00;
}

nav
{
	position: absolute;
	top: 0;
	left: 0;
	clear: both;
	float: right;
	width: 100%;
	background: rgba(0, 0, 0, 0.1);
	border-bottom: 1px #333 solid;
	box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:inset 0 0 12px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow:inset 0 0 12px rgba(0, 0, 0, 0.2);
	display: none;
}
	
	nav ul
	{
		clear: none;
	}
	
	nav .left
	{
		float: left;
		margin-left: 10px;
	}
	
	nav .right
	{
		float: right;
		margin-right: 10px;
	}
	
	nav li
	{
		clear: none;
		color: #ffba00;
		cursor: pointer;
		list-style: none;
		text-shadow: 1px 1px 1px #111;
		padding: 0 10px;
		line-height: 35px;
		height: 35px;
	}
	
	nav li:hover
	{
		color: #ffeab2;
	}
	
	nav li.active
	{
		background-color: rgba(0, 0, 0, 0.3);
	}
	
	#about
	{
		float: right;
		margin-right: 0;
	}
	
#debug
{
	position: absolute;
	top: 60px;
	left: 60px;
	background: rgba(34, 34, 34, 0.6);
	padding: 20px;
	display: none;
}

#tweet
{
	position: absolute;
	bottom: 0px;
	left: 0;
	background: rgba(0, 0, 0, 0.2);
	padding: 20px 20px 20px 220px;
	display: none;
	font-size: 20px;
}

.overlay
{
	background: rgba(0, 0, 0, 0.3);
	width: 300px;
	text-shadow: 1px 1px 0 #222;
}

	.overlay h1
	{
		font-size: 15px;
		font-family: "Helvetica", sans-serif;
		font-weight: normal;
		color: #fff;
		padding: 0 20px;
		margin: 10px 0;
	}
	
		.overlay article h1
		{
			font-weight: normal;
			color: #ccc;
			font-size: 12px;
			padding: 0;
			margin: 0;
		}
	
	.overlay a
	{
		clear: none;
		float: none;
		display: inline;
		color: #ffba00;
		text-decoration: none;
	}
	
	.overlay a:hover
	{
		text-decoration: underline;
	}
	
	.overlay article
	{
		border-top: 1px rgba(0, 0, 0, 0.2) solid;
		padding: 10px 20px;
		width: 260px;
	}

	.overlay .right
	{
		margin-top: 20px;
	}
	
	.overlay div h1
	{
		margin-top: 20px;
	}
	
	.overlay div h1:first-child
	{
		margin-top: 0;
	}
	
	.overlay .ui-slider
	{
		background: #222;
		width: 100%;
		height: 10px;
		margin-top: 10px;
		position: relative;
		margin-bottom: 15px;
		border: 1px #444 solid;
		box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
		-moz-box-shadow:inset 0 0 10px rgba(0, 0, 0, 0.2);
		-webkit-box-shadow:inset 0 0 10px rgba(0, 0, 0, 0.2);
	}
	
	.overlay .ui-slider-range
	{
		background: #333;
		height: 10px;
		box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
		-moz-box-shadow:inset 0 0 10px rgba(0, 0, 0, 0.2);
		-webkit-box-shadow:inset 0 0 10px rgba(0, 0, 0, 0.2);
	}
	
	.overlay a.ui-slider-handle
	{
		background: #ccc;
		width: 4px;
		height: 10px;
		display: block;
		float: none;
		clear: none;
		position: absolute;
		top: -0px;
		outline: none;
	}
	
	.overlay a.ui-slider-handle:hover,
	.overlay a.ui-slider-handle.ui-state-active
	{
		background: #ffba00;
	}
	
	.overlay code
	{
		font-size: 12px;
		color: #fff;
		display: inline;
		clear: none;
		float: none;
	}
	
#info
{
	display: none;
	position: absolute;
	top: 35px;
	right: 10px;
}

#settings
{
	display: none;
	position: absolute;
	top: 35px;
	right: 10px;
}
	
	#amount
	{
		clear: none;
		display: inline;
		background: transparent;
		font-family:  "Helvetica", sans-serif;
		font-size: 13px;
		color: #fff;
		line-height: 20px;
		width: 40px;
		padding-top: 4px;
		padding-left: 3px;
		border: none;
		color: #fff;
		font-size: 12px;
		font-weight: bold;
	}
	
	#collision
	{
		float: right;
		clear: none;
	}

	#collision .active
	{
		color: #fff;
		cursor: default;
		text-shadow: 0 0 2px #fff;
	}
	
	#collision span
	{
		color: #666;
		cursor: pointer;
	}