input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

label {
	cursor: pointer;
	text-indent: -9999vh;
	width: 7.0vh;
	height: 3.5vh;
	background: grey;
	display: block;
	border-radius: 5.0vh;
	position: relative;
}

label:after {
	content: '';
	position: absolute;
	top: 0.175vh;
	left: 0.175vh;
	width: 3.15vh;
	height: 3.15vh;
	background: #fff;
	border-radius: 3.15vh;
	transition: 0.3s;
}

input:checked + label {
	background: #007700;
}

input:checked + label:after {
	left: calc(100% - 0.25vh);
	transform: translateX(-100%);
}

label:active:after {
	width: 4.55vh;
}


.slider {
  width: 60%;
  margin: 50px auto;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 15px;
  background-color: rgb(200, 200, 200);
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 4vh;
  height: 4vh;
  border-radius: 10px;
  background-color: rgb(255, 120, 0);
  overflow: visible;
  cursor: pointer;
}