/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 75px;
  height: 30px;
}

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

/* The slider */
.slider {
  content:  '';
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CCCCCC;
  -webkit-transition: .25s;
  transition: .25s;
}

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

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

input:focus + .slider {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.4);
}

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

.slider::after {
 content: 'FRA';
 color: #7F7F7F;
 font-weight: bold;
 display: block;
 position: absolute;
 transform: translate(0,-50%);
 top: 50%;
 right: 15px;
 font-size: 10px;
 font-family: Verdana, sans-serif;
 transition: transform 250ms ease, color 250ms ease;
}

input:checked + .slider:after {
  content: 'TIL';
  color:  #fff;
  transform: translate(-23px, -50%);
}


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

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

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
