﻿.n4you-ajax-filters {
    background: #000;
}

.page {
    display: flex;
    flex-direction: column;
}

.block-recently-viewed-products {
    order: 2;
}

.filter-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.5);
    z-index: 4;
}

#ajaxfilter-form {
    margin-bottom: 8px;
}

.ajax-products {
    position: relative;
}

    .ajax-products .spinner {
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 100;
        left: 0;
        right: 0;
        opacity: 0.7;
        padding-top: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    z-index: 1;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 51px;
        height: 51px;
        margin: 6px;
        border: 6px solid #46638C;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #46638C transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.filter-section {
    text-align: left;
    margin: auto;
    padding: 16px 0;
    /* margin: 0 0 -1px 0; */
}

    .filter-section:last-of-type {
    }

#price-filter-section .filter-section,
#manufacturers-filter-section .filter-section {
}

.filter-section .filter-section .title a.ajax-filter-clear-all {
    cursor: pointer;
    padding-right: 5px;
}

.filter-section .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.429;
    letter-spacing: 0.16px;
    text-align: left;
    position: relative;
    padding: 0;
    color: #161D25;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
}

    .filter-section .title a {
        margin-left: 5px;
        font-size: 100%;
        cursor: pointer;
    }

.filter-section .listbox ul {
    margin: 0;
    padding: 0 0 0 2px;
    color: #000;
    background-color: inherit;
}

.ajaxfilter-price-range-section {
    display: flex;
    justify-content: space-between;
    margin: 0 0 15px 0;
    padding: 10px 0 0 0;
}

.ajaxfilter-section {
    font-size: 13px;
    padding: 0;
    line-height: 18px;
    margin: 0;
    border-color: #000;
}

.n4you-ajax-filters .spinner {
    text-align: center;
}

.ajaxfilter-section li label > span {
    color: #aaa;
    font-size: 12px;
    font-weight: 400;
    margin-left: 2px;
    position: absolute;
    right: 2px;
    letter-spacing: 1px;
    min-width: 20px;
}

.ajaxfilter-section li::before {
    content: "";
}


.ajaxfilter-section select
.ajaxfilter-price-section {
    height: 20px;
    margin-bottom: 15px;
}

#slider-range {
    position: relative;
    width: 100%;
    height: 25px;
}

    #slider-range .range-input {
        position: absolute;
        height: 25px;
        top: 0;
        left: 0;
    }

.range-label {
    color: #000;
    font-size: 14px;
    font-weight: 300;
}

.range-value {
    margin: 0 0 0 5px;
    color: #161D25;
    font-size: 14px;
    font-weight: 500;
}

.ajaxfilter-section ul {
    margin-bottom: 0;
    padding: 10px 0 0 0;
    color: #000;
    background-color: inherit;
}

.ajaxfilter-section li {
    list-style: none;
    z-index: 1;
}

.ajax-filter-section .square.active {
    border-color: #50B83C;
    background-color: #50B83C;
}
    .ajax-filter-section > div + div {
        border-top: 1px solid #E5E5E6;
    }

.square.active::after {
    color: #000;
}
/*.ajaxfilter-section > ul li:not(.active) ~ .view-more,
.ajaxfilter-section > ul li:not(.active) ~ .view-less {
    dí
}*/
.ajaxfilter-section > ul li.hidden {
    display: none !important;
}
    .ajaxfilter-section > ul.show li.hidden {
        display: block !important;
    }
.ajaxfilter-section li:not(.square):not(.star):not(.action) {
    bottom: 19px;
    position: relative;
    z-index: 0;
    left: 0;
    line-height: 1;
}

.ajaxfilter-section li.colorLi {
    bottom: 20px;
    position: relative;
    z-index: 0;
    margin-bottom: -20px;
}
.ajaxfilter-section > .view-more,
.ajaxfilter-section > .view-less {
    color: #006FBB;
    cursor: pointer;
}
.ajax-filter-section .star.square.active + li .rating-label {
    background-color: #F0F0F0;
}
.ajax-filter-section .star.square {
    background: transparent !important;
    border-color: transparent !important;
}

