/* Generated by Tools/Build-InfiniteValueDocs.ps1 from Sources/Infinite Value/Documentation/shared/styles.css.
   Loaded after doc-styles.css on the Infinite Value doc pages. Edit the source, not this file. */

/* No top bar in these docs, so nothing to offset the sidebar or anchors by. */
@media (min-width: 761px) { :root { --doc-top: 0px; } }

/* The two books, side by side at the top of both sidebars, the current one filled. */
nav .nav-books { display: flex; gap: 6px; padding: 0 20px 16px; }
nav .nav-books a {
  flex: 1;
  padding: 5px 0;
  text-align: center;
  border: 1px solid #45475a;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #a6adc8;
}
nav .nav-books a:hover { color: #cdd6f4; border-color: #89b4fa; text-decoration: none; }
nav .nav-books a.active { color: #1e1e2e; background: #89b4fa; border-color: #89b4fa; }

/* The API sidebar lists the types themselves, not sections of a page, so they sit at the top level. */
nav.api-nav a[href^="#"] { padding-left: 20px; color: #cdd6f4; }

/* A group heading right under the switch would double the gap above it. */
nav .nav-books + .nav-group { padding-top: 0; }

/* A single-page manual: its top-level sections are anchors too, so they sit at the top level. */
nav a.nav-section[href^="#"] { padding-left: 20px; color: #cdd6f4; }

/* Formula */
.formula {
  text-align: center;
  font-style: italic;
  font-size: 16px;
  margin: 18px 0;
  color: #3a3a5c;
}
