/* Typeahead
******************************************************************************* */
.twitter-typeahead {
  display: block !important;
}

.typeahead,
.tt-query,
.tt-hint {
  min-height: 2.25rem;
}

.tt-hint {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.375rem 0.75rem;
  background-color: transparent !important;
}

.tt-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 0.9375rem;
  color: #676a7b;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(38, 43, 67, 0.075);
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.875rem 0 rgba(38, 43, 67, 0.16);
}

.tt-suggestion {
  display: block;
  width: 100%;
  padding: 0.532rem 1.25rem;
  clear: both;
  font-weight: 400;
  color: #676a7b;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.tt-suggestion:hover,
.tt-suggestion:focus {
  color: #004bcc;
  text-decoration: none;
  background-color: rgba(38, 43, 67, 0.04);
}

.tt-suggestion.tt-cursor {
  color: #004bcc;
  background-color: rgba(38, 43, 67, 0.04);
}

.tt-suggestion p {
  margin: 0;
}

.twitter-typeahead .tt-menu .tt-suggestion .tt-highlight {
  font-weight: 500;
}

.twitter-typeahead .tt-menu .tt-suggestion:active,
.twitter-typeahead .tt-menu .tt-cursor {
  background: var(--bs-primary);
  color: var(--bs-primary-contrast);
}

.twitter-typeahead .tt-hint {
  color: var(--bs-gray-400);
}

.twitter-typeahead .tt-input {
  direction: ltr;
}

:dir(rtl) .twitter-typeahead .tt-input {
  direction: rtl;
}
