.inline {
	display: inline-block!important;
	}
.radio label, .checkbox label {
	display: inline;
	font-weight: normal;
	cursor: pointer;
}
label .lbl{
	vertical-align: middle;
}
input[type=checkbox].ace,
input[type=radio].ace {
	opacity: 0;
	position: absolute;
	z-index: 12;
	width: 18px;
	height: 18px;
	cursor: pointer
}

input[type=checkbox].ace:checked,
input[type=radio].ace:checked,
input[type=checkbox].ace:focus,
input[type=radio].ace:focus {
	outline: none!important
}

input[type=checkbox].ace+.lbl,
input[type=radio].ace+.lbl {
	position: relative;
	z-index: 11;
	display: inline-block;
	margin: 0;
	line-height: 20px;
	min-height: 18px;
	min-width: 18px;
	font-weight: normal
}

input[type=checkbox].ace+.lbl.padding-16::before,
input[type=radio].ace+.lbl.padding-16::before {
	margin-right: 16px
}

input[type=checkbox].ace+.lbl.padding-12::before,
input[type=radio].ace+.lbl.padding-12::before {
	margin-right: 12px
}

input[type=checkbox].ace+.lbl.padding-8::before,
input[type=radio].ace+.lbl.padding-8::before {
	margin-right: 8px
}

input[type=checkbox].ace+.lbl.padding-4::before,
input[type=radio].ace+.lbl.padding-4::before {
	margin-right: 4px
}

input[type=checkbox].ace+.lbl.padding-0::before,
input[type=radio].ace+.lbl.padding-0::before {
	margin-right: 0
}

input[type=checkbox].ace+.lbl::before,
input[type=radio].ace+.lbl::before {
	font-family: fontAwesome;
	font-weight: normal;
	font-size: 12px;
	color: #32a3ce;
	content: "\a0";
	background-color: #fafafa;
	border: 1px solid #c8c8c8;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	border-radius: 0;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	height: 16px;
	line-height: 14px;
	min-width: 16px;
	margin-right: 1px
}

input[type=checkbox].ace:checked+.lbl::before,
input[type=radio].ace:checked+.lbl::before {
	display: inline-block;
	content: '\f00c';
	background-color: #f5f8fc;
	border-color: #adb8c0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1)
}

input[type=checkbox].ace:hover+.lbl::before,
input[type=radio].ace:hover+.lbl::before,
input[type=checkbox].ace+.lbl:hover::before,
input[type=radio].ace+.lbl:hover::before {
	border-color: #ff893c
}

input[type=checkbox].ace:active+.lbl::before,
input[type=radio].ace:active+.lbl::before,
input[type=checkbox].ace:checked:active+.lbl::before,
input[type=radio].ace:checked:active+.lbl::before {
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 3px rgba(0, 0, 0, 0.1)
}

input[type=checkbox].ace.ace-checkbox-2+.lbl::before,
input[type=radio].ace.ace-checkbox-2+.lbl::before {
	box-shadow: none
}

input[type=checkbox].ace.ace-checkbox-2:checked+.lbl::before,
input[type=radio].ace.ace-checkbox-2:checked+.lbl::before {
	background-color: #f9a021;
	border-color: #f9a021;
	color: #FFF
}

input[type=checkbox].ace:disabled+.lbl::before,
input[type=radio].ace:disabled+.lbl::before,
input[type=checkbox].ace[disabled]+.lbl::before,
input[type=radio].ace[disabled]+.lbl::before,
input[type=checkbox].ace.disabled+.lbl::before,
input[type=radio].ace.disabled+.lbl::before {
	background-color: #DDD!important;
	border-color: #CCC!important;
	box-shadow: none!important;
	color: #BBB
}

input[type=radio].ace+.lbl::before {
	border-radius: 100%;
	font-size:0.6rem;
	font-family: FontAwesome;
	text-shadow: 0 0 1px #32a3ce;
	line-height: 0.8rem;
	height:  0.8rem;
	min-width:  0.8rem;
}


