﻿.generalLeftSide {
    box-shadow: none;
    font-weight: 400;
}
.filter-heading {
    background-color: transparent;
    color: #5A6267;
    font-family: Source Sans Pro;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 20px 0 21px;
    position: relative;
}
.aa-Panel .container {
    margin: 0 auto;
    padding: 1rem;
}

.search-panel {
    display: flex;
}

.search-panel__filters {
    flex: 1;
}

.search-panel__results {
    flex: 3;
}

.search-panel .search-select {
    font-size: 1rem;
}

/* Autocomplete dropdown panel */
.aa-Panel {
    z-index: 100;
}

.item-box .product-title a {
    display: inline !important;
}

.ais-Highlight-highlighted {
    color: inherit;
    font-size: inherit;
}

.ais-Panel-header {
  font-weight: bold;
  color: #5A6267;
  padding-bottom: 18px;
  background: none;
  cursor: auto;
  text-transform: capitalize;
  font-size: 1rem;
  padding-top: 16px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ais-Panel {
  border-top: 1px solid #EEE;
}
.ais-Panel--collapsible {
    position: relative;
}

    .ais-Panel--collapsible .ais-Panel-body,
    .ais-Panel--collapsible .ais-Panel-footer {
        -webkit-transition: .3s linear;
        transition: .3s linear;
    }

    .ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-body,
    .ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-footer {
        display: none;
    }

    .ais-Panel--collapsible .ais-Panel-collapseButton {
        position: static;
        top: 0;
        right: 0;
        padding: 0;
        border: none;
        background: none;
    }
/*.ais-Panel-collapseButton {
    float: right;
}
.ais-Panel-collapseIcon {

}*/
.ais-Panel-body a {
  font-weight: 400;
}
.ais-Panel-collapseButton span {
  width: 18px;
  height: 18px;
  display: block;
  margin-top: 5px;
}
.ais-Panel-collapseButton svg {
  display: none;
}
.ais-Panel-collapseButton span::before {
    content: "";
    display: block;
    height: 2px;
    width: 18px;
    background-color: #707070;
    position: relative;
    top: 7px;
}
.ais-Panel-collapseButton[aria-expanded="false"] span::after {
    content: "";
    display: block;
    height: 18px;
    width: 2px;
    background-color: #707070;
    position: relative;
    left: 8px;
    top: -3px;
}
.ais-DynamicWidgets-widget {
  border-top: 0;
}

.search-wrapper {
    display: flex;
    flex-direction: row;
    padding: 1.5rem 0 2rem 0;
    align-items: center;
}

    .search-wrapper select {
        padding: 0.8rem 1.0rem;
        height: 44px;
    }

    .search-wrapper #alg-searchbox {
        margin-bottom: 0.3rem;
        flex-grow: 1;
    }
.search-wrapper h2 {
    font-weight: bold;
    color: #5A6267;
    cursor: auto;
    text-transform: capitalize;
    font-size: 1.4rem;
    margin-right: 25px;
    margin-bottom: 0;
}
.ais-SearchBox-form {
    display: block;
    position: relative;
    height: 50px;
}

.ais-SearchBox-input {
    appearance: none;
    background: none;
    border: 0;
    color: rgba(38, 38, 39,1);
    font: inherit;
    height: 50px;
    padding: 0;
    width: 100%;
    border: 1px solid #979797;
    padding-left: 19px;
    padding-right: 100px;
    border-radius: 50px;
}
.ais-SearchBox-input:focus-visible {
  outline: 1px solid #456FB2;
  outline-offset: 0;
}
.ais-SearchBox-input::placeholder {
  color: #5A6267;
  opacity: 1;
  font-weight: 400;
}
.ais-SearchBox-submit {
    left: 0.3rem;
}

.ais-SearchBox-reset {
    right: 0.3rem;
}

.ais-SearchBox-submit, .ais-SearchBox-reset, .ais-SearchBox-loadingIndicator {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    z-index: 1;
    width: 30px;
    height: 30px;
    top: 50%;
    right: 50px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.ais-SearchBox-submit {
    background-image: url('../img/search_icon.svg');
    background-repeat: no-repeat;
    height: 39px;
    width: 39px;
    margin-right: 6px;
    left: auto;
    right: 0;
}
.ais-RefinementList-searchBox .ais-SearchBox-form {
  margin-bottom: 18px;
}
.ais-RefinementList-searchBox .ais-SearchBox-input {
  height: 44px;
}
.ais-RefinementList-searchBox .ais-SearchBox-submit {
  right: -3px;
  top: 22px;
}
.ais-SearchBox-submit svg {
display: none;
}
.ais-SearchBox-reset {
    color: rgba(128,126,163,.6);
    color: rgba(var(--aa-muted-color-rgb),var(--aa-muted-color-alpha));
}

    .ais-SearchBox-reset:hover {
        color: #262627;
        color: rgba(var(--aa-text-color-rgb),var(--aa-text-color-alpha));
    }

.ais-SearchBox-submitIcon {
    width: 14px;
    height: 14px;
}

.ais-SearchBox-loadingIcon {
    width: 16px;
    height: 16px;
}

.ais-SearchBox-submitIcon, .ais-SearchBox-resetIcon, .ais-SearchBox-loadingIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.ais-SearchBox-reset svg {
    stroke-width: 1.6;
    stroke-width: var(--aa-icon-stroke-width);
    width: 20px;
    width: var(--aa-icon-size);
    fill: currentcolor;
}



.ais-InfiniteHits-loadMore, .ais-InfiniteResults-loadMore {
    margin-top: 1rem;
}


.ais-CurrentRefinements-reset,
.ais-GeoSearch-redo,
.ais-GeoSearch-reset,
.ais-HierarchicalMenu-showMore,
.ais-InfiniteHits-loadMore,
.ais-InfiniteHits-loadPrevious,
.ais-InfiniteResults-loadMore,
.ais-Menu-showMore {
    padding: .3rem .5rem;
    font-size: .8rem;
    background-color: #666B71;
    color: white;
    border-radius: 5px;
    -webkit-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out;
    outline: 0;
}

.ais-RefinementList-showMore {
  margin-left: 0;
  font-weight: normal;
  margin-bottom: auto;
  padding: .3rem .5rem;
  font-size: .8rem;
  background-color: #666B71;
  color: white;
  border-radius: 5px;
  -webkit-transition: background-color .2s ease-out;
  transition: background-color .2s ease-out;
  outline: 0;
}
.ais-HierarchicalMenu-showMore {
  margin-bottom: 24px;
}
.ais-HierarchicalMenu-showMore.ais-HierarchicalMenu-showMore--disabled {
  display: none;
}

.ais-RefinementList-showMore--disabled,
.ais-ClearRefinements-button--disabled {
    display: none;
}


/* Refinement selections styles */

.refinement-wrapper {
    display: flex;
}

#current-refinements {
    float: left;
    max-width: 100%;
}

