body {
	margin: 0;
	font-family: "Andada", serif;
	font-size: 16px;
	color: #3a3a3a; 
	background: rgba(0,0,0,0.9);
}

body.light {
	background: #fff;
}

/* Topbar */

#head div.wrapper {
	width: 1100px;
}

a {
	color: #28f;
}
a:hover {
	color: #f28;
}


#head {
	font-family:"Lucida Grande", Helvetica, Arial, san-serif;
	background:#151515;
	border-bottom:1px solid #000;
	height:71px;
	z-index:1000;
	position: absolute;
	width:100%;
	margin: 0;
	padding: 0;
	box-shadow:0 3px 3px rgba(0,0,0,0.25);
	-webkit-box-shadow:0 3px 3px rgba(0,0,0,0.25);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.25);
}
	
#head div.wrapper {
	padding-bottom: 15px; width: 100%; margin: 0 auto; width: 1000px;
}
	
#head span {
	float:left;
}
	
#head span img {
	border: 0;
	padding:19px 9px 15px 10px;
}

/* 
	
	CSS3 Dropdown Menu
	-------------------
	based on; http://webdesignerwall.com/tutorials/css3-dropdown-menu 
	
*/

#nav img {
	-webkit-transition-property: opacity;
	-webkit-transition-duration: .25s;
	opacity: 0.5;
	border: 0;
}
#nav li:hover img {
	opacity: 0.95;
}
#nav {
	float: right;
	display: inline-block;
} 

#nav li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
}
#nav a {
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	font-weight: bold;
	color: #666;
	text-decoration: none;
	display: block;
	padding:  10px 20px;
	margin: 0;
	height: 30px;
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#nav .current a {
	border-radius: 10px;
}
#nav .current a, #nav li:hover > a {
	background: rgba(255,255,255,0.15);
	color: #28f;
	box-shadow: 0 1px 1px rgba(0,0,0, .2);
}
#nav ul li:hover a, #nav li:hover li a {
	border: none;
	box-shadow: none;
}
#nav ul a {
	height: 20px;
	border-radius: 0;
	background: rgba(255,255,255,0.95);
}
#nav ul a.selected {
	color: #fff;
	text-shadow: none;
	background: rgba(0,0,0,0.55);
}
#nav ul a:hover {
	text-decoration: underline;
	background: #0078ff;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0, .1);
}

#nav li:hover > ul {
	background: #eee;
	display: block;
}

#nav ul {
	border-radius: 9px;
	border-top-left-radius: 0;
	display: none;
	margin: 0;
	padding: 0;
	max-width: 240px;
	min-width: 150px;
	white-space: nowrap;
	position: absolute;
	top: 45px;
	left: 0;
	border: solid 1px rgba(255,255,255,0.1);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#nav ul li {
	border-bottom: 1px solid #ccc;
	float: none;
	margin: 0;
	padding: 0;
}
#nav ul li:last-child {
	border: none;
}

#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
}

#nav ul ul {
	left: 150px;
	top: -1px;
}

#nav ul li:first-child > a {
	border-top-right-radius: 9px;
	border-top-left-radius: 0;
}
#nav ul li:last-child > a {
	border-bottom-left-radius: 9px;
	border-bottom-right-radius: 9px;
}

#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] #nav {
	display: block;
}
 
* html #nav {
	height: 1%;
}

/* Content */

#content {
	position: relative;
	top: 30px;
	width: 1100px;
	margin: 0 auto;
	background: none;
}

#degree {
	position: absolute;
	top: 75px;
	left: 50px;
	font-size: 32px;
	font-weight: bold;
	color: #3a3a3a;
}
body.light #degree {
	color: #ccc;
}

/* Background */

#background { 
	position: absolute;
	z-index: 10;
	top: 380px;
	font-size: 16px;
	left: 15px;
}
#background div { 
	border-bottom: 3px solid #222;
	margin: 6px 0 5px;
	padding-bottom: 7px;
}
body.light #background div {
	border-bottom: 3px solid #eee;
}
#background span {
	color: #aaa;
	cursor: pointer;
	padding: 0 5px;
	line-height: 1.4em;
	display: block;
	text-decoration: underline;
}
#background span:hover {
	color: #e04f92;
}
#background span.selected {
	color: #e04f92;
}

