/************* Custom Sorting Style Start ****************/

.custom_short_section {
    width: 100%;
    position: relative;
    transition: all ease 1s;
    z-index: 2;
}

.custom_short_section .option_list { 
    margin: 0;
    list-style-type: none;
    position: absolute;
    padding: 30px 20px 20px;
    width: 100%;
    transition: opacity ease 1s;
    background-color: #FFFFFF;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.custom_short_section.active {
    background-color: #ffffff;
}

.custom_short_section.active .option_list { 
    opacity: 1;
    pointer-events: all;
}

.custom_short_section .option_list li { 
    padding: 5px 0; 
    z-index: 2; 
    margin: 0;
    cursor: pointer; 
    color: #253746;
    font-weight: 600;
    font-weight: normal;
}

.custom_short_section .init { 
    position: relative;
    padding: 10px 40px 10px 10px;
    text-align: right;
    font-weight: 700;
    cursor: pointer;
}

.custom_short_section .init:after {
    content: '';
    position: absolute;
    background-image: url('../images/select_dropdown_arrow.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 12px;
    height: 7px;
    top: 50%;
    margin-top: -4px;
    right: 20px;
    transition: all ease 1s;
}

.custom_short_section.active .init:after {
    transform: rotate(-180deg);
}


/************* Custom Sorting Style End ****************/

.filter_and_sort_section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.filter_and_sort_section .post_card_list__filter {
    width: calc(100% - 210px);
}

.filter_and_sort_section .item_sort_section {
    width: 207px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


@media (max-width: 991px) {
    .filter_and_sort_section .post_card_list__filter {
        width: 100%;
    }
    .filter_and_sort_section .item_sort_section {
        width: 100%;
        margin: 10px 0 0 auto;
        max-width: 210px;
    }
    
}