.aa-input-search::-webkit-search-decoration,
.aa-input-search::-webkit-search-cancel-button,
.aa-input-search::-webkit-search-results-button,
.aa-input-search::-webkit-search-results-decoration {
    display: none;
}
.aa-dropdown-menu {
    background-color: #fff;
    border: 2px solid #d2d0d0;
    box-sizing: border-box;
    z-index: 99;
    padding-top: 5px;
    width: 100%;
    position: absolute;
    left: 0;
    border-top: none;
    top: -18px;
    border-left: 0;
    border-right: 0;
}
#aa-suggestions-view-link {
    border: none;
    background: transparent;
    color: #1574BA;
    font-weight: 600;
}
.aa-suggestions-footer {
    margin: 0px 15px;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#aa-search-input[disabled] {
    cursor: wait;
}
#searchbox {
    display: block;
}
.aa-suggestions {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}
#hits-single .aa-suggestions {
    margin: 0 -15px;
}
.aa-suggestion {
    padding: 0 15px;
    width: calc(100% / 8);
    margin-bottom: 15px;
}
#hits .aa-suggestion,
.show-more-products .aa-suggestion {
    padding: 0 5px;
    width: calc(100% / 8);
    margin-bottom: 15px;
}
#hits-single .aa-suggestion {
    width: calc(100% / 8); 
    padding: 0 8px
}
.header-search #searchbox #aa-search-input {
    width: calc(100% - 43px);
    display: inline-block;
}
#searchbox button {
    width: 43px;
    display: inline-block;
    margin-top: -1px !important;
	border-radius: 0px 15px 15px 0px !important;
	margin-left: -15px !important;
}
#searchbox .input-group-btn {
    display: inline-block;
}
.wrapper-navigation-row  {
    position: relative;
}
.aa-empty {
    padding: 15px;
}
#hit-count {
    color: #646669;
    font-weight: 600;
}
.ais-Hits {
    padding: 0 5px;
}
.algolia-overlay {
    position: relative;
}
.search-open .algolia-overlay:after {
    content: "";
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: -30px;
}

.search-open.search-results .algolia-overlay:after {
    display: none;
}

.aa-suggestion .thumbnail .caption .price {
    margin-bottom: 0px;
}
#hits .aa-suggestion .thumbnail .caption .price {
	display: none;
} 
.aa-suggestion .thumbnail {
    padding: 0px 5px 0 5px;
}
.aa-suggestion .thumbnail .caption {
    padding: 5px 5px;
	text-align: center;
}
#aa-search-input-single {
    border-color: #004878;
    height: 45px;
}
#hits .aa-suggestion .thumb-sku, #hits-single .aa-suggestion .thumb-sku {
    margin: 0 0 10px;
    padding-bottom: 0;
    border-bottom: none;
}
.sort-col>div {
    display: flex;
    align-items: center;
    max-width: 350px;
    width: 100%;
    margin-left: auto;
}
.sort-col p {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 600;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    width: 160px;
    text-transform: uppercase;
    margin-right: 10px;
}
.ais-SortBy-select {
    display: block;
    width: 100%;
    height: 50px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
#sort-by {
    width: 100%;
    padding-right: 0;
}
.sort_container.sort-algolia div {
    padding: 0;
    padding-right: 0px;
}
.stats-single {
    height: 34px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

#stats-single {
    height: 34px;
    display: flex;
    align-items: center;
}
#searchbox-single button {
    height: 45px;
    width: 45px;
}
.price-wrapper {
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 700;
    line-height: 25px;
    color: #242424;
    display: flex;
    justify-content: space-between;
    min-height: 30px;
}

