dialog {
  opacity: 0;
  transition: all 1.5s;

  width: 80vw;
  height: 80vh;

  background-color: var(--couleur-clair);
  border-color: black;
  outline: 0;
}

dialog[open] {
  opacity: 1;
}

/*
#modal_dialog {
  width: 90vw;
  height: 90vh;
}
*/

.modal {
  background-color: white;
  border-radius: 1vmax;
  display: none;
  position: fixed;
  z-index: 990;
  width: 90vw;
  height: 90vh;
  margin-top: 5vh;
  margin-left: 5vw;
}

.modal_header>*>svg {
  height: 40px;
  fill: var(--couleur-texte);
}

.modal_header>*>svg:hover {
    fill: var(--nuance-sombre-05);
    cursor: pointer;
}

.js-open-modal-trigger {
  cursor: pointer;
}
.js-close-modal-trigger {
  cursor: pointer;
}

.modal.modal-is-visible {
  display: block;
  z-index: 1010;
}
.modal h1 {
  margin: 0;
  padding: 0;
}
.modal .modal-body {
  height: 100%;
  overflow: auto;
  overflow-y: scroll;
}
.modal-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 980;
}
.modal-overlay.modal-is-visible {
  display: block;
  overflow:auto;
  height: 100%;
  z-index: 1009;
}
.modal_table {
  min-width: 350px;
  width:100%;
}
/*
.modal_table .tr1 {
  background: #b8d1f3;
  width:100%;
}
.modal_table .tr2 {
  background: #aaaaaa;
  width:100%;
}
*/
.modal_table tr:nth-child(odd) {
  background: var(--nuance-sombre-01);
}

.modal_table tr:nth-child(even) {
  background: var(--nuance-sombre-03);
}

.modal_table tr:hover {
  background-color: var(--nuance-sombre-07);
  color: var(--nuance-sombre-02);
}

.modal_table tr>td:first-child {
  min-width: 10%;
  max-width: 25%;
}