.dashboard-market-hours .dashboard-box-header {
  min-height: 34px;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.dashboard-market-hours .dashboard-box-header h2 {
  color: #111;
  font-size: 20px;
  line-height: 1.7;
}

.dashboard-market-hours .dashboard-box-header h2 span {
  color: #2878f0;
}

.dashboard-hours-viewport {
  overflow-x: auto;
  scrollbar-width: thin;
}

.dashboard-hours-timeline {
  min-width: 760px;
  padding: 0px 40px 0px;
  border: 1px solid #d5ddf0;
  background: #e7ecfb;
}

.dashboard-hours-plot {
  position: relative;
}

.dashboard-hours-scale {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  direction: rtl;
  height: 35px;
  align-items: start;
  color: #00000080;
  font-size: 14px;
  text-align: center;
  padding-top: 10px;
}

.dashboard-hours-rows {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.dashboard-hours-row {
  position: relative;
}

.dashboard-hours-market-lane,
.dashboard-hours-holiday-lane {
  position: relative;
  height: 52px;
}

.dashboard-hours-holiday-lane[hidden] {
  display: none;
}

.dashboard-hours-block {
  position: absolute;
  top: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 1px;
  padding: 0 7px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.dashboard-hours-block-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-hours-block--market {
  background: #7898c1;
  color: #fff;
  transition: background-color 180ms ease;
}

.dashboard-hours-block--market:hover {
  background: #06295a;
}

.dashboard-hours-row:nth-child(2) .dashboard-hours-block--market {
  background: #06295a;
}

.dashboard-hours-row:nth-child(2) .dashboard-hours-block--market:hover {
  background: #001b43;
}

.dashboard-hours-block--holiday {
  z-index: 2;
  border: 1px solid #b5c5e6;
  background: #e7ecfb;
  color: #092f65;
  font-weight: 700;
}

.dashboard-hours-block[hidden] {
  display: none;
}

.dashboard-hours-clock {
  display: inline-block;
  unicode-bidi: isolate;
}

.dashboard-hours-now {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 4px;
  width: 2px;
  background: #0d3c72;
  pointer-events: none;
  transform: translateX(1px);
}

.dashboard-hours-now::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5px;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 10px solid #0d3c72;
}

.dashboard-hours-empty {
  min-height: 208px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #50617d;
  font-size: 14px;
}

@media (max-width: 600px) {
  .dashboard-market-hours .dashboard-box-header h2 {
    font-size: 18px;
  }

  .dashboard-hours-timeline {
    min-width: 700px;
    padding-right: 24px;
    padding-left: 24px;
  }
}