.ais-CurrentRefinements12345 {
    margin-top: -.3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-weight: normal;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

.ais-CurrentRefinements-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 !important;
    padding: 15px 0 !important;
    list-style: none;
    /*    list-style-type: none !important;
    list-style-position: outside;*/
}

li.ais-CurrentRefinements-item {
    display: flex;
    /* border-radius: 50px; */
    /* padding: 3px 9px 4px; */
    margin-right: 5px;
    margin-bottom: 6px;
    color: #5A6267;
    font-weight: 400;
    /* background-color: #EEE; */
    flex-wrap: wrap;
}

span.ais-CurrentRefinements-category {
    border-radius: 50px;
    background-color: #eee;
    margin-bottom: .25rem;
    padding: .25rem .75rem .25rem .25rem;
}

.ais-CurrentRefinements-label {
    white-space: nowrap;
    margin-bottom: .25rem;
    width: 100%;
}



.ais-CurrentRefinements-categoryLabel, .ais-CurrentRefinements-delete{
    white-space: nowrap;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: .85rem;
    color: #5A6267;
    font-weight: 400;
    text-transform: capitalize;
    padding-left: 4px;
}


.ais-CurrentRefinements-delete {
    margin-left: 5px;
    margin-top: 0;
    text-transform: lowercase !important;
    font-size: 9px;
}

#clear-refinements {
  float: none;
  position: absolute;
  top: 27px;
  right: 5px;
}
.ais-ClearRefinements-button {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  font-size: .85rem;
  font-weight: 400;
  text-decoration: underline;
}

.ais-ClearRefinements-button {
    background-color: transparent;
    padding: 0.5rem 0.6rem;
    border-radius: 5px
}
.ais-RangeSlider .rheostat-progress {
  position: absolute;
  top: .5px;
  height: 6px;
  background-color: #009FAA;
}
.ais-RangeSlider .rheostat {
  overflow: visible;
  margin-top: 25px;
  margin-bottom: 40px;
}
.ais-RangeSlider .rheostat-background {
  position: relative;
  background-color: #eee;
  border: 1px solid #eee;
}
.rheostat-handle {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 3px solid #009FAA;
  border-radius: 50%;
  cursor: grab;
}
.rheostat-tooltip {
  margin-left: 50%;
  position: absolute;
  top: 19px;
  text-align: center;
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: 400;
}
/* Category Table start */
.table-header {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    margin-top: 18px;
}
.table-header .spec-column {
    display: inline-flex;
}
.spec-column {
    display: inline-block;
    padding: 0 5px;
    font-size: 12px;
}

    
.spec-column a {
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}
.spec-column a:hover {
    text-decoration: underline;
}

#hits {
  width: 100%;
}    

#hits .partNumber a, #hits .cad a, #hits .pdf a, #hits .cart {
    cursor: pointer;
    text-decoration: underline;
}
/* CSS for customCollapsibleRefinementList */

/* Refinement Group Container */
.refinement-group {
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

/* Group Header Styling */
.refinement-group-header {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
    position: relative;
}

/* Checkbox in Group Header */
.group-header-checkbox-label {
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
    cursor: pointer;
}

.group-header-checkbox {
    margin-right: 8px;
}

/* Group Header Text */
.group-header-checkbox-label span {
    font-weight: 600;
    flex-grow: 1;
}

/* Refinement Group Items Container */
.refinement-group-items {
    padding: 8px 15px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: .8rem;
}

    /* Individual Item Styling */
    .refinement-group-items label {
        display: flex;
        align-items: center;
        padding: 4px 0;
        margin-bottom: 4px;
        cursor: pointer;
        font-weight: normal;
    }

    .refinement-group-items input[type="checkbox"] {
        margin-right: 8px;
        align-self: start;
        margin-top: 5px;
    }

/* Count Badge Styling */
.ais-RefinementList-count {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 5px;
    color: #666;
}

/* Collapsed State */
.refinement-group-items.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

/* Hover Effects */
.refinement-group-header:hover {
    background-color: #f0f0f0;
}

.refinement-group-items label:hover {
    background-color: #f9f9f9;
}

/* Focus styles for accessibility */
.refinement-group-header:focus {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

/* Ensure proper spacing and alignment for nested items */
.refinement-group-items label {
    padding-left: 8px;
}

/* Make sure the checkboxes are properly aligned and sized */
.refinement-group-items input[type="checkbox"],
.group-header-checkbox {
    min-width: 14px;
    min-height: 14px;
    position: relative;
    top: 0;
}

    /* Custom styling for when items are checked */
    .refinement-group-items input[type="checkbox"]:checked + span {
        font-weight: 600;
    }

    /* Custom styling for when header is checked */
    .group-header-checkbox:checked + span {
        font-weight: 700;
    }

/* Ensure nested content fits properly */
.refinement-group-items label span:last-child {
    align-self: baseline;
}


/*.ais-Hits-item{
    font-family: 'roboto', sans-serif;
    padding: 3px;
    border: 1px solid #ddd;
    border-bottom: none;
}*/
    
/*.ais-Hits-item:nth-child(1n) {
    background-color: #fff;
}

.ais-Hits-item:nth-child(2n) {
    background-color: #EFF6FF;
}*/
.search-container {
    padding: 0;
    width: 43%;
}

.hidePanel {
    display: none;
}


/* InstantSearch pager start */
#pagination {
    margin: 2rem auto;
}

.result-sort-container {
  text-align: center;
}

#hits-per-page, #sort-by, #alg-stats {
  margin-top: 0.4rem;
  text-align: right;
  display: inline-block;
}

