/*sezione personalizzata fte */

/* grid */
html, body {
    height: 100%;
    /* background-color: black;
    color: whitesmoke; */
  }

:root{
    /* DImensione standard del fotn di tutto il Sito */
    --font-size-base: .8rem;
}
  
body {
    display: flex;
    flex-direction: column;
    color:#3c657e;
    font-size: var(--font-size-base);
}
.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
}
.custom-overlay.show {
    display: block;
}

/* Assegna valore ad una Variabile */
/* .btn-primary {
    --bs-btn-bg:  #760404 !important;
    --bs-btn-border-color: #410108 !important;

    --bs-btn-hover-bg: #cf2626 !important;
    --bs-btn-hover-border-color: #d6b9b9 !important;
} */

 .btn-primary {
    --bs-btn-bg:  #4330d3  !important;
    --bs-btn-border-color: #0848d3 !important;

    --bs-btn-hover-bg: #796be3 !important;
    --bs-btn-hover-border-color: #6557d7 !important;
} 


  
.container-fluid {
    flex: 1 0 auto;
 
}
  
footer {
   flex-shrink: 0;
   background-color: #9bbcd0;
   color: #fff;
   -webkit-box-shadow: 0px -4px 20px 0px rgba(51,51,20,0.56);
   -moz-box-shadow: 0px -4px 20px 0px rgba(51,51,20,0.56);
    box-shadow: 0px -4px 20px 0px rgba(51,51,20,0.56);
    border-top:1px solid #fff;
    text-align:right;
    font-size:14px;
    padding:10px 10px 2px 0px;
  }
  


.row.header, .header-grid{
    font-style: italic;
    border-bottom: solid 1px gray;
}

.sub-title-box-menu{
    font-size: 12px;
    font-style: italic;
    padding-bottom: 6px;

}


.src-fld {
    font-weight: normal;
    font-size: 1.0em;
}

.src-value {
    font-weight: bold;
}



.src-info {
    margin:auto;
}



.size-a {
    width: 180px;
}
.size-b {
    width: 280px;
}
.size-btn {
    width: 80px;
}




.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


.page-container{
    margin-top: 5px;
    width: 100%;
}

.row.selectable:hover{
    background-color:rgba(180, 180, 180, 0.305);
    z-index: 1000;
}
.delete-lock{
    padding: 4px;
}
.delete-lock:hover{
    background-color:white;
    border: solid 1px #000000;
    border-radius: 5px;
    z-index: 1000;
}


.material-symbols-outlined.index{
    font-size: 2.2em;
}

.modal-xl-custom {
    max-width: 95vw; /* 95% della larghezza viewport */
}

.order-email-link{
    cursor: pointer;
    color: white;
    text-decoration: underline;
}

.text-preview {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    cursor: pointer;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.text-preview:hover {
    max-height: 200px; /* Mostra più testo al passaggio del mouse */
    background-color: #f6f6f6; /* Cambia colore di sfondo al passaggio del mouse */
    border-radius: 4px;
    -webkit-line-clamp: None; /* Rimuove il limite di linee al passaggio del mouse */
    display: block;
    padding-left: 5px;
}
.text-preview.expanded {
    max-height: none; /* Rimuove il limite di altezza quando espanso */
}

#local-bridge-status{
    background-color: gray;
    border-radius: 5px;
    padding: 6px;
    color: white;
}
#local-bridge-status.running{
    background-color: rgba(0, 255, 0, 0.693);
    color: white;
}

/* mouse hover delle ricerche */
#lookup_container_unit{
  position: absolute;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 8px #b2b2b2;
  z-index: 1000;
}