body {
	margin:0;
	background:#202020;
	color:#808080;
	font:11px/1.33 Verdana, sans-serif;
	}
a {
	color: #887;
	}
a:hover {
	color: white;
	}
input, select, button {
	font-size: 100%;
	vertical-align: middle;
	}

select, button {
	background: #202020;
	color: #999;
	border: 1px dotted #666;
	}
#jscheck {
	margin: 20%;
	padding: 2em 4em;
	border: 1px dotted #666;
	text-align: center;
	}
#jscheck hr {
	display: none;
	}

#canvas {
	width:980px;height:710px;
	margin:10px auto;
	position:relative;
	background:url('../img/ui.png') 0 0 no-repeat;
	}
h1 {
	display: none;
	}
h2 {
	position: absolute; top: 60px; left:27px;
	margin:0;
	font-size: 9px;
	font-weight: normal;
	color: #555;
	}
h2 a {
	color: #555;
	}

.pane {
	position:absolute; top:205px; left:25px;
	width:380px;height:380px;
	}

/* @group tabs */

#tabs-color {
	position: absolute; top: 605px; left: 8px;
	width:415px; height: 27px;
	}
#tabs-preview {
	position: absolute; top: 606px; left: 430px;
	width:542px; height: 27px;
	}
#tab-api {
	position: absolute; top: 0; left: 715px;
	width:265px; height: 27px;
	}
.tabs a {
	display: block;
	position: absolute; top: 0; left: 0;
	background: #333;
	color: #808080;
	font-size: 11px;
	line-height: 27px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	}

.tabs a.sel {
	background: transparent;
	}
.tabs a:hover {
	color: #ccc;
	}
.tabs a.sel:hover {
	color: #808080;
	}
#tab-api a {
	width: 100%;
	font-size: 9px;
	background: #252525;
	color: #808080;
	overflow: visible;
	}
#tab-api a.sel {
	font-size: 11px;
	background: #000;
	color: #999;
	}
#tab-api a:hover {
	background: #282828;
	color: #ccc;
	}

#tab-wheel {
	left: 0;
	width: 137px;
	}
#tab-vars {
	left: 138px;
	width: 138px;
	}
#tab-info {
	left: 277px;
	width: 138px;
	}
#tab-preview {
	left: 0;
	width: 180px;
	}
#tab-preview2 {
	left: 181px;
	width: 180px;
	}
#tab-preview3 {
	left: 362px;
	width: 180px;
	}

/* @end */

#debug {
	position:absolute; top:120px; left:450px;
	}

/* @group Model */

#model {
	position: absolute; top: 95px; left:25px;
	width:380px;
	border-collapse: collapse;
	border: none;
	}
#model td {
	border: none;
	padding: 0;
	text-align: center;
	vertical-align:top;
	}
#model a {
	display: block;
	border: none;
	width: 50px;
	margin: auto;
	padding: 55px 0 0 0;
	background: url('../img/model.png') 0 0 no-repeat;
	font-size: 9px;
	color:#808080;
	text-decoration: none;
	}
#model a.sel {
	color:#ccc;
	}
#model a:hover {
	color:white;
	text-decoration: underline;
	}
#model a.sel:hover {
	color:#ccc;
	text-decoration: none;
	}
a#m2 { background-position: -50px 0 }
a#m3 { background-position: -100px 0 }
a#m4 { background-position: -150px 0 }
a#m5 { background-position: -200px 0 }
a#m6 { background-position: -250px 0 }

a#m1.sel, a#m1:hover { background-position: -300px 0 }
a#m2.sel, a#m2:hover { background-position: -350px 0 }
a#m3.sel, a#m3:hover { background-position: -400px 0 }
a#m4.sel, a#m4:hover { background-position: -450px 0 }
a#m5.sel, a#m5:hover { background-position: -500px 0 }
a#m6.sel, a#m6:hover { background-position: -550px 0 }

/* @end */

/* @group Wheel */

#pane-wheel {
	position:absolute; top:205px; left:25px;
	width:380px;height:380px;
	}

#wheel {
	width:100%;height:100%;
	background: url('../img/wheel_bkgr.png') center no-repeat;
	}
