.tabella1
{
 -webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
border-color:#FFFFFF;
background-color:#FFFFFF;
}
.tabella1 td
{
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
background-image: linear-gradient(to top, #EF8100 0%, #00A2EF 100%);
background-image: -moz-linear-gradient(bottom, #EF8100 0%, #00A2EF 100%);
background-color:#00CCFF;
 }

.tabella2
{
 -webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
border-color:#FFFFFF;
}
.tabella2 th
{
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
background-image: linear-gradient(to top, #FFFFFF 0%, #00A2EF 100%);
background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #00A2EF 100%);
background-color:#FFFFFF;
text-align:left;
 }

.datagrid table { border-collapse: collapse; text-align: left; align:center }

 .datagrid {
	font: normal 12px/150% Verdana, Arial, Helvetica, sans-serif;
	background: #fff;
	overflow: auto;
	border: 1px solid #0088DD;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	margin:0 auto;
				    }
 
 .datagrid table td, .datagrid table th { padding: 3px 0px;  }
 
 
 .datagrid table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #0088DD), color-stop(1, #00557F) );background:-moz-linear-gradient( center top, #0088DD 5%, #00557F 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088DD', endColorstr='#00557F');background-color:#0088DD; color:#FFFFFF; font-size: 15px; font-weight: bold; border-left: 1px solid #0070A8;position: sticky; top: 0;  }
 
  
  .datagrid table tbody td { color: #00557F; border-left: 1px solid #000000;font-size: 13px;font-weight: normal; }
  
  .datagrid table tbody .alt td { background: #E1EEf4; color: #00557F; }
  
   .datagrid table tbody .alt1 td { background: #e2eff5; color: #00557F; }
  
  .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 #0088DD;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 #0000BB;-webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #0088DD), color-stop(1, #00557F) );background:-moz-linear-gradient( center top, #0088DD 5%, #00557F 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088DD', endColorstr='#00557F');background-color:#0088DD; }
   .datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover { text-decoration: none;border-color: #00557F; color: #FFFFFF; background: none; background-color:#0088DD;}
   
   div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}