.flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.t-time-picker {
  width: 320px;
  background: transparent;
  display: inline-block;
  position: relative;
  font-size: 14px;
  color: var(--td-text-color-primary);
}
.t-time-picker.t-is-disabled {
  cursor: not-allowed;
}
.t-time-picker .t-is-focused .t-input {
  border-color: var(--td-brand-color);
  -webkit-box-shadow: 0 0 0 2px var(--td-brand-color-focus);
          box-shadow: 0 0 0 2px var(--td-brand-color-focus);
}
.t-time-picker.t-is-focused .t-input {
  border-color: var(--td-brand-color);
  -webkit-box-shadow: 0 0 0 2px var(--td-brand-color-focus);
          box-shadow: 0 0 0 2px var(--td-brand-color-focus);
}
.t-time-picker > *:focus,
.t-time-picker > *:active {
  outline: 0;
}
.t-time-picker__group {
  position: relative;
}
.t-time-picker__group.t-is-focused .t-input {
  border-color: var(--td-brand-color);
}
.t-time-picker__group.t-is-focused .t-input__suffix:not(.t-input__clear) .t-icon {
  color: var(--td-brand-color);
}
.t-time-picker__group.active {
  border: 1px solid var(--td-brand-color);
  -webkit-box-shadow: 0 0 2px 2px var(--td-brand-color-focus);
          box-shadow: 0 0 2px 2px var(--td-brand-color-focus);
}
.t-time-picker__group.active + .t-time-picker__icon-wrap > .t-time-picker__icon-clear {
  display: block;
}
.t-time-picker__group-text {
  color: var(--td-text-color-primary);
}
.t-time-picker__group input {
  cursor: pointer;
}
.t-time-picker__input {
  position: absolute;
  top: 0;
  height: 100%;
  padding: 0 8px 0 4px;
  z-index: 1;
  border-radius: 3px;
  -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.t-time-picker__input:hover {
  border-color: var(--td-brand-color);
}
.t-time-picker__input-placeholder {
  margin-left: 8px;
  color: var(--td-text-color-placeholder);
}
.t-time-picker__input-item {
  height: 22px;
}
.t-time-picker__input-item-disabled {
  color: var(--td-text-color-disabled);
}
.t-time-picker__input-item-input {
  margin: 0 2px;
  color: inherit;
  background: none;
  cursor: pointer;
  height: inherit;
  outline: none;
  width: 28px;
  text-align: center;
  border-radius: 3px;
  border: 0;
  line-height: 22px;
}
.t-time-picker__input-item-input-meridiem {
  width: 36px;
}
.t-time-picker__input-item-input:focus {
  border-color: var(--td-bg-color-page);
  background-color: var(--td-bg-color-container-hover);
}
.t-time-picker__input-disabled {
  border: 1px solid var(--td-border-level-2-color);
  background-color: var(--td-bg-color-container-hover);
}
.t-time-picker__input-disabled-placeholder {
  color: var(--td-text-color-disabled);
}
.t-time-picker__input-disabled-item-input {
  pointer-events: none;
}
.t-time-picker__panel-container {
  margin: 8px 0;
  padding: 0;
}
.t-time-picker__panel {
  width: 320px;
  background: transparent;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  font-size: 14px;
}
.t-time-picker__panel-body {
  width: 100%;
  height: 326px;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 24px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.t-time-picker__panel-body-active-mask {
  position: absolute;
  top: 50%;
  height: 32px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.t-time-picker__panel-body-active-mask > div {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  height: 32px;
  background-color: var(--td-brand-color);
  margin: 8px;
  border-radius: 3px;
}
.t-time-picker__panel-body-scroll {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 100%;
  overflow-y: scroll;
  text-align: center;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}
.t-time-picker__panel-body-scroll::-webkit-scrollbar {
  width: 0;
}
.t-time-picker__panel-body-scroll::after,
.t-time-picker__panel-body-scroll::before {
  display: block;
  height: 50%;
  content: "";
}
.t-time-picker__panel-body-scroll:last-child {
  border-right: 0;
}
.t-time-picker__panel-body-scroll-item {
  height: 32px;
  font-size: 14px;
  line-height: 32px;
  color: var(--td-text-color-primary);
  margin: 8px;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
}
.t-time-picker__panel-body-scroll-item:not(.t-time-picker__panel-body-scroll-item.t-is-current):hover {
  background-color: var(--td-bg-color-container-hover);
}
.t-time-picker__panel-body-scroll-item:not(.t-time-picker__panel-body-scroll-item.t-is-current):active {
  background-color: var(--td-bg-color-container-active);
}
.t-time-picker__panel-body-scroll-item.t-is-disabled {
  color: var(--td-text-color-disabled);
  cursor: not-allowed;
}
.t-time-picker__panel-body-scroll-item.t-is-hidden {
  display: none;
  cursor: not-allowed;
}
.t-time-picker__panel-body-scroll-item.t-is-current {
  color: #ffffff;
}
.t-time-picker__panel-section {
  width: 640px;
  background-color: transparent;
}
.t-time-picker__panel-section-body {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 16px;
}
.t-time-picker__panel-section-body > *:nth-child(2) {
  margin-left: 32px;
}
.t-time-picker__panel-section-footer {
  width: 100%;
  height: 72px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: transparent;
  position: relative;
  border-top: 1px solid var(--td-border-level-1-color);
  padding: 0 24px;
}
