#main > ul#color-tablist
{
	font-family: '微软雅黑', sans-serif;
	font-weight: bold;
	height: 40px;
	line-height: 40px;
	font-size: 0;
	background-color: rgb(56, 164, 90);
	padding-left: 10px;
}

#main > ul#color-tablist > li
{
	display: inline-block;
	font-size: 16px;
	width: 100px;
	text-align: center;
	color: white;
	border-right: 2px solid white;
	position: relative;
	cursor: pointer;
}

html:lang(en) #main > ul#color-tablist > li
{
	width: auto;
	padding: 0 15px;
}

#main > ul#color-tablist > li[aria-selected=true]
{
	background-color: white;
	color: black;
}

/*兼容IE8，IE8不识别双冒号的伪元素选择器*/
#main > ul#color-tablist > li[aria-selected=true]:before
{
	height: 4px;
	width: 100%;
	background-color: rgb(255, 153, 0);
	position: absolute;
	left: 0;
	top: 0;
	content: "";
}

#main > ul#color-tablist > li[aria-selected=true]::before
{
	height: 4px;
	width: 100%;
	background-color: rgb(255, 153, 0);
	position: absolute;
	left: 0;
	top: 0;
	content: "";
}

#main > div#main-color-area
{
	margin: 25px 0 25px;
	padding-left: 10px;
	font-size: 0;
}

#main > div#main-color-area > div#color-selector
{
	float: left;
	margin-right: 25px;
	height: 50px;
	width: 100px;
}

#main > div#main-color-area > input#color-input
{
	border: 2px solid #e5e5e5;
	padding-left: 1em;
	font-size: 16px;
	line-height: 46px;
	height: 46px;
	width: 500px;
	text-transform: uppercase;
}

#main > div#main-color-area > input#color-input:focus
{
	border-color: #0dad51;
}

#main > div#main-color-area > div#list-search-hints
{
	position: relative;
	display: inline;
	line-height: 0;
	vertical-align: top;
}

#main > div#main-color-area > div#list-search-hints > ul
{
	position: absolute;
	left: -520px;
	top: 50px;
	font-size: 14px;
	line-height: 21px;
	width: 520px;
	text-align: left;
	cursor: pointer;
	text-transform: capitalize;
	z-index: 10;
}

#main > div#main-color-area > div#list-search-hints > ul > li
{
	padding-left: 12px;
	border: 2px dotted transparent;
}

#main > div#main-color-area > div#color-name-area
{
	margin-left: 25px;
	padding: 0 20px;
	height: 46px;
	line-height: 46px;
	font-size: 16px;
	display: inline-block;
	border-radius: 6px;
	border: 2px solid;
	max-width: 225px;
	white-space: nowrap;
	text-transform: capitalize;
}

