/* SOURCE: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch */

.switch-container {
  margin-bottom: 2px;
  display: flex;
  align-items: center;
}
.switch {
  display: inline-block;
  width: 36px;
  height: 18px;
  margin-right: 11px;
}


.slider {
  background-color: #ffffff;
  border: 1px solid #9f9795;
}

.slider:before {
  height: 16px;
  width: 16px;
  left: -1px;
  bottom: -1px;
  background-color: white;
  border: 1px solid #9f9795;
}

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

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

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

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

.slider.round:before {
  border-radius: 50%;
}