/* GENERAL */
.products-on-page #ais-Stats #ais-Stats-text {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
}

#stats {
  display: none;
}

.clear:after {
  content: '';
  display: table;
  clear: both;
}

#hits {
  max-width: calc(100% - 260px);
}

.ais-Hits {
  margin-top: 40px;
}

.ais-Hits-banner {
  margin-bottom: -30px;
}

.ais-Hits-banner-image {
  max-width: -webkit-fill-available;
}

/* INPUT */
.ais-SearchBox-form {
  position: relative;
}

.ais-SearchBox-input {
  font-family: var(--primary-font) !important;
  width: 100% !important;
  height: 36px !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  color: #4a4a4a !important;
  font-weight: 400 !important;
  padding: 0 15px !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
}

.ais-SearchBox-reset,
.ais-SearchBox-submit {
  position: absolute;
  top: calc(50% - 10px);
}

.ais-SearchBox-reset {
  right: 2.5em;
}

.ais-SearchBox-submit {
  right: 0.5em;
}

#qryStr {
  font-size: 36px;
  margin-left: 7px;
  margin-top: 4px;
  font-weight: 600;
}

.ais-SearchBox-submit svg,
.ais-SearchBox-reset svg {
  width: 1.25em;
  height: 1.25em;
  fill: rgb(142, 142, 142);
}

#search-input {
  width: 40%;
}

#search-input input {
  font-size: 28px;
  padding-left: 100px;
  font-weight: 100;
  padding: 10px 10px 5px 35px;
  border: none;
  border-bottom: 5px solid #eee;
  appearance: none;
  -webkit-appearance: none;
}

#search-input input,
#search-input input:focus {
  transition: border-color 0.3s ease-in;
  outline: 0;
}

#search-input input:focus {
  border-color: var(--primary-color);
}

#search-input input::-webkit-input-placeholder,
#search-input input:-moz-placeholder,
#search-input input:-moz-placeholder,
#search-input input:-ms-input-placeholder {
  font-weight: 100;
  color: #999;
}

/* HITS */
.hit-name {
  margin: 0;
}

.hit-image {
  display: inline-block;
  width: 16%;
  text-align: center;
}

.hit-image img {
  max-width: 100%;
  max-height: 180px;
}

.hit-content {
  font-size: 13px;
  font-weight: 300;
  display: inline-block;
  width: 81%;
  margin-left: 3%;
  vertical-align: top;
}

.hit-stars {
  font-size: 17px;
  margin: 4px 0;
  color: #868686;
}

.hit-content .hit-price {
  float: right;
  margin-left: 20px;
  color: #ffffff;
  background: #383838;
  padding: 4px;
  border-radius: 3px;
}

.hit-content .hit-price,
.hit-content .hit-name {
  font-weight: normal;
  margin-top: 0;
}

.hit-content mark,
.product-content mark {
  font-style: normal;
  color: var(--primary-color);
  background-color: transparent;
  border-bottom: solid 1px rgba(244, 107, 91, 0.5);
}

.hit-content p {
  font-size: 13px;
}

.hit-description mark {
  color: inherit;
  background-color: inherit;
}

.hit-category-breadcrumb {
  margin: 5px 0 2px 0;
}

.hit-category-breadcrumb mark {
  color: inherit;
}

.hit-content .hit-description {
  color: #868686;
  margin: 1px 0 10px 0;
  font-size: 14px;
}

.review-bar {
  background-image: url(https://cdn.spinlife.com/images/reviews/5-stars-empty.svg);
  min-width: 180px;
}

.review-bar-fill {
  background-image: url(https://cdn.spinlife.com/images/reviews/5-stars.svg);
}

.review-bar,
.review-bar-fill {
  background-repeat: no-repeat;
  background-size: 180px 32px;
  min-height: 32px;
}

/* PAGINATION */
#pagination a,
#pagination span {
  text-decoration: none;
  color: #000;
  width: 50px;
  height: 50px;
  max-width: calc(100vw / 7 - 15px);
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
}

#pagination a:hover,
#pagination span:hover {
  background: #f5f5f5;
}