#wh1 {
	position:absolute; top:0; left:0;
	width:190px;height:190px;
	background: url('../img/wheel1.png') right bottom no-repeat;
	}
#wh2 {
	position:absolute; top:0; left:190px;
	width:190px;height:190px;
	background: url('../img/wheel2.png') left bottom no-repeat;
	}
#wh3 {
	position:absolute; top:190px; left:0;
	width:190px;height:190px;
	background: url('../img/wheel3.png') right top no-repeat;
	}
#wh4 {
	position:absolute; top:190px; left:190px;
	width:190px;height:190px;
	background: url('../img/wheel4.png') left top no-repeat;
	}
.dot {
	position:absolute;
	width:13px; height:13px;
	background: url('../img/dot1.png') 0 0 no-repeat;
	cursor:pointer;
	}
#wheel #dot2 { display:none; background-image: url('../img/dot3.png') }
#wheel #dot3,
#wheel #dot4 { display:none; background-image: url('../img/dot2.png') }

#sample {
	position:absolute; top:120px; left:120px; z-index:0;
	width:140px; height:140px;
	background: gray;
	}
#wheel .val {
	position:absolute; z-index:10;
	font-size:11px;
	line-height:1;
	color:#808080;
	text-align:left;
	cursor: pointer;
	}
#wheel .val span { color: #ccc }
#wheel #hue-val { top:5px; left:0 }
#wheel #dist-val { top:5px; right:0; text-align:right }
#wheel #rgb-val { bottom:5px; right:0 }

#rgb-parts { 
	position:absolute; z-index:10;
	bottom:10px; left:0;
	border-collapse: collapse;
	border: none;
	}
#rgb-parts th, #rgb-parts td {
	padding: 1px 3px 0 0;
	text-align: right;
	font-weight: normal;
	color: #808080;
	font-size: 9px;
	line-height:1;
	}

/* @end */


/* @group Vars */

#pane-vars {
	display: none;
	}

#presets {
	position: absolute; top: 40px; z-index: 100;
	width: 100%;
	text-align: left;
	}
#presets select {
	font-size: 125%;
	}

.slider {
	position: absolute; top: 120px;
	width: 190px; height: 190px;
	}
.slider h4 {
	position: absolute; left: 0;top: 0;
	margin: 0; width: 100%;
	font-size: 11px;
	font-weight: normal;
	text-align: center;
	}
.slider .dot {
	background-image: url('../img/dot3.png');
	}
#saturation {
	left: 0;
	background: url('../img/sv_slider.png') top center no-repeat;
	}
#contrast {
	left: 190px;
	background: url('../img/c_slider.png') top center no-repeat;
	}

/* @end */

/* @group pane-info */

#pane-info {
	display: none;
	}
#pane-info h4 {
	margin: 1em 0 1em 0;
	font-size: 12px;
	font-weight: normal;
	color: #ccc;
	}

.info-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: none;
	font-size: 10px;
	color: #999;
	}
.info-table td.cbox {
	width: 20px; height: 25px;
	border: 1px solid #202020;
	}
.info-table td.code {
	padding-left: 5px;
	text-align: left;
	vertical-align: middle;
	}

#export {
	margin-top: 2em;
	padding-top: 0.5em;
	border-top: 1px dotted #666;
	font-size: 115%;
	text-align: center;
	}
#export strong {
	margin-right: 1em;
	}
#export .smaller {
	font-size: 85%;
	}

.export {
	padding: 1em;
	}
.export pre {
	font: 11px/1.1 monospace;
	}

/* @end */

/* @group Palette */

#palette {
	position: absolute; top: 50px; left:520px;
	border-collapse: collapse;
	border: none;
	}

#palette td {
	border: 2px solid #333;
	width: 85px; height: 85px;
	}

#schemeid {
	position: absolute; top: 150px; left:465px;
	width: 480px;
	margin: 0;
	font-size: 11px;
	font-weight: normal;
	text-align: center;
	}

#page-preview {
	position: absolute; top: 160px; left: 465px;
	width: 480px;
	margin: 0;
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	}

/* @end */

/* @group preview */

