
/*@media screen and (min-width: 1370px) {
.fixTableHead {  height:600px; }
}

@media screen and (max-width: 1366px) {
.fixTableHead {  height:400px; }
}

@media screen and (max-width: 800px) {
.fixTableHead {  height:100px; }
}
*/
@media screen and (min-width: 1360px) {
/* -----PER TABELLE CON TESTATA FISSA-------*/
   .fixTableHead {
      width: 100%;
      overflow-y: auto;
    
    }
    .fixTableHead thead th {
	  background: #CCCCCC;
	  position: sticky;
      top: 0;
    }
    table {
      border-collapse: collapse;        
      width: 100%;
    }
    th, td {
      padding: 8px 15px;
    }
    th,thead  {
	  background:#CCCCCC;  
    }
/* -------------------------------*/
}

.rg-container {
    max-width: 100vw;
    overflow-x: scroll;
    margin: 0;
}
.rg-content {
    height: 300px;
    overflow: scroll;
}
.rg-header {
    margin-bottom: 1em;
    text-align: left;
}

.rg-header > * {
    display: block;
}

/* table */
table.rg-table {
    width: 100%;
    font-size: .9rem;
    text-align: left;
}
table.rg-table thead {
}

table.rg-table tr {
 /*   border-bottom: 1px solid #ddd;
      color: #222;  */
}
table.rg-table tr.highlight {
/*    background-color: #dcf1f0 !important; */
}
table.rg-table.zebra tr:nth-child(even) {
 /*   background-color: #f6f6f6;  */
}
table.rg-table th {
    font-weight: bold;
    padding: 0.35em;
    font-size: .9rem;
 /* color:white;
  border:1px solid #ccc;
  */
}
table.rg-table td {
    padding: 0.35em;
    font-size: .9rem;
/*  border:1px solid #ccc; */
}
table.rg-table .highlight td {
  /*  font-weight: bold;  */
}
table.rg-table th.number, td.number {
    text-align: right;
}

/* media queries */
@media screen and (max-width: 800px) {
.rg-container {
    /*max-width: 800px;*/
    margin: 0 auto;
}
table.rg-table {
    width: 100%;
}
table.rg-table tr.hide-mobile, table.rg-table th.hide-mobile, table.rg-table td.hide-mobile {
    display: none;
}
table.rg-table thead {
    display: none;
}
table.rg-table tbody {
    width: 100%;

}
table.rg-table tr, table.rg-table th, table.rg-table td {
    display: block;
    padding: 0;
}
table.rg-table tr {
/*    border-bottom: none; */
    margin: 0 0 1em 0;
    padding: 0.5em;
}
table.rg-table tr.highlight {
  /*  background-color: inherit !important; */
}
table.rg-table.zebra tr:nth-child(even) {
   /*   background-color: none;  */
}
table.rg-table.zebra td:nth-child(even) {
   /*   background-color: #f6f6f6;  */
}
table.rg-table tr:nth-child(even) {
  /*    background-color: none;  */
}
table.rg-table td {
    padding: 0.5em 0 0.25em 0;
 /*   border-bottom: 1px dotted #ccc;  */
    text-align: right;
}
table.rg-table td[data-title]:before {
    content: attr(data-title);
    font-weight: bold;
    display: inline-block;
    content: attr(data-title);
    float: left;
    margin-right: 0.5em;
    font-size: 0.95em;
}
table.rg-table td:last-child {
    padding-right: 0;
/*    border-bottom: 2px solid #ccc;  */
}
table.rg-table td:empty {
    display: none;
}
table.rg-table .highlight td {
/*    background-color: inherit;  */
    font-weight: normal;
}