#pagination .ais-Pagination-item--page a {
  border-bottom: 3px solid transparent;
}

#pagination .ais-Pagination-item:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

#pagination .ais-Pagination-item:last-child {
  border-right: 1px solid #eee;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

#pagination .ais-Pagination-item--selected a {
  color: var(--primary-color);
  ;
  border-bottom-color: var(--primary-color);
  ;
}

#pagination .ais-Pagination-item--page:not(.ais-Pagination-item--selected) a:hover {
  border-bottom-color: var(--primary-color);
  ;
}

#pagination .ais-Pagination-item--selected a:hover {
  cursor: default;
}

#pagination .ais-Pagination-item--disabled {
  cursor: not-allowed;
}

#pagination .ais-Pagination-item--disabled:hover {
  background: none;
}

/* SORT BY */
#sort-by-wrapper {
  font-weight: 300;
  position: relative;
  float: right;
  color: #999;
}

/*#sort-by select {
  font-size: 16px;
  padding-right: 14px;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#sort-by:after {
  content: '';
  display: inline-block;
  position: absolute;

  top: 8px;
  right: 0;

  width: 0;
  height: 0;

  margin-left: 2px;
  vertical-align: middle;

  color: #000;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;

  pointer-events: none;
}*/

/* FACETS */
.facet .ais-Panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.facet .ais-Panel-header>span:first-of-type:not(#stars .ais-Panel-header > span:first-of-type) {
  width: 87%;
  float: left;
}

.facet .ais-Panel-collapseButton {
  border: none;
  background: transparent;
  color: var(--primary-color);
  padding: 0 0 2px 0;
  cursor: pointer;
}

.facet .expand-icon {
  width: 20px;
  height: 20px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('/images/icon/plus.svg');
}

.facet .expand-icon.active {
  background-image: url('/images/icon/minus.svg');
}

.filter-content .expand-icon {
  width: 20px;
  height: 20px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.facet>div:not([hidden]) {
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.facet h5 {
  margin: 0 0 6px;
  padding: 8px 0 3px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

.facet ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.facet li {
  margin-bottom: 3px;
}

.facet a:visited,
.facet a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.ais-RefinementList-label,
.ais-HierarchicalMenu-list .facet-item,
.ais-Menu-link {
  cursor: pointer;
  line-height: 1.5em;
}

.ais-RefinementList-label {
  position: relative;
  display: flex;
  justify-content: space-between;
}

span.ais-RefinementList-count {
  display: flex;
  justify-content: flex-end;
  padding-left: 8px;
}

input.ais-RefinementList-checkbox {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  left: -5px;
}

#userweight label.ais-RangeInput-label~label.ais-RangeInput-label {
  display: none;
}

#userweight .ais-RangeInput-separator {
  padding: 0 10px;
}

#userweight button.ais-RangeInput-submit {
  border: 1px solid #e1e2e3;
  border-radius: 5px;
  padding: 5px;
}

.ais-RefinementList .ais-RefinementList-searchBox input.ais-SearchBox-input {
  border: 1px solid #e1e2e3 !important;
  margin-bottom: 5px;
}

input[type=checkbox].ais-RefinementList-checkbox+label,
input[type=checkbox].ais-RefinementList-checkbox+span {
  display: inline-block;
  padding-left: 28px;
  position: relative;
}

/* This is the box around the checkmark */
input[type=checkbox].ais-RefinementList-checkbox+label:before,
input[type=checkbox].ais-RefinementList-checkbox+span:before {
  content: "";
  height: 18px;
  width: 18px;
  display: inline-block;
  padding: 0;
  position: absolute;
  left: 0;
  top: 1px;
  border: 2px solid #979797;
  border-radius: 3px;
}

