select.readonly {
  pointer-events: none;
  background-color: #eee;
}
.button-centered-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-centered-icon i {
  position: absolute;
  left: 1rem;
}
.h-90 {
    height: 90% !important;
}

.breadcrumb, .btn, .dropdown-menu .dropdown-item, .nav-pills .nav-link, .nav-tabs .nav-link, .navbar .nav-link, .pagination, .sandstone, .tooltip {
    text-transform: inherit !important;
}

.modal-dialog{max-height: 100% !important;}

#bootBoxAdmin .modal-dialog {
  max-width: 83%;
  height: 90%; /* ou ce que tu veux */
}

#bootBoxAdmin .modal-content {
  height: 100%;
}

.nav-link.inactive{ background-color: rgba(255,255,255,0.35);  }

a { text-decoration: none}
.card-header {
    display: block !important;
}
.bootbox-close-button {
	display: none !important;
}

.pointer { cursor: pointer;}

#DBA_CH_BACKGROUND {max-width: 300px}

.card { background-color: rgba(245, 245, 245, 0.9); }
.card-header { background-color: white; }

.card-body.h-100{ overflow-y: scroll}

.displayNone{
	display: none;
}

.input-group-text {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: inherit;
}

.modal-custom-width {
    width: 80%; /* Ajustez ce pourcentage selon vos besoins */
    max-width: none; /* Supprime la limite de largeur maximale */
 }
 
.text-pre-wrap {
     white-space: pre-wrap;
} 

.sticky-header {
    position: sticky;
    top: 0;
    background-color: inherit; /* Conserve la couleur de fond */
    z-index: 2; /* Assure que les éléments sticky restent au-dessus des autres */
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: #ffffff !important; /* Assurez-vous que la couleur de fond est visible */
    z-index: 3; /* Z-index pour les lettres A, B, C… */
    border-bottom: 2px solid #ddd;
    height: 60px !important;
}

.table thead.sticky-row th {
    position: sticky;
    top: 45px; /* Ajustez selon la hauteur de la première ligne (lettres) */
    background-color: #ffffff !important; /* Assurez-vous que la couleur de fond est visible */
    z-index: 2; /* Z-index inférieur aux lettres */
    border-bottom: 1px solid #ccc;
}

#bootBoxAdmin{z-index: 10000;
	min-width: 80% !important;
}