.custom-time-box {
  position: relative;
}

.custom-time-box input[type="time"].el-input-date {
  pointer-events: none;
}

.custom-time-picker {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 2px);
  width: 100%;
  min-width: 120px;
  z-index: 200;
}

.custom-time-picker.is-open {
  display: block;
}

.custom-time-picker,
.custom-time-picker .ctp-panel,
.custom-time-picker .ctp-col,
.custom-time-picker .ctp-scroll {
  background: #fff;
}

/* 覆盖 banner-form 中 dl.el-input-dl * { color:#fff } 的继承 */
.banner-form-box .custom-time-picker,
.banner-form-box .custom-time-picker .ctp-item,
dl.el-input-dl .custom-time-picker .ctp-item {
  color: #222 !important;
  -webkit-text-fill-color: #222;
}

.ctp-panel {
  display: flex;
  background: #fff !important;
  border: 1px solid #ddd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.ctp-col {
  flex: 1;
  min-width: 0;
  background: #fff;
}

.ctp-col + .ctp-col {
  border-left: 1px solid #eee;
}

.ctp-scroll {
  max-height: 210px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  background: #fff;
}

.ctp-item {
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
  color: #222 !important;
  -webkit-text-fill-color: #222;
  cursor: pointer;
  user-select: none;
  scroll-snap-align: start;
  box-sizing: border-box;
  border: 2px solid transparent;
  background: #fff;
}

.ctp-item.is-selected {
  background: #ececec !important;
  color: #000 !important;
  -webkit-text-fill-color: #000;
}

.ctp-col.is-active .ctp-item.is-selected {
  border-color: #000;
  line-height: 26px;
}

.ctp-scroll::-webkit-scrollbar {
  width: 4px;
}

.ctp-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}
