#search_block_top {
  position: absolute;
  width: 250px;
  bottom: -40px;
  right: 0;
  display: none;
}

#search_block_top #searchbox {
  float: right;
  border-bottom: 1px solid #fff;
}
@media (max-width: 767px) {
  #search_block_top #searchbox {
    float: none;
    display: inline-block;
  }
}
.search_block{
  position: relative;
  display: inline-block;
}
.search_button{
  background: rgb(0, 87, 47);
  display: inline-block;
  color: #fff;
  border: 1px solid #fff;
  position: relative;
  padding: 10px 10px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 3px;
  width: 40px;
  transition: all 0.3s ease-in-out;
}
.search_button:hover {
  background: #fff;
  color: #000
}
#search_block_top .btn.button-search {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: url("../../../img/megnor/sprite.png") no-repeat scroll 1px -137px transparent;
  width: 23px;
  text-align: center;
  padding: 0;
  height: 25px;
  margin: 0 10px 0 0;
}
#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: 0;
  width: 100%;
  text-align: center;
}
#search_block_top .btn.button-search:hover {
  color: white;
}
#search_block_top #search_query_top {
  display: inline;
  padding: 0 40px 6px 12px;
  font-size: 18px;
  height: 26px;
  margin: 0;
  border: none;
  color: white;
  background: rgba(0, 122, 66, 1);
}

.ac_results {
  background: white;
  border: 1px solid #e9e8e8;
  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: #22272a;
}
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;
}
