/* search filter css */

.product-category-top-content {
    margin: 0 0 0px 0;
    position: relative;
    padding: 0;
}
.price-slider input.main_min_price.slider_price, .price-slider input.main_max_price .slider_price {
    display: none;
}
.show_price_search {
    position: relative;
    top: 20px;
}
span.fiter_input_slide {
    display: none;
}
.product-category-top-content .widget-title-wrapper>.widget-title {
    padding: 0;
    margin: 0 0 5px 0;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
}

.ts-sidebar .product-filter-by-availability-wrapper {
    margin-top: 15px;
}

.ts-sidebar .product-filter-by-availability-wrapper ul {
    padding: 0;
    margin: 0;
}

/*.product-filter-by-availability-wrapper ul li input {
    position: absolute;
    content: "";
    left: 0;
    top: 4px;
    display: inline-block;
    width: auto;
}*/

.product-filter-by-availability-wrapper ul li label {
    width: 100%;
    display: inline-block;
    cursor: pointer;
}

.product-category-top-content .widget-container {
    max-width: 20%;
    flex: 0 0 20%;
    padding: 0 12px;
    width: 100%;
}

.product-category-top-content #ts_product_filter_by_availability-1\  {
    flex: 0 0 30%;
    max-width: 30%;
}

.product-category-top-content #ts_product_filter_by_availability-3 {
    flex: 0 0 15%;
    max-width: 15%;
}

.woocommerce .widget_price_filter .price_slider_wrapper {
    padding: 25px 0 20px 0;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: #efefef;
    border-width: 1px;
    border-style: solid;
    border-color: #eaeaea;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

.product-category-top-content ul li {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0 0 15px;
    text-align: left;
}

.product-category-top-content #ts_product_filter_by_availability-2 ul li {
    display: flex;
}

ul.cat_sub_child.show {
    display: block !important;
}

.cat_sub_child {
    display: none;
}

input {
    box-shadow: 0;
    outline: 0;
}

.price-slider {
    width: 100%;
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
}

.price-slider svg,
.price-slider input[type=range] {
    position: absolute;
    left: 0;
    top: 54%;
    height: 20px;
    border: none !important;
    background-color: #ff000000;
}

#woocommerce_price_filter-3 input[type=number] {
    border: none;
    background-color: #cd5c5c00;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    -moz-appearance: textfield;
    color: #000;
}

#woocommerce_price_filter-3 .main_min_price.slider_price {
    margin-bottom: 4px;
}

#woocommerce_price_filter-3 .main_max_price.slider_price {
    margin-top: 4px;
}

.widget-title-wrapper {
    margin-bottom: 25px;
}

#woocommerce_price_filter-3 input[type=number]::-webkit-outer-spin-button,
#woocommerce_price_filter-3 input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

#woocommerce_price_filter-3 input[type=number]:invalid,
#woocommerce_price_filter-3 input[type=number]:out-of-range {
    border: 1px solid #e60023;
}

#woocommerce_price_filter-3 input[type=range] {
    -webkit-appearance: none;
    width: 100%;
}

#woocommerce_price_filter-3 input[type=range]:focus {
    outline: none;
}

#woocommerce_price_filter-3 input[type=range]:focus::-webkit-slider-runnable-track {
    background: #1da1f2;
}

#woocommerce_price_filter-3 input[type=range]:focus::-ms-fill-lower {
    background: #1da1f2;
}

#woocommerce_price_filter-3 input[type=range]:focus::-ms-fill-upper {
    background: #1da1f2;
}

#woocommerce_price_filter-3 input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animation: 0.2px;
    background: #1da1f2;
    border-radius: 1px;
    box-shadow: none;
    border: 0;
}

#woocommerce_price_filter-3 input[type=range]::-webkit-slider-thumb {
    z-index: 2;
    position: relative;
    box-shadow: 0px 0px 0px #000;
    border: 1px solid #1da1f2;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #a1d0ff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
}

#woocommerce_price_filter-3 input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animation: 0.2s;
    background: #1da1f2;
    border-radius: 1px;
    box-shadow: none;
    border: 0;
}

#woocommerce_price_filter-3 input[type=range]::-moz-range-thumb {
    z-index: 2;
    position: relative;
    box-shadow: 0px 0px 0px #000;
    border: 1px solid #1da1f2;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #a1d0ff;
    cursor: pointer;
}

#woocommerce_price_filter-3 input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animation: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

