.ui-timepicker-wrapper {
  max-height: 10rem;
  overflow-y: auto;
  margin: 0.125rem 0;
  background: #fff;
  background-clip: padding-box;
  outline: none;
}

.ui-timepicker-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ui-timepicker-duration {
  margin-left: 0.25rem;
}
[dir=rtl] .ui-timepicker-duration {
  margin-left: 0;
  margin-right: 0.25rem;
}

.ui-timepicker-list li {
  padding: 0.25rem 0.75rem;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.ui-timepicker-list li.ui-timepicker-disabled, .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
  background: #fff !important;
  cursor: default !important;
}

.light-style .ui-timepicker-wrapper {
  padding: 0.3125rem 0;
  z-index: 1091;
  background: #fff;
  box-shadow: 0px 5px 5px -3px rgba(76, 78, 100, 0.2), 0px 8px 10px 1px rgba(76, 78, 100, 0.14), 0px 3px 14px 2px rgba(76, 78, 100, 0.12);
  border: 0 solid rgba(76, 78, 100, 0.05);
  border-radius: 0.5rem;
}
.light-style .ui-timepicker-list li {
  color: #828393;
}
.light-style .ui-timepicker-list li:hover {
  background: rgba(76, 78, 100, 0.06);
}
.light-style .ui-timepicker-list li:not(.ui-timepicker-selected) .ui-timepicker-duration {
  color: #bbbcc4;
}
.ui-timepicker-list:hover .light-style .ui-timepicker-list li:not(.ui-timepicker-selected) .ui-timepicker-duration {
  color: #bbbcc4;
}
.light-style .ui-timepicker-list li.ui-timepicker-disabled,
.light-style .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
  background: #fff !important;
  color: #d8d8dd !important;
}

.dark-style .ui-timepicker-wrapper {
  border: 0 solid rgba(255, 255, 255, 0.05);
  padding: 0.3125rem 0;
  z-index: 1091;
  background: #30334e;
  box-shadow: 0px 5px 5px -3px rgba(20, 21, 33, 0.2), 0px 8px 10px 1px rgba(20, 21, 33, 0.14), 0px 3px 14px 2px rgba(20, 21, 33, 0.12);
  border-radius: 0.5rem;
}
.dark-style .ui-timepicker-list li {
  color: #a0a1b8;
}
.dark-style .ui-timepicker-list li:hover {
  background: rgba(234, 234, 255, 0.06);
}
.dark-style .ui-timepicker-list li:not(.ui-timepicker-selected) .ui-timepicker-duration {
  color: #777991;
}
.ui-timepicker-list:hover .dark-style .ui-timepicker-list li:not(.ui-timepicker-selected) .ui-timepicker-duration {
  color: #777991;
}
.dark-style .ui-timepicker-list li.ui-timepicker-disabled,
.dark-style .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
  color: #777991 !important;
  background: #30334e !important;
}