@media only screen and (max-width: 1300px) {
.show-more-products .aa-suggestion,
#hits .aa-suggestion {
    width: calc(100% / 6);
}
}
@media only screen and (max-width: 1199px) {
#hits-single .aa-suggestion {
    width: calc(100% / 4); 
}
}
@media only screen and (max-width: 991px) {
.aa-suggestion {
    width: calc(100% / 3);
}  
}
@media only screen and (max-width: 767px) {
#hits-single .aa-suggestion {
    width: calc(100% / 3); 
    padding-left: 8px;
    padding-right: 8px;
} 
.show-more-products .aa-suggestion,
#hits .aa-suggestion {
    width: calc(100% / 3);
}   
.aa-dropdown-menu {
    top: 0;
} 
.sort_container.sort-algolia {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 25px;
}
.sort_container.sort-algolia div {
    margin: 0;
}
.stats-col {
    justify-content: center;
    margin-bottom: 10px !important;
}
}
@media only screen and (max-width: 575px) {
#hits-single .aa-suggestion {
    width: calc(100% / 2); 
}     
}
@media only screen and (max-width: 480px) {
.aa-suggestion {
    width: calc(100% / 2);
} 
.show-more-products .aa-suggestion,
#hits .aa-suggestion {
    width: calc(100% / 2);
}    
.sort-col {
    width: 100%;
}
.stats-col {
    display: none;    
}  
.sort-col>div {
    max-width: 100%;    
}    
}

#hits .aa-suggestion .thumbnail-algolia .caption .price,
#hits-single .aa-suggestion .thumbnail-algolia .caption .price {
    display: flex;
    justify-content: center;
    align-items: center;
}
#hits .aa-suggestion .thumbnail-algolia .caption .price-old,
#hits-single .aa-suggestion .thumbnail-algolia .caption .price-old {
    font-size: 15px;
    color: #919191;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 10px;
}
#hits .aa-suggestion .thumbnail-algolia .caption .price-new,
#hits-single .aa-suggestion .thumbnail-algolia .caption .price-new {
    color: #242424;
    font-size: 15px;
 
}
#hits .aa-suggestion .thumbnail-algolia .thumb-sku, #hits-single .aa-suggestion .thumb-sku,
#hits-single .aa-suggestion .thumbnail-algolia .thumb-sku, #hits-single .aa-suggestion .thumb-sku  {
    margin: 10px 0 0;
    padding-bottom: 0;
    border-bottom: none;
}

#hits .aa-suggestion .thumbnail-algolia .caption h3 ,
#hits-single .aa-suggestion .thumbnail-algolia .caption h3 {
    text-align: start;
}

#hits .aa-suggestion .thumbnail-algolia .caption ,
#hits-single .aa-suggestion .thumbnail-algolia .caption {
    align-items: flex-start;
    padding-left: 10px;
}

.button-hover {
    display: none;
    width: 160px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    background-color: #FFFFFF;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0;
    text-align: center;
    color: #004878;
    padding: 0;
    line-height: 50px;
    box-shadow: none;
	max-width: 100%;
}
.thumbnail.thumbnail-algolia:hover .button-hover {
    display: block;
}
.ais-Stats-text {
    font-size: 22px;
    color: #004878;
    font-weight: 700;
}
.ais-Pagination-item--disabled {
    display: none !important;
}
.ais-Pagination {
    display: flex;
    align-items: revert;
    justify-content: center;
}
.algolia-header {
    border-bottom: none;
}
.stats-col {
    display: flex;
    align-items: center;
} 

/**/
.pd-new-header #searchbox .aa-Autocomplete, 
.pd-new-header #searchbox form.aa-Form, 
.pd-new-header #searchbox input,
.pd-new-header #searchbox .aa-InputWrapper {
    width: 100%;
    height: 100%;
    border: none;
}

.pd-new-header #searchbox .aa-InputWrapperPrefix,
.pd-new-header #searchbox .aa-InputWrapperSuffix {
    position: absolute;
    right: 0;
    width: auto;
    top: 0;
}

body:not(.search-open) .pd-new-header #searchbox .aa-InputWrapperSuffix {
    display: none;
}

body.search-open .pd-new-header #searchbox .aa-InputWrapperPrefix {
    display: none;
}