#hits-per-page {
  display: inline-block;
}

#alg-stats {
  float: right;
}

#sort-by {
  float: left;
}

.ais-SortBy::before, .ais-HitsPerPage::after {
  font-weight: bold;
  color: #5A6267;
  font-size: .85rem;
}

.ais-SortBy::before {
  content: "Sort by: ";
  margin-right: 0rem;
}

.ais-HitsPerPage::after {
  content: "per page";
  margin-left: .2rem;
}

/* .ais-Pagination {
    display: flex;
} */

ul.ais-Pagination-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1rem;
    -webkit-box-pack: center;
    justify-content: center;
}

    ul.ais-Pagination-list li {
        padding: 0;
    }

.ais-Pagination-link {
    transition: color .2s ease-out
}

.ais-Pagination-item + .ais-Pagination-item {
    margin-left: .3rem
}

.ais-Pagination-link {
  padding: .3rem .6rem;
  display: block;
  border: 0;
  border-radius: 5px;
  transition: background-color .2s ease-out;
  color: #5A6267;
  font-style: normal;
}

    .ais-Pagination-link:focus,
    .ais-Pagination-link:hover {
        color: #5A6267;
        background-color: #eee;
        border-color: #eee;
        border-radius: 50%;
    }

.ais-Pagination-item--disabled .ais-Pagination-link {
    opacity: .6;
    cursor: not-allowed;
    color: #a5abc4
}

    .ais-Pagination-item--disabled .ais-Pagination-link:focus,
    .ais-Pagination-item--disabled .ais-Pagination-link:hover {
        color: #5A6267;
        background-color: #eee;
        border-color: #eee;
        border-radius: 50%;
    }

.ais-Pagination-item--selected .ais-Pagination-link {
    color: #5A6267;
  background-color: #eee;
  border-color: #eee;
  border-radius: 50%;
}

    .ais-Pagination-item--selected .ais-Pagination-link:focus,
    .ais-Pagination-item--selected .ais-Pagination-link:hover {
        color: #fff
    }
/* InstantSearch pager end */
.banner-and-breadcrumb {
    padding: 0 5% 20px;
}
.tools-panel {
    display: flex;
    width: 100%;
}
#filter-toggle,
#filter-toggle:active {
  padding:8px 11px;
  width: auto;
  min-width: 0px;
}
#filter-toggle:hover {
  color:#fff!important
}
#filter-toggle.sticky {
  position:fixed;
  bottom:8%;
  z-index:100;
  left:0;
  right:0;
  margin:auto;
  background-color:#000;
  width:196px;
  color:#fff!important
}
#filter-toggle span {
  display:flex;
  align-items:center
}
#filter-toggle span::after,
#filter-toggle span.show-filters::after {
    background-image:url("../img/icon_filter_light.svg");
    display:block;
    content:"";
    width:19px;
    height:14px;
    margin-left:22px;
    right: 2px;
}
    #filter-toggle:hover span:after {
        background-image: url("../img/icon_filter_light.svg");
        right: -9px;
    }
#filter-trigger::after {
  display:none
}
.filter-column .accordion-controls button#filter-trigger[aria-expanded=false]::before {
  display:none
}
#filter-toggle .show-filters {
  display:none
}
#filter-toggle .hide {
  display:none
}
#filter-toggle .show {
  display:flex
}
.filter-column {
    -webkit-transition:all .4s linear;
    -moz-transition:all .4s linear;
    transition:all .4s linear;
    overflow:hidden;
    padding-right: 30px;
}
.filter-column.hide {
  width:0;
  flex:0 0 0;
  max-width:0;
  visibility:hidden;
  opacity:0;
  padding:0
}
.category-search {
    flex: 3;
    padding-left: 30px;
}

.product-list .item-box.content-box {
    margin-bottom: 20px !important;
    border-bottom: 1px solid #CFCCC8;
    padding-bottom: 20px !important;
}

.content-box .content-title {
    height: auto;
    /* padding: 10px 0; */
    font-size: 1.1rem;
    font-weight: normal;
    margin-bottom: 0px;
    line-height: 40px;
}

.content-box .content-description {
    display: block;
    margin: 0 0 10px;
    line-height: 22px;
}

.content-box .document-footer {
    display: flex;
}

    .content-box .document-footer .document-links {
        flex-grow: 1;
    }

    .content-box .document-footer .document-date {
        margin-left: 20px;
    }

.ais-RangeSlider {
    margin: 0 12px;
}

.ais-Menu-list,
.ais-RefinementList-list {
    margin: 0px !important;
    list-style-type: none !important;
}

    .ais-RefinementList-list li {
        padding: 0px !important;
        margin-bottom: 8px;
    }

.ais-RefinementList-label {
    margin-left: 18px;
    display: block;
    color: #5A6267;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ais-RefinementList-checkbox {
    margin-top: -2px;
    margin-left: -18px;
    height: auto;
    accent-color: #009FAA;
}

.ais-RefinementList-labelText {
    margin-left: 8px;
}

.ais-RefinementList-checkbox:checked + .ais-RefinementList-labelText {
    font-weight: 400;
}

