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

#search_widget {
  margin-bottom: .625rem;
  overflow: auto;
  width: 0;
  opacity: 0;
  pointer-events: none;
}
#search_widget.show {
  opacity: 1;
  pointer-events: auto;
  transition: width .6s cubic-bezier(0.5,0,0,0.75), opacity .3s cubic-bezier(0.5,0,0,0.75);
}

#search_widget.show input {
  width: 100%;
  transition: width .6s cubic-bezier(0.5,0,0,0.75);
}
.block-search:has(.show) {
  max-width: 635px;
}
#search_widget form {
  position: relative;
}
#search_widget form i {
  position: absolute;
  padding: .5rem;
}
#search_widget form i.clear {
  right: 15px;
  display: none;
}
#search_widget form input {
  width: 100%;
  padding: 10px 20px 10px 40px;
  outline: none;
  background-color: #f1f1f1;
  border-radius: 5px;
  border: 1px solid #909090;
}

.ui-autocomplete.searchbar-autocomplete {
  width: 100%;
  min-height: 100%;
  border: none;
    border-radius: 1.5rem;
  top: 145px !important;
  overflow: hidden;
}

.ui-autocomplete.searchbar-autocomplete li a, .ui-autocomplete.searchbar-autocomplete li a {
  padding: 8px 15px;
  overflow: auto;
  border: none;
  background: none;
  margin: auto;
  margin-top: 1rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
}

.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 only screen and (min-width: 768px) {
  #search_widget {
    float: right;
    margin-bottom: 0;
  }

  .ui-autocomplete.searchbar-autocomplete {
    width: 400px;
    min-height: auto;
    left: auto;
  }
}

@media only screen and (min-width: 992px) {
  #search_widget {
    min-width: 16.5rem;
  }
}

#header #search_widget form input::placeholder,
#header #search_widget form input {
    color: #000;
    font-weight: 400 !important;
}

.ui-autocomplete.searchbar-autocomplete {
  width: 100vw !important;
  left: auto !important;
}

.ui-menu .ui-menu-item {
  margin: 0 auto !important;
  width: auto !important;
  max-width: 1031px !important;
  display: block !important;
}