﻿.datagrid * {
    box-sizing: border-box;
}

.datagrid {
    overflow: hidden;
    position: relative;
    -border: 1px solid #ddd;
}

    .datagrid table {
        border-spacing: 0;
        table-layout: fixed;
    }

.datagrid th {
    padding: 7px 5px 7px 5px;
    color: rgba(0, 0, 0, 0.5);
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.05);
    position: relative;
    font-size: 14px;
}

.datagrid td {
    height: 24px;
    font-size: 14px;
    padding: 0 7px;
    color: rgba(0, 0, 0, 1);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
 
}

.datagrid th.grid_asc, 
.datagrid th.grid_desc {
    color: rgba(0, 0, 0, 1);
}

.datagrid th.grid_asc {
    background-color: rgba(0, 0, 0, 0.1);
}

.datagrid th.grid_desc {
    background-color: rgba(0, 0, 0, 0.1);
}

.datagrid td.grid_asc, 
.datagrid td.grid_desc {
    background-color: rgba(0, 0, 0, 0.02);
}

.datagrid .grid_aligncenter {
    text-align: center;
}

.datagrid .grid_alignright {
    text-align: right;
}

.datagrid .grid_alignleft {
    text-align: left;
}

.datagrid .gridScrollContainer {
    width: 100%;
    overflow-x: scroll;
    overflow-y: scroll;
    border-top: 1px solid #000000;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.datagrid .gridScrollContent {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    background: white;
}

.datagrid input[type="checkbox"] {
    display: inline !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0;
    vertical-align: top;
}

.datagrid .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
}

.datagrid .indicator.red {
    background-color: red;
}

.datagrid .indicator.green {
    background-color: green;
}