.ais-HierarchicalMenu-count, .ais-Menu-count, .ais-RatingMenu-count, .ais-RefinementList-count, .ais-ToggleRefinement-count {
    background-color: #eee;
    border-radius: 39px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: 8px;
    padding: 0px 4px;
    font-size: 10px;
    font-weight: normal;
}
span.ais-RefinementList-count {
    margin-left: 11px;
    color: #5A6267;
}
#colors .ais-RefinementList-list {
  display: flex;
  flex-wrap: wrap;
}
#colors .ais-RefinementList-list li {
  width: 33%;
}
.ais-Panel .color-selector .color-label {
    display: block;
    text-align: center;
    color: #5A6267;
    font-style: normal;
    font-size: .85rem;
    text-transform: capitalize;
}
.ais-Panel .color-selector {
  display: flex;
  position: relative;
  padding: 0;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1.35rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* Hide the browser's default checkbox */
.ais-Panel .color-selector input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.ais-Panel .color-selector .checkmark {
    top: auto;
    left: auto;
    border-radius: 50%;
    background-image: none;
}


/* Create the checkmark/indicator (hidden when not checked) */
.ais-Panel .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.ais-Panel .color-selector input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.ais-Panel .color-selector .checkmark:after {
    left: 8px;
    top: 3px;
    width: 10px;
    height: 16px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
}
.ais-Panel .color-selector .checkmark {
  background-image: linear-gradient(to right, rgb(0,0,0, 1), rgb(128, 128, 128, 1));
}
.ais-Panel .color-selector .check-black{
    background-color: #000; 
    background-image: none;
}
.ais-Panel .color-selector .check-blue {
    background-color: #007FFF; 
    background-image: none;
}
.ais-Panel .color-selector .check-blue {
    background-color: #007FFF; 
    background-image: none;
}
.ais-Panel .color-selector .check-red {
    background-color: #FF0000;
    background-image: none;
}
.ais-Panel .color-selector .check-orange {
    background-color: #FF6C00; 
    background-image: none;
}
.ais-Panel .color-selector .check-yellow {
    background-color: #FFEB00; 
    background-image: none;
}
.ais-Panel .color-selector .check-green {
    background-color: #00FF00; 
    background-image: none;
}
.ais-Panel .color-selector .check-purple {
    background-color: #8000FF; 
    background-image: none;
}
.ais-Panel .color-selector .check-pink {
    background-color: #F24EAC;
    background-image: none;
}
.ais-Panel .color-selector .check-natural {
    background-color: #F4E4C0;
    background-image: none;
}
.ais-Panel .color-selector .check-white {
    background-color: #FFF; 
    border: 1px solid #707070;
    background-image: none;
}
.ais-Panel .color-selector .check-camo {
    background-image: linear-gradient(to right, rgb(126, 116, 80, 1), rgb(96, 100, 62, 1), rgb(76, 82, 59, 1));
    border: 1px solid #707070;
}
.ais-Panel .color-selector .check-brown {
  background-color: #964B00;
  background-image: none;
}
.ais-Panel .color-selector .check-gray, .ais-Panel .color-selector .check-grey {
  background-color: #808080;
  background-image: none;
}

.ais-Panel .color-selector .check-white:after, .ais-Panel .color-selector .check-natural:after, .ais-Panel .color-selector .check-yellow:after {
    border:solid #707070;
    border-width: 0 2px 2px 0;
}
.ais-Panel .color-selector .check-patterns {
    background-color: transparent;
    background-image: url('../img/patterns_icon.svg');
}
.ais-Panel .color-selector .check-neons {
    background-color: transparent;
    background-image: url('../img/neon_icon.svg');
}

.toogle-container .ais-Panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toogle-container .ais-RefinementList-item {
    margin-bottom: 0;
}

.aa-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 46px;
  margin-bottom: 0;
}

.aa-switch input {
  display:none;
}

.aa-slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all linear .4s;
}

.aa-slider:before {
  background-color: #fff;
  bottom: 2px;
  content: "";
  height: 20px;
  left: 2px;
  position: absolute;
  transition: .4s;
  width: 20px;
  transition: all linear .4s;
}

.aa-switch.isRefined .aa-slider {
  background-color: #009FAA;
}

.aa-switch.isRefined .aa-slider:before {
  transform: translateX(22px);
}

.aa-slider.round {
  border-radius: 34px;
}

.aa-slider.round:before {
  border-radius: 50%;
}

.ais-HierarchicalMenu-link {
  position: relative;
}
.ais-HierarchicalMenu-link::before {
  display: inline-block;
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgb(90, 98, 103);
  border-radius: 2px;
  opacity: .7;
  margin-top: 2px;
  margin-right: 8px;
}
.ais-HierarchicalMenu-link.ais-HierarchicalMenu-link--selected::before {
  background: #009FAA;
  border-color: #009FAA;
  opacity: 1;
}
.ais-HierarchicalMenu-link.ais-HierarchicalMenu-link--selected::after {
  content: "";
  display: block;
  height: 5px;
  width: 10px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  position: absolute;
  left: 2.5px;
  transform: rotate(-45deg);
  top: 5.5px;
  border-radius: 1px;
}

#alg-stats {
    margin-top: 0.6rem;
    text-align: right;
}

.filter-header-wrapper {
    margin-bottom: 20px;
    height: 30px;
}

.filter-title-wrapper {
    display: flex;
}

.filter-title {
    float: left;
    width: 100%;
}

.filter-title-expand {
    float: right;
}

.search-box form {
    display: flex !important;
}
.aa-Form {
    border: 1px solid #979797;
    border-radius: 2rem;
    height: 2rem;
}
.aa-Form:focus-within {
    border-color: #3e34d3;
    border-color: rgba(var(--aa-primary-color-rgb),1);
    box-shadow: none;
    outline: medium none currentColor;

}
.aa-InputWrapperPrefix {
    order: 4;
}
.aa-Label, .aa-LoadingIndicator {
    margin-bottom: 0;
    height: 39px;
}
.aa-InputWrapper {
  padding-left: 19px;
}
.aa-Input::placeholder {
  color: #5A6267;
}
.aa-Input::-webkit-search-cancel-button {
  appearance: none;
}
.aa-Input::-webkit-search-decoration {
  appearance: none;
}
.aa-Input::-webkit-search-decoration,
.aa-Input::-webkit-search-cancel-button {
  appearance: none;
}
.aa-Input {
  appearance: textfield;
  outline-offset: -2px; /* Fix outline style in Safari */
}
.aa-Label button {
    background-image: url('../img/search_icon.svg');
    background-repeat: no-repeat;
    height: 39px;
    width: 39px;
    margin-right: 6px;
}
.aa-Label svg {
    display: none;
}

