.vnet-switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
	cursor: pointer;
}

/* Hide default HTML checkbox */
.vnet-switch input {
	display: none;
}

/* The slider */
.vnet-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ED4F55;
	-webkit-transition: .4s;
	transition: .4s;
}

.vnet-switch:before {
	content: 'On';
	text-align: right;
	display: block;
	z-index: 1;
	position: absolute;
	left: 2px;
	right: auto;
	color: #fff;
	font-size: 8px;
	text-transform: uppercase;
	height: 20px;
	font-weight: bold;
	line-height: 20px;
}

.vnet-switch:after {
	content: 'Off';
	text-align: right;
	display: block;
	z-index: 1;
	position: absolute;
	right: 2px;
	left: auto;
	color: #fff;
	font-size: 8px;
	text-transform: uppercase;
	height: 20px;
	font-weight: bold;
	line-height: 20px;
}

.vnet-slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .vnet-slider {
	background-color: #37C597;
}

input:focus + .vnet-slider {
	box-shadow: 0 0 1px #37C597;
}

input:checked + .vnet-slider:before {
	-webkit-transform: translateX(16px);
	-ms-transform: translateX(16px);
	transform: translateX(16px);
}

/* Rounded sliders */
.vnet-slider.round {
	border-radius: 20px;
}

.vnet-slider.round:before {
	border-radius: 50%;
}
