

.selectable {
    cursor: pointer;
}

/*.selected {
    box-sizing: border-box;
    border: 3px solid red !important;
    z-index: 100;
}*/

.selection_temporary {
    position: absolute;
    border: 3px solid green;
}

.link-subtle {
  color: inherit;
  text-decoration: inherit;
  cursor: inherit;
}
.link-subtle:hover {
  color: var(--bs-link-color);
  text-decoration: underline;
  cursor: pointer;
}

.draggable {
    position: absolute;
    left: 0px;
    top: 0px; 
    cursor: grab;
    user-select: none;
    /*padding-top: 5px;
    background-color: blue;*/
}

.draggable.dragging {
    cursor: grabbing;
}

.table-borders-vertical {
  border-collapse: separate;
  border-spacing: 0;
}

.vertical-cell {
  padding: 0;
  text-align: center;
  vertical-align: middle;
  width: 1px; /* largeur minimale */
}

.vertical-cell-content {
  writing-mode: sideways-lr;
  /*transform: rotate(180deg); nécessaire pour que l'écriture aille de bas en haut comme attendu */
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  border-style : hidden!important;
}


input.show-validity:user-invalid {
    border: 2px solid red;
    background-color: #ffe6e6;
}

input.show-validity:user-valid {
    border: 2px solid green;
    background-color: #e6ffe6;
}

.clickable-row {
  cursor: pointer;
}

.table_sorting_ascending::after {
  font-family: "bootstrap-icons";
  content: "\f128";
  color: white;
}
.table_sorting_descending::after {
  font-family: "bootstrap-icons";
  content: "\f148";
  color: white;
}
.table_sorting_ascending, .table_sorting_descending { cursor: pointer; }


.tooltip-img {
  position: relative;
  cursor: pointer;
  color: var(--bs-link-color);
}

/* L’image est cachée par défaut */
.tooltip-img img {
  display: none;
  position: absolute;
  top: 1.5em;
  left: 0;
  width: 200px;
  border: 1px solid #ccc;
  background: white;
  z-index: 10;
  padding: 4px;
}

/* Apparition au survol */
.tooltip-img:hover img {
  display: block;
}
