/*
 * source: https://www.w3schools.com/howto/howto_css_switch.asp
 */
 /* The switch - the box around the slider */
.switch {
  position: relative;
  height: 34px;
  width:99%;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  width:60px;
}

.slider:before {
  position: absolute;
  display:inline-block;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #cc0000;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
label.switch *{
	display:inline-block;
}
label.switch .text{
	position: absolute;
	display:inline-block;
	bottom:4px;
	left:66px;
	right:0px;
	font-size:1.1rem;
	font-weight:bold;
	color:#cc0000;
}
