#search_block_top {
  margin: 10px 20px 10px 0;
  padding: 0;
  width: 23%;
  float: right;
}
@media (max-width: 991px) {
  #search_block_top {
    width: 35%;
    position: absolute;
    left: auto;
    right: 0;
    top: 10px;
    margin: 0 20px;
  }
}
@media (max-width: 767px) {
  #search_block_top {
    width: 45%;
    left: 0;
    margin: 0 auto;
    top: -60px;
  }
}
@media (max-width: 480px) {
  #search_block_top {
    width: 72%;
  }
}
#search_block_top #searchbox {
  float: left;
  width: 100%;
  border: none;
  padding: 0px;
}
#search_block_top .btn.button-search {
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  border: none;
  color: #000000;
  background: url("../../../img/megnor/search.png") no-repeat scroll 8px 9px transparent;
  text-align: center;
  padding: 20px;
}
#search_block_top .btn.button-search span {
  display: none;
}
#search_block_top .btn.button-search:before {
  background: #064377;
  color: white;
  content: "\f002";
  padding: 10px 9px;
  display: block;
  font-family: "FontAwesome";
  font-size: 14px;
  width: 100%;
  text-align: center;
  display: none;
}
#search_block_top #search_query_top {
  display: inline;
  padding: 3px 42px 3px 10px;
  height: 40px;
  border: none;
  background: white !important;
}

.ac_results {
  background: white;
  border: 1px solid #333333;
  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: #c4c4c4;
}
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;
}
