	.panel-default>.panel-heading {
		color: #333;
		background-color: #fff;
		border-color: #ddd;
		border:0px;
	}
	.panel {
		margin-bottom:0;
		border-radius:0px;
	}
	.logo_torneo {
		width:10rem;
		margin:1rem;
	}
	.logo_torneo2 {
		width:6rem;
		margin:1rem;
	}
	.logo_sponsor {
		width:3rem;
		margin:.1rem;
	}
	#sponsor_tecnici{
		display:none;
	}
	@media (min-width: 960px) { /* desktop */
		.logo_torneo {
			width:30rem;
			margin:3rem;
		}
		.logo_torneo2 {
			width:16rem;
			margin:3rem;
		}
		.logo_sponsor {
			width:7rem;
			margin:1rem;
		}
		#sponsor_tecnici{
			display:block;
		}

	}

	/* menu classifiche */
	nav {
		width: 100%;
		background-color: #183a77;
		overflow: auto;
		text-align: center;
	}
	
	ul {
		list-style-type: none;
		padding: 0;
		margin: 0;
	}
	
	li {
		float: left;
	}
	
	li a {
		display: block;
		color: white;
		text-align: center;
		padding: 14px 16px;
		text-decoration: none;
	}
	
	.titolo {
		display: block;
		color: white;
		text-align: center;
		padding: 14px 16px;
		text-decoration: none;
	}
	
	li a:hover {
		background-color: #111;
		color: goldenrod;
	}
	
	.showMenu{width:40px;border:1px solid black;margin:auto;color:black;text-align:center;font-size:30px;margin-bottom:10px;
		display:none}
		
	/* invisibilità checkbox: Il checkbox va nascosto in ogni caso ed il menu comparirà quando esso verrà selezionato tramite click sull’etichetta */
	input[type=checkbox]{display:none}

	/* La tilde alt126 permette di selezionare tutti gli elementi B presenti in A;  qui sta a significare che dà visibilità al menu quando il checkbox viene selezionato. */
	input[type=checkbox]:checked ~ #menu{display:block}

	@media only screen and (max-width: 768px) {
  
		#menu{border-radius:0;text-align:center;display:none}
		  
		/* rendo gli elementi dei menu elementi di blocco */  
		ul li{display:block}
		  
		/* imposto la larghezza massima per gli elementi dei menu e i links */  
		#menu li .hidden li,#menu li .hidden li a, ul li,ul li a{padding-right:0;padding-left:0;width:100%;border-right:none}
		  
		/* mostro il sottomenu solo al passaggio del mouse */   
		#menu li .hidden li{display:none}
		#menu li:hover .hidden li{display:block}  
		
		/* resetto la posizione degli elementi del menu. static valore di default. Gli elementi sono mostrati in ordine, come appaiono nel flusso del documento */  
		#menu li{position:static}  
		  
		/* resetto la posizione del sottomenu e lo mostro */  
		#menu li .hidden{position: static;visibility:visible}
		  
		/* nessuna animazione al passaggio del mouse */  
		#menu li:hover .hidden{margin:0} 
		  
		/* colore di sfondo agli elementi del menu e del sottomenu */
		#menu li{background-color:#3E3E3E}
		#menu li .hidden li{background-color:darkblue}  
		  
		/* mostro il pulsante del menu nella versione mobile*/
		.showMenu{display:block;color:white;border: none;}  
		  
	}

	.bold {
        font-weight: bold;
    }

	/* tabella con classifiche nazionali */
	table {
		border-collapse: collapse;
	}
	th {
		background-color: #000000;
		padding: 5px;
		color: rgb(255, 255, 255);
	}  
	td {
		text-align: left;
		padding: 8px;
	}
	tr[data-header] {
		background-color: #000000;
	}
	
	tr:not([data-header]):nth-child(odd) {
		background-color: rgb(182, 218, 230);
	}
	
	tr:not([data-header]):nth-child(even) {
		background-color: lightcyan;
	}
	
	tr:not([data-header]):hover {
		background-color: rgb(230, 127, 210);
	}
	

	#tabella_tornei tr:nth-child(odd) {
		background-color: rgb(243, 242, 167);
	}  
	#tabella_tornei tr:nth-child(even) {
		background-color: rgb(247, 246, 210);
	}  

	.flag {
		width: 20px;
	}

	.points {
		text-align: right;
	}

	table tr[data-value="R"]:nth-child(even) {
		background-color: #ffeeee; /* rosso chiaro */
	}
	
	table tr[data-value="R"]:nth-child(odd) {
		background-color: #f3dcdc; /* rosso scuro */
	}

	table tr[data-value="Q"]:nth-child(even) {
		background-color: #fcf3e0; /* rosso chiaro */
	}
	
	table tr[data-value="Q"]:nth-child(odd) {
		background-color: #fdedce; /* rosso scuro */
	}

	.hide-on-small {
		display: inline;
	}
	
	.show-on-small {
		display: none;
	}
	
	@media (max-width: 800px) {
		.hide-on-small {
			display: none;
		}
	
		.show-on-small {
			display: inline;
		}
	}

	.autosize-100 {
		width: fit-content;
		max-width: 100%;
		display: inline-block;
	}

	/* gestione dell'intestazione */
    .header {
        height: 60px;
        background-color: #000000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }

    .logo {
        max-height: 50px;
		max-width: 100%;
		width: auto;
		height: auto;
		object-fit: contain;
        padding-right: 10px;
    }

    .navigation {
        display: flex;
        gap: 20px;
    }

    .navigation a {
        text-decoration: none;
        color: #ffffff;
        font-weight: bold;
    }

	@media (max-width: 600px) {
		.header {
		  height: auto;
		  flex-direction: column;
		  padding: 20px;
		  text-align: center;
		}
	  
		.logo {
		  margin-bottom: 10px;
		}
	  
		.navigation {
			display: flex;
			gap: 20px;
			flex-wrap: nowrap;
			overflow-x: auto;
		}
	
		.navigation a {
			white-space: nowrap;
		}
	  }
	  
	.footer {
        height: 60px;
        background-color: #000000;
		color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }
	.footer a {
        text-decoration: none;
        color: #ffffff;
        font-weight: bold;
    }

	/* gestione dimensione del carattere per schermi piccoli */
	@media (max-width: 600px) {
		/* Resto dello stile CSS */
	  
		table td,
		table th {
		  font-size: 12px;
		}
		.footer {
			font-size:12px ;
		}
	  }	
	
	/* colorazione tabella risultati*/
	
	  #tabellaRisultati tbody tr.PoolA,#tabellaRisultati tbody tr.PA  {
		background-color: #FEDCD2 ;
	  }
	  
	  #tabellaRisultati tbody tr.PoolB,#tabellaRisultati tbody tr.PB  {
		background-color: #F9CFCB ;
	  }
	  
	  #tabellaRisultati tbody tr.PoolC,#tabellaRisultati tbody tr.PC {
		background-color: #F7C1BF ;
	  }
	  
	  #tabellaRisultati tbody tr.PoolD,#tabellaRisultati tbody tr.PD {
		background-color: #FDE9D9 ;
	  }

	  #tabellaRisultati tbody tr.Roundof12,#tabellaRisultati tbody tr.R12 {
		background-color: #FCDCC8 ;
	  }
	  
	  #tabellaRisultati tbody tr.Quarterfinals,#tabellaRisultati tbody tr.QF {
		background-color: #FACDB3 ;
	  }
	  #tabellaRisultati tbody tr.Semifinals,#tabellaRisultati tbody tr.SF {
		background-color: #D3E8D9 ;
	  }
	  #tabellaRisultati tbody tr.Final3rdPlace,#tabellaRisultati tbody tr.F3 {
		background-color: #c2c2c2;
	  }
	  #tabellaRisultati tbody tr.Final1stPlace,#tabellaRisultati tbody tr.F1 {
		background-color: #ede725;
	  }
	  #tabellaRisultati tbody tr.Round1,#tabellaRisultati tbody tr.I {
		background-color: #cecece;
	  }
	  #tabellaRisultati tbody tr.Round2,#tabellaRisultati tbody tr.II {
		background-color: #bbb9b9;
	  }
	  
	  #dettaglioPunti {
		position: absolute;
		top: 0;
		left: 0;
		display: none;
		/* Altri attributi di stile come larghezza, altezza, sfondo, ecc. */
	  }

	  .player-header {
        height: 30px;
        background-color: #343232;
		color: #ede725;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
	  }
	
	  .hidden-column {
		display: none;
	  }
	