.checkbox.checkbox-switch {
  padding-left: 0;
}

.checkbox.checkbox-switch label {
  display: block;
  position: relative;
  padding-left: 0;
}

.checkbox.checkbox-switch label input {
  display: none;
}

.checkbox.checkbox-switch label span {
  width: 35px;
  border-radius: 20px;
  height: 18px;
  border: 1px solid #dbdbdb;
  background-color: rgb(255, 255, 255);
  border-color: rgb(223, 223, 223);
  box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.checkbox.checkbox-switch label span:before {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  content: " ";
  top: 0;
  position: relative;
  left: 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.checkbox.checkbox-switch label>input:checked+span:before {
  left: 17px;
}

/* Switch Default */
.checkbox.checkbox-switch label>input:checked+span {
  background-color: #EA7D47;
  border-color: #EA7D47;
  box-shadow: #EA7D47 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}