/******************************************************
 * @package Ves Theme Framework for Magento
 * @version 1.0
 * @author http://www.venustheme.com
 * @copyright Copyright (C) Augus 2013 Venustheme.com <@emai:venustheme@gmail.com>.All rights reserved.
 * @license   GNU General Public License version 2
*******************************************************/
/* RIGHT TO LEFT */
/*
 * LAYOUTS VAIRABLES
 */
#search_block_top {
  width: 200px;
}
@media (max-width: 991px) {
  #search_block_top {
    width: 50%;
  }
}
@media (min-width: 992px) {
  #search_block_top {
    border-left: 1px solid #1a1a1a;
  }
  .rtl #search_block_top {
    border-right: 1px solid #1a1a1a;
    border-left: inherit;
  }
}
#search_block_top #searchbox {
  float: left;
  width: 100%;
}
.rtl #search_block_top #searchbox {
  float: right;
}
#search_block_top .btn.button-search {
  background: transparent;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  color: white;
  padding: 10px 7px;
  text-align: center;
}
.rtl #search_block_top .btn.button-search {
  left: 0;
  right: auto;
}
#search_block_top .btn.button-search span {
  display: none;
}
#search_block_top .btn.button-search:before {
  content: "\f002";
  display: block;
  font-family: "FontAwesome";
  width: 100%;
  text-align: center;
}
#search_block_top .btn.button-search:hover {
  color: #6f6f6f;
}
#search_block_top #search_query_top {
  display: inline;
  padding: 0 13px;
  height: 38px;
  line-height: 34px;
  margin-right: 1px;
  background-color: black;
  border: 0;
}
#search_block_top #search_query_top:focus {
  -webkit-box-shadow: inherit;
  box-shadow: inherit;
}

.ac_results {
  background: white;
  border: 1px solid #f2f2f2;
  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: #333333;
}
form#searchbox input#search_query_block {
  margin-right: 10px;
  max-width: 222px;
  margin-bottom: 10px;
  display: inline-block;
  float: left;
}
.rtl form#searchbox input#search_query_block {
  margin-left: 10px;
  margin-right: inherit;
}
.rtl form#searchbox input#search_query_block {
  float: right;
}
form#searchbox .button.button-small {
  float: left;
}
.rtl form#searchbox .button.button-small {
  float: right;
}
form#searchbox .button.button-small i {
  margin-right: 0;
}
.rtl form#searchbox .button.button-small i {
  margin-left: 0;
  margin-right: inherit;
}
