/* ---- hand-tuned overrides to match reference screenshot ---- */
.timeline-inner{padding:0;margin:0;}
.timeline-svg{display:block;margin-left:-1px;height:152px;width:240px}
.tl-btn rect{transition:fill .2s}
.tl-btn:hover rect{fill:#f7f7f7}
/* hide the JS-driven controls that we replaced with the static SVG chart */
.timeline-filter .toggle-button,
.timeline-filter .export-search-by-year-form,
.timeline-filter .reset-button{display:none !important}
.timeline-filter .histogram,.timeline-filter .slider,.timeline-filter h3.title+.toggle-button{display:none !important}
.timeline-filter .inner-wrap{height:auto}
.timeline-filter .inner-wrap{padding-left:0 !important}
.timeline-svg{margin-left:0 !important}
.timeline-filter{margin-bottom:10px !important}
/* links start blue, turn purple only after being visited (native :visited) */
.matching-citations .docsum-title,
.search-results-list .full-docsum .docsum-title{color:#0071bc}
.matching-citations .docsum-title:visited,
.search-results-list .full-docsum .docsum-title:visited{color:#4c2c92}
.matching-citations .docsum-title:hover,
.search-results-list .full-docsum .docsum-title:hover{text-decoration:underline}
.bottom-pagination{border-top:1px solid #d9d9d9 !important;position:relative;top:1px}
/* micro-alignment: 5px down for the results count label, 1px for the citation alert */
.results-amount{margin-top:8px}
.usa-alert-slim{margin-top:1px}
.page-widgets{position:fixed;right:-15px;bottom:209px;z-index:60;pointer-events:none}
.avatar-widget{display:block;width:54px;height:50px}
/* the reference screenshot has a populated search box, so the clear button is visible */
.search-form .search-input .clear-btn {
  display: inline-block;
  width: 4rem;
  height: 3.6rem;
  padding: 0;
  border: 0;
  margin-left: -4.25rem;
  margin-top: 0.4rem;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2rem;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 477 477'%3E%3Cpath fill='%23494440' d='M74.5 60.3c-3.4 0-6.9 1.3-9.5 4-5.3 5.3-5.3 13.8 0 19.1l155.4 155.5-155.5 155.5c-5.3 5.3-5.3 13.8 0 19.1 5.3 5.3 13.8 5.3 19.1 0l155.5-155.5 156.4 156.3c2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4 5.3-5.3 5.3-13.8 0-19.1L259.4 239.5l155.5-155.5c5.3-5.3 5.3-13.8 0-19.1-5.3-5.3-13.8-5.3-19.1 0L240.3 220.5 84 64.3c-2.6-2.6-6.1-4-9.5-4z'/%3E%3C/svg%3E");
  box-shadow: -0.4rem 0 0.6rem -0.3rem rgba(0,0,0,0.1);
}
.search-form .search-input .clear-btn:hover { background-color: #ffffff; border: 0; }
/* the ?term= page shows only the first search result focused: 1px dotted outline */
.search-results-list .full-docsum[data-rel-pos="1"] .docsum-title {
  outline: 1px dotted #aeb0b5;
  outline-offset: 8px;
}
.matching-citations .docsum-title { outline: 0 !important; }
/* title turns purple once its target page has been opened.
   Same specificity as the base rule but later in cascade + !important to win. */
.search-results-list .full-docsum a.docsum-title.is-visited,
.search-results-list .full-docsum a.docsum-title:visited { color: #4c2c92 !important; }
