.ui-autocomplete {
  background: #fff;
  border: 1px solid #ccc;
  max-height: 560px;
  overflow: hidden;
  z-index: 99999;
}

.ui-menu-item a, .ui-autocomplete-category {
  font-size: .9em;
  color: #666;
  display: block;
  padding: 0 10px;
  height: 28px;
  line-height: 28px;
  cursor: default;
  overflow: hidden;
}

.ui-menu-item a span {
  height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 95%;
  overflow: hidden;
}

.ui-autocomplete-category {
  font-weight: bold;
  margin: .8em 0 .2em;
  line-height: 1.5;
  color: #000;
}

.ui-menu-item a:hover, .ui-menu-item a.ui-state-focus {
  color: #CC0066;
  background: #efefef;
}

.ui-helper-hidden-accessible {
  display: none;
}