/* This is the checkmark itself */
input[type=checkbox].ais-RefinementList-checkbox:checked+label:before,
input[type=checkbox].ais-RefinementList-checkbox:checked+span:before {
  left: 7px;
  top: 2px;
  width: 5px;
  height: 11px;
  border: solid var(--primary-color);
  border-width: 0 2px 2px 0;
  border-radius: 0;
  transform: rotate(45deg);
}

.ais-HierarchicalMenu-list .ais-HierarchicalMenu-item {
  margin: 3px 0;
}

.ais-HierarchicalMenu-link:before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  content: '\f105';
  padding: 0 5px 0 0;
}

.sffv_no-results {
  font-size: 13px;
  line-height: 1.2;
  padding-top: 6px;
}

.ais-RefinementList .ais-SearchBox-submit svg,
.ais-RefinementList .ais-SearchBox-reset svg {
  width: 1em;
  height: 1em;
  fill: rgb(142, 142, 142);
}

.ais-RefinementList-label:hover,
.ais-RefinementList-item--selected .ais-RefinementList-label,
.ais-Menu-link:hover,
.ais-Menu-item--selected .ais-Menu-link[class],
.ais-HierarchicalMenu-list .facet-item.active:hover,
.ais-HierarchicalMenu-list .facet-item.active {
  color: var(--primary-color);
}

.ais-RefinementList-item--selected .ais-RefinementList-label:hover,
.ais-Menu-item--selected .ais-Menu-link:hover,
.ais-HierarchicalMenu-list .facet-item.active:hover {
  text-decoration: line-through;
  color: var(--primary-color);
}

.ais-RefinementList-count,
.ais-HierarchicalMenu-count,
.ais-Menu-count,
.ais-RatingMenu-count,
.ais-ToggleRefinement-count {
  position: relative;
  float: right;
  color: #999;
}

.ais-ClearRefinements-button {
  margin-top: 15px;
  display: block;
  text-decoration: underline;
  font-weight: 600;
  color: var(--secondary-color);
}

/* NO RESULTS */
.no-results #pagination,
.no-results #sort-by,
.no-results #stats,
.no-results #facets {
  display: none;
}

#no-results-message {
  text-align: center;
  height: 250px;
}

#no-results-message p {
  font-size: 28px;
  font-weight: 100;
  padding: 40px 0;
}

#no-results-message ul {
  list-style-type: none;
}

#no-results-message li {
  font-size: 12px;
  position: relative;
  display: inline-block;
  margin: 4px 2px;
  padding: 4px 28px 4px 8px;
  color: #999;
  border: 1px solid #ddd;
  border-radius: 12px;
}

#no-results-message li span.value {
  font-weight: bold;
  color: #000;
}

#no-results-message li a.remove img {
  position: absolute;
  top: 3px;
  right: 5px;
  float: right;
  width: 17px;
  height: 17px;
  opacity: 0.5;
}

#no-results-message li a.remove:hover img {
  opacity: 1;
}

a.clear-all {
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  margin: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: black;
  border: 2px solid #ddd;
  border-radius: 4px;
}

a.clear-all:hover {
  transition: border-color 0.3s ease-in;
  border-color: #999;
}

/* SLIDER */
.ais-RangeSlider .rheostat {
  margin: 30px 15px 40px;
}

.ais-RangeSlider .rheostat-progress {
  background-color: var(--secondary-color);
}

.ais-RangeSlider .rheostat-tooltip,
.ais-RangeSlider .rheostat-value {
  white-space: pre;
}

.rheostat-handle {
  border-color: var(--secondary-color);
}

#price.facet .rheostat-value:before {
  content: '$';
}

/* Star Rating */
.ais-RatingMenu-link {
  display: flex;
}

.ais-RatingMenu-label {
  flex-grow: 1;
}

.ais-Menu-item--selected,
.ais-RefinementList-item--selected,
.ais-HierarchicalMenu-item--selected,
.ais-RatingMenu-item--selected {
  font-weight: bold;
}

