﻿.content-panel .dataTable {
    border-color: #E7F3FF !important;
    border-width: 1px !important;
}
    .content-panel .dataTable tr {
        background-color: unset !important;
    }
/* #region Header widths */
    .dataTable .widthGlyph {
        width: 14px;
        padding-right: 8px;
    }

.dataTable .widthDoubleGlyph {
    width: 28px;
    padding-right: 8px;
}

.dataTable .widthTripleGlyph {
    width: 40px;
    padding-right: 8px;
}

.dataTable .widthSmall {
    width: 45px;
    padding-right: 8px;
}

.dataTable .widthMedium {
    width: 100px;
    padding-right: 8px;
}

.dataTable .widthLarge {
    width: 180px;
    padding-right: 8px;
}

.dataTable .widthExtraLarge {
    width: 260px;
    padding-right: 8px;
}

.dataTable .widthAuto {
    width: auto;
    padding-right: 8px;
}

.dataTable .width30 {
    width: 30px;
    padding-right: 8px;
}

.dataTable .width40 {
    width: 40px;
    padding-right: 8px;
}

.dataTable .width50 {
    width: 50px;
    padding-right: 8px;
}

.dataTable .width60 {
    width: 60px;
    padding-right: 8px;
}

.dataTable .width70 {
    width: 70px;
    padding-right: 8px;
}

.dataTable .width80 {
    width: 80px;
    padding-right: 8px;
}

.dataTable .width90 {
    width: 90px;
    padding-right: 8px;
}

.dataTable .width100 {
    width: 100px;
    padding-right: 8px;
}

.dataTable .width110 {
    width: 110px;
    padding-right: 8px;
}

.dataTable .width120 {
    width: 120px;
    padding-right: 8px;
}

.dataTable .width130 {
    width: 130px;
    padding-right: 8px;
}

.dataTable .width140 {
    width: 140px;
    padding-right: 8px;
}

.dataTable .width150 {
    width: 150px;
    padding-right: 8px;
}

.dataTable .width160 {
    width: 160px;
    padding-right: 8px;
}

.dataTable .width170 {
    width: 170px;
    padding-right: 8px;
}

.dataTable .width180 {
    width: 180px;
    padding-right: 8px;
}

.dataTable .width190 {
    width: 190px;
    padding-right: 8px;
}

.dataTable .width200 {
    width: 200px;
    padding-right: 8px;
}

.dataTable .width210 {
    width: 210px;
    padding-right: 8px;
}

.dataTable .width220 {
    width: 220px;
    padding-right: 8px;
}

.dataTable .width230 {
    width: 230px;
    padding-right: 8px;
}

.dataTable .width240 {
    width: 240px;
    padding-right: 8px;
}

.dataTable .width250 {
    width: 250px;
    padding-right: 8px;
}

.dataTable .width260 {
    width: 260px;
    padding-right: 8px;
}

.dataTable .width270 {
    width: 270px;
    padding-right: 8px;
}

.dataTable .width280 {
    width: 280px;
    padding-right: 8px;
}

.dataTable .width380 {
    width: 380px;
    padding-right: 8px;
}
/* #endregion */
/* #region Editable */
.dataTable.editable {
    border-bottom: none !important;
}

    .dataTable.editable tr.disabledRow td {
        background-color: lightgray;
    }

    .dataTable.editable tr.danger td {
        background-color: pink;
    }

        .dataTable.editable tr.danger td.invalid {
            box-shadow: inset 0 -4px 4px red;
        }

    .dataTable.editable input {
        border: none;
        background-color: transparent;
        width: 100%;
    }

        .dataTable.editable input:focus {
            border-bottom: 1px solid grey;
        }

    .dataTable.editable label {
        font-weight: normal;
    }

        .dataTable.editable label.saved {
            color: white;
        }
/* #endregion */
/* #region Print buttons */

.print-button-container .dt-buttons {
    position: absolute;
    width: 200px;
    height: 50px;
    bottom: 0;
    right: 0;
    text-align: right;
}

.print-button-container .dt-buttons .dt-button {
    position: relative;
    background: none;
    background-image: none;
    border: none;
    width: 50px;
    height: 50px;
}

    .print-button-container .dt-buttons .dt-button:hover {
        border: 1px solid black;
        background-color: ButtonFace;
    }

    .print-button-container .dt-buttons .dt-button span {
        display: none;
    }

    .print-button-container .dt-buttons .dt-button:after {
        font-family: FontAwesome;
        top: 0;
        left: 0;
        width: 50px;
        height: 50px;
        font-size: 18px;
        color: #35A5F9;
    }

    .print-button-container .dt-buttons .buttons-print:after {
        content: "\f02f";
    }

    .print-button-container .dt-buttons .buttons-excel:after {
        content: "\f1c3";
    }
/* #endregion */

.dataTable tr.selectedDatatableRow {
    background-color: rgba(53, 165, 249, 1) !important;
    color: white;
}

    .dataTable tr.selectedDatatableRow td {
        background: none;
    }

.dataTable td.selectedDatatableCell {
    background-color: rgba(53, 165, 249, 1);
    color: white;
}

    .dataTable td.selectedDatatableCell a {
        color: white;
    }

.dataTable td.Open {
    color: blue;
}

.dataTable td.Devaluated {
    color: gray;
}

.dataTable td.Incomplete {
    color: red;
}

.dataTable th[data-column-align="right"] {
    text-align: right;
    padding-right: 8px;
}
.dataTable th[footer-align="right"] {
    text-align: right;
}
.dataTable tfoot th {
    padding-top: 20px !important;
}

.dataTable {
    table-layout: fixed;
}

    .dataTable td.ellipsis {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.content-panel .dataTables_scrollBody {
    padding-right: 10px;
    border-bottom: none !important;
    border-left: none !important;
}
.content-panel .dataTables_scrollFootInner {
    padding-right: 0 !important;
}

    .content-panel .dataTables_scrollBody::-webkit-scrollbar,
    .content-panel .dataTables_scrollBody::-webkit-scrollbar-thumb,
    .content-panel .dataTables_scrollBody::-webkit-scrollbar-track {
        width: 8px;
        border: none;
        background: transparent;
    }

    .content-panel .dataTables_scrollBody::-webkit-scrollbar-button,
    .content-panel .dataTables_scrollBody::-webkit-scrollbar-track-piece,
    .content-panel .dataTables_scrollBody::-webkit-scrollbar-corner,
    .content-panel .dataTables_scrollBody::-webkit-resizer {
        display: none;
    }

    .content-panel .dataTables_scrollBody::-webkit-scrollbar-thumb {
        border-radius: 6px;
        background-color: #7A8BB2;
    }

    .content-panel .dataTables_scrollBody::-webkit-scrollbar-track {
        background-image: url("/images/scrollbartrack.png");
        background-repeat: repeat-y;
        background-size: contain;
    }

.content-panel .dataTable tr {
    height: 35px;
}

.content-panel .dataTable th {
    border-width: 2px;
    border-color: #E7F3FF;
}

.content-panel .dataTable td {
    border-bottom: 2px solid #E7F3FF;
}

.content-panel .dataTable .glyphicon {
    color: #35A5F9;
}

#DataTableRates tr td:not(:first-of-type), #DataTableInvoiced tr td:not(:first-of-type) {
    text-align: right;
}


.subheader td {
    font-size: 18px;
    text-transform: uppercase;
    color: #7A8BB2;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    border-top: 10px;
}

.sorting::after, .sorting_asc::after, .sorting_desc::after {
    content: none !important;
}
