/*
* Filters
*/
.filters-bar{
    margin-bottom: 32px;
    position: relative;
}
.options{
    list-style: none;
    margin: 0;
    padding: 0 0 48px;
}
.options li{
    padding: 8px 16px;
    margin: 0;
}
.options input[type=checkbox]{
    display: inline-block;
    margin-right: 4px;
}
.filter-name{
    cursor: pointer;
    position: relative;
}
.filter-name:after{
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    content: "\f078";
    margin-left: 4px;
    color: #64748B;
}
.filter-more .filter-name:after,
.filter-more-xs .filter-name:after{
    display: none;
}
.filter-more .filter-name:before,
.filter-more-xs .filter-name:before{
    content: "\f1de";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    margin-right: 4px;
    color: #64748B;
}
.filter-more-xs{
    border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        -o-border-radius: 4px;
    padding: 7px 12px;
    border: 1px solid #E2E8F0;
    font-size: 16px;
    line-height: 24px;
    color: #0F172A;
    position: relative;
}

.filter-more-xs{
    display: inline-block;
    width: auto;
}
.read-more-resource{
    display: block;
  flex: -moz-available;
  text-align: center;
}
@media (min-width: 768px){
    .options{
        max-height: 290px;
        overflow-y: auto;
    }
    .filter-more-xs,
    .filter-wrap .title{
        display: none !important;
    }
    .filter-wrap{
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .filter-item{
        border-radius: 4px;
            -moz-border-radius: 4px;
            -webkit-border-radius: 4px;
            -o-border-radius: 4px;
        padding: 7px 12px;
        border: 1px solid #E2E8F0;
        font-size: 16px;
        line-height: 24px;
        color: #0F172A;
        position: relative;
    }
    
    .filter-options{
        z-index: 9999;
        margin: 7px 0 0;
        padding: 8px 0 0;
        min-width: 248px;
        position: absolute;
        top: 100%;
        left: 0;
        border-radius: 8px;
            -moz-border-radius: 8px;
            -webkit-border-radius: 8px;
            -o-border-radius: 8px;
        background-color: #ffffff;
        border: 1px solid #CBD5E1;
        box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
            -moz-box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
            -webkit-box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
            -o-box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
            -ms-box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
        color: #334155;
        transition: all 0.4s ease-out;
                -moz-transition: all 0.4s ease-out;
                -webkit-transition: all 0.4s ease-out;
                -o-transition: all 0.4s ease-out;
        display: none;
    }
    
    .filter-clear{
        position: absolute;
        bottom: 0;
        left: 0;
        border-radius: 0 0 8px 8px;
            -moz-border-radius: 0 0 8px 8px;
            -webkit-border-radius: 0 0 8px 8px;
            -o-border-radius: 0 0 8px 8px;
        padding: 0 16px 8px;
        width: 100%;
        background-color: #ffffff;
    }
    .filter-clear .cbtn-clear{
        font-size: 16px;
        line-height: 16px;
        width: 100%;
        display: block;
        cursor: pointer;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    
    /*filter active*/
    .filter-item.active{
        background-color: #F1F5F9;
    }
    .filter-item.active .filter-name:after{
        color: #0F172A;
        content: "\f077";
    }
    .filter-item.active .filter-options{
        display: block;
    }
    /* featured more box */
    .filter-more-wrap{
        border: 1px solid #CBD5E1;
        background-color: #ffffff;
        box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
            -moz-box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
            -o-box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
            -webkit-box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
        width: 421px;
        height: 100%;
        background-color: #ffffff;
        position: fixed;
        right: -500px;
        top: 0;
        z-index: 999999;
        display: none;
        transition: all 0.4s ease-out;
                -moz-transition: all 0.4s ease-out;
                -webkit-transition: all 0.4s ease-out;
                -o-transition: all 0.4s ease-out;
    }
    .filter-more-wrap.active{
        right: 0;
        display: block;
    }
    .filter-more-inner{
        background-color: #ffffff;
        overflow-y: auto;
        height: 100%;
        padding: 16px 24px 68px;
    }
    .filter-more-wrap .title{
        font-size: 20px;
        line-height: 24px;
        font-weight: 700;
        padding: 0 0 16px;
        margin: 0;
        border-bottom: 1px solid #E2E8F0;
        color: #0F172A;
    }
    .filter-more-item{
        border-bottom: 1px solid #E2E8F0;
        padding: 16px 0 0;
    }
    .filter-more-item .filter-name{
        font-size: 16px;
        font-weight: 600;
        line-height: 16px;
        padding-bottom: 16px;
        display: block;
        display: flex;
        justify-content: space-between;
        color: #0F172A;
    }
    .filter-more-item .filter-name:after{
        content: "\f077";
        color: #0F172A;
        
    }
    .filter-more-item ul{
        display: flex;
        flex-wrap: wrap;
        margin: 0 -15px;
        padding: 0;
    }
    .filter-more-item ul li{
        width: 50%;
        padding: 0 15px 16px;
    }
    .filter-more-close{
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 45px;
        width: 45px;
        border-radius: 100%;
            -moz-border-radius: 100%;
            -webkit-border-radius: 100%;
            -o-border-radius: 100%;
        position: absolute;
        left: -50px;
        top: 8px;
        z-index: 9999;
        background-color: #ffffff;
        border: 1px solid #CBD5E1;
        box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
            -moz-box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
            -webkit-box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
            -o-box-shadow: 0px 4px 6px -4px rgba(15, 23, 42, 0.20), 0px 10px 15px -3px rgba(15, 23, 42, 0.10);
    }
    .filter-more-close i{
        font-size: 25px;
        line-height: 25px;
    }
    .filter-more-close:hover{
        background-color: #F1F5F9;
    }
    .filter-more-clear{
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0 24px 16px;
        background-color: #ffffff;
    }
    .filter-more-clear .cbtn{
        width: 100%;
        display: block;
        cursor: pointer;
    }
    .filter-bottom{
        display: none;
    }
    .filter-multi-columns{
        position: static;
    }
    .filter-multi-columns .filter-options{
        width: 100%;
    }
    .filter-multi-columns .options{
        width: 100%;
        height: auto;
        overflow: unset;
        max-height: unset;
        columns: 5;
    }
}

@media (max-width: 767px){
    .filter-more{
        display: none !important;
    }
    .filter-clear{
        display: none !important;
    }

    .filter-wrap{
        display: none;
        border: 1px solid #CBD5E1;
        background-color: #ffffff;
        box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
            -moz-box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
            -o-box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
            -webkit-box-shadow: 0px 2px var(--Blur-blur-3, 4px) 1px rgba(24, 24, 27, 0.08), 0px 16px var(--Blur-blur-8, 40px) -5px rgba(24, 24, 27, 0.08);
        width: 100%;
        height: 100%;
        background-color: #ffffff;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 999999;
        transition: all 0.4s ease-out;
                -moz-transition: all 0.4s ease-out;
                -webkit-transition: all 0.4s ease-out;
                -o-transition: all 0.4s ease-out;
        border-radius: 16px 16px 0 0;
        padding: 16px 24px;
        overflow-y: auto;
        margin-top: 144px;
    }
    .filter-wrap.active{
        display: block;
    }
    .filter-wrap .title{
        font-size: 20px;
        line-height: 24px;
        font-weight: 700;
        padding: 0 24px 16px;
        margin: 0 -24px;
        border-bottom: 1px solid #E2E8F0;
        color: #0F172A;
        display: flex;
        justify-content: space-between;
    }
    .filter-wrap .title i{
        cursor: pointer;
    }
    .filter-item,
    .filter-more-item{
        padding-left: 0;
        padding-right: 0;
        border-bottom: 1px solid #E2E8F0;
    }
    .filter-name{
        display: flex;
        padding: 20px 0;
        justify-content: space-between;
        color: #0F172A;
        font-weight: 600;
    }
    .filter-more-xs{
        padding: 7px 12px;
    }
    .filter-more-xs .filter-name{
        padding: 0;
    }
    .options{
        display: none;
        flex-wrap: wrap;
        margin: 0 -15px;
        overflow-y: unset;
    }
    .options li{
        padding: 0 15px 16px;
        width: 50%;
        max-height: auto;
    }
    .filter-more-wrap{
        display: block;
        position: static;
        top: auto;
        right: auto;
        padding-bottom: 16px;
    }
    .filter-more-inner{
        padding: 0;
        height: auto;
        overflow: unset;
    }
    .filter-more-clear{
        display: none;
    }
    .filter-more-close{
        display: none;
    }
    .filter-more-wrap .title{
        display: none;
    }
    .filter-bottom{
        padding-top: 8px;
        display: block;
    }
    .filter-bottom .cbtn{
        width: 100%;
        display: block;
        text-align: center;
    }
    .cbtn-bottom-apply{
        color: #ffffff;
        background-color: #0F172A;
    }
    .filter-item.active .options,
    .filter-more-item.active .options{
        display: flex;
    }
    .filter-item.active .filter-name:after,
    .filter-more-item.active .filter-name:after{
        content: "\f077";
    }
}