/* User Provided Stylesheet */

.compact-fee-table tbody tr:nth-child(odd),
.compact-fee-table tbody tr:nth-child(odd) td {
  background: inherit !important;
  background-color: inherit !important;
}
/* Plain default for every table inside doc-text */
.doc-text table,
.doc-text table * {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Opt-in internal rule lines */
.doc-text table.ruled {
    border-collapse: collapse;
}

.doc-text table.ruled th,
.doc-text table.ruled td {
    border-top: 1px solid var(--pst-color-border) !important;
    border-left: 1px solid var(--pst-color-border) !important;
}

.doc-text table.ruled tr:first-child th,
.doc-text table.ruled tr:first-child td {
    border-top: none !important;
}

.doc-text table.ruled th:first-child,
.doc-text table.ruled td:first-child {
    border-left: none !important;
}

.doc-text table.compact {
    width: auto;
    display: inline-table;
}

.doc-text table.compact td {
    padding: 0.15rem 0.35rem;
}

.doc-text {
    border: 1.5px solid #777;
    border-radius: 0.35rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
/*
.doc-text {
    background-color: #f7f7f7;
    border: 1.5px solid #777;
    border-radius: 0.35rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

html[data-theme="dark"] .doc-text {
    background-color: #1f1f1f;
    border-color: #aaa;
}
*/
/*
.doc-text {
    font-family: var(--pst-font-family-base);
    font-weight: 500;
    line-height: 1.6;
    color: var(--pst-color-text-base);
    background-color: var(--pst-color-surface);
    border: 2px solid var(--pst-color-border);
    border-radius: 0.4rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

*/
/* removes even rows as lighter in color 
.doc-text table.no-borders tbody tr:nth-child(even),
.doc-text table.no-borders tbody tr:nth-child(even) td {
    background: transparent !important;
}
*/
/* creates a shadow-obrder for images */
img.image-override,
.image-override img {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.20);
  border-radius: 4px;
  background: white;
  padding: 6px;
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
}

@media (prefers-color-scheme: dark) {
  img.image-override,
  .image-override img {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.10),
      0 6px 16px rgba(0, 0, 0, 0.55);
    background: #1f1f1f;
    cursor: zoom-in;
  }
}

/* style literal text with an attractive border */
.highlight-text.notranslate {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  margin-top: 0.4em;
  border: 3px solid #444;
  border-radius: 6px;
  overflow: hidden;
}

.highlight-text.notranslate pre {
  margin-bottom: 0;
}

/* Widen logo area
.sidebar-primary-item .navbar-brand.logo {
  width: 320px;
  max-width: none;
}

.sidebar-primary-item .navbar-brand.logo,
.sidebar-primary-item .navbar-brand.logo img.logo__image {
  width: 260px;
  max-width: none;
  height: auto;
}
*/

/* Widen logo image without forcing the sidebar/layout wider */
.sidebar-primary-item .navbar-brand.logo {
  display: block;
  max-width: 100%;
}

.sidebar-primary-item .navbar-brand.logo img.logo__image {
  width: 260px;
  max-width: 100%;
  height: auto;
}


/* Start navigation 2rem to the left */
@media (min-width: 960px) {
  .bd-sidebar-primary .sidebar-primary-items {
    margin-left: -2rem;
    width: calc(100% + 2rem);
  }
}

/* Tables with row spans (flat-table): no zebra striping, so a spanning
   cell doesn't look like it belongs to only one shaded row. */
.no-zebra-rowspan-table tbody tr,
.no-zebra-rowspan-table tbody tr:nth-child(odd),
.no-zebra-rowspan-table tbody tr:nth-child(even),
.no-zebra-rowspan-table tbody td,
.no-zebra-rowspan-table tbody th {
  background-color: transparent !important;
}


/* Compact archival transcription tables only */
.doc-text table.compact {
    border-collapse: collapse;
}

.doc-text table.compact td {
    padding: 0 0.5rem;
    vertical-align: top;
}

.doc-text table.compact td p {
    margin: 0;
}
