/* Deliberately conservative documentation styling: readable first, decorative second. */

:root {
  --wiki-blue: #204a87;
  --wiki-blue-dark: #163b6d;
  --wiki-border: #c8ccd0;
  --wiki-muted: #5d666f;
  --wiki-code: #f5f5f5;
}

body {
  color: #202428;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.wy-nav-side {
  background: #f4f5f6;
  border-right: 1px solid var(--wiki-border);
}

.wy-side-nav-search {
  background: #e9eaec;
  border-bottom: 1px solid var(--wiki-border);
}

.wy-side-nav-search > a,
.wy-side-nav-search .wy-dropdown > a {
  color: #202428;
  font-weight: 700;
}

.wy-side-nav-search input[type="text"] {
  border-color: #aeb4ba;
  border-radius: 2px;
}

.wy-menu-vertical a {
  color: #2f353a;
}

.wy-menu-vertical a:hover {
  background: #e3e6e8;
  color: #111;
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
  background: #fff;
  color: var(--wiki-blue-dark);
  border-right: 0;
}

.wy-nav-content {
  max-width: 980px;
}

.rst-content a {
  color: var(--wiki-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.rst-content a:hover {
  color: var(--wiki-blue-dark);
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4 {
  color: #1b1f23;
  font-weight: 600;
}

.rst-content h1 {
  border-bottom: 1px solid var(--wiki-border);
  padding-bottom: .35rem;
}

.rst-content h2 {
  border-bottom: 1px solid #e2e4e6;
  padding-bottom: .2rem;
  margin-top: 2rem;
}

.rst-content code,
.rst-content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rst-content div[class^="highlight"] pre,
.rst-content pre {
  background: var(--wiki-code);
  border: 1px solid #d8dcdf;
  border-radius: 0;
  color: #1d2329;
  box-shadow: none;
}

.rst-content table.docutils,
.rst-content table.field-list {
  border: 1px solid var(--wiki-border);
}

.rst-content table.docutils thead {
  background: #eef0f2;
}

.rst-content .admonition {
  border-radius: 0;
  box-shadow: none;
}

.rst-content .note {
  background: #f3f7fb;
}

footer {
  color: var(--wiki-muted);
}

@media screen and (max-width: 768px) {
  .wy-nav-content-wrap {
    background: #fff;
  }
}


.rst-content .release-button,
.rst-content .secondary-button {
  display: inline-block;
  margin: .25rem .45rem 1.1rem 0;
  padding: .55rem .8rem;
  border: 1px solid var(--wiki-blue);
  text-decoration: none;
  font-weight: 600;
}

.rst-content .release-button {
  background: var(--wiki-blue);
  color: #fff;
}

.rst-content .release-button:hover {
  background: var(--wiki-blue-dark);
  color: #fff;
}

.rst-content .secondary-button {
  background: #fff;
  color: var(--wiki-blue-dark);
}

.rst-content .secondary-button:hover {
  background: #eef3f8;
  color: var(--wiki-blue-dark);
}


/* The ReadTheDocs theme adds a fixed dark repo/version bar at the bottom.
   The same previous/next controls already exist in the document body, so the
   bar is redundant and visually breaks the wiki-style sidebar. */
.rst-versions {
  display: none !important;
}

.wy-nav-side {
  padding-bottom: 0 !important;
}

.wy-side-scroll {
  height: 100%;
}