.ajax-filter-section .square {
    position: relative;
    width: 18px;
    height: 18px;
    top: 0px;
    background-color: transparent;
    border: 1px solid #aaa;
    border-radius: 4px;
    z-index: 0 !important;
    transition: all .3s ease;
}

    .ajax-filter-section .square.color {
        border: 1px solid transparent;
        border-radius: 100%;
        box-shadow: 0 1px 4px rgba(0,0,0,0.25), 0 1px 1px rgba(0,0,0,0.22);
    }

    .ajax-filter-section .square:after {
        content: "";
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><g fill='%23fff' class='nc-icon-wrapper'><path d='M14.3,2.3L5,11.6L1.7,8.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l4,4C4.5,13.9,4.7,14,5,14s0.5-0.1,0.7-0.3 l10-10c0.4-0.4,0.4-1,0-1.4S14.7,1.9,14.3,2.3z'></path></g></svg>");
        display: block;
        width: 18px;
        height: 18px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 50%;
        position: absolute;
        top: -1px;
        z-index: 100;
        visibility: hidden;
    }

    .ajax-filter-section .square.color:after {
        top: -8px;
        left: 12px;
        width: 18px;
        height: 18px;
        display: flex;
        background-size: 50% 50%;
        border-radius: 100%;
        border: 1px solid var(--light-blue);
        background-color: var(--light-blue);
    }

    .ajax-filter-section .square.active:after {
        visibility: visible;
    }

.ajaxfilter-section label {
    text-align: left;
    color: #161D25;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 0;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex !important;
    font-size: 0.875rem;
    line-height: 20px;
    padding-left: 28px;
    width: 100%;
}
.ajaxfilter-section .rating-label {
    padding-left: 0;
    align-items: center;
    left: -10px;
    right: 32px;
    width: auto;
    padding: 4px 7px;
    border-radius: 16px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
    .ajaxfilter-section .rating-label:hover {
        background-color: #F0F0F0;
    }

    .ajaxfilter-section .rating-label > span {
        right: -30px;
    }

    .ajaxfilter-section input[type=checkbox]:disabled ~ label {
        color: #9FA1A3;
    }
        .ajaxfilter-section input[type=checkbox]:disabled ~ label.rating-label {
            background-color: transparent !important;
        }
    .ajaxfilter-section label input {
    visibility: hidden;
}

.white-popup {
    position: relative;
    background: #000;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

.products-count {
    text-align: center;
    font-size: medium;
    padding: 5px;
    background: aliceblue;
    font-weight: bold;
}

.searchProcess {
    position: absolute;
    background: url('images/ajaxLoader.gif') no-repeat fixed 50% 50% #000FFF;
    width: auto;
    height: auto;
    filter: Alpha(opacity 70);
    opacity: 0.7;
    z-index: 1;
    clear: both;
    position: fixed;
    top: 0;
}

#price-current-min {
    width: 60px;
    border: 1px solid #dae2e6;
    text-align: center;
    float: left;
    font-size: 14px;
    height: 24px;
}

#price-current-max {
    width: 60px;
    border: 1px solid #dae2e6;
    text-align: center;
    float: right;
    font-size: 14px;
    height: 24px;
}

#ajaxfilter-form .ajax-filter-section .filter-section .ajaxfilter-section input[type="checkbox"], .ajaxfilter-section input[type="radio"], .ajaxfilter-section input[type="checkbox"] + *, .ajaxfilter-section input[type="radio"] + * {
    vertical-align: top;
    visibility: hidden;
    height: auto;
}

