/* Filters, sort button and counter for the lists of publications, talks and
   projects (layouts/partials/list_filters.html, static/js/list-filters.js). */
.list-filters { margin-bottom: 1em; }
.list-filters-row .btn { margin-left: .5em; }
.list-text-search { width: 18em; max-width: 100%; padding: 2px 6px; }
.list-tag-box { position: relative; display: inline-block; }
.list-tag-search { width: 18em; max-width: 100%; padding: 2px 6px; }
.list-tag-results {
  position: absolute; z-index: 1000; left: 0; top: 100%;
  min-width: 100%; max-height: 18em; overflow-y: auto;
  margin: 0; padding: 0; list-style: none;
  background: #fff; border: 1px solid #ccc; box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.list-tag-results li { padding: 3px 8px; cursor: pointer; white-space: nowrap; }
.list-tag-results li.active, .list-tag-results li:hover { background: #e8eef5; }
.list-tag-results li.empty { cursor: default; color: #888; }
.list-tag-popular { margin-top: .5em; }
.list-tag-popular .list-tag-chip { margin: 0 2px 4px 0; }
.list-tag-popular .list-tag-chip.active { color: #fff; background-color: #0095eb; }
.list-count { color: #666; font-style: italic; }
/* Bootstrap buttons and columns set "display", so make "hidden" win. */
.list-filters [hidden], [data-list-item][hidden], [data-list-group][hidden] { display: none !important; }

/* BibTeX entry on the page of a publication (layouts/publication/single.html). */
.pub-cite .btn { margin: 0 4px 6px 0; }
.pub-bibtex {
  margin-top: 4px; font-size: 80%; white-space: pre-wrap; word-break: break-word;
  max-height: 24em; overflow-y: auto;
}
