.auto-response-switch-div input[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
}

.auto-response-switch-div label {
  cursor: pointer;
  text-indent: -9999px;
  width: 45px;
  height: 22px;
  background: grey;
  /* display: block; */
  border-radius: 100px;
  position: relative;
}

.auto-response-switch-div label:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

.auto-response-switch-div input:checked+label {
  background: #bada55;
}

.auto-response-switch-div input:checked+label:after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
}

.auto-response-switch-div label:active:after {
  width: 30px;
}