/**
 * Rox WooCommerce Mega Search
 * @version 1.0.0
 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.rox-search-container {
  position: relative;
  margin: 15px auto;
}
.rox-search-container * {
  box-sizing: border-box;
}
.rox-search-container a {
  text-decoration: none;
}

/**
 * Icons
 */
.rox-icon svg.icon {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  fill: #000;
  transition: all .3s linear;
}
.rox-icon svg.icon-rox-tick,
.rox-icon svg.icon-rox-search,
.rox-icon svg.icon-rox-right-d-arrow {
  fill: #56b1f1;
}
.rox-icon svg.icon-rox-reload,
.rox-icon svg.icon-rox-sad,
.rox-icon svg.icon-rox-close {
  fill: #7f7f7f;
}
.rox-icon svg.icon-rox-reload {
  -webkit-animation-name: spin;
  animation-name: spin;
  -webkit-animation-duration: 4000ms;
  animation-duration: 4000ms;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
.rox-icon svg.no-animation {
  -webkit-animation: none;
  animation: none;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rox-search input[type="search"] {
  width: 100%;
  background: #ebebeb;
  font-size: 16px;
  font-weight: 300;
  padding: 15px 35px 15px 17px;
  position: relative;
  z-index: 1;
}
.rox-search input[type="search"]:focus {
  outline: none;
}
.rox-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}
.rox-search a.reset, .rox-search a.submit {
  position: absolute;
  display: block;
  height: 45px;
  width: 35px;
  line-height: 25px;
  padding: 14px 0;
  top: 4px;
  right: 6px;
  transition: all 0.3s linear;
  cursor: pointer;
  z-index: 1;
}
.rox-search a.reset .rox-icon, .rox-search a.submit .rox-icon {
  width: 100%;
  height: 100%;
  display: block;
  margin: -2px 0 0 0;
  padding: 0;
}
.rox-search a.reset {
  display: none;
}

.rox-search-container.open .rox-search input[type="search"] {
  padding: 15px 80px 15px 17px;
}
.rox-search-container.open .rox-search a.submit {
  right: 46px;
}
.rox-search-container.open .rox-search a.reset {
  display: block;
  right: 10px;
}
.rox-search-container.open .rox-search-results .result-contents {
  display: block;
}

.rox-search-results .result-contents {
  position: absolute;
  width: 100%;
  top: 56px;
  background: #FFF;
  box-shadow: 11.98px 9.027px 50px 0px rgba(0, 0, 0, 0.14);
  z-index: 99;
  display: none;
}
.rox-search-results p {
  margin: 0;
}
.rox-search-results .alert {
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.rox-search-results .alert.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}

/** Result Items **/
.rox_items {
  margin: 0 15px;
  max-height: 400px;
  overflow-y: scroll;
  padding-bottom: 15px;
}

/** Single Item **/
.rox-wcms-item {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-bottom: 1px solid #ececec;
}
.rox-wcms-item:hover {
  background: #f4f4f4;
}
.rox-wcms-item:last-child {
  margin-bottom: 0;
}
.rox-wcms-item .item-image {
  width: 80px;
  height: 70px;
  float: left;
}
.rox-wcms-item .item-image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.rox-wcms-item .item-content {
  position: relative;
  display: block;
  float: left;
  margin-left: 20px;
}
.rox-wcms-item .item-content h4 {
  margin: 20px 0 3px;
  font-size: 14px;
  color: #3a3a3a;
  font-weight: 400;
  padding: 0;
}
.rox-wcms-item .item-price {
  font-size: 16px;
  font-weight: 500;
  color: #3a3a3a;
}
.rox-wcms-item .item-price del {
  position: relative;
  font-size: 12px;
  line-height: 12px;
  color: #3a3a3a;
  top: -2px;
  margin-left: 6px;
}
.rox-wcms-item .item-price ins {
  font-weight: normal;
  font-size: 14px;
  line-height: 14px;
}
.rox-wcms-item .discount {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  background: #fd4a4a;
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 0;
  margin-bottom: 9px;
}
.rox-wcms-item .rox-actions {
  display: none;
}

.rox-result-count {
  font-size: 14px;
  font-weight: 400;
  color: #919191;
  display: inline-block;
  margin: 15px 15px 10px;
}

.rox-search-loading,
.rox-search-no-product {
  color: #aeaeae;
  font-size: 14px;
  margin: 15px;
}
.rox-search-loading .rox-icon,
.rox-search-no-product .rox-icon {
  float: left;
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.rox-search-see-all {
  text-align: center;
  padding: 0 10px 10px;
}
.rox-search-see-all a {
  color: #56b1f1;
  font-weight: 400;
  font-size: 14px;
  transition: all .3s linear;
}
.rox-search-see-all a .rox-icon {
  display: inline-block;
  width: 11px;
  height: 11px;
}
.rox-search-see-all a:hover {
  color: #000;
}
.rox-search-see-all a:hover .rox-icon svg.icon-rox-right-d-arrow {
  fill: #000;
}

/**
 * @version 1.0.1
 */
.rox-wcms-item .rox-actions {
  position: relative;
  float: right;
  display: inline-block;
  margin: 23px auto;
}
.rox-wcms-item .rox-actions .rox-wcms-item-rating {
  display: inline-block;
  float: none;
}
.rox-wcms-item .rox-actions .added_to_cart {
  margin-left: 5px;
}
.rox-wcms-item .rox-actions .added_to_cart,
.rox-wcms-item .rox-actions .rox-wcms-btn {
  display: none;
}
.rox-wcms-item .rox-actions .rox-wcms-cart .rox-icon {
  width: 14px;
  height: 20px;
  display: inline-block;
  margin: 0 5px 0 auto;
  padding: 0;
}
.rox-wcms-item:hover .rox-actions .rox-wcms-item-rating {
  display: none;
}
.rox-wcms-item:hover .rox-actions.visible-rating .rox-wcms-item-rating {
  display: inline-block;
}
.rox-wcms-item:hover .rox-actions .added_to_cart,
.rox-wcms-item:hover .rox-actions .rox-wcms-btn {
  display: inline-block;
}

/**
 * widget
 */
.widget .rox-search a, .widget .rox-search a:hover {
  box-shadow: none;
}
.widget .rox-search-container .rox_items .rox-wcms-item {
  position: relative;
}
.widget .rox-search-container .rox_items .rox-wcms-item .item-image {
  float: none;
  margin: 0 auto;
}
.widget .rox-search-container .rox_items .rox-wcms-item .item-content {
  position: static;
  margin: 15px auto 0 auto;
  float: none;
  text-align: center;
}
.widget .rox-search-container .rox_items .rox-wcms-item .item-content .discount {
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -30px;
}
.widget .rox-search-container .rox_items .rox-wcms-item .item-content .item-price {
  font-size: 12px;
  line-height: 12px;
}
.widget .rox-search-container .rox_items .rox-wcms-item .rox-actions {
  text-align: center;
  float: none;
  margin: 10px auto 0 auto;
  width: 100%;
}
.widget .rox-search-container .rox_items .rox-wcms-item .rox-actions a {
  font-size: 13px;
  line-height: 13px;
}
.widget .rox-search-container .rox_items .rox-wcms-item .rox-actions .rox-wcms-item-rating {
  padding: 3.5px 0;
}
.widget .rox-search-loading .rox-icon,
.widget .rox-search-no-product .rox-icon {
  margin-right: 5px;
}
