/* V4.3.0 - Sommaire procédure sans faire disparaître la barre Modifier */
#detailHost {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

#detailHost>.detail-head {
  flex: 0 0 auto !important;
  position: relative;
  z-index: 5;
}

#detailHost>.procedure-reader {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.procedure-body-wrap {
  min-height: 0 !important;
  height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

.procedure-document h1,
.procedure-document h2,
.procedure-document h3 {
  scroll-margin-top: 16px;
}

.memo-paper,
.procedure-document {
  min-width: 0;
  overflow-wrap: anywhere;
}

.memo-paper pre,
.procedure-document pre {
  max-width: 100%;
  overflow-x: auto;
}

@media(max-width:760px) {

  .memo-document,
  .procedure-body-wrap {
    padding: 12px
  }

  .memo-paper,
  .procedure-document {
    padding: 22px 18px
  }

  .memo-paper h1,
  .procedure-document h1 {
    font-size: 24px;
    line-height: 1.3
  }

  .memo-paper h2,
  .procedure-document h2 {
    font-size: 20px;
    line-height: 1.35
  }
}

/* V4.3.1 - gestion de base centralisée dans Paramètres */
.settings-row button:disabled {
  opacity: .42;
  cursor: not-allowed;
}
