.main .block-layered-nav.amshopby-collapse-enabled dt {
    background: none;
    font-size: 1.2em;
    line-height: 1.5em;
    font-weight: 300;
    letter-spacing: 0;
    color: #000;
    margin: 5px 0 0;
    padding: 0;
}

.main .block-layered-nav.amshopby-collapse-enabled dt:after {
    display: inline-block;
    width: 0;
    height: 0;
    content: "";
    border-color: #858585 transparent transparent;
    border-style: solid solid none;
    border-width: 6px 6px 0;
    right: 0;
    left: initial;
}

.main .block-layered-nav.amshopby-collapse-enabled dt.amshopby-collapsed:after {
    border-color: #d9d9d9 transparent transparent;
}

.amshopby-slider-ui {
    background: transparent url(../images/frontend/base/default/images/mw_light/filter/bkg_slider.png) 0 0 repeat-x;
}

.ui-slider-horizontal .ui-slider-range {
    background-color: #91c0dd;
    height: 2px;
    top: 8px;
}

.ui-slider-horizontal .ui-slider-handle {
    background: transparent url(../images/frontend/base/default/images/mw_light/filter/slider.png) 0 0 no-repeat;
    border: 0;
    height: 19px;
    width: 19px;
    top: 0px;
    margin-left: -19px;
}

.ui-slider-horizontal span:first-of-type {
    margin-left: 0;
}

#amshopby-price-ui {
    display: none;
}

.amshopby-slider-price,
.amshopby-slider-price-range,
.amshopby-filters-left .form-button {
    display: none;
}

input[name^="amshopby"][id$="from"].input-text,
input[name^="amshopby"][id$="to"].input-text {
    font-size: 14px;
    line-height: 28px;
    border: 1px solid #e9e9e9;
    color: #919191;
    width: 75px;
    box-sizing: border-box;
    text-align: center;
    padding: 0;
    height: 30px;
}

.block-layered-nav .amshopby-attr,
.block-layered-nav .amshopby-attr-selected,
.block-layered-nav .amshopby-attr:hover,
.block-layered-nav .amshopby-attr-selected:hover {
    padding-left: 30px;
    line-height: 25px;
    background: none;
}

.block-layered-nav .amshopby-attr-selected:before,
.block-layered-nav .amshopby-attr:before {
    content: '';
    width: 14px;
    height: 14px;
    border: 1px solid #e9e9e9;
    display: inline-block;
    box-sizing: border-box;
    line-height: 1;
    font-size: 12px;
    text-align: center;
}

.block-layered-nav .btn-remove.amshopby-attr-selected {
    padding: 0;
    line-height: initial;
}

.block-layered-nav .btn-remove.amshopby-attr-selected:before {
    content: "\e22d";
    font-size: initial;
    line-height: initial;
    width: initial;
    height: initial;
    border: none;
}

.block-layered-nav .btn-remove.amshopby-attr-selected:before {
    content: "\e22d";
    border: none;
}

.block-layered-nav .mw-filter-clear.amshopby-attr-selected:before {
    display: none;
}

.block-layered-nav .amshopby-attr-selected:before {
    content: '✔';
}

.block-layered-nav .amshopby-attr {
    color: #686868;
}
.bx-filter-popup-result {
    display: none !important;
    opacity: 0;
}

.block-layered-nav .amshopby-attr-selected,
.block-layered-nav .amshopby-attr-selected:hover,
.block-layered-nav .amshopby-attr:hover {
    color: #0d5392;
    font-weight: normal;
}

.amshopby-filters-left .input-text:focus {
    border: 1px solid #e9e9e9;
}

.amshopby-filters-left .actions {
    display: none;
}

.mw-filter-category {
    color: #000;
    position: relative;
}

.mw-filter-category.active,
.mw-filter-category:hover,
.mw-filter-category:hover:before {
    color: #509ecc;
}

.mw-filter-category.amshopby-attr.amshopby-attr-selected {
    margin: 0;
    padding-left: 0;
}

