/* containers */
body { padding: 0; margin: 0; }
#scroller { 
	position: absolute;
	left: 0; top: 0;
	width: 400%; height: 100px;
}
#main { 
	position: fixed;
	width: 100%; height: 100%; 
	padding: 0; margin: 0;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #2989d8 49%, #ffffff 50%, #e5ab24 51%, #ffffff 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(49%,#2989d8), color-stop(50%,#ffffff), color-stop(51%,#e5ab24), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#2989d8 49%,#ffffff 50%,#e5ab24 51%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#2989d8 49%,#ffffff 50%,#e5ab24 51%,#ffffff 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#2989d8 49%,#ffffff 50%,#e5ab24 51%,#ffffff 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#2989d8 49%,#ffffff 50%,#e5ab24 51%,#ffffff 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

/* background */
h1 { 
	position: fixed;
	left: 15px; top: 0;
}

/* sidebar */
#sidebar { 
	position: absolute;
	right: 0; top: 0;
	width: 200px; height: 100%; 
	padding: 15px; margin: 0;
	background: #444 url('fabric.png');
	overflow: scroll;
}
#sidebar > h2 {
	clear: both;
	color: #fff;
}
#sidebar > ul {
	color: #ccc;
}
#sidebar > ul li > a {
	color: #fff;
	text-decoration: none;
}
#sidebar > ul li > a:hover { 
	color: #00f;
	text-decoration: underline;
}
#hlopts li {
	/* font etc taken from cube css */
	cursor: hand;
	width: 20px; height: 20px;
	display: inline block;
	font-size: 16px;
	list-style: none;
	padding: 2px; margin: 2px;
	border: 2px black solid;
	float: left; clear: none;
}
#hlo-1 { width: 116px !important; }
#hlopts li:hover { border: 2px red solid !important; }

/* cube */
#cc { 
	position: absolute;
	left: 50%; top: 100px;
	width: 200px;
	padding: 0; margin: 0;
}
#cube {
	position: relative;
	left: -200px; top: 0;
	margin: auto;
	width: 200px;
	-webkit-transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	-moz-transform-style: preserve-3d;
	-moz-perspective: 1000px;
	-ms-transform-style: preserve-3d;
	-ms-perspective: 1000px;
	transform-style: preserve-3d;
	perspective: 1000px;
}
.face {
	position: absolute;
	top: 0; left: 0;
	width: 200px; height: 200px;
	border: 0px black solid;
	-webkit-backface-visibility: hidden;
}
#n { background: #0c0; }
#f { background: #c00; }
#l { background: #fc0; }
#r { background: #80c; }
#t { background: #00c; }
#b { background: #0cc; }
.face > table { width: 100%; height: 100%; }
.face > table tr { height: 45px; }
.face > table td, #hlopts li {
	background: #fff;
	font-family: sans, Arial, sans-serif;
	color: #000;
	text-align: center;
}
.face > table td {
	margin: 4px;
	width: 45px; height: 45px;
	font-size: 35px;
	overflow: hidden;
}
.face > table td > form {
	height: 40px;
	margin: 0; padding: 0;
	overflow: hidden;
}
.face > table td > form > input {
	margin: 0; padding: 0;
	width: 40px; height: 40px;
	border: none;
	font-size: 35px;
	text-align: center;
	background: #ffc; /* should match .hl5 */
	color: #000;
}

/* cube highlighting */
.clue { 
	width: 41px !important; height: 41px !important;
	font-size: 30px !important;
	border: 2px black solid !important;
}
.done { opacity: 0.6; }
.wrong { 
	color: #f00 !important;
	opacity: 1.0 !important;
}
.hl1 { background: #fcc !important; }
.hl2 { background: #cfc !important; }
.hl3 { background: #ccf !important; }
.hl4 { background: #fcf !important; }
.hl5 { background: #ffc !important; }
.hl6 { background: #cff !important; }

