/* le parole con spazio non le porta a capo */

/* styles.css */

/* Altri stili CSS del tuo progetto */

/* @import "~@fortawesome/fontawesome-free/css/all.min.css"; */
 

/* @import '../../node_modules/@fortawesome/fontawesome-free/css/all.min.css'; */



/* html, body {
	width: 100%;
	height: 100%;
	margin: 0px;
	overflow: hidden;
    background-color: red;
} */

/* resetcss */
/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
.butw{
  width: 100%;
}
.su{
  margin-top: -100px;
}
#tabana tbody tr {
  height: 40px;  
}
 
 
div#layoutObj {
  position: relative;
  width: 100%;
  height: 80vh;
  top: 15px;
}
div#grid {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.navBarH{
  height: 98px;

}
.fa-heart:before {
  content: "\f004"
}

#home{
    white-space: nowrap;
}
#about{
  white-space: nowrap;
}
#contact{
  white-space: nowrap;
}
#contratto{
  white-space: nowrap;
}
#anagrafica{
  white-space: nowrap;
}
#dhx{
  white-space: nowrap;
}


#content1{
  background-color: red;
}
.containerLogin {
    width: 90%; /* Larghezza del 80% rispetto al contenitore genitore */
    max-width: 300px; /* Larghezza massima del div */
    height: 60vh; /* Altezza del 50% rispetto all'altezza dello schermo */
    position: relative;
    /* border: 1px solid red; */
    margin: 0 auto; /* Per centrare il div orizzontalmente */
    height: 70vh;
  
    @media (max-width: 768px) {
      /* Adattamenti per schermi più piccoli */
      width: 90%;
      max-width: none;  
      height: 55vh;  
    }
    @media (max-width: 666px) {
      /* Adattamenti per schermi più piccoli */
      width: 90%;
      max-width: none;  
      height: 40vh;  
    }
  }
  .obj{   
    position: absolute;
  /* bottom: -390px; */
  }

  .visible {
    visibility: visible;
  }
  
  .hidden {
    visibility: hidden;
  }
  
  .alert {
    position: fixed;
    top: 2%;  
    left: 50%; 
    transform: translateX(-50%);  
    z-index: 1000;  
    width: 90%;  
    max-width: 90%;  
    
    color: #fff;  
    padding: 1rem;  
    border-radius: 0.5rem;  
  }

  #tabana tr:hover {
    background-color: #f5f5f5;  
    font-size: 24px;
  }
  
  #tabana:hover tr {
    /* font-size: 14px; */
    /* background-color: initial;  */
    /* Ripristina il colore di sfondo */
  }

.select-open {   
    background-color: #413e3e;
}
/* select#prodotti {
  width: 140px;
  margin-top: 1px;
  padding: 10px;
} */

select.cla_sel {
  width: 140px;
  margin-top: 1px;
  padding: 10px;
}

/* select */
.max-w-270{
  width: 250px;
  margin-top: 8px;
  display: block;
 
}
 
 
 

#navLogin.flex {
  outline: none !important;
}


/* .relative:hover i {
 
  color: blue;
} */

.relative:hover select {
  
  display:block;
   background-color: 800;
  
}
/* click tabella colore bck */
.selected {
  background-color: #7d90ec; 
}
.h-10{
  height: 36px;
}
 /* Stili per dispositivi non mobili */
 /* @media (min-width: 640px) {
  .mobile-hidden {
      display: none;
  }
} */

/* Stili per dispositivi mobili */
/* @media (max-width: 639px) {
  .mobile-visible {
      display: none;
  }
} */
/* ridimensiono la tabella quando mobile */
@media only screen and (max-width: 639px) {
  #table-container {
      height: 450px;
      overflow-y: auto;
  }
  #bloccostatus{
    display: none;
  }
}
@media only screen and (min-width: 640px) {
  #table-container {
      max-height: 560px; /* Altezza massima della tabella */
      overflow-y: auto; /* scrolling verticale quando quando numero righe è > */
  }
}
#textarea {
/*   resize: vertical; Consentire il ridimensionamento verticale */
}


/* select#prodotti:hover {
  border-color: blue; /* Cambia il colore del bordo durante l'hover */
 /* background-color: gray;  */
  /*color: white;  */
  /* width: 200px; */
/*} 
*/
select.cla_sel:hover {
  border-color: blue;  
  background-color: gray; /* Cambia il colore dello sfondo durante l'hover */
  color: white; /* Cambia il colore del testo durante l'hover */
  /* width: 200px; */
}

/* div commentato in index.html */
.blk4 {
  position: fixed;  
  bottom: 0;  
  left: 0; 
  width: 10%;  
  background-color: lightblue;  
  padding: 10px;  
  text-align: center;  
  z-index: 9999;  
}

 
::-webkit-scrollbar {
  width: 12px; /* larghezza della scrollbar */
}

/* Colore di sfondo della scrollbar */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

 
::-webkit-scrollbar-thumb {
  background: #bfbcbc; 
  border-radius: 5px;  
}

/* Hover della scrollbar  #555; */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.spinner {
  display: none; /* Nascondi la rotellina di default */
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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


/* nuove regole x la tabella */


.table-container {
  position: relative;
  max-height: 400px; /* Adjust as needed */
  overflow-y: auto;
}

#product-table {
  width: 100%;
  border-collapse: collapse;
}

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

#product-table thead th {
  position: sticky;
  top: 0;
  background-color: #f1f1f1;
  z-index: 1; /* Ensure the header is above the table rows */
}

#total-row {
  position: sticky;
  bottom: 0;
  background-color: #f1f1f1;
  font-weight: bold;
  z-index: 1; /* Ensure the footer is above the table rows */
}
/* table transazione categoria */





