/* stili body */
body{
background-attachment:fixed;
background-image:url('../../sfaranc.gif');
background-repeat: repeat;
background-color:white
}


/* modifiche tabelle */

/* sfondo e altro per prima riga e intestazioni intermedie */
table:not(.striscia_superiore) tr:first-of-type td, table:not(.striscia_superiore) td[bgcolor]:not([bgcolor="#ffffff"i]) {
  background-color: #0000A0!important;
  height: auto!important;
}


/* colore testo potente per prima riga e intestazioni intermedie */
table:not(.striscia_superiore) tr:first-of-type td *, table:not(.striscia_superiore) td[bgcolor]:not([bgcolor="#ffffff"i]) * {
color: #ffffff!important; /* testo bianco */
}

/* tutte le altre caselle td */
table:not(.striscia_superiore) tr:not(:first-child) td {
  background-color: #ffffff!important; /* Sfondo bianco per tutte le altre righe */
  color: #000000!important; /* e testo nero */
  height: auto!important;
}


/* colore testo colonna più a destra */
/* Variante 1: Se la cella non ha proprio il bgcolor */
table:not(.striscia_superiore, .nodopp) tr:not(:first-child) td:last-child:not([bgcolor]) *:not(a),
/* Variante 2: Se la cella ha il bgcolor ed è bianco */
table:not(.striscia_superiore, .nodopp) tr:not(:first-child) td:last-child[bgcolor="#ffffff"i] *:not(a) {

   color: #66a8ff!important; /* #66a8ff #79a8e5 #37a1ff #60B0D0 #7080E0 #8e8eff #40C040!important; */
}



/* padding delle celle solo per versione desktop */
@media (min-width: 971px) {
/* prima riga e intestazioni intermedie */
table:not(.striscia_superiore) tr:first-of-type td, table:not(.striscia_superiore) td[bgcolor]:not([bgcolor="#ffffff"i]) {
   padding: 0!important;
}
/* tutte le altre caselle td */
table:not(.striscia_superiore) tr:not(:first-child) td {
   padding: 0!important;
}

}





/* link nelle tabelle */

 /* Link normali (non ancora visitati) */
table:not(.striscia_superiore) a:link {color: #0000E0;}

/* Link visitati */
table:not(.striscia_superiore) a:visited {color: #0000E0;}

/* Link hover (mentre ci passa il puntatore) */
table:not(.striscia_superiore) a:hover {color: #6060F0;} 

/* Link attivi (mentre ci clicchi sopra) */
 table:not(.striscia_superiore) a:active {color: #660021;}
 

