.search-block-top {
  border: 2px solid #417cb6;
  display: inline-block;
  width: 50%;
  max-width: 400px;
  float: right;
  background-color: #fff;
  position: relative;
  border-radius: 4px;
}

@media (max-width: 991px) and (min-width: 768px) {
  .search-block-top {
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  #search_block_top {
    width: 85.5%;
    text-align: center;
    float: none;
    margin: auto;
    padding: 0 10px 0;
    margin-top: 15px;
    margin-bottom: 15px;
  }
}

#search_block_top #searchbox {
  display: block;
  border: none;
}

#search_block_top .form-search {
  width: 60%;
  float: left;
}

#search_block_top input.search_query {
  width: 100%;
  height: auto;
  background-color: transparent;
  display: inline-block;
  line-height: 18px;
  border: none;
  color: #797979;
  font-style: italic;
  height: 48px;
  font-size: 15px;
}

#search_block_top button {
  background: #417cb6;
  border: none !important;
  width: auto;
  display: block;
  height: 48px;
  padding: 0 17px;
  margin: 0;
  color: #fff;
  position: absolute;
  top: 0;
  right: 0px;
  transition: all 500ms ease 0s;
  -moz-transition: all 500ms ease 0s;
  -webkit-transition: all 500ms ease 0s;
  z-index: 2;
}

@media (max-width: 767px) {
  #search_block_top input.search_query {
    padding: 8px 10px;
  }
}

#search_block_top #searchbox .tooltip {
  display: none !important;
}

#search_block_top button:before {
  font-family: "FontAwesome";
  content: "\f002";
  position: relative;
  top: 1px;
  left: 0;
  font-size: 16px;
  font-weight: 400;
}

#search_block_top button span {
  display: none;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #search_block_top input.button {
    top: 0px;
  }
}

#search_block_top input.button:hover {
  background-color: #000;
  transition: all 300ms ease-in-out 0s;
  -moz-transition: all 300ms ease-in-out 0s;
  -webkit-transition: all 300ms ease-in-out 0s;
  -o-transition: all 300ms ease-in-out 0s;
}

#show_result .result {
  position: absolute;
  left: -1px;
  top: auto;
  margin-top: 5px;
  z-index: 100;
  width: 600px;
  background: #fff;
  padding: 15px;
  border: 1px solid #ccc;
}

#show_result .result h1 {
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 991px) {
  #show_result .result {
    right: auto;
    left: 0;
    width: 400px;
  }
}

@media (max-width: 767px) {
  #show_result .result {
    top: auto;
    width: 100%;
  }
}

#show_result ul li {
  list-style: none;
}

#show_result h4 {
  float: left;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 15px;
  margin-right: 25px;
  line-height: 25px;
  width: 100%;
}

#show_result h3 {
  padding-bottom: 4px;
}

#show_result h3 a {
  line-height: 22px;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}

#show_result #closedform {
  float: right;
  cursor: pointer;
  width: 17px;
  height: 17px;
  display: block;
  /*text-indent:-9999px;*/
  font-size: 0;
  color: #333;
}

#show_result #closedform:before {
  display: inline-block;
  content: "\f057";
  font-family: "FontAwesome";
  font-size: 18px;
  line-height: 18px;
}

#show_result #closedform:hover {
  color: #c04a62;
}

#show_result #closedform:hover {
  background-position: 0 100%;
}

#show_result .noproduct {
  clear: both;
  display: block;
}

.large_product {
  clear: both;
}

#show_result .more_qs {
  margin-left: -10px;
  margin-right: -10px;
}

#show_result .more_qs h1 {
  padding: 0 10px;
}

#show_result .search-thumb-list li {
  text-align: center;
  margin: 0 10px 10px;
}

#show_result .search-thumb-list li a {
  display: block;
  border: 1px solid transition;
  /*padding: 4px;
  margin: 0 5px;*/
  transition: all 300ms ease-in-out 0s;
  -moz-transition: all 300ms ease-in-out 0s;
  -webkit-transition: all 300ms ease-in-out 0s;
  -o-transition: all 300ms ease-in-out 0s;
}

#show_result .search-thumb-list li.active a {
  border: 1px solid #333;
}

#show_result .search-thumb-list li h3 {
  margin: 10px 0 0;
  font-size: 12px;
}

#show_result .large_product,
.result h4 {
  margin-bottom: 14px;
  padding-bottom: 14px;
  overflow: hidden;
  text-align: left;
}

#show_result .large_product .sitem_product.row,
.result h4 .sitem_product.row {
  margin-left: -15px;
  margin-right: -15px;
}

#show_result .large_product .product_img_link {
  display: block;
  overflow: hidden;
}

#header a.ajax_add_to_cart_button {
  color: #fff;
}

#show_result .viewdetail {
  border-top: 1px solid #cacaca;
  margin-top: 18px;
  padding-top: 12px;
  text-align: right;
  padding-bottom: 0;
}

#show_result .viewdetail a {
  font-weight: 700;
}

#show_result .viewdetail a:hover {
  color: #6b6b6b;
}

#show_result .content_price {
  margin: 5px 0;
}

#show_result .product_desc {
  overflow: hidden;
  margin: 5px 0 15px;
}

#show_result .more_qs {
  position: relative;
}

#show_result a.btn_icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  -moz-border-radius: 50%;
  box-shadow: 0 0 5px #bfbfbf;
  -moz-box-shadow: 0 0 5px #bfbfbf;
  text-align: center;
  font-size: 0;
  float: left;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

#show_result a.btn_icon:before {
  position: relative;
  width: 40px;
  height: 40px;
  display: block;
  line-height: 40px;
  vertical-align: middle;
  font-family: "FontAwesome";
  font-size: 18px;
  font-weight: 400;
  color: #bfbfbf;
}

#show_result a.btn_icon:hover:before {
  color: #333;
}

#show_result a.btn_icon.prev:before {
  content: "\f0d9";
}

#show_result a.btn_icon.next:before {
  content: "\f0da";
}

#show_result a.btn_icon.prev, #show_result a.btn_icon.next {
  position: absolute;
  top: 48%;
  z-index: 10;
  transition: all 0.3s ease-in 0s;
}

#show_result a.btn_icon.prev {
  left: 0;
}

#show_result a.btn_icon.next {
  right: 0;
}

#search_block_top p {
  width: auto;
  padding: 0;
  margin: 0;
  float: none;
}

.filter-category {
  width: 40%;
  float: left;
  position: relative;
  display: inline-block;
  float: left;
  text-align: left;
  padding: 0 0 0 15px;
  border-left: 1px solid #417cb6;
}

.filter-category #display-select {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  background-position: right 0;
  cursor: pointer;
  height: 48px;
  line-height: 48px;
  position: relative;
  background: none;
  max-width: 100%;
  color: #000;
  font-size: 15px;
  padding-left: 5px;
  border: none;
  padding: 0;
}

.filter-category #display-select:after {
  position: absolute;
  right: 60px;
  top: 0;
  font-family: "FontAwesome";
  content: "\f107";
}

@media (max-width: 480px) {
  .filter-category #display-select:after {
    content: "";
  }
}

.filter-category #category-list {
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
  border: none;
  max-width: 100% !important;
  height: 48px;
  line-height: 48px;
  background: none;
  padding-right: 10px;
  max-width: 100%;
  outline: none;
  color: #848484;
  padding-left: 5px;
}
