.filter-tags-list {
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    white-space: nowrap;

}


.filter-tags-list > .active-tab a {
    background: linear-gradient(100.36deg, #4acbd8 0%, #2970fa 100%) !important;
    box-shadow: 0px 16px 64px rgba(14, 37, 62, 0.02);
    border-radius: 16px;
    height: 32px;
    line-height: 32px;
    font-weight: 500;
    font-size: 12px;
    padding: 6px 24px;
    margin-right: 0 !important;
}

 .filter-tags-list > :not(.active-tab) a {
    background: none;
    border-radius: 16px;
    height: 32px;
    line-height: 32px;
    font-weight: 500;
    font-size: 12px;
    padding: 6px 24px;
    box-shadow: inset 0 0 0 2px white;
    margin-right: 0 !important;
}

.filter-tags-list > :not(.active-tab):hover a {
    background: linear-gradient(100.36deg, #4acbd8 0%, #2970fa 100%) !important;
    box-shadow: none;
}

.filter-tags-list > :not(.active-tab) a {
    transition: none;
}

 .filter-tags-list > :not(.active-tab):hover a {
    color: white !important;
}

 .filter-tags-list .active-tab a {
    color: #ffffff !important;
}


 .show-filter2 {
    background: #fff;
    padding: 8px 24px;
    color: #0E253E;
    border-radius: 16px;
    white-space: nowrap;
}

.listing-orderby {
    display: inline-flex;
    background: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    color: #0E253E;
    align-items: center;
    height: 40px;

}

.listing-orderby-container {
    text-align: right;
}

.listing-orderby .sort-prefix-text {
    font-size: 12px;
    font-weight: 500;
    color: #6A829C;
    line-height: 24px;
    /*margin-right: 10px;*/
    white-space: nowrap;

}

 .listing-action .listing-orderby .select2-container {
    width: unset!important;
     min-width: unset!important;
}

 .listing-orderby .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0E253E;
    font-weight: 400;
    font-size: 14px;
    line-height: 37px;

    height: 37px;
}

.listing-orderby .select2-container--default .select2-selection--single {
    height: 37px;
    border: none;
    margin-left: 5px;
}

.listing-orderby .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
    right: -8px;
}

.select2-dropdown {
    border: none;
}


.select2-results {
    top: 35px;
    position: absolute;
    border-radius: 16px;
    border: none;
    background: #fff;

    width: 100%;
    text-align: center;
}
.listing-filter-order .select2-results {
    top: 35px;
    position: absolute;
    left: -69px;
    width: 232px;
    border-radius: 16px;
    border: none;
    background: #fff;
    text-align:unset;
}

.listing-filter-order .select2-search--dropdown.select2-search--hide + .select2-results {
    padding: 16px;


}

/*
 post tags, title, description
 */
.page-listing-container {
    margin: 0 auto 140px;
    background: #FFFFFF;
    border: 1.5px solid #F3F2EC;
    box-shadow: 0px 16px 64px rgba(14, 37, 62, 0.02);
    border-radius: 16px;
}

.page-listing-container h2 {
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    color: #0E253E;
}

.page-listing-container h1,
.page-listing-container h2,
.page-listing-container h3,
.page-listing-container h4,
.page-listing-container h5 {
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    color: #0E253E;
}

.page-listing-container p {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;

    color: #0E253E;
}

.page-listing-container span {
    font-size: 18px;
    line-height: 32px;
    color: #0E253E;
}

.tags-list {
    padding-left: 10px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-list-item {
    padding: 2px 12px;
    background: #FFFFFF;
    border: 1.5px solid #F3F2EC;
    border-radius: 12px;

}

.tags-list-item a, .tags-list-item a:hover {
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    color: #6A829C;
}

/*
End
 */


/*
Filter form
*/



.apus-grid-layout.only_main .wrapper-filters1.active {
    transform: translateX(0);
    z-index: 9
}


@media screen and (max-width: 991px) {
    .filter-tags-list {
        display: initial;
    }

    .filter-tags-list {
        width: auto;
        overflow: auto;
        white-space: nowrap;
        display: flex;
        justify-content: center;
    }

    .flex-middle-mobile {
        flex-direction: column;
        gap: 16px;
        text-align: unset;
        -webkit-align-items: unset;
        justify-content: flex-start;

    }

    .listing-orderby-container {
        text-align: center;
        margin: 0 auto;
    }

    .listing-filter-order .select2-results {
        top: 55px;
    }
    .page-listing-container {
        max-width: 90%
    }
}
@media screen and (max-width: 768px) {
    .filter-tags-list {
        justify-content: flex-start;
    }
}