@import "custom-variables/variables";
@import "../../bootstrap-4.0.0/scss/functions";
@import "../../bootstrap-4.0.0/scss/variables";
@import "../../bootstrap-4.0.0/scss/mixins";

$text-black: #010a14;

body {
    background: $gray-100;
    @include media-breakpoint-down(md) {
        padding-bottom: 56px;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.breadcrumb {
    li {
        display: inline-block;
        + li::before {
            display: inline-block;
            padding-right: .4rem;
            padding-left: .4rem;
            color: #ccd4de;
            content: "/";
        }
        a {
            color: #a9a9ba;
        }
        &:last-child {
            a {
                color: $primary;
            }
        }
    }
}

.filter-head {
    h4 {
        font-size: rem(22);
        color: $text-black;
    }
    h6 {
        color: rgba($text-black, 0.5);
    }
    @media screen and (max-width:1049.99px) {
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 8;
        box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.08);
        h4 {
            font-size: rem(17);
            text-transform: uppercase;
        }
    }
}

@include media-breakpoint-up(lg) {
    .sort_blk {
        max-width: 306px;
    }
}

.FltrSctn {
    overflow: hidden;
    h6 {
        font-size: 14px;
        color: $text-black;
        cursor: pointer;
        @include media-breakpoint-down(md) {
            font-size: rem(20);
        }
    }
    a {
        color: rgba($text-black, 0.5);
        font-size: 13px;
    }
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        ul {
            padding-left: 35px;
            label {
                color: $grey-400;
            }
            @include media-breakpoint-down(md) {
                li {
                    width: 33.333%;
                    float: left;
                }
            }
        }
    }
    .pricerange-bx {
        padding: 0 12px;
        #price-range-min,
        #emi-range-min {
            html[dir="ltr"] & {
                margin-left: -12px;
            }
            html[dir="rtl"] & {
                margin-right: -12px;
            }
        }
        #price-range-max,
        #emi-range-max {
            html[dir="ltr"] & {
                margin-right: -12px;
            }
            html[dir="rtl"] & {
                margin-left: -12px;
            }
        }
    }
    .expand-clsps.m-0 {
        position: relative;
        &:after {
            content: '+';
            width: 10px;
            height: 10px;
            position: absolute;
            top: 8px;
            color: $primary;
            font-weight: $font-weight-bold;
            html[dir="ltr"] & {
                right: 1.5rem;
            }
            html[dir="rtl"] & {
                left: 1.5rem;
            }
        }
        &.plus-ico:after {
            content: '-';
            top: 6px;
        }
    }
    .list-wrap:not(.wrap) {
        display: none;
        padding: 0 1.5rem;
        .scrollbox {
            display: inline-block;
            width: 100%;
        }
    }
    @media all and (-ms-high-contrast:none) {
        .list-wrap {
            li {
                position: relative;
            }
            input[type="checkbox"] {
                width: 100%;
                height: 24px;
                z-index: 100;
                left: 0;
                top: 0;
                opacity: 0;
                display: block;
                position: absolute;
            }
        }
    }
}

.cateListing {
    .imageBox {
        border-bottom: 1px solid #f7f7f7;
        border-right: 1px solid #f7f7f7;
        box-shadow: none;
        transition: box-shadow 0.3s ease-in-out;
        &:hover {
            box-shadow: 0px 13px 12px 0px rgba(0, 0, 0, 0.05);
            z-index: 1;
        }
        figure {
            min-height: 170px;
            overflow: hidden;
            img {
                max-width: 125%;
                left: 60%;
                top: 50%;
                transform: translate(-50%, -50%);
                position: absolute;
            }
        }
    }
    .category_icon {
        color: #eaeaea;
        font-size: 90px;
        line-height: rem(100);
        top: 0;
        transition: all .3s ease-in-out;
        html[dir="ltr"] & {
            left: 0;
        }
        html[dir="rtl"] & {
            right: 0;
        }
    }
}

.link-block {
    a {
        color: #b2b2b2;
        line-height: 15px;
        &:hover {
            color: $primary;
        }
        &.testDrive:hover {
            border-bottom: 3px solid $primary;
        }
    }
}

@include media-breakpoint-up(lg) {
    .listMenuScroll {
        max-height: 562px;
        overflow: hidden;
        &.scrollbox_small {
            max-height: 195px;
        }
    }
}

.mCSB_scrollTools {
    width: 2px;
    .mCSB_dragger {
        .mCSB_dragger_bar {
            background: #b2b4b7;
            width: 2px;
        }
        &:hover .mCSB_dragger_bar {
            background: #b2b4b7;
        }
        &.mCSB_dragger_onDrag .mCSB_dragger_bar {
            background: #b2b4b7;
            width: 2px;
        }
    }
    .mCSB_draggerRail {
        background-color: #f3f3f3;
    }
}

.mCSB_inside > .mCSB_container {
    margin-right: 15px;
}

.mCS-dir-rtl > .mCSB_inside > .mCSB_container {
    margin-left: 15px;
}

.attrCustOptionList_Upholstery,
.attrCustOptionList_Color {
    .attributeSearchLabel {
        color: $grey-400;
        font-size: 12px;
        font-weight: 600 !important;
        width: 100%;
        span {
            line-height: 18px;
        }
        img {
            height: 32px;
            min-width: 87px;
        }
    }
}

.refined-box-content {
    .filters-top-selected {
        display: inline-block;
        .deleteFilter {
            display: inline-flex;
            align-items: center;
            border: 1px solid #dddddd;
            background: #fff;
            color: $secondary;
            font-size: 12px;
            padding: 4px 12px;
            i {
                color: #9e9e9e;
                font-size: 8px;
                font-weight: 600;
            }
        }
    }
}

.btn-fix {
    z-index: 99;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, .1);
    .btn {
        border-width: 2px;
    }
    .row {
        margin-left: -7px;
        margin-right: -7px;
        .col-6 {
            padding: 0 7px;
        }
    }
}

@include media-breakpoint-down(md) {
    .filter_section {
        display: none;
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: $white;
        z-index: 99;
        transition: top 0.4s ease-in-out;
        height: 100%;
        overflow: auto;
        padding-bottom: 67px;
        &.active {
            display: block;
            top: 0;
            transition: top 0.4s ease-in-out;
        }
        .filter_head {
            z-index: 99;
        }
    }
}