.mw-filter-category.amshopby-attr.amshopby-attr-selected:before,
.mw-filter-category:before {
    font-family: fontawesome;
    content: "\f10c";
    color: #bbb;
    padding-right: 5px;
    display: initial;
    border: 0;
    font-size: initial;
}

.mw-filter-category.category-kit:after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 16px;
    background: url(../images/frontend/base/default/images/mw_light/filter/category-kit-icon.png) no-repeat;
    background-size: contain;
    position: absolute;
    right: -20px;
    top: 0;
}

.mw-filter-category.category-sale:after {
    content: ' %';
    color: red;
}

.mw-filter-category.amshopby-attr.amshopby-attr-selected,
.mw-filter-category.amshopby-attr.amshopby-attr-selected:before {
    color: #509ecc;
}

.mw-filter-category.active.amshopby-attr.amshopby-attr-selected:before,
.mw-filter-category.active:before {
    content: "\f192";
    color: #509ecc;
}

.block-category-list {
    margin-bottom: 20px;
    margin-top: 10px;
}

.block-category-item {
    padding: 5px 0;
    font-size: 1.2em;
    line-height: 1.5em;
}

.mw-filter-clear:after {
    content: "\e22d";
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 16px;
    text-align: center;
    font-family: ThemeIcons;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: 20px;
    top: 0;
}

.mw-filter-item-hidden {
    display: none;
}

.mw-filter-item-show {
    color: #509ecc;
    font-size: 11px;
    text-align: right;
    cursor: pointer;
}

.catalog-category-view .col-left .block-layered-nav .block-category-title.mobile,
.block-category-list.mobile {
    display: none;
}

.catalog-category-view .col-left .block-layered-nav .block-category-list.mobile .mw-filter-category {
    text-transform: initial;
}

.category-mobile-filter {
    display: none;
    text-align: center;
    padding-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f2;
}



.category-mobile-filter .sort,
.category-mobile-filter .filter,
.category-sort-content .controls .arrows,
.category-sort-content .controls .complete-block {
    width: 50%;
    box-sizing: border-box;
}

.category-mobile-filter .sort {
    border-right: 1px solid #f0f0f2;
}

.category-mobile-filter .filter.applied::after {
    content: "✓";
    margin-left: 5px;
}

.category-sort-content .content {
    position: relative;
    display: none;
}

.category-sort-content .controls {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: #f0f0f2;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
}

.category-sort-content .controls .arrows .active {
    color: #014be8;
}

.category-sort-content .controls .complete-block {
    text-align: right;
}

.category-sort-content .mbsc-ios .mbsc-sc-btn {
    display: none;
}

.category-sort-content .controls .complete-block .complete {
    color: #014be8;
    cursor: pointer;
    font-weight: 600;
    margin-right: 10px;
    line-height: 28px;
    font-size: 16px;
}

.category-sort-content .controls .arrows {
    font-size: 28px;
    padding-left: 10px;
    -webkit-text-stroke: 1px #f0f0f2;
}

.category-sort-content .mbsc-ios.mbsc-fr.mbsc-fr-inline .mbsc-sc-whl-gr-3d .mbsc-sc-whl-c,
.category-sort-content .mbsc-ios.mbsc-fr-nobtn .mbsc-fr-w {
    background: #d3d4d8;
}

.category-sort-content .mbsc-ios.mbsc-fr.mbsc-fr-inline .mbsc-sc-whl-o {
    background: 0 0;
}

.category-sort-content .mbsc-ios .mbsc-sc-cp .mbsc-sc-whl .mbsc-sc-itm div,
.category-sort-content .mbsc-ios .mbsc-sc-itm-sel div {
    color: transparent;
}

.block-filter-mobile-controls,
.block-filter-mobile-title {
    display: none;
}