/* Autocomplete Two Column styles */


.aa-Panel {
    z-index: 100;
    left: 0 !important;
    right: 0 !important;
    background: #ACACAC;
    border: 0;
    box-shadow: none;
    height: 100%;
    overflow: visible;
}
.aa-PanelLayout.aa-Panel--scrollable {
  background: #fff;
  padding: 46px 80px 54px;
  overflow: visible;
  max-height: fit-content;
  box-shadow: 0 6px 20px 0 rgba(170, 170, 170, .2);
}
.aa-PanelLayout.aa-Panel--scrollable::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: #fff;
  top: -10px;
  position: absolute;
  right: 235px;
  z-index: 101;
  transform: rotate(46deg);

}
/* Panel section */
.aa-PanelSections {
    column-gap: var(--aa-spacing);
    display: flex;
}

.aa-PanelSection {
    display: flex;
    flex-direction: column;
}

.aa-PanelSection--left {
    width: 30%;
    padding-right: 5%;
}

.aa-PanelSection--right {
    width: 70%;
}

/* Item */
.aa-ItemPicture {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(var(--aa-muted-color-rgb), 0.2);
}

    .aa-ItemPicture img {
        object-fit: cover;
        width: 100%;
        height: auto;
        opacity: 0;
        transition: opacity 0.2s ease-out;
    }

.aa-ItemPicture--loaded img {
    opacity: 1;
}
.aa-SourceHeader {
  display: flex;
  justify-content: space-between;
}
.aa-CategoryLink {
  padding-bottom: 10px;
}
.aa-SourceHeader a {
    color: #009FAA;
    font-size: .85rem;
    font-weight: 400;
    font-style: normal;
}
.aa-SourceHeader a::after {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #009faa;
  border-top: 1.5px solid #009faa;
  transform: rotate(45deg);
  margin-left: 5px;
}
.aa-SourceHeaderTitle {
  font-size: 1.1rem;
  font-weight: bold;
  color: #5A6267;
  padding-bottom: 5px;
}
.aa-SourceHeaderLine {
  display: none;
}
.aa-Item {
  padding: 0;
  min-height: 0;
}
.aa-Item[aria-selected="true"] {
  background-color: transparent;
}
.aa-ItemContentTitle {
  font-style: normal;
  color: #5A6267;
}
.aa-ItemContentTitle mark {
  padding: .1rem;
}
.aa-ItemIcon.aa-ItemIcon--noBorder {
  display: none;
}
.ais-Hits {
  width: 100%;
}
.ais-Hits-list {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
}
.ais-Hits-item {
    display: flex;
    flex-wrap: wrap;
    padding: 12px !important;
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
.product-container.algolia-product-container    {
  width: 100%;
  border: 1px solid #eee;
  padding: 0;
}
.product-container.algolia-product-container .card-alerts {
  display: none;
}
.product-container.algolia-product-container .wmtop-block {
  /* position: absolute;
  top: .5rem;
  left: .5rem; */
  width: 100%;
  z-index: 9;
  position: relative;
  top: auto;
  left: auto;
  display: inline;
}
.product-container.algolia-product-container .wmtop {
  width: auto;
  height: auto;
  border-radius: 50px;
  position: relative;
}
.product-container.algolia-product-container .picture .overstock, 
.product-container.algolia-product-container .picture .highstock, 
.product-container.algolia-product-container .picture .always-available, 
.product-container.algolia-product-container .picture .outofstock, .picture .promotion, .picture .madeInUsa {
  position: relative;
  top: 0 !important;
  width: auto;
  font-weight: 500;
  font-size: 12px;
  font-style: normal;
}
.product-container.algolia-product-container .wmtop.blue {
  background-color: #456FB2;
  opacity: 1;
}
.product-container.algolia-product-container .wmtop .promotion::before {
  background-image: url('../img/square-arrow-up.svg');
  display: inline-block;
  content: "";
  width: 10px;
  height: 11px;
  left: 11px;
  position: absolute;
  top: 8px;
}
.product-container.algolia-product-container .wmtop.green {
background-color: #009FAA;
    opacity: 1;
}
.product-container.algolia-product-container .wmtop .highstock:before {
    background-image: url('../img/clock-rotate-left.svg');
    display: inline-block;
    content: "";
    width: 11px;
    height: 11px;
    left: 11px;
    position: absolute;
    top: 8px;
}
.product-container.algolia-product-container .wmtop.gold {
    opacity: 100%;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 35%, #8A6E2F 45%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 2%, #D1B464 35%, #5d4a1f 92.5%, #5d4a1f 100%);
    border: none;
    box-shadow: none;
    border-radius: 25px;
}

.product-container.algolia-product-container .picture .customerexclusive {
    text-align: center;
    line-height: 1rem;
    z-index: 9;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, .2);
    color: #fffddd;
    font-weight: 500;
    font-size: 12px;
    font-style: normal;
    padding: 7px 22px 6px 25px;
    border-radius: 25px;
}

/* FIX FOR DOUBLE THUMB TAGS */
.wmtop.green:has([data-parent="isActive isDiscontinuedForThumbnail is24HourForThumbnail"]) {
  display: none;
}
/* .wmtop.green:has([data-parent="isActive is24HourForThumbnail"]) {
  top: 35px;
} */
.wmtop.gold:has([data-parent="isActive isCustomerExclusiveForThumbnail"]) {
  margin-top: 35px;
}
.wmtop.gold:has([data-parent="isActive is24HourForThumbnail isCustomerExclusiveForThumbnail"]) {
  display: none;
}



