/* html[data-theme="light"],
html[data-theme="dark"] {
  --pst-color-link-hover: #198754;
} */

.bd-footer,
footer.bd-footer-content {
  border-top: 0;
}

/* The desktop header contains only a duplicate search control. */
@media (min-width: 960px) {
  .bd-header {
    display: none;
  }
}

.bd-header-article .sidebar-toggle.primary-toggle {
  display: none;
}

/* Remove the separators between the primary sidebar, content, and page TOC. */
.bd-sidebar-primary {
  border-right: 0;
}

.bd-sidebar-secondary {
  border-left: 0;
}

.sidebar-secondary-item {
  border-left: 0;
}

/* Darken the primary-sidebar title and search controls. */
html[data-theme="dark"] #pst-primary-sidebar .navbar-brand,
html[data-theme="dark"] #pst-primary-sidebar .search-button-field {
  background-color: #121212;
  color: #f5f5f5;
}

.bd-content table {
  --bs-table-border-color: var(--pst-color-background);
  --pst-color-table-row-hover-bg: var(--pst-color-background);
}

.bd-content table,
.bd-content table thead,
.bd-content table tbody,
.bd-content table tr,
.bd-content table th,
.bd-content table td {
  background-color: var(--pst-color-background);
  border-color: var(--pst-color-background);
}

.bd-content table.table thead tr {
  border-bottom-color: var(--pst-color-background);
}

.bd-content table th,
.bd-content table td {
  line-height: 1.2;
  padding-block: 0.1rem;
}

.bd-content .ind3 {
  box-sizing: border-box;
  display: inline-block;
  margin-left: 3em;
  vertical-align: top;
  width: calc(100% - 3em);
}

.bd-content .ind6 {
  box-sizing: border-box;
  display: inline-block;
  font-size: 0.9em;
  margin-left: 10em;
  vertical-align: top;
  width: calc(100% - 10em);
}

.bd-content .grid {
  display: inline-grid;
  grid-template-columns: 6em 30em;
  column-gap: 0em;
  margin-left: 3em;
  vertical-align: baseline;
}

.bd-content .grid > span:nth-child(2) {
  text-transform: uppercase;
}

.bd-content table.example-table .highlight-fortran {
  margin-left: 3em;
  width: calc(100% - 3em);
}

.bd-content .highlight,
.bd-content .highlight pre {
  background-color: transparent;
}

.bd-content code.literal {
  background-color: transparent;
  border: 0;
  color: inherit;
  padding-inline: 0;
}

/* .bd-content .vertical-space {
  display: block;
  height: 4px;
} */