.pd-new-header #searchbox {
    position: relative;
}

.pd-new-header #searchbox .aa-InputWrapperPrefix label,
.pd-new-header #searchbox .aa-InputWrapperSuffix label {
    margin: 0;
}

.pd-new-header #searchbox button {
    border: none;
    color: #004878;
}

.pd-new-header #searchbox input {
    padding: 0 50px 0 15px;
}

div#pd-main-panel {
    background: #fff;
    position: absolute;
    z-index: 9999;
    width: calc(100% - 30px);
    left: 30px;
    border: 1px solid;
    border-top: none;
    border-bottom: none;
}

div#pd-main-panel svg {
    width: 20px;
}

div#pd-main-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

div#pd-main-panel ul li {
    padding: 10px;
    border-bottom: 1px solid #2277bd;
}

div#pd-main-panel .aa-ItemContent {
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

div#pd-main-panel .aa-ItemWrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

div#pd-main-panel button.aa-ItemActionButton {
    background: none;
    border: none;
    height: 20px;
    position: absolute;
    right: 0;
    left: 0;
    text-align: right;
    padding-right: 14px;
}

.pd-new-header .header-search {
    position: relative;
}

div#pd-main-panel .aa-ItemActions {
    display: flex;
    align-items: center;
}

div#pd-main-panel .aa-ItemIcon.aa-ItemIcon--noBorder {
    height: 20px;
}

div#pd-main-panel mark {
    padding: 0;
	color: #004878;
}

div#pd-main-panel .aa-ItemContentTitle {
    color: #004878;
}

@media (max-width: 1199px) {
	div#pd-main-panel {
		left: 0;
		width: 100%;
	}
}

.thumbnail-algolia .caption .price {
    display: flex !important;
    width: 100%;
    justify-content: flex-start !important;
    margin: 0 !important;
}

.thumbnail-algolia .price-wrapper {
    flex-wrap: wrap;
}

div#closeSuggestionBox {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    position: absolute;
    width: calc(100% - 30px);
    left: 30px;
    border: 1px solid;
    border-top: none;
    top: 100%;
    height: 42px;
    padding: 10px;
    border-bottom: 1px solid #2277bd;
	z-index: 99999;
	pointer-events: none;
}

div#pd-main-panel {
    top: calc(100% + 42px);
	top: 100%;
}

button.aa-CloseSuggestionButton {
    background: none;
    border: none;
    height: 20px;
    position: absolute;
    right: 0;
    left: 0;
    text-align: right;
    padding-right: 14px;
}

.pd-new-header .header-search:has(ul#autocomplete-0-querySuggestionsPlugin-list) div#closeSuggestionBox {
    display: flex;
}

.pd-new-header .header-search:has(div#pd-main-panel[style="display: none;"]) div#closeSuggestionBox {
    display: none;
}

@media (max-width: 1199px) {
div#closeSuggestionBox  {
    left: 0;
    width: 100%;
}
}

div#pd-main-panel aa-Panel {
    padding-top: 42px;
}

/*Sidebar*/
div#hits {
    width: 100%;
}

div#alg_sidebar {
    width: 100%;
}

div#stats {
    width: 100%;
}

.aa-dropdown-menu.aa-with-products {
    display: flex;
    flex-wrap: wrap;
}

@media(min-width: 991px) {
.aa-dropdown-menu.aa-with-products {
    display: flex;
    flex-wrap: wrap;
}

div#alg_sidebar:has(.aa-Panel) {
    width: 25%;
}

div#alg_sidebar:has(.aa-Panel) ~ div#hits {
    width: 75%;
}
	
div#alg_sidebar:has(.aa-Panel) ~ #hits .aa-suggestion {
    /*width: calc(100% / 6) !important;*/
}
}

div#pd-main-panel1 svg {
    width: 20px;
    display: none;
}

div#pd-main-panel1 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

div#pd-main-panel1 ul li {
    padding: 10px;
    border-bottom: 1px solid #E3E3E3;
}

