#search_block_top {
  float: right;
  width: 260px;
  padding: 0;
}
@media (min-width: 768px) and (max-width: 991px) {
  #search_block_top {
    padding-bottom: 10px;
  }
}
@media (max-width: 767px) {
  #search_block_top {
    clear: both;
    width: 95%;
    float: none;
    margin: 0 auto;
    top: 42px;
    z-index: 999;
    position: relative;
    left: auto;
    right: auto;
  }
}
#search_block_top #searchbox {
  float: left;
  width: 100%;
  border: 1px solid #ededed;
  background: white;
}
@media (max-width: 767px) {
  #search_block_top #searchbox {
    margin: 10px 0 0 0;
  }
}
#search_block_top .btn.button-search {
  background: white;
  display: block;
  border: none;
  width: 27%;
  text-align: center;
  padding: 9px 0;
  float: right;
}
@media (max-width: 767px) {
  #search_block_top .btn.button-search {
    width: 16%;
  }
}
@media (max-width: 480px) {
  #search_block_top .btn.button-search {
    width: 18%;
  }
}
@media (max-width: 319px) {
  #search_block_top .btn.button-search {
    width: 25%;
  }
}
#search_block_top .btn.button-search span {
  text-transform: uppercase;
}
#search_block_top .btn.button-search:hover {
  color: #e67a32;
}
#search_block_top #search_query_top {
  display: inline;
  padding: 0 5px;
  margin: 5px;
  background: whitesmoke;
  margin: 2px 0 2px 2px;
  border: none;
  float: left;
  width: 70%;
  height: 33px;
}
@media (max-width: 767px) {
  #search_block_top #search_query_top {
    width: 83%;
  }
}
@media (max-width: 480px) {
  #search_block_top #search_query_top {
    width: 81%;
  }
}
@media (max-width: 319px) {
  #search_block_top #search_query_top {
    width: 74%;
  }
}

.ac_results {
  background: white;
  border: 1px solid #ededed;
  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: whitesmoke;
}

form#searchbox {
  position: relative;
}
form#searchbox label {
  color: #333038;
}
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;
}
