/* ________________BOTTONI_________________*/
.blubut {
  display: inline-block;
  padding: 10px 20px;
  background-color: #008CBA;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.smagrebut {
  display: inline-block;
  padding: 3px 7px;
  background-color: lightgreen;
  color: black;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.grebut {
  display: inline-block;
  padding: 10px 20px;
  background-color: green;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.redbut {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FF0000;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.orabut {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FF8000;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.yelbut {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFFF00;
  color: black;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.smaorabut {
  display: inline-block;
  padding: 3px 7px;
  background-color: #FF8000;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.smablubut {
  display: inline-block;
  padding: 3px 7px;
  background-color: #008CBA;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.smaredbut {
  display: inline-block;
  padding: 3px 7px;
  background-color: #FF0000;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
/* ________________CORNICE_________________*/
.cornice {
  border: 2px solid #000; /* Spessore, stile e colore del bordo */
  padding: 10px;         /* Spazio interno tra contenuto e bordo */
  margin: 15px;          /* Spazio esterno tra il riquadro e altri elementi */
}
/* ________________BARRA DI NAVIGAZIONE_________________*/
.topnav {
   position: sticky; 
   background-color: #333;
    overflow: hidden;
    z-index: 1000;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #4CAF50;
    color: white;
}

.topnav a.user {
    background-color: #FF8000;
    color: white;
}
/*__________________flexNAV______________*/
.flenav { 
	display:flex;
	flex-direction:row;
	flex-wrap: wrap;
	background-color: #333;
	overflow: hidden;
	z-index: 1000;
}
.flenav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
/* Change the color of links on hover */
.flenav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.flenav a.active {
    background-color: #4CAF50;
    color: white;
}

.flenav a.user {
    background-color: #FF8000;
    color: white;
}
/* ________________TABELLE MYSQL_________________*/
.contenitore_tabella {
  overflow-x: scroll;
}
/* ________________FORM_________________*/
.formtext {
 font-size: 18px;
}
.forminput {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
/*----------------------------DISPLAY-----------------*/
.flex {
display:flex;
flex-direction:column;
}
.flecol {
display:flex;
flex-direction:column;
gap: 20px;
background-color: white;
/*justify-content: space-between;*/
}
.flecol5 {
display:flex;
flex-direction:column;
gap: 15px;
background-color: blue;
/*justify-content: space-between;*/
}
.flecol1 {
display:flex;
flex-direction:column;
gap: 15px;
background-color: lightblue;
/*justify-content: space-between;*/
}
.flerow {
display:flex;
flex-direction:row;
justify-content: space-between;
}
.flerowdow {
	display: flex;
	flex-direction:row;
	justify-content: space-between; /* Spazio tra gli elementi */
/*	align-items: center;*/
/*	margin-top: auto*/
}
.item {
    flex-grow: 1; /* Per farli espandere e riempire lo spazio */
    /* flex-basis: 100px; */ /* Larghezza base */
}
.item1 { 
flex: 0 0 15px; 
width: 300px;
}
.item0 { 
flex: 0 0 1px; 
width: 300px;
}
.down{
position: fixed;
bottom:0px;
}

/*------------------------BARRA DI CARICAMENTO-------------*/
.progress-container {
    width: 100%;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden; /* Nasconde l'overflow della barra */
    height: 25px;
}

.progress-bar {
    height: 100%;
    width: 0%; /* Inizia da 0% */
    background-color: #4CAF50; /* Verde */
    text-align: center;
    line-height: 25px; /* Centra il testo (se presente) */
    color: white;
    transition: width 0.3s ease-in-out; /* Animazione morbida */
}
.centrato_flex {
  display: flex;         /* Attiva Flexbox */
  justify-content: center; /* Centra orizzontalmente */
  align-items: center;     /* Centra verticalmente */
  height: 100vh;         /* Altezza del contenitore (es. 100% viewport height) */
  width: 100%;
}

.centrato {
  position: absolute;
  top:40%;
  left:50%;
  transform: translate(-50%, -50%);
}
