input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

label {
	cursor: pointer;
	/*text-ident: -9999px;*/
	width: 260px;
	height: 50px;
	background: grey;
	display: block;
	border-radius: 100px;
	position: relative;
	font-size: 12px;
	padding: 0 15px;
	line-height: 50px;
}
label span {
	position: relative;
	margin: 0 10px;
}
label:before {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 50%;
	height: 40px;
	background: #fff;
	border-radius: 90px;
	transition: 0.3s;
	z-index:0;
}

input:checked + label {
	background: #bada55;
}

input:checked + label:before {
	left: calc(100% - 5px);
	transform: translateX(-100%);
}

label:active:before {
	width: 130px;
}