﻿.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 {
        content: "";
        display: inline-block;
        top: 0;
        left: 0;
        width: 50px;
        height: 50px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px 18px;
    }

    .print-button-container .dt-buttons .buttons-print:after {
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20640%20640'%3E%3Cpath%20fill='%2335A5F9'%20d='M128%20128C128%2092.7%20156.7%2064%20192%2064L405.5%2064C422.5%2064%20438.8%2070.7%20450.8%2082.7L493.3%20125.2C505.3%20137.2%20512%20153.5%20512%20170.5L512%20208L128%20208L128%20128zM64%20320C64%20284.7%2092.7%20256%20128%20256L512%20256C547.3%20256%20576%20284.7%20576%20320L576%20416C576%20433.7%20561.7%20448%20544%20448L512%20448L512%20512C512%20547.3%20483.3%20576%20448%20576L192%20576C156.7%20576%20128%20547.3%20128%20512L128%20448L96%20448C78.3%20448%2064%20433.7%2064%20416L64%20320zM192%20480L192%20512L448%20512L448%20416L192%20416L192%20480zM520%20336C520%20322.7%20509.3%20312%20496%20312C482.7%20312%20472%20322.7%20472%20336C472%20349.3%20482.7%20360%20496%20360C509.3%20360%20520%20349.3%20520%20336z'/%3E%3C/svg%3E");
    }

    .print-button-container .dt-buttons .buttons-excel:after {
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20640%20640'%3E%3Cpath%20fill='%2335A5F9'%20d='M128%20128C128%2092.7%20156.7%2064%20192%2064L341.5%2064C358.5%2064%20374.8%2070.7%20386.8%2082.7L493.3%20189.3C505.3%20201.3%20512%20217.6%20512%20234.6L512%20512C512%20547.3%20483.3%20576%20448%20576L192%20576C156.7%20576%20128%20547.3%20128%20512L128%20128zM336%20122.5L336%20216C336%20229.3%20346.7%20240%20360%20240L453.5%20240L336%20122.5zM292%20330.7C284.6%20319.7%20269.7%20316.7%20258.7%20324C247.7%20331.3%20244.7%20346.3%20252%20357.3L291.2%20416L252%20474.7C244.6%20485.7%20247.6%20500.6%20258.7%20508C269.8%20515.4%20284.6%20512.4%20292%20501.3L320%20459.3L348%20501.3C355.4%20512.3%20370.3%20515.3%20381.3%20508C392.3%20500.7%20395.3%20485.7%20388%20474.7L348.8%20416L388%20357.3C395.4%20346.3%20392.4%20331.4%20381.3%20324C370.2%20316.6%20355.4%20319.6%20348%20330.7L320%20372.7L292%20330.7z'/%3E%3C/svg%3E");
    }
/* #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;
}
