﻿table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    width: 100%;
    caption-side: top;
}

    table tbody tr {
        border-bottom: 0px !important;
    }

    table thead {
        font-family: var(--fast-font-family-main);
        letter-spacing: var(--fast-letter-spacing-tight);
        background: var(--fast-header-background-color);
        color: var(--fast-header-font-color);
        text-align: left;
    }

    table tr th {
        font-family: var(--fast-font-family-main);
        letter-spacing: var(--fast-letter-spacing);
        background: var(--fast-header-background-color);
        color: var(--fast-header-font-color);
        text-align: left;
        font-weight: bold;
        white-space: normal;
        vertical-align: bottom;
    }

    table th:first-of-type {
        border-top-left-radius: var(--fast-border-radius);
    }

    table th:last-of-type {
        border-top-right-radius: var(--fast-border-radius);
    }

    table th, table td {
        padding: 7px;
    }

        table th.allow-wrap,
        table td.allow-wrap {
            white-space: pre-wrap !important;
            word-break: break-word !important;
        }

    table td {
        font-size: var(--fast-font-size-small);
    }

    table.alternating-rows tr:nth-child(even) {
        background-color: var(--fast-color-row-even);
    }

    table.alternating-rows tr:nth-child(odd),
    .shaded-row {
        background-color: var(--fast-color-row-odd);
    }

    table caption {
        text-align: left;
        font-family: var(--fast-font-family-accent);
        font-size: var(--fast-font-size-large);
    }

    table.grid {
        width: 100%;
    }

    table.dataTable {
        border-bottom: 1px solid var(--fast-color-border);
    }

        table.dataTable.nested {
            box-shadow: none;
            margin-top: var(--fast-margin-y);
            border-bottom: none !important;
        }

            table.dataTable.nested thead {
                background: none !important;
                color: var(--fast-color-dark);
            }

                table.dataTable.nested thead th,
                table.dataTable.nested thead td {
                    padding: 0px 18px;
                    border-bottom: none !important;
                    background: none !important;
                    letter-spacing: var(--fast-letter-spacing);
                    font-size: var(--fast-font-size-small);
                    color: var(--fast-color-dark);
                }

            table.dataTable.nested.hover tbody tr:hover,
            table.dataTable.nested.stripe tbody tr:hover,
            table.dataTable.nested.display tbody tr:hover {
                background-color: initial;
                color: initial;
            }

div.alphabet {
    position: relative;
    display: table;
    margin-bottom: .5em;
    margin-top: .5rem;
    margin-left: auto;
    margin-right: auto;
}

    div.alphabet span {
        display: table-cell;
        color: var(--fast-color-main);
        cursor: pointer;
        text-align: center;
        min-width: 1.2rem;
        padding: 0 4px;
        border-width: 1px;
        border-style: solid;
        border-color: transparent;
        border-radius: var(--fast-border-radius);
    }

        div.alphabet span:hover {
            border: 1px solid var(--fast-color-hover);
            color: var(--fast-color-hover);
        }

        div.alphabet span.active {
            border: 1px solid var(--fast-color-active);
            color: var(--fast-color-active);
        }

#saveButtons {
    text-align: center;
    padding-top: 10px;
}

#clearSearch {
    float: right;
    padding-left: 3px;
}

.dataTable td label {
    display: block;
    height: 1.6rem;
    padding: 0;
}

.dataTables_wrapper label > input,
.dataTables_wrapper label > select {
    height: 1.6rem !important;
    width: auto;
    margin-bottom: 3px;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    padding: 0;
    border-radius: var(--fast-border-radius);
    border: var(--fast-form-control-border);
    background-color: var(--fast-color-light);
}

table.dataTable.stripe tbody tr,
table.dataTable.display tbody tr {
    background-color: var(--fast-color-row-even);
}

    table.dataTable.stripe tbody tr.odd,
    table.dataTable.display tbody tr.odd {
        background-color: var(--fast-color-row-odd);
    }

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
    background-color: var(--fast-color-row-selected-even);
}

table.dataTable.stripe tbody > tr.odd.selected,
table.dataTable.stripe tbody > tr.odd > .selected,
table.dataTable.display tbody > tr.odd.selected,
table.dataTable.display tbody > tr.odd > .selected {
    background-color: var(--fast-color-row-selected-odd);
}

