#search_block_top {
  bottom: 54px;
  float: right;
  padding: 0;
  position: absolute;
  right: 0;
  z-index: 1;
}
@media (max-width: 767px) {
  #search_block_top {
    border: medium none;
    bottom: 70px;
    height: 40px;
    left: 0;
    margin: 0 auto;
    padding: 0;
    position: absolute;
    right: 0;
    width: 55%;
  }
}
@media (max-width: 480px) {
  #search_block_top {
    width: 85%;
  }
}
#search_block_top #searchbox {
  float: left;
  width: 100%;
}
#search_block_top .ttsearch_button {
  background: #ffc520 url("../../../img/templatetrip/sprite.png") no-repeat scroll 0 -227px;
  cursor: pointer;
  float: left;
  font-size: 0;
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 1;
}
#search_block_top .ttsearch_button:hover {
  background-position: -60px -227px;
}
@media (max-width: 767px) {
  #search_block_top .ttsearch_button {
    display: none;
  }
}
#search_block_top.active .ttsearch_button {
  background: none;
  cursor: pointer;
  float: left;
  font-size: 0;
  text-align: center;
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 1;
}
#search_block_top.active .ttsearch_button:before {
  font-family: "FontAwesome";
  content: "\f00d";
  color: #333333;
  background: #ffe160;
  float: left;
  font-size: 18px;
  height: 100%;
  padding: 17px;
  width: 100%;
}
#search_block_top .ttsearchtoggle {
  background: white;
  height: 35px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 9px;
  width: 270px;
  z-index: 1;
}
@media (max-width: 767px) {
  #search_block_top .ttsearchtoggle {
    display: block !important;
    width: 100%;
    position: static;
    padding: 0;
    background: none;
  }
}
#search_block_top .btn.button-search {
  display: block;
  position: absolute;
  top: 0;
  background: #ffc520 url("../../../img/templatetrip/sprite.png") no-repeat scroll -1px -235px;
  right: 0;
  border: none;
  color: white;
  width: 45px;
  height: 35px;
  text-align: center;
  padding: 0;
}
@media (max-width: 767px) {
  #search_block_top .btn.button-search {
    background-color: #dddddd;
    background-position: 0 -235px;
    height: 35px;
    right: 0;
    top: 0;
    width: 48px;
  }
}
#search_block_top .btn.button-search span {
  display: none;
}
#search_block_top .btn.button-search:hover {
  color: #6f6f6f;
  background-color: #ffb505;
  background-position: -61px -235px;
}
@media (max-width: 767px) {
  #search_block_top .btn.button-search:hover {
    background-position: -61px -235px;
    background-color: #ffe160;
  }
}
#search_block_top #search_query_top {
  display: inline;
  height: 35px;
  background: white;
  color: #666666;
  border: none;
  width: 100%;
  position: absolute;
  top: 0;
  padding: 0 38px 0 15px;
  right: 0;
  transition: all 500ms ease-in-out 0s;
}
@media (max-width: 767px) {
  #search_block_top #search_query_top {
    width: 100%;
    height: 35px;
    color: #666666;
    padding: 10px 35px 10px 10px;
    border: 1px solid #dddddd;
  }
}
#search_block_top #search_query_top:focus, #search_block_top #search_query_top:active {
  border-color: #eeeeee;
}

.ac_results {
  background: white;
  border: 1px solid #eeeeee;
  width: 271px !important;
  margin-top: 10px;
}
@media (max-width: 480px) {
  .ac_results {
    left: 8% !important;
    margin: 0;
  }
}
.ac_results ul {
  padding: 10px;
}
.ac_results ul li {
  padding: 5px;
  font-weight: normal;
  color: #666666;
  font-size: 13px;
  line-height: 22px;
}
.ac_results ul li .ttsearch_img {
  margin-right: 10px;
}
.ac_results ul li.ac_odd {
  background: white;
}
.ac_results ul li:hover, .ac_results ul li.ac_over {
  cursor: pointer;
  background: #fefefe;
}
.ac_results ul li:hover .ac_product_name, .ac_results ul li.ac_over .ac_product_name {
  color: #2b5595;
}

form#searchbox {
  position: relative;
}
form#searchbox label {
  color: #333333;
}
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;
}