/* Products */
/* --- Common */

.aa-Source {
  overflow: visible;
  border-bottom: 1px solid #EEE;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.aa-Source[data-autocomplete-source-id='products']{
    border-bottom: 0;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
.aa-Source[data-autocomplete-source-id='products'] .aa-List {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.aa-Source[data-autocomplete-source-id="brands"] ul {
  display: flex;
  justify-content: space-between;
}
.aa-Source[data-autocomplete-source-id="brands"] ul li {
  width: 33%;
  height: 88px;
  border: 1px solid #EEE;
  margin-right: 12px;
  padding: 0 12px;
}
.aa-Source[data-autocomplete-source-id="brands"] ul li:last-child {
  margin-right: 0;
}
.aa-Source[data-autocomplete-source-id='products'] .aa-Item {
    padding: var(--aa-spacing-half);
    border: none;
    border-radius: 0;
}

.aa-Source[data-autocomplete-source-id='products'] .aa-ItemLink {
    justify-content: stretch;
    height: 100%;
    border: 1px solid #EEE;
    padding: 16px 22px;
    transition: all .4s linear;
}

.aa-Source[data-autocomplete-source-id='products'] .aa-ItemLink:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #5A6267;
}
.aa-BrandLink img {
  width: 100%;
  max-width: 98px;
}

/* --- Product Content */
.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContent {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.aa-ItemContentImage {
  height: 140px;
  display: flex;
  align-items: center;
}
.aa-ItemContentImage img {
  width: 100%;
  max-height: 140px;
}

    .aa-Source[data-autocomplete-source-id='products'] .aa-ItemContent mark {
        /*        color: rgb(var(--aa-primary-color-rgb));  */
    }

.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentBody {
    width: 100%;
    justify-content: center;
    /*    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--aa-spacing-half);*/
}

/* --- Brand */
.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentBrand {
    font-size: 0.7em;
    text-transform: uppercase;
    color: rgb(var(--aa-muted-color-rgb));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentBrand mark {
        font-weight: normal;
    }

/* --- Title */
.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentTitleWrapper {
    height: calc(var(--aa-spacing) * 2.5);
}

.aa-Source[data-autocomplete-source-id="products"] .aa-ItemContentTitle, .aa-ItemContent mark {
    margin: 0;
    /* display: -webkit-box; */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #5A6267;
    font-style: normal;
    text-transform: none!important;
    padding-top: 12px;
}

.aa-ItemSku, .aa-ItemSku:hover {
  padding-top: 10px;
  font-style: normal;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #5A6267;
}
.aa-ItemPrice {
  text-align: center;
  font-style: normal;
  font-weight: 700;
  color: #5A6267;
}

/* --- Price */
.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentPrice {
    display: flex;
    column-gap: var(--aa-spacing-half);
}

.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentPriceCurrent {
    font-weight: bold;
}

.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentPriceDiscounted {
    font-size: 0.9em;
    text-decoration: line-through;
    color: rgb(var(--aa-muted-color-rgb));
}

/* --- Rating */
.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentRating ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.aa-Source[data-autocomplete-source-id='products'] .aa-ItemContentRating {
    display: flex;
    align-items: center;
    column-gap: calc(var(--aa-spacing-half) / 2);
    margin-top: var(--aa-spacing-half);
}

.aa-Source[data-autocomplete-source-id='products'] .aa-StarIcon {
    width: 1.3em;
    height: 1.3em;
    color: #fdbc72;
}

.aa-Source[data-autocomplete-source-id='products'] .aa-StarIcon--muted {
    color: #d6d6e6;
}

.aa-Source[data-autocomplete-source-id='products']
.aa-ItemContentRatingReviews {
    font-size: 0.7em;
    color: #908eae;
}
.ais-RangeInput-form {
  margin-bottom: 20px;
}
.ais-RangeInput-label {
  width: 41%;
  margin-right: 10px;
  margin-bottom: 0;
}
.ais-RangeInput-input {
  border: 1px solid #5A6267;
  border-radius: 50px;
  padding: 0 10px;
  width: 100%;
}
.ais-RangeInput-separator {
  margin-right: 10px;
}
.ais-RangeInput-submit {
  font-size: 0;
  background-image: url('../img/search_icon.svg');
  background-repeat: no-repeat;
  height: 31px;
  width: 31px;
  margin-right: 6px;
  background-size: contain;
}
#top-dynamic .ais-RangeInput-form label:nth-child(n+2), #top-dynamic .ais-RangeInput-form .ais-RangeInput-separator,
#top-dynamic2 .ais-RangeInput-form label:first-child, #top-dynamic2 .ais-RangeInput-form .ais-RangeInput-separator, 
#top-dynamic3 .ais-RangeInput-form label:first-child, #top-dynamic3 .ais-RangeInput-form .ais-RangeInput-separator {
    display: none;
}
#top-dynamic .ais-RangeInput-form .ais-RangeInput-label,
#top-dynamic2 .ais-RangeInput-form .ais-RangeInput-label,
#top-dynamic3 .ais-RangeInput-form .ais-RangeInput-label{
  width: 100%;
  margin-right: 10px;
  margin-bottom: 0;
}
.ais-RangeInput input::placeholder {
  opacity: 0;
}

/* Page Content Auto-Complete */
.aa-Source[data-autocomplete-source-id='content'] ul {
    display: flex;
    flex-wrap: wrap;
}

    .aa-Source[data-autocomplete-source-id='content'] ul li {
        width: 33%;
        box-sizing: border-box;
        padding: 5px;
        float: left;
    }
/* Controls the content icon sizes */
.aa-Source[data-autocomplete-source-id='content'] .aa-ItemContent .aa-ItemIcon {
    --aa-icon-size: 24px;
}

.aa-Source[data-autocomplete-source-id='coa'] .aa-ItemContent .aa-ItemIcon,
.aa-Source[data-autocomplete-source-id='sds'] .aa-ItemContent .aa-ItemIcon {
    --aa-icon-size: 24px;
}
.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}
.nav-tabs .nav-link {
  font-size: 1.3rem;
  font-weight: 400;
  padding: 10px 0 10px;
  text-transform: capitalize !important;
}
.nav-tabs .nav-item {
    margin: 0 30px;
}
.tab-content li::before {
    display: none;
}
.nav-link span {
  display: inline-block;
}
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
  justify-content: center;
}

