/* auto-suggest feature styles */

#auto-suggest-results-container,
#auto-suggest-results-container-mobile {
  z-index: 1;
  position: absolute;
  top: calc(100% + 10px);
  /* left: 0; */
  right: 0;
  border-radius: 2px;
  background-color: rgb(31, 36, 45);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, .33), -2px -2px 5px rgba(0, 0, 0, .33);
}

#auto-suggest-results,
#auto-suggest-results-mobile {
  display: block !important;
  margin: 0;
  /* width: 100%; */
  width: 250px;
  list-style-type: none;
}

#auto-suggest-results li,
#auto-suggest-results-mobile li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2F3F4D;
  padding: 1rem;
  cursor: pointer;
  transition: .1s;
}

#auto-suggest-results li:last-child,
#auto-suggest-results-mobile li:last-child {
  border-bottom: none;
}

#auto-suggest-results li:hover,
#auto-suggest-results-mobile li:hover {
  background-color: #2F3F4D;
}

.autosuggest-text-container {
  display: flex;
  align-items:center;
  max-width: 85%;
}

.autosuggest-text-container span {
  padding: .5rem .8rem;
  line-height: initial;
  white-space: nowrap;
  color: white;
}

.ticker-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  margin-right: 10px;
}

.ticker-image {
  border-radius:2px;
  width:24px;
  max-width:24px;
  height:24px;
}
.ticker-text {
  border-radius: 3px;
  background-color: #2F3F4D;
  font-size: 13px;
}

.company-name {
  overflow-x: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
}

.hover-ticker-background {
  background-color: rgb(31, 36, 45) !important;
}

.span-active-autosuggest-result {
  background-color: rgb(31, 36, 45) !important;
}

.active-autosuggest-result {
  background-color: #2F3F4D !important;
  transition: .1s;
}

/* watchlist-inclusion symbols */
.fa-plus-custom,
.fa-check-custom {
  color: #57D7BA;
  font-size: 16px;
  transition: .1s;
}

.fa-plus-custom:hover,
.fa-check-custom:hover {
  color: #3f9c87;
}

.dim-ticker {
  opacity: .33;
  pointer-events: none;
}

@media screen and (max-width: 1280px) {
  #auto-suggest-results,
  #auto-suggest-results-mobile {
    width: 275px;
  }
}