/* ------------------------------------------
 * IT书包
 * 网址：www.itshubao.com
 * 整理：yinq<3331653644@qq.com> 
 -------------------------------------------- */

/* reset */
html, body, div, span, applet, object, iframe,  h1, h2, h3, h4, h5, h6, p, blockquote, pre,  a, abbr, acronym, address, big, cite, code,  del, dfn, em, img, ins, kbd, q, s, samp,  small, strike, strong, sub, sup, tt, var,  b, u, i, center,  dl, dt, dd, ol, ul, li,  fieldset, form, label, legend,  table, caption, tbody, tfoot, thead, tr, th, td,  article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary,  time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,  footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,  q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* CSS */
body {
	background-color: #222;
	margin-bottom: 25px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* rule box */
.rule-box {
	position: absolute;
	top: 100px;
	left: 50px;
	box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.5);
	background-color: #444;
}
.rule-box h4 {
	color: #BBB;
	font-size: 14pt;
	margin: 0;
	padding: 10px;
	background-color: #333;
}
#rules {
	color: #AAA;
	margin: 0;
	padding: 10px;
	list-style: none;
}
#rules li {
	cursor: pointer;
	margin: 10px;
}
#rules li:hover {
	color: #DDD;
}
#rules li.active, #rules li.active:hover {
	color: #EEE;
}
/* picker canvas */
.canvas {
	text-align: center;
}
/* samples */
.samples {
	text-align: center;
}
.samples .col {
	width: 225px;
	display: inline-block;
	color: #CBCBCB;
	font-family: "Courier New", Courier, monospace;
	background-color: #555;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	margin-left: -4px;
}
.samples .col:first-of-type {
	margin-left: 0;
}
.samples .selected {
	border: 1px solid #FFF;
}
.samples .input-group {
	margin: 5px auto;
}
.samples .input-group input[type="text"] {
	color: #CBCBCB;
	font-size: 85%;
	text-align: center;
	padding: 6px 0px;
	background-color: #222;
	border: 0 none;
}
.samples .hex {
	width: 98px;
}
.samples .rgb {
	width: 30px;
	margin-left: -6px;
}
.samples .rgb:first-of-type {
	margin-left: 0;
}
.samples .sample {
	height: 175px;
}
