/**
 * we have to add this because magento default style applies `display: inline-block`
 * on button and other tags, which overrides the HTML5 standard [hidden] attribute
 */
[hidden] {
    display: none !important;
}

#refine-toggle {
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    cursor: pointer;
    background-color: #000;
    border-color: #000;
    color: #fff;
    text-transform: uppercase;
    padding: 0px 10px;
}
#refine-toggle:before{
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f0b0';
    font-size: 14px;
    margin-right: 10px;
    color: #fff;
}
#instant-search-facets-container a:visited{
    color: #000;
}
#instant-search-facets-container a:hover{
    color: #e7242f;
}
/* infos */


/* SearchBox */
.ais-SearchBox {
    margin-bottom: 1em;
}

.ais-SearchBox-submit {
    display: none;
}

.ais-SearchBox-form {
    position: relative;
}

.ais-SearchBox-reset {
    position: absolute;
    right: 3px;
    margin: 0px;
    top: 4px;
}
.ais-SearchBox-loadingIndicator{
    position: absolute;
    right: 0px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    top: 11px;
}

button.ais-SearchBox-reset {
    box-shadow: none;
    padding-left: 0.5em;
    padding-right: 0.5em;
    background: transparent;
}

button.ais-SearchBox-reset:focus,
button.ais-SearchBox-reset:active,
button.ais-SearchBox-reset:hover {
    border: 0;
    background: none;
}

input.ais-SearchBox-input {
    padding-right: 2em;
}

.ais-SearchBox-reset,
input.ais-SearchBox-input {
    height: 32px;
}

/* Hits & InfiniteHits */
.ais-InfiniteHits,
.ais-Hits {
    text-align: center;
}

.ais-InfiniteHits--empty,
.ais-Hits--empty {
    margin: 40px 0;
    color: #636363;
    font-size: 16px;
    font-weight: bold;
}

.ais-InfiniteHits--empty q:before,
.ais-InfiniteHits--empty q:after,
.ais-Hits--empty q:before,
.ais-Hits--empty q:after {
    content: '"';
}

.ais-InfiniteHits-item a:hover,
.ais-Hits-item a:hover {
    color: #666666;
    text-decoration: none;
}

.ais-InfiniteHits-list .no-results .clear-button,
.ais-Hits-list .no-results .clear-button {
    cursor: pointer;
}

.ais-InfiniteHits-list .no-results .popular-searches,
.ais-Hits-list .no-results .popular-searches {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 30px;
}

