﻿table.crudTable > thead .sorting,
table.crudTable > thead .sorting_asc,
table.crudTable > thead .sorting_desc,
table.crudTable > thead .sorting_asc_disabled,
table.crudTable > thead .sorting_desc_disabled {
    cursor: pointer;
    position: relative;
}

    table.crudTable > thead .sorting:before, table.crudTable > thead .sorting:after,
    table.crudTable > thead .sorting_asc:before,
    table.crudTable > thead .sorting_asc:after,
    table.crudTable > thead .sorting_desc:before,
    table.crudTable > thead .sorting_desc:after,
    table.crudTable > thead .sorting_asc_disabled:before,
    table.crudTable > thead .sorting_asc_disabled:after,
    table.crudTable > thead .sorting_desc_disabled:before,
    table.crudTable > thead .sorting_desc_disabled:after {
        position: absolute;
        /*bottom: 0.9em;*/
        display: block;
        opacity: 0.3;
    }

    table.crudTable > thead .sorting:before,
    table.crudTable > thead .sorting_asc:before,
    table.crudTable > thead .sorting_desc:before,
    table.crudTable > thead .sorting_asc_disabled:before,
    table.crudTable > thead .sorting_desc_disabled:before {
        right: 1em;
        content: "↑";
    }

    table.crudTable > thead .sorting:after,
    table.crudTable > thead .sorting_asc:after,
    table.crudTable > thead .sorting_desc:after,
    table.crudTable > thead .sorting_asc_disabled:after,
    table.crudTable > thead .sorting_desc_disabled:after {
        right: 0.5em;
        content: "↓";
    }

    table.crudTable > thead .sorting_asc:before,
    table.crudTable > thead .sorting_desc:after {
        opacity: 1;
    }

    table.crudTable > thead .sorting_asc_disabled:before,
    table.crudTable > thead .sorting_desc_disabled:after {
        opacity: 0;
    }

.table-empty {
    padding: 15px 20px 20px 20px;
    font-style: italic;
}