/**/
body{
  font-family: "Poppins",sans-serif;
  padding:0;
  margin-left: 0;
  margin-right: 0;
  background-color: antiquewhite;
}

.peggle-header-image{
  height: 40px;
  position: absolute;
  left: 12px;
  cursor: pointer;
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*MODIFICARE IL CONTENUTO DEL NAV*/


/*Barra di navigazione laterale*/
.sidebar{
 /* position: fixed;*/
  left: 0;
  margin-top: 70px;
  /*bottom: 0;*/ /*Se attivo la colonna va fino al fondo della pagina*/
  top: 50px; 
  width: 200px;
  background-color:#F5F5F5;
  z-index: 50;
  overflow: auto;
  border-image: linear-gradient(to right, #000, #fff) 1;
  border-image-slice: 1;

}

/*sidebar DIV DELLA SCRITTA 'Statistiche'*/
.sidebar-header{
  font-family: "Oswald",sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.1;
  padding-top: 12px;
  padding-left: 12px;
  padding-bottom: 12px;
  border-bottom: 0.1px solid #F5F5F5;
  background-color:  rgb(39,39,44);
  color: white;
}

/*sidebar div di tutte le sottostatistiche*/
.sidebar-statistics{
  position: relative;
  display: block;
  flex-direction: column;
  row-gap: 2px;
  margin-top: 10px;
  box-sizing: border-box;
}

/*Singola div sottostatistica*/
.stat-div{
  color: black;
  background-color:#F5F5F5;
  height: 40px;
  padding-left: 12px;
  padding-top: 12px;
  cursor: pointer;
  border-bottom: 1px solid grey;
}

.stat-div:hover{
  background-color:  rgb(39,39,44);
  color: #F5F5F5;
  transition: background-color 0.15s;
}

.stat-div:active{
  opacity: 0.8;
}

.attivo{
  background-color: rgb(98, 98, 100);
  color: white;
}




.sub-stat-div{
  color: black;
  background-color:rgb(213, 208, 208);
  height: 40px;
  top: 0;
  padding-left: 12px;
  padding-top: 12px;
  cursor: pointer;
  border-bottom: 1px solid grey;
}

.sub-stat-div:hover{
  background-color:  rgb(39,39,44);
  color: #F5F5F5;
  transition: background-color 0.15s;
}

.sub-stat-div:active{
  opacity: 0.9;
}


.sub-attivo{
  background-color:  rgb(39,39,44);
  color: #F5F5F5;
}

.stat-div-menu{
  margin-top:0px;
  display: none;
  position: absolute;
  z-index: 1;
  color: black;
  background-color:#F5F5F5;
  height: 30px;
  width: 200px;
  left: 0;
  padding-left:0 ;
  cursor: pointer;
  border-bottom: 1px solid grey;
}


#max-min-global-menu1, #max-min-global-menu2{
  height: 40px;
}



/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*MODIFICARE IL CONTENUTO DEL MAIN*/

#tabella_output{
      position: fixed;
      top: 70px;
      left: 43%;
      transform: translateX(-50%);
}




.loader {
      position: fixed;
      top: 70px;
      left: 10%;
      transform: translateX(-50%);

  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  margin-left: 250px;
  margin-top: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}



table {
  border-collapse: collapse;
  position: relative;
  display : block ;
  overflow : auto;
  max-Height : 1000px;

  width: 90%;
  margin-left: 250px;
  background-color:  rgb(245, 245, 245);
}

thead{
  position : sticky;
  top : 0;
  background-color : #f5f5f5;
}

th, td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}



.att{
  background-color: rgb(98, 98, 100);
  color: white;
}



