.time-range {
  position: relative;
}

.time-range-toggle {
  cursor: pointer;
  width: 24px;
  height: 24px;
  line-height: 18px;
  text-align: center;
  position: absolute;
  top: -32px;
  right: 8px;
}

.time-range-toggle input[type="checkbox"] {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  opacity: 0;
}

.time-range-toggle input[type="checkbox"] + span {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.33;
  position: absolute;
  width: 24px;
  height: 24px;
}

.time-range-toggle input[type="checkbox"]:checked + span,
.time-range-toggle:hover input[type="checkbox"] + span {
  opacity: 1;
}

.time-range-toggle svg {
  margin-left: -2px;
}

.time-range-fields .field {
  margin-bottom: 4px;
}

.time-range-fields .field.small input {
  padding-bottom: 6px;
}

input[type="time"] {
  text-align: left;
}

::-webkit-date-and-time-value {
  text-align: left;
}

::-webkit-calendar-picker-indicator {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

@media only screen and (min-width: 680px) {
  .content .time-range-fields {
    display: flex;
  }

  .content .time-range-fields .field {
    width: 50%;
  }

  .content .time-range-fields .field:first-child {
    padding-right: 2px;
  }

  .content .time-range-fields .field:last-child {
    padding-left: 2px;
  }

  .content .time-range-fields .field:last-child > label {
    left: 2px;
  }
}
