/* UI
SWITCH */

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 26px;
}

/* 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: var(--fw-white-400);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

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

input:checked + .warn {
  background-color: #f32121 !important;
}

input:checked + .slider {
  background-color: var(--static-green-300);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--static-green-350);
}

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

label:before {
  display: none !important;
  width: 0;
}

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

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

input[type="checkbox"] {
  display: none;
}

/* label {
    cursor: pointer;
    padding-left: 25px;
    position: relative;
  }
  
  label:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    position: absolute;
    left: 0;
    top: 2px;
  }
  
  
  input[type="checkbox"]:checked+label:before {
    background-color: #2196F3;
    border: 1px solid #2196F3;
  } */
