.nw-widget-wrapper {
    position: relative;
    display: inline-block;
}
.nw-widget-wrapper.list-style .nw-widget-dropdown{
    position: absolute;
    top: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    left: 0;
    z-index: 10;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.list-style .nw-widget-dropdown-inner {
    position: relative;
    width: 100%;
    background: white;
    padding: 15px 10px;
    -webkit-box-shadow: 0px 20px 15px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 20px 15px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 20px 15px 0px rgba(0, 0, 0, 0.05);
}
.nw-widget-wrapper.list-style .nw-widget-dropdown-inner {
    position: absolute;
    top: 40px;
    left: 0;
    max-height: 415px;
    min-width: 270px;
    padding: 15px 10px;
    overflow-y: auto;
    z-index: 10;
}
.nw-widget-wrapper.list-style.active-container .nw-widget-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper .nw-widget-open-button,
.nw-widget-wrapper .nw-filter-clear-button,
.nw-widget-wrapper .nw-filter-show-more-button{
    position: relative;
    text-transform: uppercase;
    background: transparent;
    font-size: 13px;
    line-height: 30px;
    padding: 4px 42px 4px 20px;
    border: 1px solid var(--grey);
}

.nw-widget-wrapper button.nw-widget-open-button:after {
    content: "";
    position: absolute;
    right: 18px;
    top: 0;
    bottom: 0;
    width: 14px;
    background-image: url(../assets/dropdown_arrow.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotateX(180deg);
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper .nw-filter-clear-button,
.nw-widget-wrapper .nw-filter-show-more-button{
    text-transform: none;
    padding: 4px 22px 4px 10px;
    border: 1px solid transparent;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.list-style.selected .nw-filter-clear-button{
    opacity: 1;
    visibility: visible;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.selected .nw-filter-clear-button:hover{
    opacity: 0.75;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper button.nw-filter-clear-button:after {
    content: "";
    position: absolute;
    right: 8px;
    top: 0;
    bottom: 0;
    width: 8px;
    background-image: url(../assets/close.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.nw-ajax-filter-results-count{
    font-size: 13px;
    line-height: 30px;
    min-width: 100px;
    text-align: right;
}

.nw-widget-wrapper .nw-widget-dropdown ul{
    padding-inline-start: 0;
    margin: 0;
}
.nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    list-style: none;
    position: relative;
    margin-top: 8px;
    cursor: default;
}
.nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item:first-of-type{
    margin-top: 0;
}
.nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item:hover {
    opacity: 0.75;
}
.nw-widget-wrapper .nw-widget-dropdown ul li label {
    display: flex;
    position: relative;
    width: 100%;
    cursor: pointer;
    padding:5px 0;
    margin-bottom: 0;
}

.nw-widget-wrapper .nw-widget-dropdown ul li input[type="checkbox"] {
    opacity: 0;
    width: 0;
    margin-right: 48px;
}
.nw-widget-wrapper .nw-widget-dropdown ul li span.option-label {
    display: block;
    margin-right: 40px;
}
.nw-widget-wrapper .nw-widget-dropdown ul li label span.checkmark {
    position: absolute;
    height: 24px;
    width: 24px;
    min-height: 24px;
    min-width: 24px;
    left: 10px;
    top: 50%;
    border: 1px solid var(--dark-grey);
    transform: translateY(-50%);
    background-position: center;
    background-size: 24px;
    background-repeat: no-repeat;
    background-image: none;
}
.nw-widget-wrapper .nw-widget-dropdown ul li span.option-qty {
    display: block;
    position: absolute;
    right: 10px;
    top: 50%;
    font-size: 13px;
    line-height: 30px;
    color: #707070;
    transform: translateY(-50%);
}

.nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item.checked label span.checkmark {
    background-image: url(../assets/selected.svg);
}
.products .nw-ajax-filter-loader{
    text-align: center;
    width: 100%;
    display: block;
    padding:200px 0 300px;
}
/*
.nw-ajax-filter-loader .loader-icon{
    display: block;
    width:65px;
    height: 65px;
    background-image: url(../assets/loader.svg);
    background-size: cover;
    margin:0 auto;
}*/
.nw-ajax-filter-loader .nw-ajax-filter-loader-icon{
    display: inline-block;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #000000;
    border-radius: 50%;
    width:68px;
    height: 68px;
    animation: nw-ajax-filter-spin 1s linear infinite;
}
@media (max-width: 1199.98px) {
    .products .nw-ajax-filter-loader{
        padding:100px 0 200px;
    }
}

.nw-widget-dropdown-item .nw-ajax-filter-loader .nw-ajax-filter-loader-icon {
    display: inline-block;
    border: 1px solid #f3f3f3;
    border-top: 2px solid #707070;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: nw-ajax-filter-spin 1s linear infinite;
}
@keyframes nw-ajax-filter-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* display type: dropdown */
.nw-widget-wrapper.dropdown-style:not(:last-of-type) {
    margin-bottom:-1px;
}
.nw-widget-wrapper.dropdown-style.active-container{
    padding-bottom: 16px;
}
.nw-widget-wrapper.dropdown-style > .nw-widget-wrapper-inner{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.nw-widget-wrapper.dropdown-style .nw-widget-open-button{
    padding: 4px 42px 4px 30px;
}
.nw-widget-wrapper.dropdown-style.active-container .nw-widget-open-button:after{
    transform: rotateX(0deg);
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style .nw-widget-dropdown{
    position: relative;
    top: 0;
    display: flex;
    /*opacity: 0;*/
    /*visibility: hidden;*/
    height: 0;
    overflow: hidden;
    z-index: 9;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style.active-container .nw-widget-dropdown{
    /*opacity:1;*/
    /*visibility: visible;*/
    height: auto;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style .nw-widget-dropdown-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 15px 10px 0;

}
.nw-widget-wrapper.dropdown-style.selected .nw-widget-open-button:before{
    content: "";
    position: absolute;
    left: 14px;
    height:10px;
    width: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color:#ffc107;
    border-radius: 50%;
    opacity:1;
    visibility: visible;
    z-index: 1;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style.selected.active-container .nw-widget-open-button:before{
    content: "";
    opacity:0;
    visibility: hidden;
    z-index: -1;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style .nw-widget-button-wrapper{
    height: 0;
    overflow: hidden;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style.selected.active-container .nw-widget-button-wrapper,
.nw-widget-wrapper.dropdown-style.show-less.active-container .show-more-button-wrapper{
    height: auto;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style .nw-widget-button-wrapper .nw-filter-clear-button,
.nw-widget-wrapper.dropdown-style.show-less .nw-widget-button-wrapper .nw-filter-show-more-button{
    visibility: hidden;
    opacity: 0;
    padding: 4px 22px 4px 18px;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style.selected.active-container .nw-widget-button-wrapper .nw-filter-clear-button,
.nw-widget-wrapper.dropdown-style.show-less.active-container .nw-widget-button-wrapper .nw-filter-show-more-button{
    visibility: visible;
    opacity:1;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
    color: var(--text-black);
}
.nw-widget-wrapper.dropdown-style.selected.active-container .nw-widget-button-wrapper .nw-filter-clear-button:hover,
.nw-widget-wrapper.dropdown-style.show-less.active-container .nw-widget-button-wrapper .nw-filter-show-more-button:hover{
    opacity: 0.75;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}
.nw-widget-wrapper.dropdown-style.show-less .show-less-active{
    opacity:0;
    visibility: hidden;
    height: 0;
    margin:0;
    overflow: hidden;
}
.nw-widget-wrapper.dropdown-style .show-less-active{
    opacity:1;
    visibility: visible;
    height: auto;
    -webkit-transition: ease all .2s;
    -o-transition: ease all .2s;
    transition: ease all .2s;
}

/* Solseal Updates */
:root {
    --nw-filter-mid-grey: #DCDCDC;
    --nw-filter-mid-grey-2: #B3B3B3;
    --nw-filter-black: #2A2A2A;
}
.nw-widget-wrapper{
    border-top: 1px solid var(--nw-filter-mid-grey);
}
.nw-widget-wrapper.dropdown-style .nw-widget-open-button {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 13px 40px 13px 13px;
    text-align: left;
    text-transform: none;
    color: var(--text-black);
}
.nw-widget-wrapper.dropdown-style .nw-widget-dropdown-inner{
    padding:0 13px 5px;
}
.nw-widget-wrapper.dropdown-style.nw-ajax-filter-wrapper.active-container .nw-widget-dropdown + div{
    margin-top:5px;
}
.nw-widget-wrapper.dropdown-style .nw-widget-button-wrapper .nw-filter-clear-button,
.nw-widget-wrapper.dropdown-style.show-less .nw-widget-button-wrapper .nw-filter-show-more-button{
    padding: 10px 22px 10px 13px;
    line-height: 1;
    text-decoration: underline;
}
.nw-widget-wrapper.dropdown-style.selected .nw-widget-open-button:before{
    left: unset;
    right: 40px;
}
.nw-widget-wrapper button.nw-widget-open-button:after {
    content: "";
    position: absolute;
    right: 13px;
}
.nw-widget-wrapper .nw-widget-dropdown ul li input[type="checkbox"]{
    margin-right: 30px;
}
.nw-widget-wrapper .nw-widget-dropdown-item a,
.nw-widget-wrapper .nw-widget-dropdown ul li label .option-label,
.nw-widget-wrapper .nw-widget-dropdown ul li label .option-qty{
    font-size: 14px;
    line-height: 21px;
    color: var(--nw-filter-black);
}
.nw-widget-wrapper .nw-widget-dropdown ul li label {
    padding: 2px 0;
}
.nw-widget-wrapper .nw-widget-dropdown ul li label span.checkmark{
    height: 20px;
    width: 20px;
    min-height: 20px;
    min-width: 20px;
    left:0;
    top: 50%;
    border: 2px solid var(--nw-filter-mid-grey-2);
    border-radius: 2px;
    transform: translateY(-50%);
    background-position: center;
    background-size: 20px;
    background-repeat: no-repeat;
    background-image: none;
}
.nw-widget-wrapper .nw-widget-dropdown ul li span.option-label{
    display: block;
    margin-right: 4px;
}
.nw-widget-wrapper .nw-widget-dropdown ul li span.option-qty{
    display: block;
    position: relative;
    right: unset;
    top: unset;
    transform: none;
}
.nw-widget-wrapper .nw-ajax-filter-loader{
    position: relative;
    top:2px;
    left:1px;
}


/* mobile style for solseal */
.nw-mobile-filter-open-button-wrap,
.nw-mobile-filters-container .nw-mobile-filter-close-button{
    display: none;
}

@media (max-width: 991.98px) {
    .container-fluid .nw-mobile-filters-container{
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 40px 10px 20px !important;
        z-index: 0;
        border-radius: 0;
        visibility: hidden;
        opacity: 0;
        -webkit-transition: ease all .2s;
        -o-transition: ease all .2s;
        transition: ease all .2s;
    }
    .container-fluid .nw-mobile-filters-container.show{
        visibility: visible;
        opacity: 1;
        overflow-y: auto;
        z-index: 9999;
        -webkit-transition: ease all .2s;
        -o-transition: ease all .2s;
        transition: ease all .2s;
    }
    .woocommerce .category-card-grid .woocommerce-result-count{
        width: 100%;
    }
    .nw-mobile-filter-open-button-wrap{
        display: inline-block;
        width: 48%;
        max-width: 200px;
    }
    .woocommerce .nw-mobile-filter-open-button-wrap + .woocommerce-ordering{
        width: 48%;
    }
    .nw-mobile-filter-open-button{
        width: 100%;
        max-width: 200px;
        margin-top: 8px;
        text-align: left;
        border-color: #D8D8D8;
        border-width: 1px;
        border-style: solid;
        border-radius: 6px;
        padding: 13px 18px;
        padding-right: 36px;
        background-color: #fff;
        background-image: url(../assets/filters_icon.svg);
        background-position: right 15px center;
        background-repeat: no-repeat;
        background-size: 15px;
        text-decoration: none;
        color: var(--text-black);
    }
    .nw-mobile-filters-container .nw-mobile-filter-close-button{
        position: fixed;
        display: block;
        top:20px;
        right: 20px;
        height: 20px;
        width: 20px;
        border:none;
        z-index: 100;
        background-color: #fff;
        background-image: url(../assets/close.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .nw-mobile-filters-container .product-cat-header + .nw-widget-wrapper{
        border-top: unset;
        margin-top: 30px;
    }
    .nw-mobile-filters-container .product-cat-header{
        /*display: none;*/
        margin-top: 20px;
        padding: 0 10px;
    }
    .nw-mobile-filters-container .category-description{
        margin-bottom: 30px;
        padding: 0 10px;
    }
}
