/* =============================================================================
   Search results
   ========================================================================== */

.tx-indexedsearch-rules,
#tx_indexedsearch > p,
#tx_indexedsearch legend,
.tx-indexedsearch-icon,
.tx-indexedsearch-text-item-size,
.tx-indexedsearch-text-item-crdate,
.tx-indexedsearch-text-item-mtime {
  display: none;
}

.tx-indexedsearch-searchbox {
  margin-bottom: 2em;
}

.tx-indexedsearch-form > label {
  display: block;
}

/* Search form in the content - the same partial as the header overlay, but
   the overlay styles are scoped to .search and must not apply here */

.content .search-wrap {
  max-width: 500px;
  margin-bottom: 2em;
}

.content .search-wrap form {
  display: flex;
}

.content .searchfields {
  flex: 1 1 auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 9.6px 15px;
  border: 1px solid rgb(var(--c-neutral-lighter));
  border-right: none;
  background: rgb(var(--c-neutral-lightest));
  font-family: var(--f-family);
  line-height: 120%;
  appearance: none;
}

.content .searchfields:focus {
  outline: none;
  border-color: rgb(var(--c-neutral-light));
}

.content .searchstart {
  flex: 0 0 auto;
  margin: 0;
  padding: 9.6px 19.2px;
  font-family: 'FaRegular';
  font-size: 16px;
  line-height: 120%;
  cursor: pointer;
}

.tx-indexedsearch-res {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid rgb(var(--c-neutral-light));
}

.tx-indexedsearch-info {
  display: flex;
}

dl.tx-indexedsearch-info {
  margin-bottom: 0;
}

/* Pagination */

ul.tx-indexedsearch-browsebox {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 1em 0;
  padding: 0;
}

ul.tx-indexedsearch-browsebox li {
  margin-right: 5px;
  padding: 5px 10px;
  background: rgb(var(--c-neutral-dark));
  color: rgb(var(--c-neutral-lightest));
  list-style-type: none;
}

ul.tx-indexedsearch-browsebox li a,
ul.tx-indexedsearch-browsebox li.tx-indexedsearch-browselist-currentPage a {
  color: rgb(var(--c-neutral-lightest));
}

ul.tx-indexedsearch-browsebox li.tx-indexedsearch-browselist-currentPage {
  background: rgb(var(--c-primary));
}

@media (hover: hover) {

  .tx-indexedsearch-search-submit input:hover,
  ul.tx-indexedsearch-browsebox li:hover {
    background: rgb(var(--c-primary));
  }

  ul.tx-indexedsearch-browsebox li:hover a {
    color: rgb(var(--c-neutral-lightest));
  }
}