.filter-section .title .lnr.linearicons-chevron-up {
    color: #888888;
    position: absolute;
    top: 4px;
    left: calc(100% - 15px);
    font-size: 14px;
    cursor: pointer;
    transition: all .3s ease;
}

    .filter-section .title .lnr.linearicons-chevron-up.rotate {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

.regular-checkbox {
    background-color: transparent;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px transparent, inset 0px -15px 10px -12px transparent;
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    z-index: -1;
}

    .regular-checkbox:checked {
        background-color: transparent;
        border: 1px solid transparent;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
        color: #99a1a7;
    }

.clearHolder {
    width: 100%;
    text-align: center;
    position: relative;
    bottom: 17px;
    font-size: 12px;
    display: none;
}

.ajaxfilter-price-section input {
    padding: 0;
}

.selectedOptions div {
    display: inline-flex;
    text-align: left;
}

.selectedOptions .btn {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-left: 5px;
    font-size: 13px;
    line-height: 1.231;
    height: auto;
    cursor: pointer;
    text-align: left;
    background-color: transparent;
    border: 0;
    padding: 0;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    background-color: transparent !important;
}

    .selectedOptions .btn.icon {
        justify-content: center;
    }

        .selectedOptions .btn.icon::before, .selectedOptions .btn.icon::after {
            content: "";
            position: absolute;
            top: 9px;
            right: 0;
            width: 16px;
            height: 2px;
            background: #000;
            -webkit-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
        }

        .selectedOptions .btn.icon::before {
            transform: rotate(45deg);
        }

        .selectedOptions .btn.icon::after {
            transform: rotate(-45deg);
        }

        .selectedOptions .btn.icon:hover::before, .selectedOptions .btn.icon:hover::after {
            background-color: var(--light-blue);
        }

    .selectedOptions .btn:hover:before {
        color: var(--light-blue);
    }

    .selectedOptions .btn:first-child {
        padding: 0;
        margin-left: 0;
        pointer-events: none;
    }

    .selectedOptions .btn:nth-child(2) {
        justify-content: flex-end;
    }

.closeAllFilters {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    background-color: #f6f6f6;
    border: 1px solid #e1e1e1;
    box-shadow: none;
    text-shadow: none;
    outline: none;
    border-radius: 0;
    opacity: 1 !important;
    width: 100%;
    position: relative;
    cursor: pointer;
    top: unset;
    right: unset;
}

    .closeAllFilters.close:hover,
    .closeAllFilters.close:focus {
        color: #000;
    }

    .closeAllFilters::before {
        content: "\f078";
        position: absolute;
        right: 0;
        font-size: 16px;
        font-family: Font Awesome\ 5 Free;
        font-weight: 900;
        transition: all .3s ease;
    }

.filter-content {
    color: #46638C;
    max-width: 85%;
    border: 0;
    font-size: 14px;
    font-weight: 400;
}

.selectedOptions {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

    .selectedOptions > div {
        position: relative;
        padding: 6px 10px;
        background-color: #EAEBEB;
        border-radius: 16px;
        margin-bottom: 8px;
        margin-right: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .selectedOptions > div:not(:first-child) {
            border-top: 0;
        }

    .selectedOptions li {
        position: relative;
        display: inline-flex;
        margin-bottom: 7px;
        color: #26A69A;
    }

.tag {
    line-height: 16px;
}

.remover {
    width: 16px;
    height: 16px;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
    color: #fff;
    margin: 0;
    padding: 0;
    outline: none;
    border-radius: 50%;
    background-color: var(--red);
    cursor: pointer;
    z-index: 10;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><g fill='%23FFFFFF' class='nc-icon-wrapper'><path d='M14.7,1.3c-0.4-0.4-1-0.4-1.4,0L8,6.6L2.7,1.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4L6.6,8l-5.3,5.3 c-0.4,0.4-0.4,1,0,1.4C1.5,14.9,1.7,15,2,15s0.5-0.1,0.7-0.3L8,9.4l5.3,5.3c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3 c0.4-0.4,0.4-1,0-1.4L9.4,8l5.3-5.3C15.1,2.3,15.1,1.7,14.7,1.3z'></path></g></svg>");
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: center;
}

.closeAllFilters.close::before {
    transform: rotate(180deg);
}

.clearAllfilters {
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    color: var(--red);
    border: 0;
    font-size: 0.875rem;
    line-height: 1.231;
    box-shadow: none;
    outline: none;
    border-image: none;
    border-radius: 0;
    animation-name: filter-anim;
    animation-duration: .3s;
    animation-timing-function: ease;
    background-color: transparent;
    padding: 4px;
    display: none;
}
    .clearAllfilters ~ .line {
        display: none;
        width: 100%;
        height: 1px;
        background-color: #E5E5E6;
    }
    .clearAllfilters.show {
        display: block;
    }
        .clearAllfilters.show ~ .line {
            display: block;
        }

        .vue-pager {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            margin: 0 0 10px 0;
        }

    .vue-pager div {
        color: #000;
        font-size: 14px;
        font-weight: 500;
        margin: 0 5px 5px 0;
        padding: 8px 16px;
        border: 1px solid var(--t-black);
        cursor: pointer;
    }

        .vue-pager div.current {
            color: #fff;
            background-color: var(--light-blue);
            border-color: var(--light-blue);
            cursor: not-allowed;
            pointer-events: none;
        }

@keyframes filter-anim {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

input[type=checkbox]:disabled ~ label {
    text-decoration: line-through;
}

#price-filter-section .noUi-target {
    margin: 10px;
    background-color: rgba(0, 111, 187, 0.1);
    box-shadow: none;
}

#price-filter-section .noUi-horizontal {
    height: 4px;
}

#price-filter-section .noUi-connect {
    background-color: #006FBB;
}

#price-filter-section .noUi-handle {
    background-color: #006FBB;
}

#price-filter-section .noUi-base,
#price-filter-section .noUi-connects {
    height: 4px;
}

#price-filter-section .noUi-connect {
    height: 4px;
}

#price-filter-section .noUi-horizontal .noUi-handle {
    top: -6px;
    width: 16px;
    height: 16px;
}
