#search_block_top {
  clear: both;
  float: right;
  margin-top: -50px;
  width: auto;
}
@media (max-width: 992px) {
  #search_block_top {
    float: right;
    margin: -20px 0 15px;
    padding: 0 10px;
  }
}
@media (max-width: 767px) {
  #search_block_top {
    width: 100%;
    margin: 10px 0 25px;
    box-shadow: none;
    padding: 0;
  }
}
#search_block_top #searchbox {
  float: left;
  width: 100%;
}
#search_block_top .btn.button-search {
  display: block;
  position: absolute;
  top: 1px;
  right: 1px;
  background: none repeat scroll 0 0 #3c3c3c;
  border: medium none;
  border-radius: 0 15px 15px 0;
  border: none;
  color: #fff;
  width: 40px;
  text-align: center;
  padding: 4px 1px 5px;
}
#search_block_top .btn.button-search:hover {
  color: #fff;
}
#search_block_top #search_query_top {
  display: inline;
  padding: 0 50px 0 12px;
  height: 30px;
  color: #444;
  margin-right: 1px;
  background: none repeat scroll 0 0 #f2f2f2;
  border-radius: 15px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.18) inset;
  border: 1px solid #eee;
}

.ac_results {
  background: white;
  border: 1px solid #e4e4e4;
  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: white;
}

form#searchbox {
  position: relative;
}
form#searchbox label {
  color: #444444;
}
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;
}
