#search_block_top {
  float: right;
  display: block;
  padding: 0;
  width: auto;
  margin: 65px 0 0;
  z-index: 9;
}
#search_block_top #searchbox:hover #search_block_top, #search_block_top #searchbox:focus #search_block_top {
  -webkit-transition: all 0.9s ease;
  -webkit-transition-delay: 0s;
  -moz-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
  transition: all 0.9s ease 0s;
  width: 265px;
  position: absolute;
  right: 30px;
}
#search_block_top #searchbox:hover .btn.button-search, #search_block_top #searchbox:focus .btn.button-search {
  border-left: medium none;
}
#search_block_top #searchbox:hover #search_query_top, #search_block_top #searchbox:focus #search_query_top {
  display: block;
  -webkit-transition: all 0.9s ease;
  -webkit-transition-delay: 0s;
  -moz-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
  transition: all 0.9s ease 0s;
  width: 235px;
  font-size: 12px;
  position: absolute;
  background: #f5f5f5;
  padding: 0 40px 0 10px;
}
@media (max-width: 1224px) {
  #search_block_top #searchbox:hover #search_query_top, #search_block_top #searchbox:focus #search_query_top {
    width: 200px;
  }
}
@media (max-width: 480px) {
  #search_block_top #searchbox:hover #search_query_top, #search_block_top #searchbox:focus #search_query_top {
    width: 180px;
  }
}
#search_block_top .btn.button-search {
  background: rgba(0, 0, 0, 0) url("../../../img/megnor/search.png") no-repeat scroll 0 0;
  border: medium none;
  display: block;
  height: 34px;
  padding: 0;
  text-align: center;
  width: 30px;
  position: absolute;
  right: 0;
  z-index: 1;
  top: 0;
}
#search_block_top .btn.button-search span {
  display: none;
}
#search_block_top .btn.button-search:hover {
  background-position: 0 -54px;
  border-left: none;
}
#search_block_top #search_query_top {
  background: #fff;
  border: 1px solid transparent;
  display: inline;
  line-height: none;
  height: 35px;
  padding: 0;
  position: absolute;
  right: 0;
  top: -7px;
  font-size: 0;
  -webkit-transition: all 0.9s ease;
  -webkit-transition-delay: 0s;
  -moz-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
  transition: all 0.9s ease 0s;
  width: 0;
  z-index: 1;
}

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

#search_block_top #searchbox #search_query_top:focus {
  font-size: 12px;
  display: block;
  -webkit-transition: all 0.9s ease;
  -webkit-transition-delay: 0s;
  -moz-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
  transition: all 0.9s ease 0s;
  width: 235px;
  position: absolute;
  background: #f5f5f5;
  padding: 0 55px 0 10px;
}
@media (max-width: 1224px) {
  #search_block_top #searchbox #search_query_top:focus {
    width: 200px;
  }
}
@media (max-width: 480px) {
  #search_block_top #searchbox #search_query_top:focus {
    width: 180px;
  }
}

.form-control::-moz-placeholder {
  color: #FFF;
}