@media screen and (max-width: 959px) {.
    .block-layered-nav .amshopby-attr-selected:hover:before,
    .block-layered-nav .amshopby-attr:hover:before {
        border: 1px solid #000;
        left: 0;
        content: '✔';
    }
    .catalog-category-view .col-left {
        width: 100%;
    }

    .catalog-category-view .col-left .block-layered-nav {
        margin: 0;
    }

    .block-layered-nav .block-category {
        display: none;
    }

    .catalog-category-view .col-left .block-layered-nav .block-category-title.mobile,
    .block-category-list.mobile,
    .block-layered-nav .block-subtitle--filter {
        display: block;
    }

    .block-category-list.mobile {
        margin: 0;
    }

    .block-narrow-by-list {
        display: none;
    }

    .block-layered-nav dl dd ol > li > a.mw-filter-category:before {
        content: "\f10c";
        position: initial;
        margin: 0 0 0 1px;
        top: 0;
        left: 0;
        display: inline-block;
        border: 0;
        width: auto;
        height: auto;
    }

    .block-layered-nav dl dd ol > li > a.mw-filter-category.active:before {
        content: "\f192";
        color: #509ecc;
    }
}

@media only screen and (max-width: 767px) {
    .category-mobile-filter {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
    }

    .block-layered-nav .block-subtitle--filter {
        display: none;
    }

    .category-title h1 {
        text-align: center;
        background: #f0f0f2;
        text-transform: uppercase;
        padding: 5px 0;
    }

    .block-narrow-by-list,
    .block-filter-mobile-title {
        display: block!important;
        background: #fff;
    }

    .block-layered-nav .block-content {
        position: fixed;
        left: 1000px;
        top: 3px;
        bottom: 0;
        right: 0;
        height: calc(100% - 3px);
        width: calc(100% - 50px);
        background: #f4f4f4;
        z-index: 10001;
        margin: 0;
        display: none;
    }

    .block-filter-mobile-title {
        padding: 12px 16px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 14px;
        margin-bottom: 8px;
        position: relative;
    }

    .block-layered-nav .block-content dl.block-narrow-by-list > dt {
        background: #fff;
        padding: 20px 0!important;
        width: calc(100% - 24px);
        margin: 0 12px;
        font-size: 14px;
        text-transform: capitalize;
    }

    .block-layered-nav .block-content dl.block-narrow-by-list > dt:after {
        display: none;
    }

    .mobile-filter-overlay {
        z-index: 10000;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        display: none;
        background-color: rgba(0,0,0,.5);
        cursor: pointer;
    }

    .mobile-filter-overlay:after {
        content: '✕';
        display: block;
        position: absolute;
        color: #fff;
        top: 15px;
        left: 10px;
        font-size: 34px;
        z-index: 10001;
        cursor: pointer;
    }

    .block-layered-nav #narrow-by-list {
        margin: 0;
        overflow-y: auto;
        height: calc(100% - 110px);
    }

    .block-layered-nav .block-content dl.block-narrow-by-list > dd {
        display: block;
        padding: 0;
    }

    .block-layered-nav .block-content dl.block-narrow-by-list > dd > ol {
        padding: 10px 12px;
        box-sizing: border-box;
    }

    /* .block-layered-nav .block-subtitle, .block-layered-nav .currently {
        display: none;
    } */

    .mw-filter-clear {
        display: none;
    }

    .block-filter-mobile-title .clear-action {
        position: absolute;
        right: 10px;
        top: 13px;
    }

    .block-filter-mobile-title .clear-action a {
        font-weight: normal;
        color: #bfbfbf;
    }

    .block-filter-mobile-title .clear-action .amshopby-attr,
    .block-filter-mobile-title .clear-action .amshopby-attr-selected {
        line-height: inherit;
        padding-left: 0;
    }

    .block-filter-mobile-title .clear-action .amshopby-attr:before,
    .block-filter-mobile-title .clear-action .amshopby-attr-selected:before{
        content: none;
    }

    .block-layered-nav dl.block-narrow-by-list dd ol > li > a,
    .block-layered-nav dl.block-narrow-by-list dd ol > li > span {
        position: relative;
        margin: 0;
        background-color: inherit;
    }

    .block-filter-mobile-controls {
        padding: 10px;
        background: #fff;
        border-top: 1px solid #ddd;
        display: block;
    }

    .block-filter-mobile-controls .close {
        text-transform: uppercase;
        width: 100%;
        background: #ddd;
        height: 40px;
        border: 0;
        font-weight: 400;
    }
}