:root > * {
  --md-primary-fg-color:        #026e06;
  --md-accent-fg-color:         #f5a624;
}

a {
  text-decoration: none;
}
 
a:hover {
  text-decoration: underline;
}

a[href^="http"]:not([href*="istandaarden.github.io/Afsprakenstelsel-iWlz" i], [href*="127.0.0.1:8000/Afsprakenstelsel-iWlz" i], [href*="github.com/istandaarden/Afsprakenstelsel-iWlz" i])::before {
  content: "\2197"; /* ↗ arrow */
  display: inline-block;
  margin-right: 0.2em;
  font-size: 0.8em;
  vertical-align: super;
}

a[href^="http"]:not([href*="istandaarden.github.io/Afsprakenstelsel-iWlz" i], [href*="127.0.0.1:8000/Afsprakenstelsel-iWlz" i], [href*="github.com/istandaarden/Afsprakenstelsel-iWlz" i]) {
  text-decoration: underline;
}

.mermaid svg {
  max-width: 100% !important;
  width: 1200px;
  height: auto;
}

.md-banner {
    background-color: #fff;
    color: var(--md-footer-fg-color);
    overflow: auto;
}

.md-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin:auto;
}

.md-header__banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 0;
  background-color: #fff; /* pas aan naar wens */
}

.md-header__banner-image {
  max-height: 4.2rem; /* pas naar smaak aan */
  width: auto;
}

.md-header__inner {
  position: relative; /* nodig als referentiepunt voor de absolute afbeelding */
}

.md-header__center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 2.2rem; /* pas aan op de hoogte van je header */
  pointer-events: none; /* voorkomt dat hij klikken op de titel eronder blokkeert */
}

/* Optioneel: verberg 'm op kleine schermen, waar de header al vol staat */
@media screen and (max-width: 76.1875em) {
  .md-header__center-image {
    display: none;
  }
}

.md-tabs {
  background-image: url("../assets/img/banner.avif");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.md-header--lifted {
  background-image: url("../assets/img/banner.avif");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* Shrink the prev/next navigation footer */
.md-footer__inner {
  min-height: auto !important;
  padding: 0.05rem 0.6rem !important;  /* was 0.4rem */
}

.md-footer__title {
  font-size: 0.7rem !important;
  margin-top: 0.15rem !important;
}

.md-footer__direction {
  font-size: 0.6rem !important;
}

.md-footer__button.md-icon svg {
  width: 1rem !important;
  height: 1rem !important;
}

/* Shrink the bottom copyright bar */
.md-footer-meta__inner {
  padding: 0.3rem 0.6rem !important;
}

.md-footer {
  background-color: #275937 !important;
}

.md-copyright {
  font-size: 0.65rem !important;
}

.bpmn-viewer {
  position: relative;
  width: 100%;
  height: 200px;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.bpmn-viewer .djs-container,
.bpmn-viewer .djs-container > svg {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.bpmn-expand {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
  line-height: 1;
  color: #333;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  cursor: pointer;
}
.bpmn-expand:hover {
  background: #eee;
}

.bpmn-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fff;
}
.bpmn-overlay-canvas {
  width: 100%;
  height: 100%;
}
.bpmn-overlay-canvas .djs-container,
.bpmn-overlay-canvas .djs-container > svg {
  width: 100% !important;
  height: 100% !important;
}
.bpmn-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1001;
  padding: 0.4rem 0.8rem;
  color: #333;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  cursor: pointer;
}