:root {
  --bs-body-font-family: "Source Sans 3", var(--bs-font-sans-serif);
  --bs-font-monospace: "IBM Plex Mono", sfmono-regular, menlo, monaco, consolas,
    "Liberation Mono", "Courier New", monospace;
}

.seibootcamps-brand #logo {
  opacity: 0.7;
}

.seibootcamps-brand #logo img {
  height: 100%;
}

.seibootcamps-brand #logo.dm-logo {
  height: 78px;
}

.seibootcamps-brand #logo.hb-logo {
  height: 86px;
}

[data-bs-theme="dark"]
  .seibootcamps-brand
  #logo
  .seibootcamps-logo-dark.d-none {
  display: inline-block !important;
}

[data-bs-theme="light"]
  .seibootcamps-brand
  #logo
  .seibootcamps-logo-light.d-none {
  display: inline-block !important;
}

.seibootcamps-theme-toggler {
  margin-left: 0 !important;
}

.seibootcamps-sidebar nav {
  line-height: 1;
}

.seibootcamps-sidebar nav .nav-link {
  margin-bottom: 0.5rem;
}

.seibootcamps-main {
  width: 100%;
}

.table-scroller {
  overflow: auto !important;
}

figure > img {
  max-width: 100%;
}

figure .headerlink {
  display: none;
}

figcaption {
  line-height: 1.1;
}

.guilabel {
  --bs-badge-padding-x: 0.65em;
  --bs-badge-padding-y: 0.35em;
  --bs-badge-font-size: 0.75em;
  --bs-badge-font-weight: 700;
  --bs-badge-color: #fff;
  --bs-badge-border-radius: var(--bs-border-radius);
  --bs-bg-opacity: 1;
  display: inline-block;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--bs-badge-font-size);
  font-weight: var(--bs-badge-font-weight);
  line-height: 1;
  color: var(--bs-badge-color);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius);
  background-color: rgba(
    var(--bs-secondary-rgb),
    var(--bs-bg-opacity)
  ) !important;
}

.highlight {
  background: none;
}

.highlight pre.scrollable {
  mask-image: linear-gradient(
    to top,
    transparent,
    black 40px,
    black 100%,
    transparent
  );
  padding-bottom: 40px;
}

.console .highlight {
  background: inherit !important;
}

.seibootcamps-document .admonition cite {
  color: var(--bs-body-color);
}

a.download code {
  font-family: inherit;
  font-size: inherit;
}

a {
  text-decoration: none;
}

.numbered.mcq > .mcq-body::before {
  font-size: 1rem;
  line-height: 1.4;
  counter-increment: none;
}

.seibootcamps-document .highlight {
  max-height: 22rem;
}

.graphviz svg {
  background: var(--bs-body-bg);
  height: 100%;
  width: 100%;
}

/* Background elements */
.graphviz .edge *[fill="white"],
.graphviz .node *[fill="white"],
.graphviz .cluster *[fill="white"] {
  fill: var(--bs-body-bg) !important;
}

/* Foreground elements (stroke) */
.graphviz .edge *[stroke="black"],
.graphviz .edge *[stroke="black"],
.graphviz .node *[stroke="black"],
.graphviz .cluster *[stroke="black"],
.graphviz text {
  stroke: var(--bs-body-color) !important;
}

/* Foreground elements (fill) */
.graphviz .edge *[fill="black"],
.graphviz .edge > polygon[fill="white"],
.graphviz .node *[fill="black"],
.graphviz text:not([fill]) {
  fill: var(--bs-body-color) !important;
}

.img-dark,
.img-light {
  display: none !important;
  visibility: hidden !important;
}

[data-bs-theme="dark"] .img-dark,
[data-bs-theme="light"] .img-light {
  display: block !important;
  visibility: visible !important;
}

.column-count-2 {
  column-count: 2;
  gap: 3rem;
}

dl.column-count-2 {
  margin-inline-start: 0;
}

.caption-text .literal .pre,
.caption-text cite {
  color: var(--bs-secondary-color) !important;
}

.caption-text .literal .pre {
  font-size: 1em !important;
}

.caption-text cite {
  font-weight: 400 !important;
}

.small {
  font-size: 0.875em !important
}

.table-scroller {
  max-height: 450px;
  overflow: auto !important;
  padding-bottom: 20px;
  mask-image: linear-gradient(
    to top,
    transparent,
    black 40px,
    black 100%,
    transparent
  );
  margin-bottom: 1rem;
}

.img svg {
  width: 100%;
  height: auto;
}

a[class*="extlink-html"],
a[class*="extlink-css"] {
  font-family: var(--bs-font-monospace);
  font-size: 0.875em;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  .compare {
    width: 100%;
  }
}