﻿    .dgtitle-table {
        width: 100%;
        font-size: 18px;
        line-height: 24px;
        border: 1px solid #dee2e6;
        table-layout: fixed;
    }

    .dgtitle-table th, td {
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 1px;
        border: 1px solid #dee2e6;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .dgheader-table {
        width: 100%;
        font-size: 16px;
        line-height: 22px;
        border: 1px solid #dee2e6;
        table-layout: fixed;
    }

    .dgheader-table input, select {
        width: 90%;
        font-size: 10px;
        line-height: 16px;
        border: 0;
        background-color: lightyellow;
        display: inline-block;
    }

    .dgheader-table input[data-is-prime=true] {
        background-color: #e0ffff;
    }

    .dgheader-table i {
        width: 10%;
        cursor: pointer;
        font-size: 16px;
        display: inline-block;
    }

    .dgheader-table th, td {
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 1px;
        border: 1px solid #dee2e6;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .dgbody-table {
        width: 100%;
        font-size: 14px;
        font-weight:bold;
        line-height: 24px;
        border: 1px solid #0000ff;
        table-layout: fixed;
        background-color: #ffffe0;
    }

    .dgbody-table input, select {
        width: 90%;
        font-size: 10px;
        line-height: 16px;
        border: 0;
        background-color: lightyellow;
        display: inline-block;
    }

        .dgbody-table i {
            cursor: pointer;
            color: blue;
            font-size: 18px;
            display: inline-block;
        }

    .dgbody-table th, td {
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 1px;
        border: 1px solid blue;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        .dgbody-table tr > td:hover[data-add-appointment=true]{
            cursor: pointer;
            color: yellow;
            background-color: yellow;
        }

        .dgbody-table tr > td:hover[data-add-appointment=false]{
            cursor: pointer;
            color: blue;
            background-color: lightgreen;
        }

        .dgbody-table tr {
            background-color: lightyellow;
        }

        .dgbody-table tr:hover > td:first-child {
            color: blue;
            background-color: cyan;
        }

    .dgfooter-table {
        width: 100%;
        font-size: 12px;
        line-height: 16px;
        table-layout: fixed;
    }

    .dgfooter-table i {
        font-size: 16px;
        display: inline-block;
    }

/**/
.dg-green {
    width: 100%;
    height: 100%;
    margin: 0;
    font-weight: bold;
    text-align: center;
    background-color: #eeffff;
}

.dg-green-title > th, .dg-green-title > td {
    width: 100%;
    margin: 0;
    padding: 0;
    color: yellow;
    background-color: #006600;
    text-shadow: 1px 1px #aaaa00;
    font-weight: bold;
    font-size: 20px;
    line-height: 36px;
    table-layout: fixed;
}

.dg-green-id {
    margin: 0;
    padding: 0;
    background-color: #FF3300;
    color: white;
    text-shadow: 1px 1px #cccccc;
    font-weight:bold;
    font-size: 14px;
    vertical-align: middle;
}

    .dg-green-id > th > div > span, .dg-green-id > td > div > span {
        font-weight: bold;
        background-color: #ffc107;
    }


    .dg-green-id > th > div > input:read-write, .dg-green-id > td > div > input:read-write {
        font-weight: bold;
        background-color: white;
    }

    .dg-green-id > th > div > input:read-only, .dg-green-id > td > div > input:read-only {
        font-weight: bold;
        background-color: #ccffcc;
    }

.dg-green-header {
    margin: 0;
    padding: 0;
    color: white;
    background-color: #009900;
    text-shadow: 1px 1px #cccccc;
    font-weight: bold;
    font-size: 14px;
    vertical-align: middle;
}

    .dg-green-header > th > div > span, .dg-green-header > td > div > span {
        font-weight: bold;
        background-color: #ffc107;
    }

    .dg-green-header > th > div > input:read-write, .dg-green-header > td > div > input:read-write {
        font-weight: bold;
        background-color: white;
    }

    .dg-green-header > th > div > input:read-only, .dg-green-header > td > div > input:read-only {
        font-weight: bold;
        background-color: #ccffcc;
    }


    .dg-green-header > th > div > div > span, .dg-green-header > td > div > div > span {
        font-weight: bold;
        background-color: #ffc107;
    }

    .dg-green-header > th > div > div > input:read-write, .dg-green-header > td > div > div > input:read-write {
        font-weight: bold;
        background-color: white;
    }

    .dg-green-header > th > div > div > input:read-only, .dg-green-header > td > div > div > input:read-only {
        font-weight: bold;
        background-color: #ccffcc;
    }


.dg-green-input-important {
    font-weight: bold;
    background-color: yellow !important;
}

.dg-green-main {
    width: 100%;
    height: 100%;
    border: 1px solid black;
    border-radius: 3px 3px 3px 3px;
}

.dg-green-title > table {
    color: yellow;
    width: 100%;
    background-color: #006600;
    text-shadow: 1px 1px #aaaa00;
}

.dg-green-title > table > tr {
    color: yellow;
    background-color: #006600;
    text-shadow: 1px 1px #aaaa00;
}

.dg-green-title > table > tr > th, .dg-green-title > table > tr > td {
    text-align: center;
    border: 1px solid black;
}

.dg-green-cols {
    width: 100%;
    border: 0;
    background-color: #006600;
    padding-right: 9px;
}

.dg-green-cols > table {
    border: 0;
    width: 100%;
    color: yellow;
    background-color: #006600;
    padding-right: 9px;
}


    .dg-green-cols > table > tr > td, .dg-green-cols > table > tr > th {
        text-align: center;
        border: 1px solid #dee2e6;
        background-color: #006600;
    }

.dg-green-body {
    width: 100%;
    height:150px;
    border: 0;
    color: yellow;
    overflow-y: scroll;
    background-color: #eeeeee;
}

.dg-green-body > table {
    margin: 0;
    width: 100%;
    padding: 0;
    border: 0;
    font-weight:bold;
    color: black;
    background-color: #ffff99;
    padding-right: 9px;
}

.dg-green-body > table > tr > td {
    border: 1px solid black;
    background-color:red;
}

.dg-scroll::-webkit-scrollbar {
width: 9px;
}

.dg-scroll::-webkit-scrollbar-track {
box-shadow: inset 0 0 3px grey;
}

/* Handle */
.dg-scroll::-webkit-scrollbar-thumb {
background: red;
}

/* Handle on hover */
.dg-scroll::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}
