html,
body {
    background: #000;
    color: #fff;
    font-family: Ubuntu, serif;
    min-height: 100%;
    min-width: 100%;
    margin: 0;
    overflow: hidden;
}
a { 
	color: #fff;
}
a:hover {
	color: #ff5555
}

/* Content */

div.everything {
	position: absolute; z-index: 1; width: 100%; height: 100%;
}

div#main {
	height: 100%;
    width: 100%;
}
span.default {
    color: #fff;
    font-size: 18px;
    line-height: 1.5em;
    padding: 15px;
    position: absolute;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 1;
	height: 100%;
	top: 20px;
	left: 305px;
	width: 650px;
	height: 100%;
	border-radius: 10px;
}
span.default h1 {
    display: block;
    font-size: 50px;
    font-weight: normal;
    left: -2px;
    line-height: 1em;
    margin: 0 0 18px;
    position: relative;
    top: 14px;
}

/* Sidebar */

div#sidebar {
	cursor: move;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
    background: #000;
    color: #fff;
    padding: 0 0;
    position: absolute;
    width: 265px;
    top: 20px;
    left: 20px;
    border-radius: 10px;
    border: 1px solid #000;
    z-index: 1000;
}
div#sidebar img {
	margin: 10px 5px 0;
	cursor: pointer;
}
div#sidebar .colorStop {
    border: 1px solid #000;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    margin: 5px 0 0 5px;
    width: 20px;
}
div#sidebar .colorStopControl {
    cursor: pointer;
    height: 25px;
    margin: 5px 0 0 5px;
    width: 25px;
}
div#sidebar .formSpan {
    display: inline-block;
    padding-right: 10px;
    text-align: right;
    width: 100px;
}
div#sidebar .header {
	font-weight: bold;
    background: rgba(0,0,0,0.1);
	background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #000), color-stop(1, #555) );
    color: #fff;
    padding: 5px 10px 8px 10px;
    border-radius: 10px;
    text-shadow: none;
}
div#sidebar .header img {
	margin: 5px 0 0 5px;
}
div#sidebar .swatches {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
	border-radius: 10px;
    background: rgba(0,0,0,0.1);
    padding: 0 5px 5px;
}
div#sidebar .swatches div {
	border: 1px solid rgba(255,255,255,0.5);
}

div#sidebar #textures {
	border: 2px solid rgba(255,255,255,0.5);
	background: #fff;
	cursor: pointer;
	z-index: 1000;
	height: 50px;
	width: 248px;
	overflow: scroll;
	margin-bottom: 5px;
}
div#sidebar #textures canvas {
	opacity: 0.85;
	border: 2px solid rgba(0,0,0,0);
}
div#sidebar #textures canvas:hover {
	opacity: 1;
}


/* CSS Output */

div#csscode {
	line-height: 1.5em;
	display: none; width: 100%; height: 100%; background: rgba(0,0,0,0.7); position: absolute; z-index: 10;
}
div#csscode div#foxybox {
	height: 100%; position: relative; z-index: 10; background: #000; 
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
	border-radius: 10px; font-size: 16px; color: #fff; padding: 10px;
}
div#csscode img {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-right: 5px;
    max-width: 46%;
    max-height: 40%;
    margin: 0 2% 2%;
    position: relative;
    z-index: 2;
}

/* FORMS */

div#sidebar input[type="range"] {
    position: relative;
    top: 5px;
	-webkit-appearance: none;
	background: #444;
	border-radius: 5px;
	min-height: 15px;
	min-width: 130px;
	cursor: crosshair;
	padding: 0;
}
div#sidebar input[type='range']::-webkit-slider-thumb {  
	-webkit-appearance: none;  
	background-color: #fff;  
	border-radius: 10px;
	width: 15px;  
	height: 15px;  
}
div#sidebar input {
	color: #fff;
	background: #000;
	border-radius: 5px;
	min-height: 15px;
	min-width: 130px;
	padding: 5px 7px;
	border: 1px solid #555;
}

input#url {
	color: #fff;
	background: #000;
	border-radius: 5px;
	min-height: 15px;
	min-width: 130px;
	padding: 10px;
	border: 1px solid #555;
}

.downloadifyContainer div.downloadify {
	float: right; 
	margin: 10px 10px;
	white-space: nowrap;
}

#csscode div.downloadify {
    font-family: Ubuntu, serif;
	float: left;
	margin: 0;
}

div#sidebar input[type="submit"], input[type="submit"], .downloadifyContainer div.downloadify {
	color: #d9eef7;
	min-width: 244px;
	max-width: 244px;
	padding: 0.65em 0;
	border-radius: 5px;
	border: solid 1px #0076a3;
	background: #0095cd;
	background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
	background: -moz-linear-gradient(top,  #00adee,  #0078a5);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
    font-size: 16px;
    text-shadow: 1px 1px #222;
    cursor: pointer;
}
div#sidebar input[type="submit"]:hover, input[type="submit"]:hover {
	background: #007ead;
	background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
	background: -moz-linear-gradient(top,  #0095cc,  #00678e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095cc', endColorstr='#00678e');
}
div#sidebar input[type="submit"]:active, input[type="submit"]:active {
	color: #000;
	background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
	background: -moz-linear-gradient(top,  #0078a5,  #00adee);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0078a5', endColorstr='#00adee');
}