/* search input css */
.search {
	position: relative;
	color: #aaa;
	font-size: 16px;
	}

	.search {display: inline-block;}

	.search input {
	width: 400px;
	height: 32px;

	background: #fcfcfc;
	border: 1px solid #aaa;
	border-radius: 5px;
	box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
	}

	.search input { text-indent: 32px;}
	.search .fa-search { 
	position: absolute;
	top: 10px;
	left: 10px;
	}

	.search .fa-search {left: auto; right: 10px;}
/* search inout ends */


/*the container must be positioned relative:*/
.autocomplete {
  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%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.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%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}


@media only screen and (max-width: 991px) {
	.search input {
		width: 750px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 850px) {
	.search input {
		width: 700px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 750px) {
	.search input {
		width: 600px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 650px) {
	.search input {
		width: 500px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 550px) {
	.search input {
		width: 450px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 500px) {
	.search input {
		width: 420px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 450px) {
	.search input {
		width: 320px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 350px) {
	.search input {
		width: 200px;
		margin-bottom: 15px;
  }
}

@media only screen and (max-width: 250px) {
	.search input {
		width: 200px;
		margin-bottom: 15px;
  }
}