#header, #header .header-top {
  background-color: white;
}

#search_widget {
  position: relative;
  width: 100%;
  border-radius: 3px;
}
#search_widget form {
  position: relative;
}
#search_widget form i {
  position: absolute;
  padding: .6rem;
  right: 20px;
}
#search_widget form button {
  position: absolute;
  padding: .6rem;
  right: 20px;
  background-color: transparent;
  border: none;
}
#search_widget form i.clear {
  right: 15px;
  display: none;
}
#search_widget form input {
  width: 100%;
  padding: 10px 15px;
  color: black;
  overflow: unset;
  background: #fff;
  height: 44px;
  max-height: 44px;
  border-radius: 5px;
  border: 2px solid black;
}

.ui-autocomplete.searchbar-autocomplete {
  width: 100%;
  min-height: 100%;
  border: none;
}

.ui-autocomplete.searchbar-autocomplete li a, .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
  padding: 8px 15px;
  overflow: auto;
  border: none;
  background: none;
  margin: auto;
  border-radius: 0;
}

.ui-autocomplete.searchbar-autocomplete li a:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
  float: left;
  width: 50px;
  height: auto;
  margin-right: 8px;
}

#header, #header .header-top {
  background-color: white;
}

#search_widget {
  position: relative;
  width: 100%;
  border-radius: 3px;
}
#search_widget form {
  position: relative;
}
#search_widget form i {
  position: absolute;
  padding: .8rem;
  right: 20px;
}
#search_widget form button {
  position: absolute;
  padding: .8rem;
  right: 20px;
  background-color: transparent;
  border: none;
}
#search_widget form i.clear {
  right: 15px;
  display: none;
}
#search_widget form input {
  width: 100%;
  padding: 10px 15px;
  color: black;
  overflow: unset;
  background: #fff;
  height: 44px;
  max-height: 44px;
  border-radius: 5px;
  border: 2px solid black;
}

.ui-autocomplete.searchbar-autocomplete {
  width: 100%;
  min-height: 100%;
  border: none;
}

.ui-autocomplete.searchbar-autocomplete li a, .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
  padding: 8px 15px;
  overflow: auto;
  border: none;
  background: none;
  margin: auto;
  border-radius: 0;
}

.ui-autocomplete.searchbar-autocomplete li a:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
  float: left;
  width: 50px;
  height: auto;
  margin-right: 8px;
}

@media (max-width:1200px) {
	#search_widget form input {
		width: auto;
		color: black;
		overflow: unset;
		background: #fff;
		height: 44px;
		max-height: 44px;
		border-radius: 5px;
		border: 2px solid black;
	}
	
	#search_widget form i {
		position: absolute;
		padding: .8rem;
	}
	
	#search_widget form button {
		position: absolute;
		padding: .8rem;
		background-color: transparent;
		border: none;
	}
}

@media (max-width:991px) {
	#search_widget {
		position: relative;
		min-width: 100px;
		width: 100%;
		border-radius: 3px;
		display: flex; /* add flex display */
		justify-content: center; /* center horizontally */
	}

	#search_widget form {
		/* float: left; remove float */
		display: flex; /* add flex display */
		align-items: center; /* center vertically */
	}

	#search_widget form input {
	  width: 100%;
	  color: black;
	  overflow: unset;
	  background: #fff;
	  height: 44px;
	  max-height: 44px;
	  border-radius: 5px;
	  border: 2px solid black;
	}

	#search_widget form i {
	  position: absolute;
	  padding: .2rem;
	}
	
	#search_widget form button {
	  position: absolute;
	  padding: .2rem;
	  background-color: transparent;
	  border: none;
	}

}

@media (max-width:767px) {
	#search_widget {
		position: relative;
		min-width: 100px;
		width: 100%;
		border-radius: 3px;
		display: flex; /* add flex display */
		justify-content: center; /* center horizontally */
	}

	#search_widget form {
		/* float: left; remove float */
		display: flex; /* add flex display */
		align-items: center; /* center vertically */
	}

	#search_widget form input {
	  width: 100%;
	  color: black;
	  overflow: unset;
	  background: #fff;
	  height: 35px;
	  max-height: 35px;
	  border-radius: 5px;
	  border: 2px solid black;
	}

	#search_widget form i {
	  position: absolute;
	  padding: .2rem;
	}
	
	#search_widget form button {
	  position: absolute;
	  padding: .2rem;
	  background-color: transparent;
	  border: none;
	}

}