﻿/**************************
* CSS related to Module ProductList    
* SideWide features
***************************/
.ProductList_SideWide_Box {
    display: inline-block;
    width: calc(25% - 10px);
    margin-left: 10px;
    float: left;
    border: 1px solid #c9c9c9;
    padding: 10px;
    border-radius: 4px;
}

.ProductList_SideWide_Title {
    width:100%;
    color:white;
    font-weight:600;
    background-color:#6db43e;
    padding-left:10px;
    min-height:30px;
    vertical-align: middle;
    line-height: 30px;
}

.ProductList_SideWide_ClearAll{
    float:right;
    font-weight:400;
    padding-right:10px;
}

.ProductList_SideWide_CurrentFilters {
    display: inline-block;
    width: 100%;
    margin-top:10px;
    border-top:1px solid #c9c9c9;
}

.ProductList_SideWide_SubCategories_Filter_Hidden
{
    display:none;
}

.ProductList_SideWide_CurrentKeyword{
    width: 100%;
    margin-top:10px;
    border-top:1px solid #c9c9c9;
}

.ProductList_SideWide_CurrentKeyword_Title {
    width: 100%;
    font-weight:600;
    padding-left:10px;
    padding-top:10px;
    text-transform:uppercase;
}

.ProductList_SideWide_CurrentFilters_Title {
    width: 100%;
    font-weight:600;
    padding-left:10px;
    padding-top:10px;
}

.ProductList_SideWide_CurrentFilters_List {
    width: 100%;    
}

.ProductList_SideWide_CurrentFilters_List > ul {
    list-style: none!important;
    padding-top:10px;
}

.ProductList_SideWide_Categories {
    display: inline-block;
    width: 100%;
    border-top:1px solid #c9c9c9;
    margin-top:10px;    

}

.ProductList_SideWide_Categories_Title {
    width: 100%;
    padding-left:10px;
    padding-top:10px;
    font-weight:600;
    line-height:2em;
    text-transform:uppercase;
}

.ProductList_SideWide_Categories_List {
    width: 100%;
    /*max-height:150px;
    overflow-y:scroll;*/
    overflow-x:hidden;
}

.ProductList_SideWide_Categories_List > ul {
    list-style: none!important;
    padding-top:5px;
}

.ProductList_SideWide_Price{
    margin-top:10px;
    border-top:1px solid #c9c9c9;
}

.ProductList_SideWide_Price_Title{
    padding-top:10px;
    padding-left:10px;
    font-weight:600;
    text-transform:uppercase;
}

.ProductList_SideWide_Price_Label, .ProductList_SideWide_Price_RangeMin, .ProductList_SideWide_Price_RangeMax {
    font-weight:600;
}

.ProductList_SideWide_Price_Slider {
    padding-top:10px;
    padding-bottom:10px;
    padding-left:30px;
    align-content:center;
    width:90%;
    text-align:center;
}

.ProductList_SideWide_Price_InStock {
    padding-left:16px;
    padding-bottom:10px;
}

.ProductList_SideWide_SubCategories {
    margin-top:10px;
    border-top:1px solid #c9c9c9;
}

.ProductList_SideWide_SubCategories_Title{
    font-weight:600;
    padding-left:10px;
    line-height:2em;
}

.ProductList_SideWide_SubCategories_List {
    max-height:100px;
    overflow-y:auto;
}

    .ProductList_SideWide_SubCategories_List > ul {
        list-style: none !important;
        margin-bottom: 0.5em;
    }

.ProductList_SideWide_SubCategories_LoadMore {
    text-align: left;
    font-weight: 400;
    padding-left: 10px;
    color: #6db43e;
    font-size: 12px;
    text-transform: uppercase;
    cursor:pointer;
}

.ProductList_SideWide_SubCategories_LoadMore:hover {
    font-weight:600;
}

.ProductList_SideWide_SubCategories_LoadMore::after {
    content:'...';
}


#PriceSlider{
    margin-top:5px;
    margin-bottom:10px;
}

    #PriceSlider > .ui-slider-range {
        background-color: #EF4836;
    }

