body {
	margin: 0;
	padding: 0;
	font-family: "Helvetica Nueue", Helvetica, Arial;
	background: #ccc;
	font-size: 16px;
	line-height: 1em;
	color: #fff;
	background: #222;
	background:
		-webkit-gradient(
            linear,
            left top,
            right bottom,
            color-stop(0, rgb(41,41,41)),
            color-stop(0.8, rgb(34,34,34))
        );
	background:
		-moz-linear-gradient(
            left top,
            rgb(41,41,41) 0%,
            rgb(34,34,34) 80%
        );
}
.clear:after {
    content: ".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
    }


#primary {
    position: relative;
    margin: 0;
    padding: 4.375em 0 0 0;
}
/* HEADER */
#header {
    width: 100%;
	height: 4.375em;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	margin: 0;
	padding: 0;
}
#logo {
    position: absolute;
    top: .625em;
    left: .625em;
	width: 140px;
	height: 27px;
	margin: 0;
	padding: 0;
	z-index: 100;
}
#logo a {
	display: block;
	width: 140px;
	height: 27px;
	text-indent: -50000px;
	background: url(../img/logo.png) 0 0 no-repeat;
}
#css_path_form {
	display: block;
	position: absolute;
	width: 100%;
}
#css_path_wrapper {
    display: block;
    height: 2.5em;
	margin: .875em 226px 0 180px;
	padding: 0;
	border: rgba(255,255,255, .1) solid 1px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#css_path_buffer {
    margin-right: 102px;
}
#css_path {
    width: 100%;
    height: 1.5em;
    margin: .375em 0 0 0;
    padding: 0;
	font-size: 1em;
	text-indent: 1em;
	color: #aaa;
	border: none;
	background: none;
}
#css_path:hover {
    color: #bcbcbc;
    text-shadow: rgba(255,255,255, .25) 0 1px 6px;
}
#css_path:focus {
    outline: none;
    color: #ddd;
    text-shadow: rgba(255,255,255, .75) 0 1px 6px;
}
.hasJS #submit_button {
    display: none;
}
#submit_link {
	display: block;
	position: absolute;
	z-index: 101;
	top: 20px;
	right: 232px;
	width: 88px;
	
}
.button {
    height: 28px;
	text-align: center;
	font-size: 9px;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	color: #aaa;
	text-shadow: rgba(17,17,17,.75) 0 0 2px;
	line-height: 28px;
	border: #333 solid 1px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
    background: #1d1d1d;
}
.button:hover {
    color: #fff;
    text-shadow: rgba(255,255,255, .2) 0 0 4px;
    border-color: #3b3b3b;
    background: #1d1d1d;
    -webkit-box-shadow: rgba(255,255,255, .05) 0 0 6px;
    -moz-box-shadow: rgba(255,255,255, .05) 0 0 6px;
    box-shadow: rgba(255,255,255, .05) 0 0 6px;
}


#css_instructions {
    margin: .875em 1em 1em 1em;
}
#css_instructions p {
    font-size: .625em;
    margin: 0;
    padding: 0;
    color: #666;
}
/* ACTIONS */
#actions {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 60;
	width: 210px;
	height: 4.375em;
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#actions.visible {
    display: block;
}

#actions li {
	width: 190px;
	float: left;
	margin: .875em 0 0 10px;
}
#actions li a, #actions li > span {
	display: block;
	width: 188px;
	/*
	background: url(../img/button_icons.png) 50% 0 no-repeat,
		-webkit-gradient(
		    linear,
		    left top,
		    left bottom,
		    color-stop(0, rgb(224,224,224)),
		    color-stop(1, rgb(176,176,176))
		);
	background: url(../img/button_icons.png) 50% 0 no-repeat,
		-moz-linear-gradient(
		    center top,
		    rgb(224,224,224) 0%,
		    rgb(176,176,176) 100%
		);
	*/
}
#action_download.button {
    height: 40px;
    line-height: 40px;
    color: #333;
    text-shadow: rgba(255, 255, 255, .75) 0 0 2px;
	border: #aaa solid 1px;
    background: rgba(255,255,255, .4);
    
    -webkit-box-shadow: inset rgba(255,255,255, 1) 1px 1px 2px;
    -moz-box-shadow: inset rgba(255,255,255, 1) 1px 1px 2px;
    box-shadow: inset rgba(255,255,255, 1) 1px 1px 2px;
    
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
a#action_download.button:hover {
    color: #222;
    background: rgba(255,255,255, .6);
    -webkit-box-shadow: inset rgba(255,255,255, 1) 1px 1px 2px, rgba(0,0,0,.1) 1px 1px 2px;
    -moz-box-shadow: inset rgba(255,255,255, 1) 1px 1px 2px, rgba(0,0,0,.1) 1px 1px 2px;
    box-shadow: inset rgba(255,255,255, 1) 1px 1px 2px, rgba(0,0,0,.1) 1px 1px 2px;
}
a#action_download.button:active {
    -webkit-box-shadow: inset rgba(0,0,0,.2) 1px 1px 2px;
    -moz-box-shadow: inset rgba(0,0,0,.2) 1px 1px 2px;
    box-shadow: inset rgba(0,0,0,.2) 1px 1px 2px;
}
#actions li > span {
    text-indent: -50000px;
	opacity: .25;
}
#actions li a {
	cursor: pointer;
}
#actions li a#action_reset, #actions li span#action_reset {
	background-position: 50% -50px, 0 0;
}

