/**
 * OnCode Search Pro - Powerful Ajax search bar for WooCommerce.
 *
 * @copyright 2020 oncode.ca, Khalil Asmi
 */
.ojs-search-form {
  position: relative;
}
.ojs-search-form .ojs-spinner-icon {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 6px;
  margin-right: 8px;
  text-align: center;
  width: 32px;
  height: 32px;
}
.ojs-search-form .ojs-spinner-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: #777;
}
.ojs-search-form .ojs-search-bar .ojs-search-field {
  max-width: unset;
  width: 100%;
  margin: 0;
}
.ojs-search-form .ojs-search-bar .ojs-search-submit {
  position: absolute;
  display: block;
  right: 0;
  top: -5px;
  background-color: transparent;
  border: 0;
  max-width: 50px;
  min-width: unset !important;
  padding-left: 12px;
  padding-right: 12px;
  outline: none !important;
}
.ojs-search-form .ojs-search-bar .ojs-search-submit .ojs-search-icon {
  display: block;
  text-align: center;
}
.ojs-search-form .ojs-search-bar .ojs-search-submit .ojs-search-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: #777;
}
.ojs-search-form .ojs-search-result-wrap {
  position: absolute;
  display: none;
  z-index: 1;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 15px;
  min-height: 50px;
  border-radius: 3px;
  background-color: #FFF;
  box-shadow: 0 1px 6px 1px rgba(0, 0, 0, 0.08);
}
.ojs-search-form .ojs-search-result-wrap .ojs-arrow-wrap {
  position: absolute;
  top: -14px;
  left: 30px;
  overflow: hidden;
  width: 21px;
  height: 14px;
}
.ojs-search-form .ojs-search-result-wrap .ojs-arrow-wrap .ojs-arrow-outer,
.ojs-search-form .ojs-search-result-wrap .ojs-arrow-wrap .ojs-arrow-inner {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-block;
  margin-left: -2px;
}
.ojs-search-form .ojs-search-result-wrap .ojs-arrow-wrap .ojs-arrow-outer {
  border-right: 11px solid transparent;
  border-left: 11px solid transparent;
  border-bottom: 15px solid #EEE;
}
.ojs-search-form .ojs-search-result-wrap .ojs-arrow-wrap .ojs-arrow-inner {
  top: 2px;
  left: 2px;
  display: inline-block;
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  border-bottom: 13px solid #FFF;
}
.ojs-search-form .ojs-search-result-wrap .ojs-spinner-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  margin-top: -16px;
  margin-left: -16px;
}
.ojs-search-form .ojs-search-result-wrap.ojs-has-items .ojs-arrow-inner {
  border-bottom-color: #f5f5f5;
}
.ojs-search-form .ojs-search-result {
  max-height: 600px;
  overflow-y: auto;
}
.ojs-search-form .ojs-search-result .ojs-msg {
  padding: 1rem;
  display: block;
  text-align: center;
}
.ojs-search-form .ojs-search-result .ojs-result-list {
  padding: 0;
  margin: 0;
}
.ojs-search-form .ojs-search-result .ojs-result-list li {
  display: block;
  padding: 0;
}
.ojs-search-form .ojs-search-result .ojs-result-list li:hover {
  background-color: #EEE;
}
.ojs-search-form .ojs-search-result .ojs-result-list li:last-child {
  border-bottom: 0;
}
.ojs-search-form .ojs-search-result .ojs-result-list .ojs-result-heading {
  background-color: #f5f5f5;
  font-size: 13px;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.4;
  color: #CCC;
  border-bottom: 1px solid #EEE;
  padding: 0 10px;
}
.ojs-search-form .ojs-search-result .ojs-result-list a {
  display: block;
  text-decoration: none;
  outline: none;
  color: initial;
  padding: 4px 10px;
}
.ojs-search-form .ojs-search-result .ojs-products-list > li {
  border-bottom: 1px solid #EEE;
}
.ojs-search-form .ojs-search-result .ojs-product-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.ojs-search-form .ojs-search-result .ojs-product-item .ojs-product-thumb {
  display: block;
  width: 75px;
  margin-right: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.ojs-search-form .ojs-search-result .ojs-product-item .ojs-product-info > span {
  display: block;
}
.ojs-search-form .ojs-search-result .ojs-product-item .ojs-product-info .ojs-product-title {
  font-size: 18px;
}
.ojs-search-form .ojs-search-result .ojs-product-item .ojs-product-info .ojs-product-sku {
  font-size: 11px;
  color: #CCC;
  font-weight: 100;
}
.ojs-search-form .ojs-search-result .ojs-product-item .ojs-product-info .ojs-product-price {
  font-size: 20px;
}
.ojs-search-form .ojs-search-result .ojs-product-item .ojs-product-info .ojs-product-price ins {
  background: none;
}
.ojs-search-form .ojs-search-result .ojs-product-item .ojs-product-info .ojs-product-price .ojs-product-sale-price {
  margin-right: 5px;
}
.ojs-search-form.ojs-active .ojs-search-result-wrap {
  display: block;
}
.ojs-search-form.ojs-searching .ojs-search-result {
  opacity: 0.2;
}