#brand_container .ais-Hits-list, #category_container .ais-Hits-list {
  display: block;
}
#brand_container .ais-Hits-item, #category_container .ais-Hits-item, #brand_container .brand_item {
  width: 100%;
  max-width: 100%;
  border: 1px solid #EEE;
  padding: 25px 27px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  transition: linear all .4s;
}
#brand_container .ais-Hits-item:hover, #category_container .ais-Hits-item:hover {
    -webkit-box-shadow: 0 6px 7px 0 rgba(170,170,170,0.2);
  box-shadow: 0 6px 7px 0 rgba(170,170,170,0.2);
}
#category_container .ais-Hits-list {
  display: flex;
}
#category_container .ais-Hits-item {
  border: 0;
  display: flex;
  padding: 0;
}
#category_container .ais-Hits-item .brand_content {
  width: 100%;
  padding: 25px 27px;
  border: 1px solid #eee;
}
#category_container.active {
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
}
.category_content {
  width: 33%;
  margin-bottom: 30px;
  padding: 20px 25px;
}
.brand_img {
  width: 30%;
  min-width: 30%;
  text-align: center;
  margin-right: 20px;
  padding: 0 30px;
}
#brand_container .brand_img {
  padding: 0 30px;
}
.brand_img img {
  max-width: 100%;
}
.brand_content h2, .category_content h2, .brand_img h2 {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 21px;
  margin-bottom: 18px;
}
.brand_content .brand_description {
    font-weight:400;
    font-size: 1rem;
    line-height: 26px;
      margin-bottom: 18px;
}
.tab-content p {
  padding-left: 0;
}
.btn-brands {
    border: 2px solid #009FAA;
    color: #009FAA;
    background-color: transparent;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    min-width: auto;
    text-transform: capitalize;
}
.btn-brands:hover {
    -webkit-box-shadow: 0 6px 7px 0 rgba(170,170,170,0.2);
    box-shadow: 0 6px 7px 0 rgba(170,170,170,0.2);
    color: #009FAA;
    background-color: #EEEEEE;
}

select.ais-HitsPerPage-select, select.ais-SortBy-select {
  border-radius: 50px;
  border: solid 1px #979797;
  padding: 0 2px;
  background-color: transparent;
  font-size: .85rem;
}

/* Media queries */
@media all and (max-width: 1367px) {
    .search-container {
        padding: 0 2%;
    }
    .search-panel__results {
        flex: 3;
        padding-left: 10px;
    }
}

@media only screen and (max-width: 1200px) {
    .search-panel__results {
        flex: 3;
        padding-left: 10px;
        overflow-x: scroll;
    }
    .table-header {
        width: 1200px;
    }

}

