table th{
    position: relative;
}

table td.sorting,
table th.sorting{
    padding-right: 1.5rem;
    /*padding-right: 2rem;*/
}

table th.sorting{
    cursor: pointer;    
}

table th.sorting:before,
table th.sorting:after{
    position: absolute;
    top: .7em;
    display: block;
    opacity: .3;
    
    /*right: 0.75em;*/
    right: 0.5em;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1rem;    
}

table th.sorting:before{    
    content: "\f0de";
}

table th.sorting:after{
    content: "\f0dd";
}

table.table-sm th.sorting:before,
table.table-sm th.sorting:after{
    top: .2em;
}

table th.sorting.sort-desc:after{
    opacity: 1;
}

table th.sorting.sort-asc:before{
    opacity: 1;
}

table.ctlgrouptablecols{
    margin-bottom: 0px;
    box-sizing: border-box;
} 

table.ctlgrouptablecols .editable{
    cursor: pointer;
}

.ctl-theme-tables-scrollable-wrapper,
.ctlgrouptablecols{
    margin: 0 auto;
}

.ctl-theme-tables-scrollable-wrapper{
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

.ctl-theme-tables-scrollable-wrapper th,
.ctl-theme-tables-scrollable-wrapper td{
    display: table-cell;
    position: relative;
    
    vertical-align: top;
    box-sizing: border-box;
}

.ctl-theme-tables-scrollable-wrapper td{
    white-space: nowrap;
}

.ctl-theme-tables-wrapper{
    overflow-x: auto;
    box-sizing: border-box;
    min-height: 80px;
}

.ctl-theme-tables-wrapper th,
.ctl-theme-tables-wrapper td{
	min-width: 50px;
}

.table-cell-data{
    display: inline-block;
    position: relative;
    box-sizing: border-box;
}


td .ctl-table-cell-data{
    word-break: break-word;
    white-space: normal !important;
    display: inline-block;
}

tr{
    margin-top : 0px !important;
    margin-bottom : 0px !important;
    margin-left : 30px !important;
    margin-right : 30px !important;
}

td .ctl-table-cell-data{
    font-size: 14px;
}

table tr td:first-child > div,
table tr th:first-child > div{
    padding-left: 20px;
}

table tr td:last-child:not(.sorting) > div,
table tr th:last-child:not(.sorting) > div {
    padding-right: 20px;
}

.ctlgrouptablecols.table thead th{
    vertical-align: top;
}


.ctl-table-row-actions > *{
    margin-right: 10px;
}
.ctl-table-row-actions > *:last-child{
    margin-right: 0px;
}


.table-footer-actions .btn{
    margin-right: 10px;
    margin-bottom: 10px;;
}

/*
.table-footer-actions .btn.btn-export-csv{
    margin-right: 0px;
    float: right;
}*/

.table-footer-actions .btn-text{
    margin-left: 5px!important;
}

tr[data-resource-id=table-fake-row]{
    display: none !important;
}

.ctl-table-instant-filters > label{
    margin-right: 15px;
    margin-bottom: 0px;
    display: inline-block;
}

.ctl-table-instant-filters ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: inline-block;
}


.ctl-table-instant-filters li > label{
    display: inline-block;
    margin: 0px;
}

.ctl-table-instant-filters li{
    display: inline-block;
    margin-right: 15px;
}

.ctl-table-instant-filters .custom-control-label{
    cursor: pointer;
}

.ctl-table-instant-filters .custom-control-inline{
    margin-right: 0px;
}

.ctl-table-instant-filters li:last-child{
    margin-right: 0px;
}

@media print{    
    table th.sorting:before,
    table th.sorting:after{
        display: none !important;
    }
}