/*!
 * LABELAUTY jQuery Plugin Styles
 *
 * @file: jquery-labelauty.css
 * @author: Francisco Neves (@fntneves)
 * @site: www.francisconeves.com
 * @license: MIT License
 */

/* Prevent text and blocks selection */
.dowebok1 input.labelauty + label ::selection { background-color: rgba(255, 255, 255, 0); }
.dowebok1 input.labelauty + label ::-moz-selection { background-color: rgba(255, 255, 255, 0); }

/* Hide original checkboxes. They are ugly! */
.dowebok1 input.labelauty { display: none !important; }

/*
 * Let's style the .dowebok2 input
 * Feel free to work with it as you wish!
 */
.dowebok1 input.labelauty + label
{
    display: table;
    font-size: 14px;
    padding: 0px;
    background-color: #dbe0e3;
    color: #1B1B1B;
    cursor: pointer;
    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;
    width: 100%;
    height: 100%;
    line-height: 30px;
}

/* Stylish text inside label */

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

/* Stylish icons inside label */

.dowebok1 input.labelauty + label > span.labelauty-unchecked-image,
.dowebok1 input.labelauty + label > span.labelauty-checked-image
{
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: bottom;
	background-repeat: no-repeat;
	background-position: left center;

	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;
}

/* When there's a label, add a little margin to the left */
.dowebok1 input.labelauty + label > span.labelauty-unchecked-image + span.labelauty-unchecked,
.dowebok1 input.labelauty + label > span.labelauty-checked-image + span.labelauty-checked
{
    margin-left: 7px;
}

/* When not Checked */
.dowebok1 input.labelauty:not(:checked):not([disabled]) + label:hover
{
	background-color: #eaeaea;
	color: #a7a7a7;
}
.dowebok1 input.labelauty:not(:checked) + label > span.labelauty-checked-image
{
	display: none;
}

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

/* When Checked */
.dowebok1 input.labelauty:checked + label
{
    background-color: #F08F2A;
    color: #ffffff;
}

.dowebok1 input.labelauty:checked:not([disabled]) + label:hover
{
    background-color: #EB963E;
}
.dowebok1 input.labelauty:checked + label > span.labelauty-unchecked-image
{
	display: none;
}

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

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

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

/* When Disabled */
.dowebok1 input.labelauty[disabled] + label
{
	opacity: 0.5;
}

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

.dowebok1 input.labelauty + label > span.labelauty-checked-image
{
	background-image: url( ../images/input-checked.png );
}
/*第二个按钮组件*/
.dowebok2 input.labelauty + label ::selection { background-color: rgba(255, 255, 255, 0); }
.dowebok2 input.labelauty + label ::-moz-selection { background-color: rgba(255, 255, 255, 0); }

/* Hide original checkboxes. They are ugly! */
.dowebok2 input.labelauty { display: none !important; }

/*
 * Let's style the .dowebok2 input
 * Feel free to work with it as you wish!
 */
.dowebok2 input.labelauty + label
{
	display: table;
	font-size: 11px;
	padding: 10px;
	background-color: #efefef;
	color: #b3b3b3;
	cursor: pointer;

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


	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;
}

/* Stylish text inside label */

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

/* Stylish icons inside label */

.dowebok2 input.labelauty + label > span.labelauty-unchecked-image,
.dowebok2 input.labelauty + label > span.labelauty-checked-image
{
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: bottom;
	background-repeat: no-repeat;
	background-position: left center;

	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;
}

/* When there's a label, add a little margin to the left */
.dowebok2 input.labelauty + label > span.labelauty-unchecked-image + span.labelauty-unchecked,
.dowebok2 input.labelauty + label > span.labelauty-checked-image + span.labelauty-checked
{
	margin-left: 7px;
}

/* When not Checked */
.dowebok2 input.labelauty:not(:checked):not([disabled]) + label:hover
{
	background-color: #eaeaea;
	color: #a7a7a7;
}
.dowebok2 input.labelauty:not(:checked) + label > span.labelauty-checked-image
{
	display: none;
}

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

/* When Checked */
.dowebok2 input.labelauty:checked + label
{
    background-color: #F08F2A;
    color: #ffffff;
}

.dowebok2 input.labelauty:checked:not([disabled]) + label:hover
{
    background-color: #EB963E;
}
.dowebok2 input.labelauty:checked + label > span.labelauty-unchecked-image
{
	display: none;
}

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

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

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

/* When Disabled */
.dowebok2 input.labelauty[disabled] + label
{
	opacity: 0.5;
}

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

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