.ais-RatingMenu-starIcon,
.ais-RatingMenu-starIcon--emtpy {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.ais-RatingMenu-starIcon,
.ais-RatingMenu-starIcon--empty {
  fill: currentColor;
  color: var(--primary-color);
}

.ais-RatingMenu-item--disabled .ais-RatingMenu-starIcon,
.ais-RatingMenu-item--disabled .ais-RatingMenu-starIcon--empty {
  color: #c9c9c9;
}

/* Toggle */
.ais-ToggleRefinement-label {
  cursor: pointer;
}

/* RefinementList ShowMore */
.ais-RefinementList-showMore,
.ais-HierarchicalMenu-showMore,
.ais-Menu-showMore {
  font-weight: bold;
  opacity: 0.7;
  padding-left: 4px;
  position: relative;
  line-height: 25px;
  font-size: 0.9em;
}

.ais-RefinementList-showMore:hover,
.ais-RefinementList-showMore:focus,
.ais-HierarchicalMenu-showMore:hover,
.ais-HierarchicalMenu-showMore:focus,
.ais-Menu-showMore:hover,
.ais-Menu-showMore:focus {
  opacity: 1;
}

.ais-RefinementList-showMore .isShowingMore:before,
.ais-RefinementList-showMore .isShowingLess:before,
.ais-HierarchicalMenu-showMore .isShowingMore:before,
.ais-HierarchicalMenu-showMore .isShowingLess:before,
.ais-Menu-showMore .isShowingMore:before,
.ais-Menu-showMore .isShowingLess:before {
  font-family: FontAwesome;
  font-style: inherit;
  font-weight: inherit;
  text-decoration: inherit;
  display: inline-block;
  position: relative;
  content: '';
  margin: 0 5px 0 0;
}

.ais-RefinementList-showMore .isShowingMore:before,
.ais-HierarchicalMenu-showMore .isShowingMore:before,
.ais-Menu-showMore .isShowingMore:before {
  content: '+';
}

.ais-RefinementList-showMore .isShowingLess:before,
.ais-HierarchicalMenu-showMore .isShowingLess:before,
.ais-Menu-showMore .isShowingLess:before {
  content: '-';
}

.ais-Panel--collapsed .ais-Panel-body {
  display: none;
}

/* FOOTER */
/*footer {
  font-size: 14px;
  margin-top: 200px;
  margin-bottom: 15px;
  text-align: center;
}
footer a {
  text-decoration: none;
  color: var(--primary-color);
}
footer a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}*/

.main-container-area {
  display: flex;
}

#facet-container {
  margin: 40px 30px 0 0;
  background: white;
  border-radius: 15px;
  padding: 30px;
  min-width: 240px;
  height: fit-content;
}

#facet-container>span {
  font-size: 18px;
  font-weight: 700;
}

.product-row .prices .new a {
  font-family: var(--secondary-font);
  font-weight: var(--secondary-font-weight);
  color: #4a4a4a;
}

.spinkids-products-container .product-row .prices .new a {
  color: var(--secondary-font-color);
}

