/*
  Austin Food & Wine Festival — Help Scout Docs
  Upload this file in: Manage > Docs > [site] > Custom Code > Custom Stylesheet URL
*/

/* Active search field */
#searchBar .search-query:focus {
  border-color: #00AA53;
  box-shadow: 0 0 4px rgba(0, 170, 83, 0.35);
  outline: none;
}

/* Search button */
#searchBar button,
#searchBar button:hover,
#searchBar button:focus {
  background-color: #00AA53;
  border-color: #00AA53;
  color: #fff;
}

/* Auto-search result text */
ul.typeahead.dropdown-menu > li,
ul.typeahead.dropdown-menu > li > a,
ul.typeahead.dropdown-menu > li > a * {
  color: #00AA53 !important;
}

/* Auto-search result: hover and keyboard-selected state */
ul.typeahead.dropdown-menu > li > a:hover,
ul.typeahead.dropdown-menu > li > a:hover *,
ul.typeahead.dropdown-menu > li.active > a,
ul.typeahead.dropdown-menu > li.active > a * {
  background-color: #E6F6ED;
  color: #008C45 !important;
}

/* Header ticket CTA; the placement is calculated by the accompanying script. */
.afwf-header {
  position: relative;
}

.afwf-tickets-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding: 9px 16px;
  background: #00AA53;
  border: 1px solid #00AA53;
  border-radius: 4px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none !important;
  vertical-align: middle;
  z-index: 2;
}

.afwf-tickets-button:hover,
.afwf-tickets-button:focus {
  background: #008C45;
  border-color: #008C45;
  color: #fff !important;
}

/* On tablet and mobile, pin the CTA inside the header instead of calculating
   an offset from the desktop-sized logo. */
@media (max-width: 900px) {
  .afwf-tickets-button {
    position: absolute !important;
    top: 50% !important;
    right: 18px;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin-left: 0;
    padding: 8px 11px;
    font-size: 11px;
  }
}
