.tt-menu,
.gist {
  text-align: left;
}

.table-of-contents li {
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.table-of-contents li a {
  font-size: 16px;
  color: #999;
}

p + p {
  margin: 30px 0 0 0;
}

.twitter-typeahead {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.typeahead,
.tt-query,
.tt-hint {
  border: 2px solid #ccc;
  outline: none;
}

/*
.typeahead,
.tt-query,
.tt-hint {
  width: 396px;
  height: 30px;
  padding: 8px 12px;
  font-size: 24px;
  line-height: 30px;
  border: 2px solid #ccc;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  outline: none;
}*/

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999;7
}

.tt-menu {
  width: 422px;
  max-width: 100%;
  max-height: 40vh;
  margin: 12px 0;
  padding: 8px 0;
  overflow-y: auto;
  color: #000000;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 18px;
  line-height: 24px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tt-channel-suggestion {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  direction: ltr;
  text-align: left;
}

.tt-channel-thumbnail {
  width: 25px;
  height: 25px;
  object-fit: cover;
}

.tt-channel-suggestion-text {
  min-width: 0;
}

.tt-channel-label {
  display: block;
  text-align: left;
}

.tt-channel-meta {
  display: block;
  margin-top: 2px;
  direction: ltr;
  text-align: left;
  line-height: 1.25;
}

.tt-channel-selected-marker {
  margin-right: 4px;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}

@media (max-width: 575.98px) {
  .tt-menu {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    left: 0 !important;
    right: auto !important;
  }
}