#woocommerce_price_filter-3 input[type=range]::-ms-fill-lower,
#woocommerce_price_filter-3 input[type=range]::-ms-fill-upper {
    background: #1da1f2;
    border-radius: 1px;
    box-shadow: none;
    border: 0;
}

#woocommerce_price_filter-3 input[type=range]::-ms-thumb {
    z-index: 2;
    position: relative;
    box-shadow: 0px 0px 0px #000;
    border: 1px solid #1da1f2;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #a1d0ff;
    cursor: pointer;
}


.form#custom_search_form input.submit {
    float: left;
}

label.pa_color span {
    font-size: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
}
.custom_filter_text span:after {
    margin-left: 8px;
    font-family: 'FontAwesome';
    content: "\f039";
    font-size: 12px;
    line-height: 12px;
    width: 15px;
    text-align: center;
    display: inline-block;
}

.custom_filter_text span.active:after {
    content: "\f00d" !important;
}

.custom_filter_text span {
    cursor: pointer;
}

aside.ts-sidebar.product-category-top-content.show {
    display: block !important;
    z-index: 99999;
}

/*-----shop filter-----*/
.custom_order_filter {
    display: inline-block;
    width: 100%;
    margin: 40px 0px 30px;
}

.ts-sidebar form#custom_search_form {
    box-shadow: 1px 1px 5px #aba8a8;
    border-radius: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #c4c9de;
    padding: 25px;
    float: none;
    margin: 0;
    background-color: #f3f6f8;
}

.ts-sidebar .product-filter-by-availability-wrapper .main_product_cat {
    max-height: 234px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.ts-sidebar .product-filter-by-availability-wrapper .main_product_cat::-webkit-scrollbar,
.ts-sidebar .section_wrapper::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.ts-sidebar .product-filter-by-availability-wrapper .main_product_cat::-webkit-scrollbar-track,
.section_wrapper::-webkit-scrollbar-track {
    background: #f5f4ee;
    opacity: 1;
}

.ts-sidebar .product-filter-by-availability-wrapper .main_product_cat::-webkit-scrollbar-thumb,
.section_wrapper::-webkit-scrollbar-thumb {
    background: #01213a;
    opacity: 1;
}

.ts-sidebar .product-filter-by-availability-wrapper .main_product_cat,
.section_wrapper,
.instacare_shop_wrapper #accordionShop .card {
    scrollbar-color: #b02543;
    scrollbar-width: thin;
}

.ts-sidebar form#custom_search_form .heading-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.shop_procontent form {
    float: left;
    padding: 0;
    border-radius: 0;
    margin-bottom: 25px;
    background: #fff;
}

.shop_procontent .woocommerce-result-count {
    float: right;
    margin: 10px;
    font-size: 14px;
    color: #666;
}

.custom_filter_text {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
    float: left;
}

.custom_filter_text::-moz-selection,
.custom_filter_text span::-moz-selection,
.shop_procontent .woocommerce-result-count::-moz-selection {
    /* Code for Firefox */
    background: transparent;
}


.custom_filter_text::selection,
.custom_filter_text span::selection,
.shop_procontent .woocommerce-result-count::selection {
    background: transparent;
}
.custom_filter_text span {
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    color: #000;
}
.shop_procontent select {
    cursor: pointer;
    background: transparent;
    padding: 12px 10px;
    height: auto;
    border-color: #c4c9de;
    border-radius: 5px;
    font-size: 14px;
}

.product-filter-by-availability-wrapper ul li input {
    width: 14px;
    height: 14px;
    top: 2px;
    position: relative;
    right: 0;
}

.pa_attribute ul li input#ts-blue-checkbox,
.pa_attribute ul li input#ts-green-checkbox,
.pa_attribute ul li input#ts-red-checkbox {
    top: 7px;
}

.product-filter-by-availability-wrapper ul li label {
    width: calc(100% - 35px);
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 0 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
    display: inline-flex;
    user-select: none;
}
.product-filter-by-availability-wrapper ul li label .product_cat_icon {
    position: absolute;
    right: 10px;
}

.cat_sub_child {
    display: none;
    margin-top: 10px !important;
    margin-left: 27px !important;
}

.cat_sub_child li {
    margin-bottom: 10px !important;
}

/*.product-filter-by-availability-wrapper ul li span {
    margin-left: auto;
}*/
.product-filter-by-availability-wrapper ul li i {
    margin-left: 15px;
}

