/* Autocomplete styles. */
.aa-Form {
  border: 0;
  box-shadow: none;
  outline: none;
}

.aa-ClearButton {
  display: none !important;
}

.aa-Panel {
  z-index: 1000;
  border-radius: 0;
}

.aa-Item {
  border-radius: 0;
  padding: 0 16px;
}

.aa-Item[aria-selected='true'] {
  background: #f6f6f6;
}

/* InstantSearch searchBox styles. */
.ais-SearchBox-form {
  border: 0;
  box-shadow: none;
  outline: none;
}

.ais-SearchBox-form::before {
  background: transparent;
}

.ais-SearchBox-reset {
  display: none !important;
}

/* InstantSearch misc. styles. */
.ais-SearchBox.-hidden,
.ais-RefinementList-showMore--disabled,
.ais-VoiceSearch-button[disabled],
  /* Just rely on the corresponding searchBox's rendering of input text. */
.ais-VoiceSearch-status,
.ais-Hits--empty.search-hits-promoted,
.ais-VoiceSearch-status,
[data-widget='toggleRefinement'] .ais-Panel-header,
.ais-Panel--collapsed .ais-Panel-body
{
  display: none;
}

/* Custom InstantSearch styles. */
  /* Hide these elements when no-input is true. */
.search[data-no-input='true'] [data-no-input-toggle],
.search-multi[data-no-input='true'] [data-no-input-toggle],
.search-hits-promoted-wrapper,
  /* Hide these elements when "promoted" is visible. */
.search[data-promoted='true'] [data-promoted-toggle],
  /* Hide empty main results when "promoted" is visible. */
.search[data-promoted='true'] .search-hits.ais-Hits--empty
{
  display: none;
}
