html, body {
	height: 100%;
	overflow: hidden;
}

* {
	margin: 0;
	padding: 0;
}

a {
	color:#0000EE;
}

/* Initially hidden. Revealed if JavaScript enabled. */
#sidebar_container, #report_container,#contrasttools, #wave5topbar {
	display:none;
	font: 11px Helvetica, Arial, sans-serif;
}

#sidebar_container {
	position: absolute;
	top: 0;
	height: 100%;
	left: 0;
	width: 250px;
	border-right:#737c70 solid 1px;
	background-color:#f6f6f6;
}

#logo {
	margin:4px 0 0 -6px;
}

#logo img {
	border:none;
}

#sidebar_controls
{
	padding:0 4px;
}

#modes {
	margin:4px 0;
	text-align: center;
}

#tabs {
	clear:both;
	margin-top: 5px;
}

#tabslist {
	padding:0;
	margin:10px 0 0 4px;
	float:left;
}

#tabslist li {
	border:transparent solid 1px;
	list-style: none;
	width:25px;
	height:25px;
	padding:0;
	margin:25px 0;
	margin-right:-2px;
	position: relative;
	background-color: transparent;
	background-position: 3px 3px;
	background-repeat: no-repeat;
}

#tabslist li.current {
	border:#737c70 solid 1px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	background-color: #fff;
	background-position: 3px 3px;
	background-repeat: no-repeat;
	border-right: none;
	z-index: 101;
}

#tabslist li a:focus {
	outline:none;
	border-right:1px dotted #737c70;
}

#tabslist li a {
	text-indent: -999em;
	overflow: hidden;
	display:block;
	height:25px;
	z-index: 102;
}

#tabslist li#summarytab  {
	background-image: url(/img/tabs/summary.png);
}

#tabslist li#summarytab:hover, #tabslist li.current#summarytab {
	background-image: url(/img/tabs/summary_current.png);
}

#tabslist li#detailstab {
	background-image: url(/img/tabs/details.png);
}

#tabslist li#detailstab:hover, #tabslist li.current#detailstab, #summary #paneloptions li#details {
	background-image: url(/img/tabs/details_current.png);
}

#tabslist li#documentationtab {
	background-image: url(/img/tabs/documentation.png);
}

#tabslist li#documentationtab:hover, #tabslist li.current#documentationtab, #summary #paneloptions li#documentation {
	background-image: url(/img/tabs/documentation_current.png);
}

#tabslist li#outlinetab {
	background-image: url(/img/tabs/outline.png);
}

#tabslist li#outlinetab:hover, #tabslist li.current#outlinetab, #summary #paneloptions li#outline {
	background-image: url(/img/tabs/outline_current.png);
}

#tabslist li#maptab {
	background-image: url(/img/tabs/map.png);
}

#tabslist li#maptab:hover, #tabslist li.current#maptab, #summary #paneloptions li#map {
	background-image: url(/img/tabs/map_current.png);
}

#tabs>div {
	position:relative;
	float:left;
	width:206px;
	padding:4px;
	background-color: #fff;
	border:#737c70 solid 1px;
	z-index: 100;
	border-radius: 6px;
	outline:0;
	overflow: auto;
	min-height:290px;
}

#tabs>div h2 {

	color:#639851;
	margin-top:-4px;
	padding:0 0 3px 0;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	font-size: 18px;
	font-weight: normal;
}

#tabs div p {
	margin-top:6px;
}

#report_container {
	position: absolute;
	top: 0;
	left: 251px;
	right: 0px;
	height: 100%;
}

/* Top bar for pagewide icons */
#wave5topbar
{
	width:100%;
	background:#f9f9f9;
	border-bottom: 1px solid #737C70;
	text-align:center;
	padding: 0px;
}

#wave5topbar .wave5icon {
	margin:4px;
}

#report {
	width: 100%;
	height: 100%;
	border: none;
	overflow: auto;
}

/* Bottom bar for code view */
#wave5bottombar
{
	width:100%;
	height:0px;
	background:#f9f9f9;
	border-top: 1px inset #737C70;
	position: absolute;
	bottom: -1px;
	left: 0px;
}

#wave5bottombar.codeopen {
	height:100px;
}

