* {
	-webkit-user-select: none;
}

#content {
	width: 600px;
	margin: 0 auto;
}

#gradient-generator {
	position: relative;
}

#gradient {
	margin: 10px;
	background: -webkit-gradient(linear, left top, right top, from(#00abeb), to(#000));
	height: 50px;
}

.point {
	width: 10px;
	height: 20px;
	border: 4px solid #fff;
	float: left;
	-webkit-border-radius: 2px;
	-webkit-box-shadow: #000 0 0 2px;
	background: #ddd;
	top: 40px;
	position: absolute;
	z-index: 2;
	cursor: pointer;
}

.point.sel {
	-webkit-box-shadow: #026 0 0 6px;
}

#sliders {
	margin: 40px auto;
	width: 390px;
}

.slider {
	height: 4px;
	width: 240px;
	background: #ddd;
	margin-top: 20px;
	margin-left: 55px;
	position: relative;
	-webkit-border-radius: 2px;
}

.knob {
	width: 18px;
	height: 18px;
	background: #aaa;
	-webkit-box-shadow: #000 0 1px 2px;
	position: absolute;
	top: -7px;
	-webkit-border-radius: 9px;
	cursor: pointer;
}

#red {
	background: -webkit-gradient(linear, left top, right top, color-stop(0, #880000), color-stop(1, #ff827f));
}

#red .knob {
	background: -webkit-gradient(linear, 0% 100%, 0% 0%, from(rgb(255, 14, 46)), to(rgb(255, 191, 190)));
}

#green {
	background: -webkit-gradient(linear, left top, right top, color-stop(0, #004c00), color-stop(1, #cfffbf));
}

#green .knob {
	background: -webkit-gradient(linear, right bottom, right top, color-stop(0, #48ed3d), color-stop(1, #cfffca));
}

#blue {
	background: -webkit-gradient(linear, left top, right top, color-stop(0, #003473), color-stop(1, #c0d8ff));
}

#blue .knob {
	background: -webkit-gradient(linear, right bottom, right top, color-stop(0, #206bda), color-stop(1, #bad2ff));
}

#demobox {
	width: 78px;
	height: 78px;
	background: #000;
	float: right;
	margin-top: -13px;
	border: 1px solid #fff;
}

.gradient-option {
	width: 78px;
	height: 78px;
	background: #000;
	float: left;
	margin: 7px;
	margin-bottom: 13px;
	padding: 1px;
	border: 4px solid #fff;
	-webkit-user-select: none;
	cursor: pointer;
}

.option-selected {
	border-color: #666;
}

#inputs {
	display: block;
	padding: 4px;
	width: 30px;
	float: left;
	margin-top: -13px;
	-webkit-user-select: text;
}

#inputs input {
	padding: 2px;
	-webkit-user-select: text;
	color: #666;
	border: 1px solid #bbb;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ddd), color-stop(0.05, #ffffff));
	-webkit-border-radius: 2px;
}


textarea {
	display: block;
	width: 380px;
	height: 90px;
	padding: 10px;
	line-height: 16px;
	-webkit-user-select: text;
	-webkit-border-radius: 5px;
	border: 1px solid #888;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ddd), color-stop(0.05, #ffffff));
	resize: none;
}

#output {
	width: 412px;
	margin: 0 auto;
	-webkit-user-select: text;
}