/* Styles for js/range-scrub.js: the two thin lines and the date range drawn over a chart while a range is
   selected (mouse: press and drag; touch: two fingers). Matches the reference recording: no dimming outside
   the range, the date range sits above the plot in small grey capitals. */

.rs-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity .1s linear;
}
.rs-layer.rs-on { opacity: 1; }

.rs-layer .rs-line {
  position: absolute;
  width: 1px;
  margin-left: -.5px;
  background: rgba(255, 255, 255, .6);
}

/* The module can dim what lies outside the range; the reference does not. */
.rs-layer .rs-dim { display: none; }

.rs-layer .rs-label {
  position: absolute;
  top: 0;
  white-space: nowrap;
  font-size: 10.5px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a8d93;
}

/* While a press is down on the chart, dragging must not select text. */
.rs-press, .rs-active {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
