body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f2f2f2;
}

#utePage, #homePage {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#superAdPage{
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.form-wrapper {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 450px;
    /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
    box-shadow: 0px 0px 12px #005091;
    border: 1px solid #005091;
    margin-top: -200px;
}

.inattivo{
  color: #005091 !important;
  
}

.attivo{
  color: #005091 !important;
  font-weight: bold !important;
}

.nav-tabs{
  background-color: #00509106 !important ;
}

.modalehome{
  position: fixed;
  margin-top: 200px;
}

.homeheader{
 background-color: #005091;
 color: white;
 font-weight: bold;
}

.headerbutton{
  filter: invert(100%) !important;
}

.dittat,
.catm {
    padding: 10px 20px;
    background-color: #005091;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    transition: ease-in-out 0.2s; /* Per un effetto di transizione fluido */
    margin-right: 10px; /* Solo per il pulsante .dittat, può essere tolto per .catm */
    
}

.dittat:hover,
.catm:hover {
    background-color: #003f73; /* Colore più scuro per l'hover */
    transform: scale(1.05);
}


.loginc{
  margin-bottom: -200px;
}

.sticky-bottom {
  position: sticky;
  bottom: 0;
  width: 100%;
}

.container2 {
  display: flex;
  justify-content: center; 
  align-items: center;     
  height: 50vh;            
} 

.fullscreen-image {
  width: 50%;               /* Mantiene la dimensione attuale dell'immagine */
  max-width: 100%;          /* Assicura che non ecceda la larghezza del contenitore */
}


footer {
    color: black;
    text-align: center;
    padding: 10px 0;
}

form {
    margin-bottom: 20px;
}

input[type="email"],
input[type="password"],
input[type="submit"],
input[type = "text"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

#valid{
    text-align: center;
    justify-content: center;
    align-items: center
}
.remember-me {
    float: left;
}

.forgot-password {
   float: right;
}

input[type="submit"] {
    background-color: #005091;
    color: white;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #012746;
} 

.btn-primary {
  background-color: #005091 !important;  /* Colore di sfondo personalizzato */
  color: rgb(255, 255, 255) !important; /* Colore del testo */
  border: none; /* Rimuovi il bordo */
  padding: 10px 20px; /* Padding interno */
  cursor: pointer; /* Cambia il cursore al passaggio sopra il pulsante */
}

.offcanvas {
    width: 250px; /* larghezza della sidebar */
    
  }
  /* Header centrato */
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    color: rgb(255, 255, 255)!important;
  }

  .bg-custom {
    background-color: #005091; /* Colore di sfondo personalizzato */
  }
  
.navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px; /* Aggiunge spazio sopra i nav item */
  }
  .navbar-nav .nav-item .btn {
    width: 300px; /* Larghezza dei pulsanti */
    font-size: 18px; /* Dimensione del testo */
  }
  
  .btn-close.custom-white {
    filter: invert(100%) !important;
  }



  .navbar-toggler{
    background-color: white !important;
  }

  .navbar-app{
    margin-right: 10px !important;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none; /* Rimuove la sottolineatura */
  }

  .offcanvas-header{
    color: white !important;
  }
  #offcanvasRight {
    background-color: #005091; /* Sfondo blu dal logo myitaly */
  }

  /* Stile per i pulsanti */
  .btn-light {
    background-color: #ffffff; /* Sfondo bianco */
  }

  /* Stile per il footer */
  .sidebar-footer {
    padding: 10px;
    background-color: #ffffff; /* Sfondo azzurrino */
    text-align: center;
    margin-top: auto; /* Posizionamento al fondo della sidebar */
    
  }

footer {
    text-align: center;
    position: static;
    width: 100%;
}

footer {
    text-align: center;
    color: #fff;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: black;
}

.footer-section p {
    font-size: 14px;
    color: black;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    color: black;
}

.footer-section ul li {
    margin-bottom: 5px;
    color: black;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    color: black;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-section button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #4CAF50;
    color: #fff;
    font-size: 16px;
}

.footer-section button:hover {
    background-color: #45a049;
}



  @media
	only screen 
    and (max-width: 760px), (min-device-width: 768px) 
    and (max-device-width: 1024px)  {

		table, thead, tbody, th, td, tr {
			display: block;
		}

		thead tr {
			position: absolute;
			top: -9999px;
			left: -9999px;
		}

    tr {
      margin: 0 0 1rem 0;
    }

    
		td {
			border: none;
			border-bottom: 1px solid #eee;
			position: relative;
			padding-left: 50%;
      padding: 16px;
		}

		td:before {
			top: 0;
			left: 6px;
			width: 45%;
			padding-right: 10px;
			white-space: nowrap;
		}
		td:nth-of-type(1):before { content: attr(title); }
		td:nth-of-type(2):before { content: attr(title); }
		td:nth-of-type(3):before { content: attr(title); }
		td:nth-of-type(4):before { content: attr(title); }
		td:nth-of-type(5):before { content: attr(title); }
		td:nth-of-type(6):before { content: attr(title); }
		td:nth-of-type(7):before { content: attr(title); }
		td:nth-of-type(8):before { content: attr(title); }
		td:nth-of-type(9):before { content: attr(title); }
	}
  #tabellaSuperAd {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    table-layout: fixed; /* Imposta la larghezza delle colonne in base alla larghezza della tabella */
  }
  .table-container {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden; /* Nasconde lo scrolling orizzontale */
    border-radius: 10px !important;

  }
  
  #tabellaSuperAd th,
  #tabellaSuperAd td {
    padding: 8px;
    border: 1px solid #ddd;
    white-space: nowrap; /* Evita il wrapping del testo nelle celle */
    overflow: hidden; /* Nasconde il testo in eccesso */
    text-overflow: ellipsis; /* Aggiunge "..." alla fine del testo se è troppo lungo */
  }
  
  #tabellaSuperAd thead th {
    background-color: #f2f2f2;
    resize: horizontal;
    top: 0;
    position: sticky;
    min-width: fit-content;
  }
  
  
  #tabellaSuperAd tbody {
    max-height: 400px; /* Imposta un'altezza massima per la tabella */
    overflow-y: auto; /* Aggiungi una barra di scorrimento verticale se necessario */
  }
  
  .pagination {
    margin-top: 50px;
  }
  
  .pagination li {
    display: inline-block;
    margin-right: 5px;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #f2f2f2;
    cursor: pointer;
  }
  
  .pagination li.active {
    background-color: #007bff;
    color: #fff;
  }
  
  .pagination li a {
    text-decoration: none;
    color: inherit;
  }
  
  #maxRows {
    width: auto; /* Modifichiamo la larghezza in auto per consentire all'elemento di adattarsi dinamicamente al contenuto */
    margin-top: 50px; /* Riduciamo lo spazio superiore rispetto al valore precedente per mantenere un aspetto più equilibrato */
  }
  
  /* Stile dei filtri */
  #filtriTab {
    padding: 10px;
    margin-bottom: 20px; /* Spazio sotto il filtro */
  }
  
  .footer {
    margin-top: auto; /* Aggiungi spazio sopra il footer */
  }

  .footer-logo {
    width: 150px; /* dimensione img footer */
    height: auto;
  }
  

  .cancFilter{
    display: none;
  }
  .dropdown-items{
    cursor: pointer;
  }
  
  
