/* CSS RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
	outline: none;	
}
/* END CSS RESET */

HTML {
	font: 13px Helvetica, Arial, sans-serif;
	color: #FFF;
	background: #FFF url(images/sidebar.png) left repeat-y;
}

BODY {
	line-height: 1.5;
	overflow: hidden;
}

FORM {
	position: relative;
}

P {
	margin: .75em 0;
}

H1 {
	width: 260px;
	height: 49px;
	text-indent: -9999em;
	background: url(images/logo.png) center no-repeat;
	margin: 10px auto;
}

H2 {
	font-size: 1.1em;
	font-weight: bold;
	margin: .5em 0;
}

.button {
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
	line-height: 2;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	background: rgb(163,163,163); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(163,163,163,1) 0%, rgba(136,136,136,1) 40%, rgba(109,109,109,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(163,163,163,1)), color-stop(40%,rgba(136,136,136,1)), color-stop(100%,rgba(109,109,109,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(163,163,163,1) 0%,rgba(136,136,136,1) 40%,rgba(109,109,109,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(163,163,163,1) 0%,rgba(136,136,136,1) 40%,rgba(109,109,109,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(163,163,163,1) 0%,rgba(136,136,136,1) 40%,rgba(109,109,109,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(163,163,163,1) 0%,rgba(136,136,136,1) 40%,rgba(109,109,109,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a3a3a3', endColorstr='#6d6d6d',GradientType=0 ); /* IE6-9 */
}

.active .button {
	background: rgb(109,179,242); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(109,179,242,1) 0%, rgba(84,163,238,1) 50%, rgba(54,144,240,1) 51%, rgba(30,105,222,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(109,179,242,1)), color-stop(50%,rgba(84,163,238,1)), color-stop(51%,rgba(54,144,240,1)), color-stop(100%,rgba(30,105,222,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(109,179,242,1) 0%,rgba(84,163,238,1) 50%,rgba(54,144,240,1) 51%,rgba(30,105,222,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(109,179,242,1) 0%,rgba(84,163,238,1) 50%,rgba(54,144,240,1) 51%,rgba(30,105,222,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(109,179,242,1) 0%,rgba(84,163,238,1) 50%,rgba(54,144,240,1) 51%,rgba(30,105,222,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(109,179,242,1) 0%,rgba(84,163,238,1) 50%,rgba(54,144,240,1) 51%,rgba(30,105,222,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6db3f2', endColorstr='#1e69de',GradientType=0 ); /* IE6-9 */
}

.button:active {
	background: rgb(132,132,132); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(132,132,132,1) 0%, rgba(110,110,110,1) 40%, rgba(88,88,88,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(132,132,132,1)), color-stop(40%,rgba(110,110,110,1)), color-stop(100%,rgba(88,88,88,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(132,132,132,1) 0%,rgba(110,110,110,1) 40%,rgba(88,88,88,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(132,132,132,1) 0%,rgba(110,110,110,1) 40%,rgba(88,88,88,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(132,132,132,1) 0%,rgba(110,110,110,1) 40%,rgba(88,88,88,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(132,132,132,1) 0%,rgba(110,110,110,1) 40%,rgba(88,88,88,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#848484', endColorstr='#585858',GradientType=0 ); /* IE6-9 */
}

#sidebar {
	position: absolute;
	left: 0;
	top: 0;
	width: 260px;
	padding: 0 20px;
}

#mode {
	text-align: center;
	margin: 25px 0;
}

#mode LI {
	display: inline;
}

#mode LI A {
	width: 84px;
	display: inline-block;
}

#options {
	margin: 30px 0;
}

#options LI {
	padding: 5px 0;
	display: none;
}

#options .html {
	display: block;
}

#submit {
	font-size: 20px;
	line-height: 3;
	display: block;
	margin-bottom: 20px;
}

#footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 280px;
	font-size: 11px;
	color: #FFF;
	background: #444;
	padding: 0 10px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
}

#footer A {
	color: #FFF;
}

#spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -33px; /* half of spinner height */
	margin-left: 117px; /* half of sidebar width - half of spinner width */
	z-index: 100;
	width: 66px;
	height: 66px;
	background: transparent url(images/spinner.gif) center no-repeat;
	display: none;
}

.busy #spinner {
	display: block;
}

TEXTAREA, 
#editor {
	position: absolute;
	top: 0;
	font: 13px Monaco, 'Lucida Console', 'Courier New', monospace;
	left: 300px;
	background: #FFF;
	border: none;
	padding: 0;
	margin: 0;
}

TEXTAREA {
	font: 13px Monaco, 'Lucida Console', 'Courier New', monospace;
	background: #FFF;
	padding: 4px;
	resize: none;
}
