@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;

#content-wrapper {
    background: $gray-100;
    position: relative;
    @include media-breakpoint-up(lg){
        &:before{
            content: "";
            position: absolute;
            top:0;bottom:0;
            background: $white;
            width: 25%;
            html[dir="ltr"] &{
                left:0;
            }
            html[dir="rtl"] &{
                right:0;
            }
        }
        .left-content-block{
            height: 100%;
            &:before{
                content: "";
                position: absolute;left:0;top:-25px;right:15px;bottom:-25px;
                background: $white;
            }
        }
        .prdctFilter{
            position: relative;
        }
    }
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}



.filter-head {
    h2 {
        @include media-breakpoint-up(lg){
            font-size: rem(36);
        }
        color: $text-black;
        @include media-breakpoint-down(md){
            font-size: rem(24);
        }
    }
    h6 {
        color: rgba($text-black, 0.5);
    }
    @include media-breakpoint-down(md){
        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;
        font-size: 16px;
        cursor: pointer;
        &:after {
            content: "\e822";
            font-family: icomoon!important;
            speak: none;
            font-style: normal;
            font-weight: 400;
            font-variant: normal;
            text-transform: none;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            position: absolute;
            top: 7px;opacity: .6;font-size: 14px;
            transform: rotate(90deg);
           
            html[dir="ltr"] & {
                right: 5px;
            }
            html[dir="rtl"] & {
                left: 5px;
            }
        }
        &.plus-ico:after {
            
            transform: rotate(-90deg);
        }
    }
    .list-wrap:not(.wrap) {
       display: none;
        .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 {
    li{
        padding: 0 10px 20px;
    }
    .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: 150%;
                left: 50%;
                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 {
        line-height: 15px;
        color:#6f6f6f;
        i.icon-plus{
            width: 25px;
            height: 25px;
            line-height: 25px;font-size: 14px;
        }
       
        &.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;
        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;
            background: #fff;
            color: $black;font-weight: $font-weight-bold;
            font-size: 13px;text-transform: uppercase;
            padding: 5px 12px;
            i {
                color: $black;
                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;
        }
    }
}

.video-slider-popup{
    left: 0;
    top: 0;
    background-color: rgba($black, 0.8);
    z-index: 9999;
    display: none;
    &.active{
        display: block;
    }
}

.video-iframe-slider{ 
    height: 85vh;
    .video-iframe-slide{
        height: 85vh;
        padding: rem(50);
        background: url(../images/loader-white.svg) no-repeat center center;
        @include media-breakpoint-down(md) {
            padding: rem(50) 15px;
        }
    }
}

.video-iframe-thumbslider{
    .video-iframe-thumbslide{
        overflow: hidden;
        padding: 5px;
        img{
            border-radius: 6px;
        }
        &.slick-current{
            img{
                border: 2px solid $black;
            }
        }
    }
}

.video-iframe-thumbslider-outer{
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.video-slider-popup-close{
    top: 10px;
    z-index: 1;
    html[dir="ltr"] & {
        right: 10px;
    }
    html[dir="rtl"] & {
        left: 10px;
    }
}

.video-thumb-arrow{
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba($black, 0.5);
    &:focus{
        outline: 0
    } 
}