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

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

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

/*
 * Let's style the input
 * Feel free to work with it as you wish!
 */
input.labelauty + label
{
	display: block;
	width: 100%;
	height: 100%;
	font-size: 11px;
	background-color: #efefef;
	color: #b3b3b3;
	text-align: center;
	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 */

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

/* Stylish icons inside label */

input.labelauty + label > span.labelauty-unchecked-image,
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;

	background-size: contain;
    background-position: center;
    height: 100%;
}

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

/* When not Checked */
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;
}

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

input.labelauty:checked:not([disabled]) + label:hover
{
	background-color: #72c5fd;
}
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;
}

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

/* Add a background to (un)checked images */
/* input.labelauty + label > span.labelauty-unchecked-image
{
	background-image: url( 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAACOCAMAAADQI8A6AAABSlBMVEUAAAB+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn6zBRfrAAAAbXRSTlMAAQIDBAUGBwgJCwwNDhAREhMUFRYXGBwdHyAhIyQmJygqKy4vMDIzNDU2OTo9P0BCTVJcYmNkZmdoaWx0dXt8f4CCg4WLjpGVl52epaaoqq23ur7AwcXHys7P0dXX2tze4ubo7e/x8/X3+fv9f5A5JAAAAe5JREFUGBntwVdTE2EUBuB3N4GEaEyIDbGgoFgQRIkRbGCJoiIWQLFQgjEGsu//v3Wc8Yqh7H7fOZsZ5jwPjDHGGGOMMcYYY4wxxhxp4dm7L1Za/Cdae1sd6UP3ZMcXuNva/X50xcl6xD2tjgVIW2WR+9uaCJCmcJYH+34a6Tm/yUM9CJCSJ4zjWxFpCBcYT2sA+nJfGFd0E9p615nAOHSFy0zkAlS9YzLtMhRNM6lGBmrOMLmX0BL8oIPLUDJDF1sZqCjQTQ0q6nTTyUFBga5qUPCIrtohxAW/6ewGxA3R3QeIm6OHLKQ16eEKhB2jjxkIu0YfnyFsij52IOwVveQg6xO9lCFrk17OQVaLXi5BVkQvw5D1h16GIKtBL4OQtUQvFciap5c8ZNXoIwog6xZ9fIWwEn08hrRtehiFtNf0kIO0UbpbhrjMDp1NQt4zuop6IK9CV7PQsEhHRWg4RTfPoaNOF+08dGR/0cEdaBlmcu+hp86k2nnoCVeY0EVo6t1gIhPQVWwxgSq0lRqMbQr68quMJ7qNNGQWGEdzECmZ3Oah3vQgNX0febDmdaRq5Cf3Fz3MIm1XV7i3VjWHbihPb3C3zvxIgK4pjj1d6vC/9fl7AyG6LlM40V863hvAGGOMMcYYY4wxxhhjzJH3F90iOiXv5ET/AAAAAElFTkSuQmCC' );
}

input.labelauty + label > span.labelauty-checked-image
{
	background-image: url( 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAgMAAADXB5lNAAAACVBMVEUAAAD///////9zeKVjAAAAAnRSTlMAQABPjKgAAAC2SURBVDjLzZOxFcMgFAOhYQJXTMM6YRqGoOGmTAGOv1SkTWiM9fD5cYiU/mBcHrzsPdM0KAwNKlODzjIECimgkAoK6SCQjAUF+6Ri0I7+9gvicsTLEEfCgzgSHkS9HzfiSAgIaIqAoQiYioAVN7JnYSN7bXCxp8HFXhxddM5Y0VzUWe5gRHWisyviA5lqN55INsSBLD/D6Uc0vAfNmrKsjtbHYmVLGe90X9b6apVOZfi9aL++um9/RbLzyPdwsQAAAABJRU5ErkJggg==' );
} */