@media (min-width: 320px) and (max-width: 480px) {
  #search_block_top {
    display: block !important;
  }

  .search-desktop .row .input-group-addon {
    display: none;
  }

  form#searchbox input#search_query_block {
    max-width: 100% !important;
  }

  .search-desktop {
    display: none;
    position: absolute !important;
    top: 51px !important;
    width: 100% !important;
    background-color: white !important;
    height: 90px !important;
    border-bottom: 1px solid #f4f4f4;
  }

  .search-desktop .input-group {
    position: relative;
    display: block;
  }

  .search-desktop .row .input-group {
    padding-top: 5px !important;
  }

  .search-desktop .row .input-group-addon {
    display: block !important;
    position: absolute;
    top: -46px;
    right: 80px;
    z-index: 100;
  }

  #mobile-search img {
    width: 22px;
    height: auto;
  }

  #mobile-search {
    position: absolute;
    top: 40px;
    right: 100px;
    z-index: 10000;
    display: block !important;
  }
}

#search_block_top {
  float: none;
  clear: both;
  width: 250px;
  position: absolute;
  top: 5px;
  left: 5px;
}

#search_block_top #searchbox {
  float: left;
  width: 100%;
}

#search_block_top .btn.button-search {
  display: block;
  position: absolute;
  top: 0;
  left: 1px;
  border: none;
  color: white;
  width: 50px;
  text-align: center;
  padding: 0px;
  background-color: #fbfbfb;
  margin-top: 1px;
}

#search_block_top .btn.button-search span {
  display: none;
}

#search_block_top .btn.button-search:before {
  content: "\f002";
  display: block;
  color: #000;
  font-family: "FontAwesome";
  font-size: 17px;
  width: 100%;
  text-align: center;
}

#search_block_top #search_query_top {
  display: inline;
  padding: 0 13px;
  background: #fbfbfb;
  margin-right: 1px;
  padding-left: 0px;
  color: #000;
}

.ac_results {
  background: white;
  border: 1px solid #d6d4d4;
  width: 271px;
  margin-top: -1px;
}

.ac_results li {
  padding: 0 10px;
  font-weight: normal;
  color: #686666;
  font-size: 13px;
  line-height: 22px;
}

.ac_results li.ac_odd {
  background: white;
}

.ac_results li:hover,
.ac_results li.ac_over {
  background: #fbfbfb;
}

form#searchbox {
  position: relative;
}

form#searchbox label {
  color: #333333;
}

form#searchbox input#search_query_block {
  margin-right: 10px;
  max-width: 222px;
  margin-bottom: 10px;
  display: inline-block;
  float: left;
}

form#searchbox .button.button-small {
  float: left;
}

form#searchbox .button.button-small i {
  margin-right: 0;
}

.hook_top #search_block_top {
  display: none;
}

#searchbox .search_query {
  text-indent: 50px;
}

#mobile-search {
  display: none;
}
