.hidden {
  display: none !important;
}

/* The switch - the box around the slider */
.lpac-dps-switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 34px;
}

/* Hide default HTML checkbox */
.lpac-dps-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.lpac-dps-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

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

input:checked + .lpac-dps-slider {
  background-color: #2196f3;
}

input:focus + .lpac-dps-slider {
  box-shadow: 0 0 1px #2196f3;
}

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

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

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

/* Make sure timeslots and location input fields have proper height. */
select#lpac_dps_pickup_time,
select#lpac_dps_delivery_time,
select#lpac_dps_pickup_location,
select#lpac_dps_delivery_location,
#lpac_dps_pickup_date_field input,
#lpac_dps_delivery_date_field input {
  height: auto !important;
}
