/* Autocomplete */
.ui-helper-hidden-accessible {
  display: none;
}

.ui-autocomplete {
  margin: 0;
  padding: 0;
  left: 0 !important;
  max-height: 200px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  background-color: #fff;
  border: 1px solid #ccc;
}

.ui-autocomplete li {
  display: block;
  color: #000;
  /*padding-left: 5px;
  padding-bottom: 10px;
  padding-top: 10px;*/
}

.ui-autocomplete li:hover:not(.ui-autocomplete-category) {
  cursor: pointer;
  background-color: #9b5ba4;
  color: #fff;
}

.ui-autocomplete a {
  display: block;
  padding: 10px;
  font-size: 18px;
  /*color: #000;*/
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

.ui-autocomplete-category {
  font-weight: bold;
  padding: .2em .4em;
  margin: .8em 0 .2em;
  line-height: 1.5;
}

#search .ui-autocomplete {
  position: relative !important;
  top: 0 !important;
  width: 720px !important;
}

.search .ui-autocomplete {
  width: 100% !important;
  position: absolute;
  z-index: 2;
}

@media only screen and (max-width: 900px) {
  #search .ui-autocomplete {
    width: 100% !important;
  }
}