#preview-palette-canvas {
	position: absolute; top: 210px; left:460px;
	width:490px; height:360px;
	}

#preview-palette-bg1 {
	position: absolute; top: 0; left:0;
	width:85%; height:80%;
	background: white;
	}
#preview-palette-bg2 {
	position: absolute; bottom: 0; right:0;
	width:85%; height:85%;
	background: black;
	}
#preview-palette {
	position: absolute; top: 8px; left:8px;
	width:470px;
	border-collapse: collapse;
	border: none;
	}
#preview-palette td {
	text-align: left;
	vertical-align: top;
	overflow: hidden;
	}
#preview-palette tr {
	height: 50px;
	}
#preview-palette tr.pri {
	height: 95px;
	}
#preview-palette td.bg-pri-1,
#preview-palette td.bg-pri-3 {
	width: 25%;
	}

#preview-palette .text {
	padding: 5px 10px;
	font-size: 9px;
	line-height: 10px;
	white-space: nowrap;
	}
#preview-palette .text .row1 { color: white }
#preview-palette .text .row2 { color: gray }
#preview-palette .text .row3 { color: black }

#showtext {
	position: absolute; top: 575px; left:460px;
	width: 490px;
	text-align: right;
	color: #555;
	}

/* @end */

#preview-pars {
	position: absolute; top: 603px; left:460px;
	width: 490px;
	white-space: nowrap;
	}

#fps {
	position: absolute; top: 7px; left:520px;
	white-space: nowrap;
	font-size: 9px;
	color: #555;
	text-align: left;
	}

#randomize {
	position: absolute; top: 7px; left: 560px;
	width: 155px;
	margin: 0;
	font-size: 9px;
	text-align: center;
	}
#randomize span {
	font-size: 9px;
	}

#cb-warning {
	display: none;
	position: absolute; top: 610px; left: 440px;
	width: 15px; height: 15px;
	background: url('../img/warning.png') center no-repeat;
	}
#colorblind {
	position: absolute; top: 660px; right:0;
	text-align: right;
	vertical-align: middle;
	white-space: nowrap;
	color: #555;
	}
#colorblind select {
	font-size: 125%;
	}
#colorblind .select-replace {
	color: #555;
	border-color: #404040;
	}
#showtooltips {
	position: absolute; top: 660px; left:150px;
	color: #555;
	text-align: left;
	}
#donate {
	position: absolute; top: 650px; left:0;
	text-align: left;
	}
#donate .btn {
	width: 122px; height: 40px;
	background: url('../img/donate.png') 0 -60px no-repeat;
	}
#donate .btn:hover {
	height: 60px;
	background-position: 0 0;
	}

.select-replace {
	padding: 5px 30px 5px 10px;
	background: url('../img/ddarrow.png') 98% 50% no-repeat;
	color: #999;
	border: 1px dotted #555;
	}

#help {
	display: none;
	}
#tooltip {
	position: absolute; z-index: 9999;
	width: 200px;
	padding: 10px 15px;
	opacity: 0.9;
	background: #000;
	color: #ccc;
	border: 1px solid #666;
	font-size: 95%;
	line-height: 1.66;
	}
iframe.sample {
	width: 100%; height: 610px;
	margin: 0 auto;
	border: 1px solid #404040;
	}
.sample-info {
	padding: 3px 5px;
	background: black;
	color: #ccc;
	}
#form {
	display: none;
	}
#prompt {
	padding: 25px 50px;
	border: 4px outset #999;
	background: #999;
	color: black;
	text-align: center;
	font-size: 12px;
	}
#prompt-input {
	background: white;
	color: black;
	padding: 5px;
	width: 7em;
	font-size: 15px;
	}
#prompt .chkbox {
	margin: 0;
	text-align: left;
	}
#prompt button {
	margin: 0 0.5em;
	padding: 5px 1em;
	vertical-align: middle;
	}
#prompt-ok {
	background: #666;
	color: white;
	font-size: 15px;
	border: 2px outset #666;
	}
#prompt-cancel {
	background: #777;
	border: 1px solid #666;
	color: #333;
	font-size: 12px;
	}


