.datagrid table {
                border-collapse: collapse;
                text-align: left;
                width: 100%;

            }
            
            .datagrid {
                font: normal 12px Arial, Helvetica, sans-serif;
                background: #fff;
                overflow: hidden;
                border: 1px solid #dff0d8;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
            }
            
            .datagrid table td,
            .datagrid table th {
                padding: 0px 0px;
            }
            
            .datagrid table thead th {
                background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #08c), color-stop(1, #08c));
                background: -moz-linear-gradient( center top, #08c 5%,#08c 100%);
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#08c, endColorstr=#08c);
                background-color: #08c;
                color: #08c;
                font-size: 12px;
                font-weight: bold;
                border-left: 1px solid #08c;
            }
            
            .datagrid table thead th:first-child {
                border: none;
            }
            
            .datagrid table tbody td {
                color: #00557F;
                border-left: 1px solid #E1EEF4;
                font-size: 12px;
                font-weight: normal;
            }
            
            .datagrid table tbody td:first-child {
                border-left: none;
            }
            
	    .datagrid table tbody tr:last-child td {
                border-bottom: none;
            }
            
            .datagrid table tfoot td div {
                border-top: 1px solid #dff0d8;
                background: #E1EEf4;
            }
            
            .datagrid table tfoot td {
                padding: 0;
                font-size: 12px
            }
            
            .datagrid table tfoot td div {
                padding: 2px;
            }
            
            .datagrid table tfoot td ul {
                margin: 0;
                padding: 0;
                list-style: none;
                text-align: right;
            }
            
            .datagrid table tfoot li {
                display: inline;
            }
            
            .datagrid table tfoot li a {
                text-decoration: none;
                display: inline-block;
                padding: 2px 8px;
                margin: 1px;
                color: #FFFFFF;
                border: 1px solid #dff0d8;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
                background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dff0d8), color-stop(1, #dff0d8));
                background: -moz-linear-gradient( center top, #006699 5%, #00557F 100%);
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#dff0d8, endColorstr=#dff0d8);
                background-color: #dff0d8;
            }
            
            .datagrid table tfoot ul.active,
            .datagrid table tfoot ul a:hover {
                text-decoration: none;
                border-color: #dff0d8;
                color: #FFFFFF;
                background: none;
                background-color: #dff0d8;
            }
            
            div.dhtmlx_window_active,
            div.dhx_modal_cover_dv {
                position: fixed !important;
            }
            
            .datagrid {
                margin-top: 30px;
                margin-left: 10px;
                margin-right: 10px;
            }
    






@media (max-width:490px){
   .datagrid table {
                border-collapse: collapse;
                text-align: left;
                width: 100%;

            }
            
            .datagrid {
                font: normal 10px Arial, Helvetica, sans-serif;
                background: #fff;
                overflow: hidden;
                border: 1px solid #dff0d8;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
            }
            
            .datagrid table td,
            .datagrid table th {
                padding: 0px 0px;
            }
            
            .datagrid table thead th {
                background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #08c), color-stop(1, #08c));
                background: -moz-linear-gradient( center top, #006699 5%, #00557F 100%);
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#08c, endColorstr=#08c);
                background-color: #08c;
                color: #08c;
                font-size: 10px;
                font-weight: bold;
                border-left: 1px solid #08c;
            }
            
            .datagrid table thead th:first-child {
                border: none;
            }
            
            .datagrid table tbody td {
                color: #00557F;
                border-left: 1px solid #E1EEF4;
                font-size: 10px;
                font-weight: normal;
            }
            
            .datagrid table tbody td:first-child {
                border-left: none;
            }
            
	    .datagrid table tbody tr:last-child td {
                border-bottom: none;
            }
            
            .datagrid table tfoot td div {
                border-top: 1px solid #dff0d8;
                background: #E1EEf4;
            }
            
            .datagrid table tfoot td {
                padding: 0;
                font-size: 8px
            }
            
            .datagrid table tfoot td div {
                padding: 2px;
            }
            
            .datagrid table tfoot td ul {
                margin: 0;
                padding: 0;
                list-style: none;
                text-align: right;
            }
            
            .datagrid table tfoot li {
                display: inline;
            }
            
            .datagrid table tfoot li a {
                text-decoration: none;
                display: inline-block;
                padding: 0px 0px;
                margin: 1px;
                color: #FFFFFF;
                border: 1px solid #dff0d8;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
                background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dff0d8), color-stop(1, #dff0d8));
                background: -moz-linear-gradient( center top, #006699 5%, #00557F 100%);
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#dff0d8, endColorstr=#dff0d8);
                background-color: #dff0d8;
            }
            
            .datagrid table tfoot ul.active,
            .datagrid table tfoot ul a:hover {
                text-decoration: none;
                border-color: #dff0d8;
                color: #FFFFFF;
                background: none;
                background-color: #dff0d8;
            }
            
            div.dhtmlx_window_active,
            div.dhx_modal_cover_dv {
                position: fixed !important;
            }
            
            .datagrid {
                margin-top: 30px;
                margin-left: 1px;
                margin-right: 1px;
            }
    }