#points {
	z-index: 1;
}

canvas {
	position: absolute;
	top: 0;
}

/* Color Picker: HSL + RGBA */

#ColorPicker {
	clear: both;
	color:#111;
	height: 350px;
	left: 711px;
	top: 60px;
	position: absolute;
}

/* Container for each of the editable values  */

#ColorPicker div.selector {
	clear: both; 
	display: block; 
	position: relative;
}

/* Input for manually editing colors  */

#ColorPicker input.input {
	-webkit-transition-property: border, color;
	-webkit-transition-duration: .25s;
	font-family: 'Andada', serif;
	font-size: 22px;
	height: 23px;
	width: 40px;
	position: relative;
	left: 5px;
	text-align: right;
	border-width: 2px;
	border-color: transparent;
	background: transparent;
	float: left;
	display: inline;
	color: #fff;
}
body.light #ColorPicker input.input {
	color: #000;
}
#ColorPicker div:hover input.input {
	border-color: rgba(0,0,0,0.05);
}
#ColorPicker div input.input:focus {
	border-color: rgba(0,0,0,0.4);
}

/* Canvas for displaying colors  */

#ColorPicker canvas {
	-webkit-transition-property: border;
	-webkit-transition-duration: .25s;
	cursor:crosshair;
	position:relative;
	border-radius: 3px;
	border:1px solid rgba(0,0,0,0.25);
	left:23px;
	float:left;
	display:inline;
	margin-top:0;
	margin-bottom: 20px;
	box-shadow: 0 0 5px rgba(255,255,255,0.25);
}

/* Controller for interacting with colors  */

#ColorPicker div.controller {
	-webkit-transition-property: border, background;
	-webkit-transition-duration: .25s;
	border: 1px solid rgba(0,0,0,0.5);
	border-radius: 3px;
	opacity:0.75px;
	width:7px;
	display:inline;
	position:absolute;
	top: -5px;
	cursor:crosshair;
	z-index:1;
	float:left;
	margin:0 0 0 3px;
	padding:0;
}
#ColorPicker div.controller div {
	display: block;
	border: 1px solid #fff;
	border-radius: 3px;
	width: 5px;
}

/* Name of the type of color picker; Red, Green, Blue, ect... */

#ColorPicker div.name {
	-webkit-user-select: none;
	-webkit-transition-property: color, opacity;
	-webkit-transition-duration: .25s;
	cursor: crosshair;
	font-weight: 400;
	width: 100%;
	position:absolute;
	left: 45px;
	font-family: 'Andada', serif;
	font-size: 18px;
	text-align: center;
	z-index: 0;
	color: rgba(0,0,0,0.13);
	font-weight: bold;
	letter-spacing:0.035em;
	display:inline;
	opacity: 0;
}
#ColorPicker div:hover div.name {
	color: rgba(0,0,0,1);
}
#ColorPicker:hover div div.name {
	opacity: 1;
}
#ColorPicker:active div div.name {
	color: rgba(255,255,255,0);
}

footer {
	font-family: 'Andada', serif;
	font-size: 18px;
	-webkit-transition-property:color,opacity,background,border;
	-webkit-transition-duration: .5s;
	z-index: 0;
	opacity: 0.4;
	padding-top:1em;
	border-top: 0px solid rgba(255,255,255,0);
	position: absolute;
	bottom: 0px;
	min-width:470px;
	width: 100%;
	text-align: center;
	color: #555;
	clear:both;
	padding-bottom:1.3em;
}
footer a {
	-webkit-transition-property: color;
	-webkit-transition-duration: .5s;
	text-decoration: underline;
}
footer:hover {
	color: #222;
	border-top:10px solid rgba(255,255,255,0.3);
	background: rgba(255,255,255,1);
	opacity: 1;
}	