.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  /*top: 100%;*/
  top: 52px;
  left: 3px;
  right: 3px;
  max-height: 400px;
  overflow-y: scroll;
}
.autocomplete-items .autocomplete-items-wrap{
    background-color: rgba(255,255,255,0.9);
}
.autocomplete-items .autocomplete-items-wrap > div.ac-list-item {
  padding: 8px 10px;
  cursor: pointer;
  background: none;
  border-bottom: 1px solid #d4d4d4;
  text-align: left;
}
.autocomplete-items .autocomplete-items-wrap > div.ac-list-item:hover,
.autocomplete-items .autocomplete-items-wrap > div.ac-list-item:active,
.autocomplete-items .autocomplete-items-wrap > div.ac-list-item:focus{
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: #006699 !important;
  color: #ffffff;
}
.autocomplete-items .autocomplete-items-wrap > div.ac-list-item input[type=text]{
    opacity: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    float: right !important;
    width: 1px !important;
    height: 100% !important;
}


@media all and (max-width: 768px) {
    
    .autocomplete-items {
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        height: 50px;
        overflow-x: scroll;
        overflow-y: hidden;
    }
    .autocomplete-items .autocomplete-items-wrap{
        width: 1000px;
        height: 50px;
        position: relative;
    }
    .autocomplete-items .autocomplete-items-wrap > div.ac-list-item{
        display: inline-block;
        padding: 13px 15px;
        float: left;
        position: relative;
    }
    .autocomplete-items .autocomplete-items-wrap > div.ac-list-item:after{
        content: ' ';
        position: absolute;
        right: 0;
        top:15px;
        border-right: 1px solid #ccc;
        height: 20px;
    }
    
}