#search_block_top {
  padding: 0;
  float: right;
  position: absolute;
  right: 0;
  top: 142px;
  z-index: 5;
  width: 24%;
  -webkit-box-shadow: 0px 4px 0px 0px rgba(7, 33, 55, 0.19);
  -moz-box-shadow: 0px 4px 0px 0px rgba(7, 33, 55, 0.19);
  box-shadow: 0px 4px 0px 0px rgba(7, 33, 55, 0.19);
}
@media (max-width: 1267px) {
  #search_block_top {
    width: 33%;
  }
}
@media (max-width: 991px) {
  #search_block_top {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #search_block_top {
    padding: 0;
    width: 210px;
    top: 142px;
    left: 0;
    right: auto;
  }
}
@media (max-width: 480px) {
  #search_block_top {
    width: 275px;
    top: 235px;
    right: 0;
    left: 0;
    margin: 0 auto;
  }
}
#search_block_top #searchbox {
  float: left;
  width: 100%;
  padding: 25px 10px;
  border-radius: 0;
  background-color: #D50025;
}
@media (max-width: 767px) {
  #search_block_top #searchbox {
    padding: 5px;
    border-radius: 5px;
  }
}
#search_block_top .btn.button-search {
  display: block;
  position: absolute;
  top: 25px;
  right: 10px;
  border: none;
  color: #315489;
  width: 40px;
  background-color: #fff;
  text-align: center;
  padding: 20px 0;
  background-image: url("lupka.png");
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  #search_block_top .btn.button-search {
    right: 5px;
    top: 5px;
  }
}
#search_block_top .btn.button-search span {
  display: none;
}
#search_block_top .btn.button-search:before {
  display: block;
  font-family: "FontAwesome";
  font-size: 16px;
  width: 100%;
  line-height: 23px;
  text-align: center;
}
#search_block_top #search_query_top {
  display: inline;
  padding: 0 44px 0 12px;
  height: 40px;
  font-size: 13px;
  margin-right: 0px;
  width: 100%;
}

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

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

.form-control:focus {
  box-shadow: none;
}
