﻿.hide-block {
    display: none !important;
}
.inline-block {
    display: inline-block;
}
.cb {
    clear: both;
}
.page-title {
    margin: 0 0 20px;
    border-bottom: 1px solid #ebecf3;
    padding: 10px;
}
.mobile-filters {
    display: none;
}
.container-filters {
    float: left;
    width: 220px;   
}
.container-search {
    float:right;
    width: calc(100% - 250px);
    overflow: hidden;
}
.container-header {
    color: #333;
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 40px;
    margin: 1em 0;
}
.clear-filters i {
    margin-right: 5px;
    font-size: 12px;
}
.ais-Panel {
    border-top: 1px solid #ebecf3;
    padding-top: 2rem;
}
.ais-Panel-header {
    color: #333 !important;
}
.ais-Panel-collapseButton {
    padding-top: 2rem !important;
}
.ais-RangeInput-input::placeholder,
.ais-SearchBox-input::placeholder {
    color: #999;
    opacity: 0.8;
}
/* --- Hits ---*/
.ais-Hits-list {
    padding: 0 5px !important;
}
.ais-Hits-item {
    display: unset;
    box-shadow: none;
    background: none !important;
    font-size: 14px !important;
}
.picture-box {
    border: 1px solid #eee;
    margin: 0 0 10px;
}
.product-name {
    color: #333;
    font-weight: 700;
    min-height: 40px;
    margin: 0 0 15px;
    font-size: 14px !important;
}
.custom-grid-item-footer-link i {
    margin-right: 3px !important;
}
/* --- Search Box ---*/
.ais-SearchBox.search-box {
    margin: 1rem 0 1rem 0.5rem;
}
.ais-SearchBox-reset:focus {
    background: #fff !important;
}
.reset-btn {
    right: 7.5rem;
}
.search-btn {
    width: 100px !important;
    margin-left: 10px;
}
.ais-RefinementList-showMore {
    height: 1.8rem !important;
}
/* --- Focus Styles ---*/
.ais-SearchBox-input:focus,
.ais-RangeInput-input:focus {
    border-color: #888 !important;
}
.ais-RangeInput-submit:focus,
.ais-ClearRefinements-button:focus,
.ais-RefinementList-showMore:focus {
    border-color: #888 !important;
    box-shadow: #888 0 0 0 0.5px, rgb(35 38 59 / 5%) 0 2px 0 1px !important;
}
.ais-HitsPerPage-select:focus,
.ais-SortBy-select:focus {
    border-color: #888 !important;
    box-shadow: #888 0 0 0 1px, rgb(35 38 59 / 5%) 0 2px 0 0 !important;
}
.ais-ToggleRefinement-checkbox:checked {
    background: #666 !important;
}
/* --- Selectors ---*/
.product-selectors {
    margin: 0 auto 50px !important;
}
.product-selectors select {
    min-width: 50px;
    padding: 0 5px!important;
}
.ais-SortBy .ais-SortBy-select {
    width: 100px;
}
/* --- Pagination ---*/
.pager li.current-page a {
    color: #de524e !important;
}
.disabled-page {
    display: none !important;
}
.ais-Pagination-link {
    margin-left: 0px !important;
}
.ais-Pagination-item.last-page a {
    margin-left: 1px !important;
}
.ais-Pagination-item.first-page a:hover {
    opacity: 0.9;
    border-color: inherit !important; 
    background-image: url('/Themes/Brooklyn/Content/img/pager-first.png') !important;
}
.ais-Pagination-item.previous-page a:hover {
    opacity: 0.9;
    border-color: inherit !important; 
    background-image: url('/Themes/Brooklyn/Content/img/pager-prev.png') !important;
}
.ais-Pagination-item.next-page a:hover {
    opacity: 0.9;
    border-color: inherit !important; 
    background-image: url('/Themes/Brooklyn/Content/img/pager-next.png') !important;
}
.ais-Pagination-item.last-page a:hover {
    opacity: 0.9;
    border-color: inherit !important;   
    background-image: url('/Themes/Brooklyn/Content/img/pager-last.png') !important;
}
/* ----- Responsive ----- */
@media only screen and (min-width: 768px) {
    .product-stats {
        position: absolute !important;
        left: 0;
        padding: 20px 10px;
    }
}
/* ----- large devices -----*/
@media only screen and (min-width: 990px) {
    .container-filters,
    .container-search {
        display: block !important;
    }
    .mobile-filters {
        display: none !important;
    }
}
/* ----- medium devices ----- */
@media only screen and (max-width: 990px) {
    .container-search {        
        width: 100%;
    }
    .container-filters {
        width: 100%;
        padding: 50px;
        border: 1px dotted #999;
        border-radius: 10px;
        display: none;
    }
    .mobile-filters {
        cursor: pointer;
        display: block;
        position: fixed;
        left: 44%;
        bottom: 2rem;
        z-index: 10;
        width: 110px;
        height: 45px;
        align-items: center;
        border: medium none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        background-color: #de524e;
    }
    .mobile-filters i {
        margin-right: 5px;
    }
}
/* ----- small devices ----- */
@media only screen and (max-width: 680px) {
    .container-filters {
        padding: 30px;
    }
    .mobile-filters {
        left: 40%;
    }   
}
/* ----- extra small devices ----- */
@media only screen and (max-width: 480px) {  
    .product-stats {
        margin-left: 22% !important;
    }
    .mobile-filters {
        left: 35%;
    }  
}