#main > div#frontpage-tabpanel > ul#color-solutions
{
	margin-top: 10px;
	font-size: 0;
	line-height: 0;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li
{
	display: inline-block;
	height: 60px;
	padding: 10px 0;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	position: relative;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li:hover
{
	z-index: 1;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li > span.color-msg
{
	display: inline-block;
	background-color: white;
	width: 150px;
	border-radius: 20px;
	opacity: 0.7;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li > span.color-spinner-wrapper
{
	display: none;
	position: absolute;
	left: 5px;
	top: 15px;
	height: 30px;
	border-radius: 3px;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li:hover > span.color-spinner-wrapper
{
	display: block;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li > span.color-spinner-wrapper > input
{
	width: 55px;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li > span.copy-helper
{
	display: none;
	position: absolute;
	text-align: center;
	right: 5px;
	top: 15px;
	height: 22px;
	padding: 2px 10px;
	line-height: 20px;
	background-color: white;
	border-radius: 3px;
	background-color: white;
	opacity: 0.7;
	cursor: default;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li:hover > span.copy-helper
{
	display: block;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li > span.copy-helper > span
{
	cursor: pointer;
	position: absolute;
	left: -10000px;
	top: -10000px;
	line-height: 20px;
	height: 25px;
	padding: 2px 10px;
	background-color: white;
	opacity: 0.7;
	white-space: nowrap;
	border-radius: 3px;
	opacity: 0;
	transition: opacity 0.3s;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li > span.copy-helper:hover > span:first-child
{
	left: auto;
	right: 0;
	top: -22px;
	opacity: 1;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li > span.copy-helper:hover > span:nth-child(2)
{
	left: auto;
	right: 0;
	top: 22px;
	opacity: 1;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#inverse-color
{
	width: 33%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#saturated-color
{
	width: 34%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#gray-color
{
	width: 33%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#brighter-color
{
	width: 33%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#initial-color
{
	width: 34%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#darker-color
{
	width: 33%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#contrast-color
{
	width: 33%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#unsaturated-color
{
	width: 34%;
}

#main > div#frontpage-tabpanel > ul#color-solutions > li#safe-color
{
	width: 33%;
}

#main > div#frontpage-tabpanel > ul.color-spaces
{
	margin-top: 10px;
	line-height: 30px;
}

#main > div#frontpage-tabpanel > ul.color-spaces > li
{
	float: left;
	margin-right: 20px;
}

#main > div#frontpage-tabpanel > ul.color-spaces > li:last-child
{
	float: none;
}

#main > div#frontpage-tabpanel > ul.color-spaces .space-name
{
	height: 30px;
	font-size: 20px;
	font-weight: bold;
}

#main > div#frontpage-tabpanel > ul.color-spaces .channel-name
{
	display: inline-block;
	height: 30px;
	width: 20px;
}

#main > div#frontpage-tabpanel > ul.color-spaces .channel-val
{
	height: 25px;
	width: 30px;
	margin-right: 15px;
	text-align: center;
}

#main > div#frontpage-tabpanel > ul.color-spaces .channel-range
{
	height: 30px;
	width: 200px;
	vertical-align: bottom;
	display:inline;
}

#main > div#degress-tabpanel,
#main > div#matches-tabpanel,
#main > div#blindness-tabpanel
{
	display: none;
}

#main > div#degress-tabpanel
{
	font-size: 0;
	text-align: center;
}

#main > div#degress-tabpanel > div#degress-inner-wrapper
{
	display: inline-block;
}

#main > div#degress-tabpanel > div#degress-inner-wrapper > div.adjustment-wrapper
{
	display: inline-block;
}

#main > div#degress-tabpanel > div#degress-inner-wrapper > div.adjustment-wrapper > h3
{
	font-size: 20px;
	font-weight: bold;
	line-height: 40px;
	margin-top: 10px;
	color: #333;
}

#main > div#degress-tabpanel > div#degress-inner-wrapper > div.adjustment-wrapper > ul.adjustment-list
{
	display: inline-table;
	border-collapse: separate;
	border-spacing: 10px;
}

#main > div#degress-tabpanel .adjustment-list .copy-helper-area > input
{
	width: 50px;
	text-align: center;
	color: #555;
}

#main > div#degress-tabpanel .adjustment-list .copy-helper
{
	cursor: pointer;
	display: inline-block;
	padding: 5px;
}

#main > div#degress-tabpanel .adjustment-list .copy-helper:hover
{
	color: #0dad51;
}

#main > div#degress-tabpanel > div#degress-inner-wrapper > div.adjustment-wrapper > ul.adjustment-list > li
{
	display: table-cell;
	height: 112px;
	width:176px;
	border: 2px solid #555;
	border-radius: 3px;
	font-size: 18px;
	line-height: 56px;
}

#main > div#degress-tabpanel > div#degress-inner-wrapper > div.adjustment-wrapper > ul.adjustment-list > li > span.id-area
{
	display: inline-block;
	width: 100%;
	height: 56px;
}

#main > div#degress-tabpanel > div#detailed-adjustment-list-wrapper
{
	display: table;
	margin: 0 auto;
}

#main > div#degress-tabpanel div.detailed-adjustment-list
{
	height: 80px;
	width: 390px;
	display: table-cell;
	text-align: center;
}

#main > div#degress-tabpanel div.detailed-adjustment-list > div.detailed-adjustment-listitems
{
	display: inline-block;
}

#main > div#degress-tabpanel div.detailed-adjustment-list > div.detailed-adjustment-listitems > h4
{
	font-size: 20px;
	font-weight: bold;
	line-height: 50px;
	background-color: #eee;
	color: #333;
	width: 184px;
	display: inline-block;
}

#main > div#degress-tabpanel div.detailed-adjustment-list > div.detailed-adjustment-listitems:first-child > h4
{
	padding-right: 2px;
	background: url(images/title-line.png) 100% 50% no-repeat #eee;
}

#main > div#degress-tabpanel div.detailed-adjustment-list > div.detailed-adjustment-listitems > ul
{
	margin-top: 10px;
	font-size: 14px;
	line-height: 35px;
}

#main > div#degress-tabpanel div.detailed-adjustment-list > div.detailed-adjustment-listitems > ul > li
{
	height: 35px;
	border-bottom: 1px solid white;
}

#main > div#degress-tabpanel span.listitem-color-area
{
	display: inline-block;
	width: 71%;
	height: 100%;
}

#main > div#degress-tabpanel span.listitem-precentage
{
	vertical-align: top;
	display: inline-block;
	width: 23%;
	height: 100%;
	box-sizing: border-box;
	border: 1px solid #ddd;
	margin-left: 2px;
	cursor: pointer;
}

#main > div#matches-tabpanel > form
{
	background-color: #84e090;
	text-align: center;
	width: 330px;
	float: left;
	padding-bottom: 10px;
}

#main > div#matches-tabpanel > form > h3
{
	font-weight: bold;
	font-size: 18px;
	padding: 10px;
}

#main > div#matches-tabpanel div#match-setting-form
{
	display: table;
	font-size: 16px;
	border-collapse: separate;
	border-spacing: 10px;
	border-radius: 5px;
	text-align: left;
}

#main > div#matches-tabpanel div#match-setting-form > div
{
	display: table-row;
}

#main > div#matches-tabpanel div#match-setting-form > div > div
{
	display: table-cell;
	height: 40px;
	line-height: 40px;
}

#main > div#matches-tabpanel div#match-setting-form > div > div:first-child
{
	text-align: right;
}

#main > div#matches-tabpanel div#match-setting-form > div > div > span
{
	display: inline-block;
	margin-right: 15px;
}

#main > div#matches-tabpanel button#generate-matches
{
	all: unset;
	appearance: none;
	background-color: #d8f8d8;
	border: 1px solid #eee;
	font-size: 16px;
	line-height: 30px;
	height: 30px;
	min-width: 50px;
	cursor: pointer;
	border-radius: 5px;
	padding: 0 5px;
}

#main > div#matches-tabpanel button#generate-matches:hover
{
	background-color: #0dad51;
	color: white;
	text-decoration: underline;
}

#main > div#matches-tabpanel div#match-result-area
{
	margin: 10px 0 0 350px;
	text-align: center;
	/*background-color: rgb(80, 211, 97);*/
}

#main > div#matches-tabpanel li.match-result-item
{
	display: inline-block;
	line-height: 35px;
	height: 70px;
	width: 160px;
	margin-right: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	text-align: center;
}

#main > div#matches-tabpanel li.match-result-item > a
{
	display: inline-block;
	height: 100%;
	width: 100%;
	color: inherit;
}

#main > div#matches-tabpanel div#copy-match-menu
{
	text-align: center;
}

#main > div#matches-tabpanel div#copy-match-menu > button:first-child
{
	margin-right: 30px;
}

#main > div#matches-tabpanel button.copy-matches
{
	all: unset;
	appearance: none;
	background-color: #d8f8d8;
	border: 1px solid #eee;
	font-size: 16px;
	line-height: 30px;
	height: 30px;
	min-width: 50px;
	cursor: pointer;
	border-radius: 5px;
	padding: 0 5px;
}

#main > div#matches-tabpanel button.copy-matches:hover
{
	background-color: #0dad51;
	color: white;
	text-decoration: underline;
}

#main > div#blindness-tabpanel > ul
{
	text-align: center;
	font-size: 0;
}

#main > div#blindness-tabpanel > ul > li
{
	display: inline-block;
	margin-top: 10px;
	height: 150px;
	width: 400px;
	line-height: 0;
	position: relative;
}

/*兼容IE8*/
#main > div#blindness-tabpanel > ul > li:before
{
	position: absolute;
	left: 65px;
	top: 0;
	width: 270px;
	height: 80px;
	opacity: 0.7;
	background-color: white;
	content: "";
	font-size: 0;
}

#main > div#blindness-tabpanel > ul > li::before
{
	position: absolute;
	left: 65px;
	top: 0;
	width: 270px;
	height: 80px;
	opacity: 0.7;
	background-color: white;
	content: "";
	font-size: 0;
}

#main > div#blindness-tabpanel > ul > li > span.blindness-type
{
	line-height: 50px;
	font-size: 25px;
	position: relative;
}

#main > div#blindness-tabpanel > ul > li > span.blindness-type > span.blindness-remark
{
	font-size: 15px;
	position: relative;
}

#main > div#blindness-tabpanel > ul > li > span.blindness-value
{
	line-height: 30px;
	font-size: 15px;
	position: relative;
}

#main > div#blindness-tabpanel > ul > li:nth-child(odd)
{
	margin-right: 10px;
}