@media only screen and (max-width: 1000px) {
/*    .home-hero.category-hero .container, .home-hero.category-hero .home-hero-img, .home-hero.category-hero .home-hero-graphic {
        -webkit-transition: all 0.4s linear;
        -moz-transition: all 0.4s linear;
        transition: all 0.4s linear;
    }*/
    .menu .home-hero.category-hero .container {
        z-index: -1;
        position: relative;
        -webkit-transition: all 0.4s linear;
        -moz-transition: all 0.4s linear;
        transition: all 0.4s linear;
    }
    .menu .home-hero.category-hero .home-hero-img, .menu .home-hero.category-hero .home-hero-graphic{
        z-index: 0;
        -webkit-transition: all 0.4s linear;
        -moz-transition: all 0.4s linear;
        transition: all 0.4s linear;
    }
    .filter-column {
        display: none;
        position: fixed;
        top: 92px;
        width: 100%;
        min-height: 100vh;
        background-color: #F0F3F6;
        z-index: 9999;
        left: 0;
        max-width: 100%;
        padding: 50px 30px 30px;
        overflow: hidden;
        bottom: 0;
        -webkit-transition: none; 
        -moz-transition: none;
        transition: none; 
    }
    .filter-column.show {
        overflow-y: scroll;
    }
    .mobile-filters.btn-underline {
        position: absolute;
        right: 31px;
        top: 35px;
        background-image: url("../img/Nav-close.svg");
        width: 17px;
        height: 17px;
        background-repeat: no-repeat;
        padding: 11px;
        border: 0;
        background-color: transparent;
    }
}
@media all and (max-width: 991px) {
    .search-container {
      width: 100%;
    }
    .aa-PanelLayout.aa-Panel--scrollable {
        padding: 46px 46px 54px;
        height: auto;
        max-height: fit-content;
    }

    .c-offcanvas--left {
      height: 100%;
      width: 50%;
      transform: translate3d(-17em, 0, 0);
      padding: 0 50px;
    }
    .result-sort-container {
      display: flex;
      flex-wrap: wrap;
    }
    #alg-stats {
      order: 2;
      display: inline-block;
      flex-basis: 100%;
      text-align: left;
      margin-top: .4rem;
      font-size: .8rem;
    }
    #hits-per-page {
      order: 4;
      text-align: right;
      flex-basis: 43%;
      margin-top: .4rem;
    }
    #sort-by {
      order: 3;
      margin-top: .4rem;
      flex-basis: 57%;
      text-align: left;
    }
    .nav-tabs {
      border-bottom: none;
      justify-content: center;
      margin-bottom: 30px;
    }
    .js-offcanvas-trigger.filter-button.btn.btn-outline-info {
      display: block;
      position: relative;
      top: auto;
      left: auto;
      background-color: transparent;
      border: 1px solid #aaa;
      width: 100%;
      min-width: 50%;
      height: 48px;
      margin-bottom: 0 !important;
      box-shadow: 0 6px 11px 0 rgba(170,170,170,0.2);
      order: 1;
      background-color: #009FAA;
      color: #fff;
      max-width: 100%;
    }
    .btn.btn-outline-info .material-icons {
        font-family: unset;
        background-image: url('../img/sliders-up.svg');
        width: 15px;
        height: 16px;
        margin-right: 8px;
    }
    .btn.btn-outline-info .ml-3 {
        margin-left: 0 !important;
        display: inline-block;
        text-transform: capitalize;
        font-weight: 400;
      }
    .filter-heading.exit-off-canvas {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .filter-heading .js-offcanvas-trigger.filter-button.btn.btn-outline-info {
        background: transparent;
        border: 0;
        width: 37px;
        box-shadow: none;
        min-width: auto;
        height: 31px;
    }
    .filter-heading .btn.btn-outline-info .ml-3 {
        display: none;
    }
    .filter-heading .btn.btn-outline-info .material-icons {
        font-family: unset;
        background-image: url('../img/close_icon.svg');
        width: 31px;
        height: 31px;
        margin-right: 8px;
        background-size: contain;
    }


}
@media all and (max-width: 768px) {
    .aa-PanelSection--left {
      width: 28%;
      padding-right: 0%;
    }
}
@media all and (max-width: 767px) {
    .aa-PanelLayout.aa-Panel--scrollable {
      padding: 46px 0px 54px 46px;
      overflow: visible;
    }
    .aa-PanelSections {
      flex-direction: column;
    }
    .aa-PanelSection--left {
      width: 100%;
      order: 2;
      padding-top: 25px;
      padding-right: 46px;
    }
    .aa-PanelSection--right {
      width: 100%;
    }
    .aa-Source[data-autocomplete-source-id="products"] {
      overflow: scroll;
    }
    .aa-Source[data-autocomplete-source-id="products"] .aa-List {
      display: flex;
      width: 1048px;
      flex-wrap: nowrap;
    }
    .aa-Source[data-autocomplete-source-id="products"] .aa-Item {      
      min-width: calc(100%/6);
    }

    .product-print .tab-dropdown {
      background: #888;
      color: #fff;
      font-weight: bold;
      padding: .5rem;
    }

    .product-print .nav-tabs {
      display: flex;
      flex-wrap: wrap;
    }
    
    .product-print .nav-tabs .nav-item {
      margin: 0;
    }
  
    .product-print .nav-tabs .nav-item .nav-link {
      padding: .3rem;
      background-color: #f6f6f6;
      margin: 2px;
      border-radius: 0px;
      font-size: .7rem;
    }

    .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
    }
    .nav-tabs .nav-item {
        background: transparent;
        margin: 0 20px;
    }
}
@media screen and (max-width: 680px) {
    /* Panel section */
    .aa-PanelSections {
        flex-direction: column;
        row-gap: var(--aa-spacing);
    }

    .aa-PanelSection--left,
    .aa-PanelSection--right {
        width: 100%;
    }

    /* Products */
    .aa-Source[data-autocomplete-source-id='products'] .aa-List {
        display: flex;
        gap: 0;
    }

    .aa-Source[data-autocomplete-source-id='products'] .aa-Item {
        width: calc(50% - var(--aa-spacing-half) / 2);
    }
}
@media screen and (max-width: 600px) {
    .ais-Hits-item {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }
    .search-wrapper h2 {
      display: none;

    }
    .search-wrapper {
      display: flex;
      flex-direction: row;
      padding: 1.5rem 1rem;
    }
    .c-offcanvas--left {
        width: 70%;
    }
    .nav-tabs .nav-item {
        margin: 0 10px;
    }
    .nav-tabs .nav-link {
        font-size: .85rem;
    }
    .tab-pane.fade:not(.show) {
      height: 0;
      overflow: hidden;
    }
    #brand_container .ais-Hits-item, #category_container .ais-Hits-item {
        display: block;
        padding: 26px 16px !important;
    }
    #brand_container .ais-Hits-item, #category_container .ais-Hits-item, #brand_container .brand_item
    .brand_img {
        flex-direction: column;
    }
    #brand_container {
      padding-top: 28px;
    }
    .category_content {
      width: 50%;
      margin-bottom: 30px;
      padding: 20px 25px;
    }
    .brand_content h2, .category_content h2, .brand_img h2 {
      text-align: left;
      font-size: 1.1rem;
      line-height: 21px;
    }
    .brand_img {
        margin-bottom: 23px;
    }
    .product-container.algolia-product-container .card.gen .card-title {
      min-height: 30px;
    }
    .tab-content ul.card-alerts {
      margin: 0;
      padding: 0;
    }
    #hits {
      display: block;
    }
    .product-container.algolia-product-container .wmtop-block {
      top: 11px;
      left: 11px;
    }
}

@media screen and (max-width: 500px) {
 .tab-content li.ais-Hits-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 7.5px !important;
  }
  .c-offcanvas--left {
        width: 91%;
      }

}

@media screen and (max-width: 400px) {
    .product-container.algolia-product-container .picture .overstock, 
    .product-container.algolia-product-container .picture .highstock, 
    .product-container.algolia-product-container .picture .always-available, 
    .product-container.algolia-product-container .picture .outofstock, .picture .promotion, .picture .madeInUsa {      
      padding: .25rem .45rem;
      text-transform: uppercase;
      font-size: .65rem;
    }
    .product-container.algolia-product-container .wmtop-block {
        left: 0px;
      }
}
/* End Autocomplete Two Column styles */


@media (max-width: 1000px) {
    .search-panel {
        display: block;
    }

    .ais-DynamicWidgets-widget {
        text-align: left;
        margin-left: 30px;
        margin-right: 30px
    }
}

/* FOR SEARCH BY IMAGE */
#dvUploadedImg img {
  width: auto;
  max-height: 150px;
}

label#lblKeywords {
  max-width: 150px;
  font-size: .65rem;
}