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

#search_widget {
  margin-top: .625rem;
  margin-bottom: .625rem;
}
@media (max-width: 767px){
  #search_widget{
    display: none;
    margin-top: 0;
    margin-bottom: 20px;
  }
}
#search_widget form {
  position: relative;
}
#search_widget form i,
#search_widget form img,
#search_widget form svg {
  position: absolute;
  /* padding: .5rem; */
  padding: 0;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
/* #search_widget form img {
  height: 100%;
} */
#search_widget form i.clear {
  right: 5px;
  color: var(--grey-sp);
  font-size: 18px;
  display: none;
}
#search_widget form input {
  width: 100%;
  padding: 10px 50px 10px 20px;
  outline: none;
  border-radius: 30px;
  background-color: #fff;
  border: .5px solid var(--grey-sp);
  color: #999;
  font-size: var(--text-m);
}

.ui-autocomplete.searchbar-autocomplete {
  width: 100%;
  min-height: 100%;
  border: 1px solid rgba(170, 170, 170, .55);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.ui-autocomplete.searchbar-autocomplete li {
  background: #FFF;
}

.ui-autocomplete.searchbar-autocomplete .transparent-item {
  background: transparent;
  border: none;
  margin: 0;
}

.ui-autocomplete.searchbar-autocomplete li a, .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
  padding: 8px 55px;
  overflow: auto;
  border: none;
  background: none;
  margin: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #434342;
}

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

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

@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;
    background: transparent;
  }

  .header-nav .desktop .right-nav #search_widget{
    margin: 0;
    margin-right: 20px;
    display: flex;
    align-items: center;
  }
  .header-nav .desktop .right-nav #search_widget form{
    width: 100%;
  }
  .header-nav .desktop .right-nav #search_widget input{
    border: none;
    background-color: var(--search-yellow);
    color: var(--grey-sp);
  }
  .header-nav .desktop .right-nav #search_widget input::placeholder{
    color: var(--grey-sp);
  }
}

@media only screen and (min-width: 992px) {
  #search_widget {
    min-width: 200px;
  }
  .header-nav .desktop .right-nav #search_widget{
    margin-right: 95px;
    width: 224px;
    height: 36px;
  }
  #search_widget form img,
  #search_widget form svg{
    right: 12px;
  }
}