input[type=radio].ace:checked+.lbl::before {
	font-family: FontAwesome;
	content: "\f111";
	}

input[type=checkbox].ace.ace-switch {
	width: 55px;
	height: 25px
}

input[type=checkbox].ace.ace-switch+.lbl {
	margin: 0 4px;
	min-height: 24px
}

input[type=checkbox].ace.ace-switch+.lbl::before {
	font-family: Arial, Helvetica, sans-serif;
	content: "ON\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";
	color: #999;
	font-weight: bold;
	font-size: 11px;
	line-height: 18px;
	line-height: 21px\9;
	height: 20px;
	overflow: hidden;
	border-radius: 12px;
	background-color: #f5f5f5;
	-webkit-box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, .2);
	box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, .2);
	border: 1px solid #CCC;
	text-align: left;
	float: left;
	padding: 0;
	width: 52px;
	text-indent: -19px;
	text-indent: -21px\9;
	margin-right: 0;
	-webkit-transition: text-indent .4s ease;
	transition: text-indent .4s ease
}

input[type=checkbox].ace.ace-switch+.lbl::after {
	font-family: Arial, Helvetica, sans-serif;
	content: '|||';
	font-size: 10px;
	font-weight: lighter;
	color: #d5d5d5;
	background-color: #FFF;
	text-shadow: -1px 0 0 rgba(0, 0, 0, 0.15);
	text-align: center;
	border-radius: 100%;
	width: 22px;
	height: 22px;
	line-height: 20px;
	position: absolute;
	top: -2px;
	left: -3px;
	padding: 0;
	-webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .3);
	-webkit-transition: left .4s ease;
	transition: left .4s ease
}

input[type=checkbox].ace.ace-switch:checked+.lbl::before {
	text-indent: 9px;
	color: #FFF;
	background-color: #8ab2c9;
	border-color: #468fcc
}

input[type=checkbox].ace.ace-switch:checked+.lbl::after {
	left: 34px;
	background-color: #FFF;
	color: #8ab2c9
}

input[type=checkbox].ace.ace-switch.ace-switch-2+.lbl::before {
	content: "YES\a0\a0\a0\a0\a0\a0\a0\a0NO"
}

input[type=checkbox].ace.ace-switch.ace-switch-3+.lbl::after {
	font-family: FontAwesome;
	font-size: 13px;
	line-height: 23px;
	content: "\f00d";
	top: -1px
}

input[type=checkbox].ace.ace-switch.ace-switch-3:checked+.lbl::after {
	content: "\f00c"
}

input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::before,
input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::before {
	content: "ON\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bolder;
	font-size: 0.65rem;
	line-height: 1rem;
	height: 1rem;
	overflow: hidden;
	border-radius: 0.5rem;
	background-color: #8b9aa3;
	border: 1px solid #8b9aa3;
	color: #FFF;
	width: 2.7rem;
	text-indent: -25px;
	text-indent: -28px\9;
	display: inline-block;
	position: relative;
	box-shadow: none;
	-webkit-transition: all .4s ease;
	transition: all .4s ease
}

input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::after,
input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::after {
	font-family: Helvetica, Arial, sans-serif;
	content: '|||';
	text-shadow: -1px 0 0 rgba(0, 0, 0, 0.2);
	font-size: 0.4rem;
	font-weight: lighter;
	color: #8b9aa3;
	text-align: center;
	position: absolute;
	border-radius: 0.6rem;
	color: #5b6a73;
	top:0;
	left: 0;
	width: 1rem;
	height: 1rem;
	line-height: 0.9rem;
	background-color: #FFF;
	-webkit-transition: all .4s ease;
	transition: all .4s ease
}

input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::before,
input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::before {
	text-indent: 9px;
	background-color: red;
	border-color: red
}

input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::after,
input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::after {
	left: 1.8rem;
	background-color: #FFF
}

input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::before {
	content: "YES\a0\a0\a0\a0\a0\a0\a0\a0NO"
}

input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::before {
	text-indent: 0.3rem
}