/* COLOR OVERVIEW */
#color_list {
	margin: 0 210px 0 1em;
	padding: 0;
	list-style-type: none;
	
}
.color {
	display: block;
	position: relative;
	margin: 0 1em .5em 0;
	padding: 0;
	height: 4.375em;
	
	-webkit-box-shadow: rgba(0,0,0,.5) 0 1px 10px;
	-moz-box-shadow: rgba(0,0,0,.5) 0 1px 10px;
	box-shadow: rgba(0,0,0,.5) 0 1px 10px;
}
.color:hover {
	cursor: pointer;
}
.color_value {
	display: none;
}
.color:hover .color_value, .color_selected .color_value {
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 1.5em;
	margin: 0 0 0 -4em;
	padding: 0;
	width: 8em;
	height: 2em;
	line-height: 2em;
	font-size: .875em;
	letter-spacing: .5px;
	color: #fff;
	text-decoration: none;
	text-align: center;
	/*
	text-shadow: rgba(0,0,0, .75) 0 0 .5em;
	*/
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: rgba(0,0,0, .25);
	
}
.color.color_selected:hover .color_value, .color_selected .color_value {
    margin-left: -4.5em;
	background: rgba(0,0,0, .5);
}
.color_selected {
    margin-right: .5em;
    -webkit-transition: margin-right 100ms ease-out;
    -moz-transition: margin-right 100ms ease-out;
    transition: margin-right 100ms ease-out;
    /*
	background-image: url(../img/color_value_selected_bg.png);
	background-position: right 50%;
	background-repeat: no-repeat;
	*/
}
/*
.color_value {
	display: block;
	position: absolute;
	font-size: 14px;
	top: 1.25em;
	right: 30px;
	margin: 0;
	padding: 0;
	width: 140px;
	height: 2em;
	text-align: center;
	line-height: 2em;
	background: rgba(0,0,0,0.4);
	color: #fff;
	text-decoration: none;
	opacity: 0.3;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	border-radius: 1em;
}
.color:hover .color_value {
	opacity: 1.0;
}
.color_selected .color_value {
	opacity: 1;
}
.color span {
	display: block;
	position: relative;
	right: 210px;
	height: 4em;
	z-index: 30000;
}

*/
.color .color_instance_list {
	display: none;
}


/* COlOR PICKER */
.colorpicker {
	position: relative;
	float: right;
	margin: 4.375em 10px 10px 0;
	width: 190px;
}


/* SIDEBAR */
#sidebar {
	position: fixed;
	z-index: 200;
	top: 0;
	right: 0;
	width: 210px;
	height: 100%;
	-webkit-box-shadow: rgba(0,0,0,.75) 0 0 16px;
	-moz-box-shadow: rgba(0,0,0,.75) 0 0 16px;
	box-shadow: rgba(0,0,0,.75) 0 0 16px;
	/*
	border-left: 4px solid rgba(0,0,0,0.15);
	background: -webkit-gradient(
	    linear,
	    left bottom,
	    right bottom,
	    color-stop(0, rgb(220,220,220)),
	    color-stop(1, rgb(204,204,204))
	);
	background: -moz-linear-gradient(
	    left center,
	    rgb(220,220,220) 0%,
	    rgb(204,204,204) 100%
	);
	*/
	background: url(../img/sidebar_bg.png) right top repeat-y;
	
}
#colorpicker_wrapper {
	position: relative;
	width: 190px;
	margin: 4.375em 10px 0 0;
}

#sidebar .color_instance_list {
	float: right;
	width: 190px;
	height: auto;
	margin-right: 10px;
	padding: 10px 0 0;
	font-size: 11px;
	list-style-type: none;
	border-top: 1px solid #bbb;
	overflow: hidden;
	word-wrap: break-word;
}
.color_instance {
	margin-bottom: 1em;
	color: #555;
}
.color_instance strong {
	display: block;
	font-weight: bold;
	color: #333;
}

/* FOOTER */
#footer {
	position: relative;
	width: 100%;
	height: 185px;
	margin: 0;
	padding: 0;
}
#bookmarklet {
	position: absolute;
	top: 30px;
	left: 16px;
	width: 570px;
	height: 86px;
	border-right: #2e2e2e solid 1px;
	background: url(../img/bookmarklet_back.png) 371px 0 no-repeat;
}
#bookmarklet p {
	width: 360px;
	margin: -6px 0 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 32px;
	color: #ddd;
}
#bookmarklet_link {
	display: inline-block;
	margin: 0;
	padding: 0 12px;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
}
#credits {
	position: absolute;
	top: 30px;
	left: 606px;
	width: 370px;
	height: 86px;
}
#credits p {
	margin: -6px 0 0 0;
	padding: 0;
	font-size: 12px;
	line-height: 32px;
	color: #666;
}
#credits p a {
	color: #aaa;
	text-decoration: none;
}
#credits p a:hover {
	color: #fff;
}
#jump_link {
	position: absolute;
	top: 141px;
	left: 16px;
	font-size: 14px;
	line-height: 14px;
	color: #444;
}
#jump_link a {
	color: #666;
	text-decoration: none;
}
#jump_link a:hover {
	color: #fff;
}