body>main {
  min-height: 85vh;
}

.overlay {
  display: flex;
  top: 0;
  position: absolute;
  align-items: center;
  justify-content: center;
  z-index: 2;
  visibility: hidden;
}

details {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently */
  /*background-color: rgba(51, 51, 51, 0.2);*/
}

details>div {
  padding-left: 2.8em;
}

details>details {
  padding-left: 1.5em;
}

.border-large {
  border: 10px solid !important;
  border-color: #111111 !important;
}

.ima-category {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: max-content;
  margin: auto;
  max-width: 80%;
  min-width: 300px;
}

.ima-category>* {
  width: 300px;
  height: 300px;
}

.ima-category img {
  opacity: 1;
}

.ima-category img:hover {
  filter: brightness(80%);
}

.ima-select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.rounded-left-0 {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.rounded-right-0 {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.ima-autoscale {
  display: none;
}

.ima-autoscale-open {
  display: flex;
}

.ima-bg-overlay {
  background-color: #333333d0 !important;
  border: solid;
  border-radius: 0.5em;
  border-width: thin;
  border-color: blak;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.ima-text-nowrap {
  overflow: auto;
  white-space: nowrap !important;
}

select[multiple] {}

select[multiple] option {
  height: 2em;
}

.ima-mdi-piece:before {
  content: " ";
  background-image: url("/static/img/piece.png");
  height: 40px;
  width: 40px;
  margin: -8px;
  margin-bottom: -12px;
}

.ima-mdi-ensemble:before {
  content: " ";
  background-image: url("/static/img/ensemble.png");
  height: 40px;
  width: 40px;
  margin: -8px;
  margin-bottom: -12px;
}

/* Spécifique */
body {
  /*font-family: 'Raleway', sans-serif !important;*/
}

.treeview a, #relativesView a {
  color: #111111;
}

#form_date_day {
  display: none;
}

.zoom-10:hover {
  transform: scale(10);
  z-index: 2147483647;
  position: absolute;
}

.zoom-2:hover {
  transform: scale(2);
  z-index: 2147483647;
  position: absolute;
}

.zoom-5:hover {
  transform: scale(5);
  z-index: 2147483647;
  position: absolute;
}

.zoom-3:hover {
  transform: scale(3);
  z-index: 2147483647;
  position: absolute;
}

.zoom-15:hover {
  transform: scale(15);
  z-index: 2147483647;
  position: absolute;
}

.zoom-20:hover {
  transform: scale(20);
  z-index: 2147483647;
  position: absolute;
}

.zoom-100:hover {
  transform: scale(100);
  z-index: 2147483647;
  position: absolute;
}

.ima-fullscreen-overlay {
  width: 90vw !important;
  height: 90vh !important;
  margin: auto;
  z-index: 42100;
  left: 5vw !important;
  top: 5vh !important;
}

.w-10 {
  width: 10% !important;
}
.w-20 {
  width: 20% !important;
}
.w-30 {
  width: 30% !important;
}
.w-40 {
  width: 40% !important;
}
.w-60 {
  width: 60% !important;
}
.w-70 {
  width: 70% !important;
}
.w-80 {
  width: 80% !important;
}
.w-90 {
  width: 90% !important;
}

.text-undeline {
  text-decoration: underline;
}

table.scroll {
    /* width: 80%; */ /* Optional */
    /* border-collapse: collapse; */
    border-spacing: 0;
}

table.scroll tbody,
table.scroll thead { display: block; }

table.scroll tbody {
    height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: auto;
}

.cursor-pointer {
  cursor: pointer;
}

[aria-selected="true"] {
  background: #e9ecef !important;
}
.optgroup-header {
  font-weight: 1000 !important;
  text-decoration: underline !important;
}

.destroys_animation {
  position: absolute;
  animation: 1s messageSlide 20s;
  width: 50vw;
  z-index: 1021;
}
.destroys_animation_now {
  animation: 1s messageSlide 1s;
}
@keyframes messageSlide {
  0% {}

  100% {
    top: -200px;
  }
}
