* {
  box-sizing: border-box;
}
body {
  font: 16px Arial;
}
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}
/* input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}
 */
input[type="text"] {
  /* background-color: #f1f1f1; */
  width: 100%;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #fffcf7;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 10px;
  right: 10px;
}
.autocomplete-items div {
  padding: 5px;
  cursor: pointer;
  background-color: #fffcf7;
  border-bottom: 0px solid #eee;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: #eee !important;
  color: #000;
}