div#pd-main-panel1 .aa-ItemContent {
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
    align-items: center;
	cursor: pointer
}

div#pd-main-panel1 .aa-ItemWrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

div#pd-main-panel1 button.aa-ItemActionButton {
    background: none;
    border: none;
    height: 20px;
    position: absolute;
    right: 0;
    left: 0;
    text-align: right;
    padding-right: 14px;
}


div#pd-main-panel1 .aa-ItemActions {
    display: flex;
    align-items: center;
}

div#pd-main-panel1 .aa-ItemIcon.aa-ItemIcon--noBorder {
    height: 20px;
	display: none;
}


div#pd-main-panel1 .aa-ItemContentBody {
    font-weight: 700;
    font-size: 15px;
    line-height: 25px;
    color: #242424;
    text-transform: capitalize;
}

div#pd-main-panel1 .aa-ItemContentBody mark {
    background: no-repeat;
    font-weight: 400;
    padding: 0;
}

div#alg_sidebar>h3 {
    padding-left: 10px;
	padding-top: 10px;
    color: #646669;
    font-weight: 600;
    font-size: 20px;
}

div#alg_sidebar:has(.aa-Panel) > h3 {
    display: block;
}

@media(min-width: 991px) {
body div#alg_sidebar {
    width: 20% !important;
}

body div#hits {
    width: 80% !important;
}

div#alg_sidebar>h3 {
    display: block;
}
}

div#hits .thumbnail .caption h3 a {
    font-size: 13px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

div#blog-hits .ais-Panel-header,
div#category-hits .ais-Panel-header {
    padding-left: 10px;
    padding-top: 10px;
    color: #646669;
    font-weight: 600;
    font-size: 20px;
    margin: 20px 0 7.5px;
}

div#blog-hits ol.ais-Hits-list,
div#category-hits ol.ais-Hits-list {
    padding-left: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    list-style: none;
	margin: 0;
}

div#blog-hits ol.ais-Hits-list li,
div#category-hits ol.ais-Hits-list li {
    padding: 10px;
    border-bottom: 1px solid #E3E3E3;
}

div#blog-hits ol.ais-Hits-list li a,
div#category-hits ol.ais-Hits-list li a {
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    color: #242424;
}

div#blog-hits ol.ais-Hits-list li,
div#category-hits  ol.ais-Hits-list li{
    padding: 10px;
    border-bottom: 1px solid #E3E3E3;
}

div#blog-hits ol.ais-Hits-list li a mark.ais-Highlight-highlighted,
div#category-hits ol.ais-Hits-list li a mark.ais-Highlight-highlighted  {font-weight: 700;background: no-repeat;padding: 0;}


div#blog-hits .ais-Hits,
div#category-hits .ais-Hits{
    padding: 0;
}

div#blog-hits .ais-Hits.ais-Hits--empty, div#category-hits .ais-Hits.ais-Hits--empty {
    padding: 10px 10px 0;
}

span.ssuggestions-empty {
    padding: 10px;
}

div#pd-main-panel1:has(.aa-Panel) span.ssuggestions-empty {
    display: none;
}

div#blog-hits {margin-bottom: 20px;}

div#category-hits:has(.ais-Hits.ais-Hits--empty), div#blog-hits:has(.ais-Hits.ais-Hits--empty) {
    display: none;
}


.aa-suggestion .thumbnail[misc2="y"] .price-wrapper,
.aa-suggestion .thumbnail[giveawayCheck="y"] .price-wrapper{
    display: none !important;
}

.no-products {
    display: none;
}

.algolia-popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.algolia-popup-wrapper {
    background-color: #fff;
    padding: 20px;
    position: relative;
}
.algolia-popup-wrapper i {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}    

#open-algolia-popup {
    cursor: pointer;
    color: red;
    text-decoration: underline;
}

.algolia-popup-wrapper {
    height: calc(100% - 90px);
    overflow: auto;
}