input[type=checkbox].toggle {
	height: 0;
	width: 0;
	display: none;
}

label.toggle {
	cursor: pointer;
	text-indent: -9999px;
	width: 60px;
	height: 32px;
	background: grey;
	display: block;
	border-radius: 32px;
	position: relative;
}

label.toggle:after {
	content: '';
	position: absolute;
	top: 4px;
	left: 5px;
	width: 24px;
	height: 24px;
	background: #fff;
	border-radius: 24px;
	transition: 0.3s;
}

input.toggle:checked + label {
	background: #ffe200;
}

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

label.toggle:active:after {
	width: 32px;
}