.ais-InfiniteHits-item .result-wrapper,
.ais-Hits-item .result-wrapper {
    border: 1px solid #e1e1e1;
    margin-bottom: 20px;
    text-align: center;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.ais-InfiniteHits-item .result-wrapper:hover,
.ais-Hits-item .result-wrapper:hover{
    box-shadow: 0 2px 5px #e1e1e1;
    -moz-box-shadow: 0 2px 5px #e1e1e1;
    -webkit-box-shadow: 0 2px 5px #e1e1e1;
    -o-box-shadow: 0 2px 5px #e1e1e1;
    -ms-box-shadow: 0 2px 5px #e1e1e1;
}
.result-sub-content{
    padding: 10px 10px 10px 10px;
}
.result-sub-content .old-price{
    display: none;
}
.result-sub-content .price-wrapper{
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    font-family: "Prompt Bold";
}
.result-sub-content .action.tocart.primary:before{
    color: #e7242f !important;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f291";
    font-size: 16px;

}
.result-sub-content .action.tocart.primary span{
    display: none;
}
.result-sub-content .action.tocart.primary{
    background-color: #fff !important;
    border-color: #e7242f !important;
    color: #e7242f !important;
    border-width: 2px !important;
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    padding: 0px;
}

.ais-InfiniteHits-list::after,
.ais-Hits-list::after {
    content: ' ';
    clear: both;
    display: block;
}
.ais-InfiniteHits-loadMore {
    background: #f4f4f4;
    border-color: transparent;
    color: #666666;
    font-size: 13px;
    font-weight: normal;
    line-height: 19px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.ais-InfiniteHits-loadPrevious--disabled,
.ais-InfiniteHits-loadMore--disabled {
    display: none !important;
}

.result-wrapper .tocart {
    background: #f4f4f4;
    border-color: transparent;
    color: #666666;
    font-size: 13px;
    font-weight: normal;
    line-height: 19px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    margin-top: 10px;
}

.result-wrapper .price {
    text-align: center;
    font-size: 14px;
    color: #000000;
}

.result-wrapper .price-box{
    margin: 15px 0 15px;
}

.result-wrapper .cdz-buttons-inner .qs-button{
    display: none;
}
.result-wrapper .cdz-buttons-inner form[data-role="tocart-form"],
.result-wrapper .cdz-buttons-inner div[data-role="add-to-links"]{
    display: inline-block;
}
.ecc-price-lazy-load-list.result-sub-content {
    padding-top: 0px;
    margin-top: -10px;
}

.result-wrapper .before_special {
    color: #aaaaaa;
    text-decoration: line-through;
    font-size: 12px;
}

.result-wrapper .text-ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #000;
    font-family: "Prompt Medium";
    font-size: 14px;
    margin: 5px 0 0 0;
}
.result-wrapper .result-description{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    margin: 0 0px 10px;
    color: #999;
    height: 35px;
}

/* HierarchicalMenu */
.ais-HierarchicalMenu-item {
    margin: 0;
    line-height: 1.8em;
}

.ais-HierarchicalMenu-link--selected {
    font-weight: bold;
}

.ais-HierarchicalMenu-link--selected .cross-circle {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background: url("data:image/svg+xml;utf8,<svg width='34' height='34' viewBox='0 0 34 34' xmlns='http://www.w3.org/2000/svg'><title>testvg</title><g fill='%23000' fill-rule='evenodd'><path d='M17.163 0C7.95 0 .41 7.578.353 16.893c-.03 4.542 1.693 8.82 4.847 12.053 3.156 3.23 7.367 5.026 11.857 5.054h.11c9.21 0 16.75-7.578 16.81-16.893C34.035 7.735 26.54.06 17.163 0zm.015 30.842v1.08l-.09-1.08c-3.656-.023-7.085-1.485-9.654-4.115-2.57-2.63-3.97-6.116-3.948-9.814C3.533 9.33 9.673 3.158 17.262 3.158c7.548.048 13.65 6.297 13.605 13.93-.05 7.585-6.19 13.754-13.69 13.754z'/><path d='M22.362 10.23l-5.186 5.245-5.186-5.244c-.417-.42-1.092-.42-1.51 0-.416.422-.416 1.105 0 1.526L15.668 17l-5.186 5.244c-.416.42-.416 1.104 0 1.525.21.21.483.316.755.316.273 0 .546-.106.755-.317l5.186-5.245 5.186 5.244c.208.21.482.316.754.316.273 0 .546-.106.755-.317.417-.422.417-1.105 0-1.526L18.685 17l5.187-5.244c.417-.42.417-1.104 0-1.525-.416-.42-1.09-.42-1.508 0z'/></g></svg>") no-repeat center center / contain;
    opacity: 0;
}

.ais-HierarchicalMenu-link--selected:hover .cross-circle {
    opacity: 1;
}

/* RefinementList */
.ais-RefinementList-searchBox .ais-SearchBox-input {
    margin-top: 4px;
    margin-bottom: 4px;
}

.ais-RefinementList-searchBox .ais-SearchBox-input[disabled] {
    display: none;
}


.ais-RefinementList-count,.ais-HierarchicalMenu-count{
    color: #858585;
    border: 1px solid #858585;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    display: inline-block;
    height: 15px;
    line-height: 13px;
    font-size: 10px;
    padding: 0 2px;
    margin-left: 2px;
    vertical-align: text-top;
    -webkit-opacity: .5;
    -moz-opacity: .5;
    opacity: .5;
    font-family: arial;
    min-width: 15px;
    text-align: center;
}

/* Panel */
.ais-Panel {
    border-bottom: 1px dashed #e1e1e1;
    padding-bottom: 15px;
}

.ais-Panel-header {
    cursor: pointer;
    margin: 0;
    overflow: hidden;
    padding: 15px 40px 0 0;
    position: relative;
    text-transform: uppercase;
    word-break: break-all;
    z-index: 1;
    color: #000;
    font: 400 13px / 1.35 Promt, Arial, sans-serif;
    display: block;
    text-decoration: none;
    font-family: "Prompt Medium";
}
.ais-Panel-header:after{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 13px;
    line-height: inherit;
    color: inherit;
    content: '\e621';
    font-family: 'luma-icons';
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
    position: absolute;
    right: 0;
    top: 18px;
}
.ais-Panel.ais-Panel--collapsed .ais-Panel-header:after{
    content: '\e622';
}
#algolia_instant_selector input[type="checkbox"]{
    margin: 2px 4px 0 0;
}

label.ais-RefinementList-label {
    font-family: "Prompt Medium";
    font-size: 12px;
    color: #000;
}