.section_wrapper {
    display: flex;
    margin: 0 -12px;
    overflow-x: auto;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.product-filter-by-availability-wrapper.pa_attribute ul {
    padding: 0;
    margin: 0;
}

#ts_product_filter_by_availability-2 ul.main_stock_product {
    padding: 0;
    margin: 0;
}

/*-----shop filter-end-----*/

@media screen and (min-width: 992px) and (max-width: 1365px) {
    .shop_procontent p {
        float: none;
    }

    .product-category-top-content .widget-container {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .product-category-top-content #ts_product_filter_by_availability-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .product-category-top-content #ts_product_filter_by_availability-1\  {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-category-top-content .submit {
        margin-top: 20px;
    }
}


@media screen and (min-width: 1366px) {
    .section_wrapper {
        margin: 0 -12px 20px;
        flex-wrap: nowrap;
    }

}

@media screen and (max-width: 1399px) {}

@media screen and (max-width: 1199px) {

    .gridlist-toggle .grid_view_product,
    .gridlist-toggle .list_view_product {
        display: none;
    }

}

@media screen and (max-width: 991px) {
    .shop_procontent p {
        float: none;
    }

    .product-category-top-content .widget-container {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .product-category-top-content #ts_product_filter_by_availability-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-category-top-content #ts_product_filter_by_availability-1\  {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .custom_filter_text {
        border-left: none;
        padding-left: 0;
    }

    .shop_procontent form {
        margin-bottom: 15px;
    }

    .shop_procontent .woocommerce-result-count {
        float: left;
        margin: 0 0 20px;
        width: 100%;
        text-align: left;
    }

}

@media screen and (max-width: 767px) {
    .shop_procontent p {
        float: left;
        margin-left: 0;
        margin-top: 0;
    }

    .product-category-top-content .widget-container {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-category-top-content #ts_product_filter_by_availability-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-category-top-content #ts_product_filter_by_availability-1\  {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-category-top-content .submit {
        width: 100%;
        margin-top: 20px;
    }

    .shop_procontent form {
        margin-bottom: 10px;
    }

    .product_list li.product span.price {
        font-size: 18px;
    }

    .shop_procontent .woocommerce-result-count {
        width: auto;
    }
    .woocomerce_serach_filter .modal-dialog {
        max-width: 300px;
    }

}

/***/
.woocomerce_serach_filter aside.ts-sidebar.product-category-top-content {
    display: block !important;
}

.woocomerce_serach_filter .widget-container {
    display: block !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    border-bottom: 1px solid #0000001b;
}

.woocomerce_serach_filter .section_wrapper {
    flex-wrap: wrap !important;
}
.woocomerce_serach_filter .modal-dialog {
    height: 100%;
    margin: 0;
    max-width: 300px;
    position: relative;
}
.woocomerce_serach_filter  .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.woocomerce_serach_filter .close {
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
    right: -15px;
    position: absolute;
    background-color: #01213a;
    color: #fff;
    padding: 0;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    font-size: 22px;
    border: none;
}
.woocomerce_serach_filter .ts-sidebar form#custom_search_form {
    box-shadow: 1px 1px 5px #aba8a800;
    border-radius: 4px;
    padding: 0;
    border: 1px solid #c4c9de00;
    background-color: #fff;
}
.woocomerce_serach_filter  .modal-header {
    padding: 0;
    border: none !important;
    margin: 0 !important;
    justify-content: right;
}
.woocomerce_serach_filter {
    display: block;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}
.woocomerce_serach_filter.show {
    transform: none;
}

.woocomerce_serach_filter form#custom_search_form {
    margin-bottom: 0px;
}

.woocomerce_serach_filter .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
}
.woocomerce_serach_filter .modal-body::-webkit-scrollbar{
    width: 8px;
    height: 8px;
}
.woocomerce_serach_filter .modal-body::-webkit-scrollbar-track {
    background: #f5f4ee;
    opacity: 1;
    border-radius:10px ;
}
.woocomerce_serach_filter .modal-body::-webkit-scrollbar-thumb {
    background: ##01213a;
    opacity: 1;
    border-radius:10px ;
}
.woocomerce_serach_filter .ts-sidebar form#custom_search_form .submit {
    min-width: 150px;
    font-size: 14px;
    margin: 0;
    width: 100%;
}
.pa_attribute ul {
    display: flex;
    align-items: center;
}
.pa_attribute ul li input {
    display: none;
}
.pa_attribute ul li label {
    width: 35px;
    height: 35px;
    margin: 0;
}