

/* 阻止文本和块选择 */
input.labelauty + label ::selection { background-color: rgba(255, 255, 255, 0); }
input.labelauty + label ::-moz-selection { background-color: rgba(255, 255, 255, 0); }

/* 隐藏原始复选框。 */
input.labelauty { display: none !important; }

/*为输入设置样式*/
input.labelauty + label
{
	display: table;
	font-size: 13px;
	padding: 10px;
	background-color: #fff;
	border:1px solid #cfcfcf;
	color: #434343;
	cursor: pointer;

	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius:0px;


	transition: background-color 0.25s;
	-moz-transition: background-color 0.25s;
	-webkit-transition: background-color 0.25s;
	-o-transition: background-color 0.25s;

	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}

/* 标签内的时尚文本 */

input.labelauty + label > span.labelauty-unchecked,
input.labelauty + label > span.labelauty-checked
{
	display: inline-block;
	line-height: 16px;
	vertical-align: bottom;
}

/* 标签内的时尚图标 */

input.labelauty + label > span.labelauty-unchecked-image,
input.labelauty + label > span.labelauty-checked-image
{
	display: inline-block;
	float:right;
	width: 16px;
	height: 16px;
	vertical-align: bottom;
	background-repeat: no-repeat;
	background-position: right bottom;
	position: relative;
	bottom: -13px;
	right: -11px;
	
	transition: background-image 0.5s linear;
	-moz-transition: background-image 0.5s linear;
	-webkit-transition: background-image 0.5s linear;
	-o-transition: background-image 0.5s linear;
}

/* 当有标签时，在左边加一点边距 */
input.labelauty + label > span.labelauty-unchecked-image + span.labelauty-unchecked,
input.labelauty + label > span.labelauty-checked-image + span.labelauty-checked
{
	margin-left: 7px;
}

/* 鼠标划过未选中 */
input.labelauty:not(:checked):not([disabled]) + label:hover
{
	background-color: #eaeaea;
	color: #a7a7a7;
}
input.labelauty:not(:checked) + label > span.labelauty-checked-image
{
	display: none;
}

input.labelauty:not(:checked) + label > span.labelauty-checked
{
	display: none;
}

/* 选中时 */
input.labelauty:checked + label
{
	background-color: #fff;
	color: #fb8b37;
	border:1px solid #fb8b37;
}

input.labelauty:checked:not([disabled]) + label:hover
{
	background-color: #fff;
	color: #fb8b37;
	border:1px solid #fb8b37;
}
input.labelauty:checked + label > span.labelauty-unchecked-image
{
	display: none;
}

input.labelauty:checked + label > span.labelauty-unchecked
{
	display: none;
}

input.labelauty:checked + label > span.labelauty-checked
{
	display: inline-block;
}

input.labelauty.no-label:checked + label > span.labelauty-checked
{
	display: block;
}

/* 不可用时 */
input.labelauty[disabled] + label
{
	opacity: 0.5;
}

/* Add a background to (un)checked images */
input.labelauty + label > span.labelauty-unchecked-image
{
	background-image:none;
}

input.labelauty + label > span.labelauty-checked-image
{
	background-image: url(../img/selected.png);
}