.datagrid4 table {
    /*border-collapse: collapse;
    text-align: left;
    width: 100%;
    display: inline-table;
    table-layout: auto;*/
    border: none;
    width: 100%;
    border-collapse: collapse;
}
.datagrid4 {
    font: normal 12px/150% Arial, Helvetica, sans-serif;
    background: #fff;
    overflow: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 5px;
    height: 500px;
}

/*.datagrid4 table td,
.datagrid4 table th {
    padding: 1px 1px;
}*/

.datagrid4 table thead th {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #8C8C8C), color-stop(1, #7D7D7D));
    background: -moz-linear-gradient(center top, #8C8C8C 5%, #7D7D7D 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C8C8C', endColorstr='#7D7D7D');
    background-color: #8C8C8C;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    /*border-left: 1px solid #A3A3A3;*/
    padding: 5px;
}

.datagrid4 table thead th:first-child {
    border: none;
}

.datagrid4 table tbody td input{
  border: 0px;
  background: #EAF2F5;
  border-radius: 5px !important;
}

.datagrid4 table tbody td select{
  border: 0px;
  background: #EAF2F5;
  border-radius: 5px !important;
  /*border-left: 2px solid #546e7a !important; */
  /*border-right: 2px solid #546e7a !important; */
  padding: 10px 0;
}

.datagrid4 table tbody td input[type=text]{
    /*border-left: 2px solid #546e7a !important; */
    /*border-right: 2px solid #546e7a !important; */
    padding: 12px 0;
}
.datagrid4 table tbody td input[type=date]{
   /* border-left: 2px solid #546e7a !important;*/
    /*border-right: 2px solid #546e7a !important; */
    padding: 10px 0;
}

.datagrid4 table tbody td input.md-datepicker-input{
   /* border-left: 2px solid #546e7a !important;*/
    /*border-right: 2px solid #546e7a !important; */
    padding: 10px;
}


.datagrid4 table td {
    /*text-align: center;
    color: #7D7D7D;
    border-left: 1px solid #DBDBDB;
    font-size: 12px;
    font-weight: normal;
    padding: 0px 3px;*/
    padding: 5px 10px;
    text-align: center;
    border: 1px solid #999;
}

.datagrid4 table tr:nth-child(1) {
            background: #dedede;
        }

.datagrid4 table tbody .alt td {
    background: #EBEBEB;
    color: #7D7D7D;
}

.datagrid4 table tbody td:first-child {
    border-left: none;
}

.datagrid4 table tbody tr:last-child td {
    border-bottom: none;
}

.datagrid4 table tbody tr{
    border-bottom: 1px solid #8C8C8C;
}
.datagrid4 table tfoot td div {
    border-top: 1px solid #8C8C8C;
    background: #EBEBEB;
}

.datagrid4 table tfoot td {
    padding: 0;
    font-size: 12px
}

.datagrid4 table tfoot td div {
    padding: 2px;
}

.datagrid4 table tfoot td ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.datagrid4 table tfoot li {
    display: inline;
}

.datagrid4 table tfoot li a {
    text-decoration: none;
    display: inline-block;
    padding: 2px 8px;
    margin: 1px;
    color: #F5F5F5;
    border: 1px solid #8C8C8C;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #8C8C8C), color-stop(1, #7D7D7D));
    background: -moz-linear-gradient(center top, #8C8C8C 5%, #7D7D7D 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C8C8C', endColorstr='#7D7D7D');
    background-color: #8C8C8C;
}

.datagrid4 table tfoot ul.active,
.datagrid4 table tfoot ul a:hover {
    text-decoration: none;
    border-color: #7D7D7D;
    color: #F5F5F5;
    background: none;
    background-color: #8C8C8C;
}

div.dhtmlx_window_active,
div.dhx_modal_cover_dv {
    position: fixed !important;
}