.ProductList_SideWide_Categories > ::-webkit-scrollbar, .ProductList_SideWide_SubCategories > ::-webkit-scrollbar, .FilterCollapsible .ProductList_SideWide_Box::-webkit-scrollbar {
    width: 12px;
}

.ProductList_SideWide_Categories > ::-webkit-scrollbar-track, .ProductList_SideWide_SubCategories > ::-webkit-scrollbar-track, .FilterCollapsible .ProductList_SideWide_Box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.ProductList_SideWide_Categories > ::-webkit-scrollbar-thumb, .ProductList_SideWide_SubCategories > ::-webkit-scrollbar-thumb, .FilterCollapsible .ProductList_SideWide_Box::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}


.ui-slider .ui-slider-handle {
    border-radius: 50%;
}


.FilterCollapsible .ProductList_SideWide_Box {
    position: absolute;
    background-color: rgba(255,255,255,1);
    max-height: 100%;
    top: 0px;
    left: 0;
    overflow-x: hidden;
    max-width: 310px;
    border: 1px solid #ccc;
    min-height: 500px;
    padding: 10px;
    opacity: 1;
    transition: width 750ms ease, padding 1200ms ease;
}


.CollapseFilter .ProductList_SideWide_Box {
    margin-left: 0px;
    overflow: hidden;
    width: 0px;
    border: none;
    padding:10px 0px;
}

#btnToggleSideFilter {
    display:none;
}

.FilterCollapsible #btnToggleSideFilter {
    position: absolute;
    top: 0;
    left: 0;
    background: #337ab7;
    border: 1px solid #337ab7;
    display: block;
    width: 36px;
    height: 36px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition:width 750ms ease;
}

.FilterCollapsible {
    position:relative;
}

    .FilterCollapsible .ProductList_SideWide_Box > div {
        white-space: nowrap;
    }

.ProductList_SideWide_SubCategories_List li{
    line-height:1.5em; cursor:pointer;
}

.btnToggleSideFilterInner > span{
    font-size:12px;
    text-decoration:none;
}

.btnToggleSideFilterInner .fa {
    padding-right:4px;
}

.btnToggleSideFilterInner, .btnToggleSideFilterInner:hover {
    text-decoration: none;
    cursor:pointer;
    display:inline-block;
    margin-bottom:0.5em;
}

.ProductList_SideWide_ClearAll a, .ProductList_SideWide_ClearAll a:hover {
    color: #fff;
    cursor: pointer;
}


.ProductList_SideWide_Price_InStock input[type=checkbox] {
    display:none;
}

    .ProductList_SideWide_Price_InStock input[type=checkbox] + label:before {
        content: '\f096';
        font-family: FontAwesome;
        padding-right:5px;
    }

.ProductList_SideWide_Price_InStock input[type=checkbox]:checked + label:before {
    content: "\f14a";
    color:#6db43e;
}

.Category_Description {
    padding-left: 5px;
}

.ProductList_SideWide_Categories_Filter {
}

.ProductList_SideWide_CurrentFilters_Filter span {
        display: inline-block;
        white-space: normal;
        vertical-align: text-top;
    }

.ProductList_SideWide_CurrentFilters_Filter {
    cursor:pointer;
}

#lblApplyPriceFilter {
    background: #ccc;
    padding: 5px 20px;
    display: inline-block;
    margin: 0.5em 0px;
    color: #000;
    font-weight: 400;
    transition: all 750ms ease;
    cursor: pointer;
    pointer-events: none;
}

    #lblApplyPriceFilter.ToAction {
        background:#6db43e;
        color:#fff;
        font-weight:400;
        pointer-events:initial;
    }

#btnToggleSideFilter > span{
    display:inline-block;
    width:0px;
    overflow:hidden;
    line-height:36px;
    opacity:0;
    transition:all ease 400ms;
    white-space:nowrap;
}

#btnToggleSideFilter:hover {
    width:110px;
}

    #btnToggleSideFilter:hover > span {
        display: inline-block;
        float: left;
        width: 80px;
        font-size: 12px;
        padding-left: 5px;
        opacity:1;
    }



.FilterCollapsible #btnToggleSideFilter .fa {
    line-height: 2.5em;
    display: inline-block;
    float: left;
    padding-left: 12px;
}