table.dataTable.hover tbody tr:hover,
table.dataTable.stripe tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background-color: var(--fast-color-highlight) !important;
    color: var(--fast-color-dark) !important;
}

table.dataTable input,
table.dataTable select {
    display: block;
    height: 1.6rem !important;
    padding: 0;
}

    table.dataTable input[type=checkbox],
    table.dataTable input[type=radio] {
        height: var(--fast-form-checkbox-size) !important;
        float: left;
        margin: 1px 5px 3px 0;
        top: 0;
    }

        table.dataTable input[type=checkbox]:only-child,
        table.dataTable input[type=radio]:only-child {
            float: none !important;
            margin: 0;
        }

        table.dataTable input[type=checkbox].no-float,
        table.dataTable input[type=radio].no-float {
            float: none !important;
        }


    table.dataTable input[type=button] {
        padding: revert;
    }

.dataTables_wrapper .dataTables_paginate {
    padding-top: 7px;
}

.dataTables_wrapper button,
.dataTables_wrapper .paginate_button {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    font-family: var(--fast-font-family-main);
    letter-spacing: var(--fast-letter-spacing-tight);
    font-size: var(--fast-font-size);
    background: var(--fast-color-secondary-light) !important;
    border-radius: var(--fast-border-radius);
    color: var(--fast-color-dark) !important;
    margin-bottom: 3px;
    border: 0;
    cursor: pointer;
    font-weight: 300;
    text-align: center;
    text-decoration: none !important;
    padding: 4px 10px;
    display: inline-block;
    width: auto;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background-color: var(--fast-color-main) !important;
        color: var(--fast-color-light) !important;
        border: 0 !important;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current:not(.disabled):hover,
        .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover {
            background-color: var(--fast-color-hover) !important;
            color: var(--fast-color-light) !important;
            border: 0 !important;
        }

.dataTables_wrapper .dataTables_info {
    padding-top: 3px !important;
}

.dataTables_wrapper label {
    font-weight: normal !important;
}

table.dataTable,
.dataTables_scroll {
    box-shadow: var(--fast-box-shadow);
}

    .dataTables_scroll table.dataTable {
        box-shadow: none;
    }

.dataTables_scrollHead {
    background-color: var(--fast-header-background-color);
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 1px solid var(--fast-color-border);
}

.dataTables_wrapper .dataTables_scrollBody,
.dataTables_wrapper.no-footer .dataTables_scrollBody {
    min-height: 80px;
    border-bottom: 1px solid var(--fast-color-border) !important;
}

.dataTables_wrapper table > thead > tr > th,
.dataTables_wrapper table > thead > tr > td,
.dataTables_wrapper table > tbody > tr > th,
.dataTables_wrapper table > tbody > tr > td {
    vertical-align: top !important;
}

.dataTables_paginate span {
    display: unset;
}

    .dataTables_paginate span:after {
        content: none !important;
    }

div.DTFC_LeftBodyWrapper {
    /*border-bottom: 1px solid var(--fast-color-border);*/
}

div.DTFC_LeftBodyLiner {
    overflow: hidden;
}

    div.DTFC_LeftBodyLiner table {
        box-shadow: none;
    }

.dataTables_wrapper .DTFC_LeftHeadWrapper {
    /*border-top-left-radius: var(--fast-border-radius);*/
}

.dataTables_wrapper .DTFC_ScrollWrapper {
    border-top-left-radius: var(--fast-border-radius);
    border-top-right-radius: var(--fast-border-radius);
}

.dataTables_wrapper .dataTables_scrollHead {
    border-top-left-radius: var(--fast-border-radius);
    border-top-right-radius: var(--fast-border-radius);
}

.dataTable thead > tr > th:last-child {
    border-top-right-radius: var(--fast-border-radius);
}

.dataTable thead > tr > th:first-child {
    border-top-left-radius: var(--fast-border-radius);
}

.activityLabel {
    position: absolute;
    font-weight: normal;
    font-size: 1rem;
    z-index: -100;
    bottom: -6px;
}

.zero-width {
    width: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.group-header {
    font-weight: bold;
    background-color: var(--fast-color-row-group-header) !important;
}

.group-footer {
    font-weight: bold;
    background-color: var(--fast-color-row-group-footer) !important;
}

.dt-buttons {
    margin: -0.5rem 0 0.5rem 0.5rem;
}

aside div.dt-buttons {
    margin: unset;
}