.ais-Panel-body {
    padding: 10px 0;
}
.ais-Panel-body >div {
    max-height: 150px;
    overflow-y: auto;
}
.ais-Panel-title{
    border-bottom: 1px solid #e7e7e7;
    text-transform: uppercase;
    position: relative;
}
.ais-Panel-title strong{
    color: #000;
    border-bottom: 3px solid #e7242f;
    font-family: "VAGRounded Thin";
    padding-bottom: 15px;
    display: inline-block;
}

/* RangeSlider */
.ais-RangeSlider {
    margin: 0 20px;
}

.ais-RangeSlider .rheostat-background {
    border: 0;
    background-color: #efefef;
}

.ais-RangeSlider .rheostat-progress {
    background-color: #006bb4;
}

/* Pagination */
.ais-Pagination-list {
    background: #fff;
    box-shadow: 1px 3px 1px rgba(50, 50, 50, 0.04);
    -moz-box-shadow: 1px 3px 1px rgba(50,50,50,0.04);
    -webkit-box-shadow: 1px 3px 1px rgba(50, 50, 50, 0.04);
    -o-box-shadow: 1px 3px 1px rgba(50,50,50,0.04);
    -ms-box-shadow: 1px 3px 1px rgba(50,50,50,0.04);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 10px 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ais-Pagination-item {
    font-size: 1.2rem;
    line-height: 3rem;
    letter-spacing: normal;
    margin: 0 4px 0 0;
    display: inline-block;
    margin: 2px 4px 2px 0;
}
@media (max-width: 767px){
    .ais-Pagination-list {
        justify-content: center;
    }
}
.ais-Pagination-item.ais-Pagination-item--selected a{
        background: #e7242f;
        border: 2px solid #e7242f;
        color: #fff !important;
}

.ais-Pagination-item a{
    border: 2px solid #e7242f;
    color: #e7242f;
    background: #fff;
    padding: 0 14px;
    display: block;
}

.ais-Pagination-item--selected {
    color: black;
    font-weight: bold;
}

.ais-Pagination-item--disabled {
    display: none;
}

.ais-Pagination-item.ais-Pagination-item--nextPage,
.ais-Pagination-item.ais-Pagination-item--previousPage{
    font-size: 0px;
}
.ais-Pagination-item.ais-Pagination-item--previousPage a,
.ais-Pagination-item.ais-Pagination-item--nextPage a{
    padding: 0 8px;
}
.ais-Pagination-item.ais-Pagination-item--previousPage a:before,
.ais-Pagination-item.ais-Pagination-item--nextPage a:before{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: inherit;
    content: '\e608';
    font-family: 'luma-icons';
    margin: 0;
    vertical-align: top;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
    color: #e7242f;
}
.ais-Pagination-item.ais-Pagination-item--previousPage a:before{
    content: '\e617';
}

/* CurrentRefinements */
.ais-CurrentRefinements-list:not(:empty) {
    margin-bottom: 10px;
}
.ais-CurrentRefinements{
    padding: 5px 10px;
}
.ais-CurrentRefinements:before{
    content: 'Now Shopping by';
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1em;
    padding: 10px 0px 15px;
}
.ais-ClearRefinements-button.action.primary,.ais-ClearRefinements-button.action.primary:hover{
    background: none !important;
    border: none !important;
    padding: 0px 10px;
    color: #000 !important;
    text-transform: none;
    font-weight: normal;
    text-align: left;
    font-family: Prompt, Arial, sans-serif !important;
    margin-bottom: 30px;
}

.ais-CurrentRefinements-item {
    max-width: 100%;
    white-space: nowrap;
    padding: 0;
    overflow: hidden;
    margin: 10px 0;
}
span.ais-CurrentRefinements-categoryLabel{
    color: #858585;
}

.ais-CurrentRefinements-label {
    font-weight: bold;
}

.ais-CurrentRefinements-category {
    margin: 0 0.5em;
}

.ais-CurrentRefinements-categoryLabel {
}

button.ais-CurrentRefinements-delete {
    line-height: inherit;
    box-shadow: none;
    margin-right: 0.4em;
    margin-bottom: 0px;
    color: #999;
    font-size: 14px;
}

button.ais-CurrentRefinements-delete:hover,
button.ais-CurrentRefinements-delete:active,
button.ais-CurrentRefinements-delete:focus {
    box-shadow: none;
    background: none;
    border: none;
}

/* CurrentRefinements */
.ais-ClearRefinements-button {
    width: 100%;
    margin-bottom: 15px;
}

.ais-ClearRefinements-button--disabled {
    display: none !important;
}

.no-results {
    padding: 3em 0;
    text-align: center;
}
