/* Search page (searchPage.html): only what working-papers.css and materializeCustom.css
   (compiled from ecf-static-frontend: do not move these rules there by hand) do not cover. */

[v-cloak] { visibility: hidden; }

.ecf-search { min-height: 60vh; }
.ecf-search .pub_big_title { margin: 2.5rem 0 1rem; }

/* search box: the working papers toolbar plus a site-yellow button */
.ecf-search-toolbar { max-width: none; }
.ecf-search-toolbar .wp-search { flex: 1 1 320px; }
.ecf-search-toolbar input[type=search] { width: 100%; }
.ecf-search-submit { display: inline-flex; align-items: center; gap: .35rem; height: 2.6rem; padding: 0 1.25rem; border: 0; border-radius: 3px; background: var(--yellow); color: var(--dark-gray); font: inherit; font-weight: 500; font-size: .95rem; text-transform: uppercase; cursor: pointer; }
.ecf-search-submit:hover, .ecf-search-submit:focus { background: #e0b200; }
.ecf-search-submit i { font-size: 1.25rem; }

.ecf-search-progress { max-width: var(--max-text-width); background-color: #fae292; }
.ecf-search-progress .indeterminate { background-color: var(--yellow); }

/* results: site list rows (ul.articles_list) without the left column of the download stats */
.ecf-search-results ul.articles_list { padding-left: 0 !important; max-width: var(--max-text-width); border-bottom: 1px solid #eee; }
.ecf-search-results .other_article_title { margin: .2rem 0; }
.ecf-search-results .ecf-search-subtitle { display: block; font-size: .95rem; line-height: 1.35rem; color: var(--mid-gray); }
.ecf-search-results .other_article_authors { font-size: .9rem; color: var(--mid-gray); margin-top: .25rem; }

/* facets: aside on large screens, below the results otherwise. Not sticky like the working
   papers box (working-papers.css): the panels start open, so the box is often taller than a short
   result list and would scroll inside itself. */
.ecf-search aside .wp-facets { margin-top: 2.5rem; }
.container.pub_home.ecf-search .row.wp-row-flex > aside .wp-facets { position: static; max-height: none; overflow: visible; }
.ecf-search .wp-facet .pub-accordion-content ul { margin: 0 0 .25rem; }
@media only screen and (max-width: 992px) {
  .ecf-search aside .wp-facets { margin-top: 1rem; }
}

/* "Sono mostrati i primi 200 di N": search_json returns at most RESULTS_LIMIT results */
.ecf-search .ecf-search-limited {
  font-size: 0.9rem;
  color: #6b6b6b;
  margin: 0 0 1rem;
}
