/*
 * CMS-1065: sort-priority badges and the "Sorted by" summary bar for the CMS
 * lists that allow sorting on several columns at once.
 *
 * The DataTables sort arrow is drawn by pixel-admin as an absolutely positioned
 * th:after pinned to the right edge of the header, so the badge is parked just
 * to the left of it.
 */
table.dataTable thead th .sort-priority {
    background: #6c8ea4;
    border-radius: 8px;
    color: #fff;
    display: block;
    font-size: 10px;
    font-weight: 700;
    height: 16px;
    line-height: 16px;
    min-width: 16px;
    padding: 0 3px;
    position: absolute;
    right: 22px;
    text-align: center;
    top: 10px;
}

table.dataTable thead th .column-title {
    padding-right: 18px;
}

.multi-sort-bar {
    align-items: center;
    border-bottom: 1px solid #e4e7ea;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 6px;
    padding: 6px 10px;
}

.multi-sort-bar .multi-sort-label {
    color: #8b949c;
    text-transform: uppercase;
}

.multi-sort-bar .multi-sort-items {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.multi-sort-bar .multi-sort-item {
    align-items: center;
    background: #eef2f5;
    border-radius: 3px;
    display: inline-flex;
    gap: 5px;
    padding: 2px 8px;
}

.multi-sort-bar .multi-sort-item-position {
    background: #6c8ea4;
    border-radius: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    min-width: 16px;
    padding: 0 3px;
    text-align: center;
}

.multi-sort-bar .multi-sort-item .fa {
    color: #6c8ea4;
    font-size: 11px;
}

.multi-sort-bar .multi-sort-reset {
    margin-left: 4px;
}