#wave5bottombar.codeopen {
	height:0px;
}

#wave5codetoggle {
	position:absolute;
	top:0px;
	left:50%;
	margin:-21px auto 0 -38px;
	width:76px;
	height:20px;
	text-align: center;
	background: transparent url(/img/codehandle.png) 0px 0px no-repeat;
}

#wave5codetoggle.wave5_open {
	background: transparent url(/img/codehandle2.png) 0px 0px no-repeat;
	margin-top:0px;
}

#wave5codetoggle a {
	display: inline-block;
	height:20px;
	width:70px;
}

#wave5code {
	height:195px;
	padding:4px 4px 2px 4px;
	font-family:"Lucida Grande", Consolas, sans-serif;
	font-size: 1.1em;
	//overflow-x:hidden;
	overflow-y:scroll;
}

#wave5code .wave5element {
	color:darkmagenta;
	padding-left:15px;
	display: block;
}

#wave5code .wave5attribute {
	color:firebrick;
}

#wave5code .wave5value {
	color:blue;
}

#wave5code .wave5comment {
	color:green;
}

#wave5code .wave5codetext {
	color:#000;
	margin-left:10px;
}

#wave5code .selectedcode {
	outline: 1px dotted rgb(94, 140, 78);
	background-color: #e6e6e6;
}

#wave5code img {
	max-height: 15px;
	max-width: 25px;
	float:left;
}

#wave5_loading {
	position:absolute;
	top:45%;
	left:49%;
	opacity: 1 !important;
}

#sidebar_error {
	margin:6px;
	border:2px dashed red;
	padding:5px;
	border-radius: 6px;
	background-color: #fff;
}


/* BEGIN CONTROLS CSS */

.control {
	background-color: #fff;
	border: solid 1px #adc0ed;
	color: #2e4987;
	display: inline-block;
	line-height: 100%;
	margin: 0 0 0 -1px;
	padding: 4px 8px;
	position: relative;
	text-decoration: none;
	vertical-align: middle;
	white-space: nowrap;
	user-select: none;
}

.control:hover, .control:focus {
	outline: none;
	color: #273c6e;
	background-color: #f3f3f3;
	text-shadow: #ccc 0 2px 0;
}

.control.pressed {
	color: #fff;
	background-color: #639851;
	border-color: #7488b8;	
}

.control.pressed:hover, .control.pressed:focus {
	outline: none;
	text-shadow: #2e4987 0 2px 0;
}

.controls {
	overflow: hidden;
	white-space: nowrap;
}

.controls .control:first-child {
	border-left-width: 1px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.controls .control:last-child {
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

.control.url {
	height:20px;
	width:217px;
	padding:0 0 0 5px;
	background-image:none;
	filter:none;
	background-color:#fff;
	border-right:none;
	border-radius:6px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	user-select: text;
	text-shadow: none;
}

.controls input[type=submit] {
	height:22px;
	width:12px;
	padding:0px 9px;
	border-left: none;
	text-indent: -999em;
	overflow: hidden;
	background: #fff url(/img/refresh.png) 0px 3px no-repeat;
	border-bottom-right-radius: 6px;
	border-top-right-radius: 6px;
	cursor: pointer;
	filter:none;
}

.controls input[type=submit]:hover, .controls input[type=submit]:focus {
	background: #fff url(/img/refresh_on.png) 0px 3px no-repeat;
}

.controls input[type=submit].new {
	background: #fff url(/img/submit.png) 0px 2px no-repeat;
}

.controls input[type=submit].new:hover, .controls input[type=submit].new:focus {
	background: #fff url(/img/submit_on.png) 0px 2px no-repeat;
}

.control.small {
	padding: 3px;
	font-size:16px;
}

.control.select {
	padding: 0;
	border-radius:6px;
}

.control span {
	position:absolute;
	left:-10000px;
	top:auto;
}

.control.disabled {
	opacity:.5;
}



/* SUMMARY PANEL */

#summary h3 {
	color:#535353;
	margin:5px 0 5px 0;
}

#numbers {
	margin-top: 5px;
}

#numbers ul
{
	list-style:none;
	padding:0;
	margin:0;
	margin-left:10px;
	margin-bottom:10px;
}