.spinkids-products-container .review-bar-fill {
  background-image: url(https://cdn.spinlife.com/images/reviews/5-stars-spinkids.svg);
}

.spinkids-products-container .review-bar {
  background-image: url(https://cdn.spinlife.com/images/reviews/5-stars-spinkids-empty.svg);
}

.spinkids-products-container .facet .expand-icon {
  background-image: url('/spinkids/images/icon/plus.svg');
}

.spinkids-products-container .facet .expand-icon.active {
  background-image: url('/spinkids/images/icon/minus.svg');
}

.spinkids-products-container .product-content mark {
  color: var(--spinkids-green);
  border-bottom: solid 1px rgba(0, 187, 174, 0.5);
}

.spinkids-products-container #facet-container {
  border: 1px dashed var(--spinkids-green);
}

.spinkids-products-container .left-side .ais-Stats-text {
  font-family: var(--secondary-font);
}

.spinkids-products-container .left-side .ais-Stats-text>span {
  font-family: var(--primary-font);
}

.spinkids-products-container .prices .old {
  display: none;
}

.spinkids-products-container .ais-ClearRefinements-button {
  color: var(--primary-color);
}

.more-content h5 {
  text-transform: uppercase;
  font-size: 14px;
}

.more-content p {
  font-size: 14px;
}

@media screen and (max-width:550px) {

  .table-footer {
    flex-wrap: wrap;
  }

  .products-table .table-header .sort {
    flex-direction: column;
  }
}

@media screen and (max-width:992px) {

  .product-row .desktop-only,
  .spinlife-recommended,
  .more-content {
    display: none !important;
  }

  .products-table {
    display: block;
  }

  .main-container-area,
  .product-content>div.mobile-only {
    flex-direction: column;
  }

  .product-content>div.mobile-only .specifications .key-features {
    flex-direction: row;
  }

  .products-table .mobile-only .btns-group .btn-orange {
    height: 40px;
    line-height: 40px;
    display: table;
    padding: 0 30px;
  }

  .products-table .product-row .rating>p {
    margin-left: 15px;
  }

  .products-table .product-row .rating a.link {
    white-space: nowrap;
  }

  #qryStr {
    display: none;
  }

  .mobile-title {
    margin: 0 auto 5px;
  }

  #qryStr-mobile {
    font-size: 16px;
  }

  #facet-container {
    margin: 0 10px;
  }

  .products-table .table-header {
    display: flex;
  }

  .products-table .table-header .sort p {
    margin-top: 0;
  }

  #mobile_search_form input.ais-SearchBox-input,
  #mobile_sk_search_form input.ais-SearchBox-input {
    padding-left: 45px !important;
  }

  #mobile_search_form .ais-SearchBox-submit,
  #mobile_sk_search_form .ais-SearchBox-submit {
      left: 0.5em;
      right: unset;
  }

  #mobile_search_form .ais-SearchBox-reset,
  #mobile_sk_search_form .ais-SearchBox-reset {
      right: 0.5em;
  }
}

@media screen and (min-width:993px) {
  .product-row .mobile-only {
    display: none !important;
  }
}

@media screen and (min-width:993px) and (max-width:1199px) {
  #facet-container {
    margin: 10px 10px 0 10px;
  }
}

@media screen and (max-width:1199px) {
  .main-container-area {
    flex-direction: column;
  }


  .sort-filter-container {
    padding: 0 29px;
    display: flex;
    justify-content: space-between;
  }

  .sort-filter-container>div.btn {
    width: calc(50% - 10px);
    padding: 5px 0;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .sort-filter-container>div.btn.btn-white {
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid var(--primary-color);
  }

  .sort-filter-container>div.btn.btn-orange {
    color: #fff;
    background-color: var(--primary-color);
  }

  .sort-filter-container>div.btn>.button-icon {
    padding-right: 10px;
  }

  .sort-filter-container>div.btn.btn-white>.button-icon {
    filter: invert(47%) sepia(28%) saturate(2217%) hue-rotate(344deg) brightness(88%) contrast(87%);
  }

  .sort-filter-container>div.btn.btn-orange>.button-icon {
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(5deg) brightness(122%) contrast(115%);
  }

  .spinkids-products-container .sort-filter-container>div.btn.btn-white>.button-icon {
    filter: invert(14%) sepia(88%) saturate(6530%) hue-rotate(311deg) brightness(78%) contrast(105%)
  }

  #facet-container:not(.active),
  .right-side .sort:not(.active) {
    display: none;
  }

  .ais-Hits {
    margin-top: 0;
  }

  #hits {
    max-width: 100%;
  }
}

@media screen and (min-width:1200px) {
  .main-container-area {
    flex-direction: row;
  }

  .spinkids-products-container .main-container-area .product-row h2.title {
    font-size: 30px;
    line-height: 40px;
    font-weight: 800;
  }
}