/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
  width:60%;
  margin:0 auto;
}


/*
input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}
*/
.autocomplete-items {
  position: absolute;
  color:#000;
  /*font-size:calc(0.8vw + 0.8vh);*/
  border: 2px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  border-top:1px solid #d4d4d4;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  text-align:left;
}

/*.autocomplete-items div {*/
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 2px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover,
.autocomplete-items div:active {
  background-color: #00a2e3;/*#e9e9e9; */
  color:#fff;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}




@media only screen and (max-width:1210px) {
	.autocomplete {
		width:44%;
	}
}	

@media only screen and (max-width:900px) {
	.autocomplete {
		width:70%;
	}
}	

@media only screen and (max-width:576px) {
	.autocomplete {
		width:100%;
	}
}	