#numbers ul li
{
	margin-top:5px;
	padding:2px;
	font-weight: bold;
}

#numbers ul li#error, #group_error
{
	border-left:5px solid #FF0000;
}

#numbers ul li#alert, #group_alert
{
	border-left:5px solid #fff703;
}

#numbers ul li#feature, #group_feature
{
	border-left:5px solid #008000;
}

#numbers ul li#structure, #group_structure
{
	border-left:5px solid #1991ec;
}

#numbers ul li#html5, #group_html5
{
	border-left:5px solid #C88DCB;
}

#numbers ul li#contrast, #group_contrast
{
	border-left:5px groove #000;
}

#paneloptions li {
	list-style: none;
	margin-bottom:10px;
	padding-left:25px;
	background-color: transparent;
	background-position: 3px 3px;
	background-repeat: no-repeat;
}

/* DETAILS PANEL */

#filter_label {
	display: inline-block;
	margin:5px 5px 0 0;
	font-size:14px;
	vertical-align:bottom;
}

#iconlist, #iconlist_contrast
{
	list-style-type: none;
	margin:0;
	padding:0;
}

#iconlist_contrast {
	margin-bottom:10px;
}

.contrast_title {
	font-size: 14px;
	margin-top:10px;
	font-weight:bold;
	text-align:center;
}

li.icon_group h3
{
	margin-bottom:3px;
	margin-top:15px;
	font-size:13px;
}

li.icon_group input {
	margin: 0 3px;
}

li.icon_group ul
{
	margin: 0 0 0 8px;
	padding-left: 0px;
	list-style-type: none;
}

li.icon_type h4
{
	margin-top: 3px;
	margin-bottom: 0px;
	font-size:11px;
	font-weight:normal;
}

li.icon_type ul
{
	margin-left: 23px;
	margin-right: 5px;
}

li.icon_type li
{
	display: inline;
	list-style-type: none;
	margin-left:-4px;
}

li.icon_type li img:not(.docs)
{
	-ms-transform: scale(0.75);
	-webkit-transform: scale(0.75);
	transform: scale(0.75);
	cursor:pointer;
	padding:1px;
	border:0;
}

li.icon_type li img.hide {
	opacity: .7 !important;
}

img.docs {
	vertical-align: middle;
	margin-left: 3px;
	border:0;
}

/* Details Contrast Tools */

.hidden {
	position:absolute;
	top:auto;
	left:-10000px;
}

#contrasttools input {
	width:80px;
	padding:0;
	margin:0 3px 0 2px;
}
#iconlist_contrast input { width:auto; }

#contrasttools #normal {
	border:1px solid black;
	padding:1px;
	font-weight: normal;
}
#contrasttools #big {
	font-size:14pt;
	border:1px solid black;
	padding:1px;
}
#contrasttools .pass {
	font-weight:bold;
	color:#080;
}
#contrasttools .fail {
	font-weight:bold;
	color:#c00;
}
#contrasttools #fg, #contrasttools #bg {
	display:inline-block;
	width:14px;
	height:14px;
	border:1px dashed #ccc;
	margin-right:2px;
	vertical-align: top;
}


/* Documentation panel */

#tab_docs_placeholder {
	margin-top:15px;
	text-align: center;
	font-weight: bold;
	font-size: 1.25em;
}

#tab_docs_container {
	padding-top:6px;
} 

#tab_docs_icon {
	float:left;
	margin-right:5px;
	margin-top:3px;
}

#tab_docs_type {
	font-size: 14px;
	font-weight: bold;
}

#tab_docs_title {
	font-size: 12px;
	font-weight: bold;
}

#tab_docs_container h3 {
	margin-top:6px;
}

#tab_docs_guidelines {
	margin-left:14px;
}

#tab_docs_guidelines li {
	padding-left:0px;
}

#tabs_docs_showindex {
	margin:7px auto 4px auto;
	text-align: center;
}

#tab_docs_index h3 {
	border-top:1px solid #ccc;
	margin-top:7px;
}

#tab_docs_index img {
	margin:5px;
	border:0;
}

/* Footer */

