@charset "UTF-8";
/* CSS Document */

/*label { padding: 0px 38px 1px 38px!important;}*/



/*Radio Check*/
label.radio, label.radio_text, label.checkbox, label.checkbox_text {
	position      : relative;
	cursor        : pointer;
	display       : inline-block;
	overflow      : hidden;
	box-sizing    : border-box;
}
label.radio {
	width         : 28px;
	height        : 28px;
	border        : 1px solid #666666;
	border-radius : 100%;
}
label.radio_text {
	min-height   : calc(28px + 5px);
	margin-right : calc(28px + 5px);
	padding-left : calc(28px + 5px);
	line-height  : calc(28px + 5px);
}
label.checkbox {
	width      : 28px;
	height     : 28px;
	border     : 1px solid #666;
	background : #fff;
}
label.checkbox_text {
	/*padding-left : calc(28px + 5px);*/
	padding-left :36px;
	line-height  : 28px;
}
/** before after **/
label.radio:before, label.radio_text:before, label.checkbox_text:before,
label.checkbox:after, label.radio_text:after, label.checkbox_text:after{
	content  : '';
	position : absolute;
	box-sizing : border-box;
}
label.radio:before, label.radio_text:before{
	border-radius    : 100%;
}
label.radio:before, label.checkbox:after{
	top              : 0px;
	bottom           : 0px;
	left             : 0px;
	right            : 0px;
	margin           : auto;
}
label.checkbox:after, label.checkbox_text:after{
	transform         : rotate(45deg);
	-webkit-transform : rotate(45deg);
	-moz-transform    : rotate(45deg);
	border-right      : 3px solid #000000;
	border-bottom     : 3px solid #000000;
	top               : calc(50% - (((27px / 12 ) * 5) / 2));
	display           : block;
	margin-top        : calc(((27px / 12 ) * 5) * -1);
	width             : calc(((27px / 12 ) * 5));
	height            : 27px;
	z-index           : 1;
}
label.radio_text:before, label.radio_text:after{
	top              : 0px;
	bottom           : 0px;
	margin-top       : auto;
	margin-bottom    : auto;
}
label.radio:before {
	display          : block;
	width            : 10px;
	height           : 10px;
	z-index          : 1;
	background-color : #000000; 
}
label.radio_text:before {
	width         : 28px;
	height        : 28px;
	border        : 1px solid #666666;
	left          : 0px;
	z-index       : 3;
}
label.checkbox_text:before {
	width    : 28px;
	height   : 28px;
	left     : 0px;
	top      : 0;
	border   : 1px solid #666;
	z-index  : 3;
	box-sizing: border-box;
}
label.radio_text:after {
	width            : 10px;
	height           : 10px;
	border-radius    : 100%;
	left             : calc(((28px/2) - (10px) / 2));
	background-color : #000000;
	z-index          : 1;
}
label.checkbox_text:after {
	left : calc((28px / 2) - (((27px / 12 ) * 5) / 2));
}
/** input **/
label.radio input[type="radio"], label.radio_text input[type="radio"], label.checkbox input[type="checkbox"], label.checkbox_text input[type="checkbox"]{
	-moz-appearance: none;
	-webkit-appearance: none;
	position   : absolute;
	z-index    : 2;
	margin     : 0px;
	width      : 28px;
	height     : 28px;
	box-sizing    : border-box;
	outline       : none;
}
label.radio input[type="radio"], label.radio_text input[type="radio"]{
	left       : calc(28px * -1);
	width      : 28px;
	height     : 28px;
	top           : 0px;
	bottom        : 0px;
	margin-top    : auto;
	margin-bottom : auto;
	border-radius : 100%;
}
label.checkbox input[type="checkbox"], label.checkbox_text input[type="checkbox"]{
	left       : calc(28px * -1);
	padding    : 0;
}
label.radio input[type="radio"] {
	display    : block;
	box-shadow : 28px 0px #FFF;
}
label.radio_text input[type="radio"] {
	box-shadow : 28px 0px #FFF;
}
label.checkbox input[type="checkbox"] {
	box-shadow : 28px 0px #FFF;
}
label.checkbox_text input[type="checkbox"] {
	display    : block;
	box-shadow : 28px 0px #FFF;
}
/** checked forcus */
label.checkbox_text input[type="checkbox"]:checked,
label.checkbox input[type="checkbox"]:checked,
label.radio_text input[type="radio"]:checked,
label.radio input[type="radio"]:checked{
	box-shadow : none;
}
label.checkbox_text input[type="checkbox"]:checked:focus,
label.checkbox input[type="checkbox"]:checked:focus{
	opacity: 0.1;
}
label.radio_text input[type="radio"]:focus,
label.radio input[type="radio"]:focus{
	opacity: 0.2;
}

label.checkbox_text input[type="checkbox"]:checked:focus {
	box-shadow : 28px 0px #666;
}
label.checkbox_text input[type="checkbox"]:focus {
	box-shadow : 28px 0px #EEE;
}
label.checkbox input[type="checkbox"]:checked:focus {
	box-shadow : 28px 0px #666;
}
label.checkbox input[type="checkbox"]:focus {
	box-shadow : 28px 0px #EEE;
}
label.radio_text input[type="radio"]:focus {
	box-shadow : 28px 0px #FFF;
}
label.radio input[type="radio"]:focus {
	box-shadow : 28px 0px #FFF;
}
