#search_block_top {
  margin-top: -38px;
  float: right;
}
@media (max-width: 767px) {
  #search_block_top {
    display: block;
    margin-top: 0px;
    float: left;
    width: 100%;
    height: 20px;
  }
}
#search_block_top #searchbox {
  float: left;
  width: 100%;
}
#search_block_top .btn.button-search {
  background: #fbfbfb;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  /*border: none;*/
  border-top: 1px solid #D6D4D4;
  border-right: 1px solid #D6D4D4;
  border-bottom: 1px solid #D6D4D4;
  border-left: 0px solid #fbfbfb;
  color: #666666;
  /*width: 50px;*/
  text-align: center;
  padding: 4px;
}
#search_block_top .btn.button-search span {
  display: none;
}
#search_block_top .btn.button-search:before {
  content: "\f002";
  display: block;
  font-family: "FontAwesome";
  font-size: 17px;
  width: 100%;
  text-align: center;
  color: #666666;
}
#search_block_top .btn.button-search:hover {
  /*background: #5657D5;*/
  color: white;
  font-size: 15px;
}
#search_block_top #search_query_top {
  display: inline;
  padding-left: 7px;
  /*height: 45px;*/
  background: #fbfbfb;
  margin-right: 1px;
}

.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;
}