#footer, #wave5_footer {
	padding:0 4px;
	position: absolute;
	bottom: 0;
	width:95%;
	height: 20px;
	text-align:center;
	color:#8d191c;
	font-family:"Palatino Linotype", Palatino, serif;
}

/* Outline panel */

#pageoutline span {
	background-color: #CCEEFF;
	border:1px solid #000;
	display: inline-block;
	margin:1px;
	text-transform: lowercase;
}

.outline_H1 {
	margin-left: 0px;
}

.outline_H2 {
	margin-left: 9px;
}

.outline_H3 {
	margin-left: 17px;
}

.outline_H4 {
	margin-left: 24px;
}

.outline_H5 {
	margin-left: 30px;
}

.outline_H6 {
	margin-left: 35px;
}

/* Map panel */

#currentmap
{
	overflow-y: scroll;
	overflow-x: hidden;
}

/* Icon boxes */

#wave5_iconbox {
	width: 226px;
	height: auto;
	border: 1px solid #666;
	border-radius: 6px;
	box-shadow:0px 0px 5px #333;
	position: absolute;
	left:-10000px;
	z-index:10000;
	font-family:"Palatino Linotype",Palatino,serif;
	transition: all 0.2s ease;
}

#wave5_title {
	background-color:#5e8c4e;
	min-height: 20px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

#wave5_details {
	width:226px;
	height:auto;
	background-color:#f6f6f6;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

#wave5_iconbox_title {
	color:#fff;
	font-size:15px;
	line-height:15px;
	padding:4px;
}

#wave5_iconbox_summary {
	color:#333;
	font-size:12px;
	padding:4px;
}

#wave5_iconbox_doclink {
	text-align:right !important;
	text-decoration:underline;
	font-size:11px;
	padding-right:8px;
	padding:4px;
}

#wave5_iconbox_doclink a {
	color:#0000EE;
	text-decoration:underline;
	font-size:11px;
}

#wave5_iconbox_doclink a:hover, #wave5_iconbox_doclink a:focus {
	color:#115782;
	text-decoration:none;
	background:none;
}

#wave5_iconbox_arrow {
	overflow: hidden;
	position: absolute;
	width: 70px;
	height: 16px;
	margin-left: -35px;
}

#wave5_iconbox_arrow.bl {
	left: 25px;
	bottom: -16px;
}

#wave5_iconbox_arrow.br {
	right: -20px;
	bottom: -16px;
}

#wave5_iconbox_arrow.tl {
	left: 25px;
	top: -16px;
}

#wave5_iconbox_arrow.tr {
	right: -20px;
	top: -16px;
}

#wave5_iconbox_arrow:after {
	background-color:#F3F3F3;
	border: 1px solid #666;
	content: "";
	position: absolute;
	left: 20px;
	top: -20px;
	width: 23px;
	height: 23px;
	box-shadow:0px 0px 5px #333;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#wave5_iconbox_arrow.tl:after, #wave5_iconbox_arrow.tr:after {
	background-color:#5e8c4e;
	left: 20px;
	top: 10px;
}



/***
Spectrum Colorpicker v1.0.9
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    *display: inline;
    *zoom: 1;
    z-index: 2147483647;
    overflow: hidden;
}
.sp-container.sp-flat {
    position: relative;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position:relative;
  width: 100%;
  display:inline-block;
}
.sp-top-inner {
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
}
.sp-color {
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:20%;
}
.sp-hue {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:84%;
    height: 100%;
}
.sp-fill {
    padding-top: 80%;
}
.sp-sat, .sp-val {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.sp-alpha-enabled .sp-top
{
    margin-bottom: 18px;
}
.sp-alpha-enabled .sp-alpha
{
    display: block;
}

.sp-alpha-handle
{
    position:absolute;
    top:-4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}

.sp-alpha
{
    display: none;
    position: absolute;
    bottom: -14px;
    right: 0;
    left: 0;
    height: 8px;
}
.sp-alpha-inner{
    border: solid 1px #333;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button  {
    user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
    display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
    display: none;
}
.sp-palette-only .sp-picker-container {
    display: none;
}
.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear,  0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
    background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */

.sp-1 {
    height:17%;
}
.sp-2 {
    height:16%;
}
.sp-3 {
    height:17%;
}
.sp-4 {
    height:17%;
}
.sp-5 {
    height:16%;
}
.sp-6 {
    height:17%;
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color { right: 40%; }
    .sp-hue { left: 63%; }
    .sp-fill { padding-top: 60%; }
}

.sp-dragger {
   border-radius: 5px;
   height: 5px;
   width: 5px;
   border: 1px solid #fff;
   background: #000;
   cursor: pointer;
   position:absolute;
   top:0;
   left: 0;
}
.sp-slider {
    position: absolute;
    top:0;
    cursor:pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

/* Basic display options (colors, fonts, global widths) */
.sp-container {
    border-radius: 0;
    background-color: #ECECEC;
    border: solid 1px #f0c49B;
    padding: 0;
}
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue
{
    font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.sp-top
{
    margin-bottom: 3px;
}
.sp-color, .sp-hue
{
    border: solid 1px #666;
}

/* Input */
.sp-input-container {
    float:right;
    width: 100px;
    margin-bottom: 4px;
}
.sp-initial-disabled  .sp-input-container {
    width: 100%;
}
.sp-input {
   font-size: 12px !important;
   border: 1px inset;
   padding: 4px 5px;
   margin: 0;
   width: 100%;
   background:transparent;
   border-radius: 3px;
   color: #222;
}
.sp-input:focus  {
    border: 1px solid orange;
}
.sp-input.sp-validation-error
{
    border: 1px solid red;
    background: #fdd;
}
.sp-picker-container , .sp-palette-container
{
    float:left;
    position: relative;
    padding: 10px;
    padding-bottom: 300px;
    margin-bottom: -290px;
}
.sp-picker-container
{
    width: 172px;
    border-left: solid 1px #fff;
}

/* Palettes */
.sp-palette-container
{
    border-right: solid 1px #ccc;
}

.sp-palette .sp-thumb-el {
    display: block;
    position:relative;
    float:left;
    width: 24px;
    height: 15px;
    margin: 3px;
    cursor: pointer;
    border:solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: orange;
}
.sp-thumb-el
{
    position:relative;
}

/* Initial */
.sp-initial
{
    float: left;
    border: solid 1px #333;
}
.sp-initial span {
    width: 30px;
    height: 25px;
    border:none;
    display:block;
    float:left;
    margin:0;
}

/* Buttons */
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
    margin:0;
    overflow:hidden;
    cursor:pointer;
    padding: 4px;
    display:inline-block;
    *zoom: 1;
    *display: inline;
    border: solid 1px #91765d;
    background: #eee;
    color: #333;
    vertical-align: middle;
}
.sp-replacer:hover, .sp-replacer.sp-active {
    border-color: #F0C49B;
    color: #111;
}
.sp-replacer.sp-disabled {
    cursor:default;
    border-color: silver;
    color: silver;
}
.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    float:left;
    font-size:10px;
}
.sp-preview
{
    position:relative;
    width:25px;
    height: 20px;
    border: solid 1px #222;
    margin-right: 5px;
    float:left;
    z-index: 0;
}

.sp-palette
{
    *width: 220px;
    max-width: 220px;
}
.sp-palette .sp-thumb-el
{
    width:16px;
    height: 16px;
    margin:2px 1px;
    border: solid 1px #d0d0d0;
}

.sp-container
{
    padding-bottom:0;
}


/* Buttons: http://hellohappy.org/css3-buttons/ */
.sp-container button {
  background-color: #eeeeee;
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}
.sp-container button:hover {
    background-color: #dddddd;
    background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd;
}
.sp-container button:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
.sp-cancel
{
    font-size: 11px;
    color: #d93f3f !important;
    margin:0;
    padding:2px;
    margin-right: 5px;
    vertical-align: middle;
    text-decoration:none;

}
.sp-cancel:hover
{
    color: #d93f3f !important;
    text-decoration: underline;
}


.sp-palette span:hover, .sp-palette span.sp-thumb-active
{
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el
{
    position:relative;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner
{
    display:block;
    position:absolute;
    top:0;left:0;bottom:0;right:0;
}

.sp-palette .sp-thumb-inner
{
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner
{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner
{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}