/*
 * Colours and type of Answerable on the web. The six --book-* tokens are also read by generate_whitepapers.py
 * and the poster; the rest turns the MkDocs readthedocs theme into a quiet reading page: warm paper, one narrow
 * serif column, amber rules, no sidebar noise. Palette from the cover: night sea, slate, lamp amber.
 */
:root {
  --book-dark: #0b1a26;
  --book-primary: #2e5266;
  --book-strong: #3b5a68;
  --book-accent: #b8742a;
  --book-tint: #ece4d3;
  --book-paper: #faf5ea;
  --ink: #1f2a33;
}
html, body, .wy-body-for-nav { background: var(--book-paper); }
body, .rst-content, .wy-nav-content, .rst-content p, .rst-content li {
  font-family: "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  color: var(--ink);
}
.wy-nav-content { max-width: 41em; background: var(--book-paper); }
.wy-nav-content-wrap { background: var(--book-paper); }
.rst-content p, .rst-content li { font-size: 1.22rem; line-height: 1.62; text-align: left; hyphens: auto; }
.rst-content p { margin: 0 0 0.15em; text-indent: 1.4em; }
.rst-content h1 + blockquote + p, .rst-content h1 + blockquote + p + p { text-indent: 0; }
.rst-content hr + p { text-indent: 0; }
.rst-content h1 {
  font-family: "EB Garamond", Georgia, serif; font-weight: 400; font-style: italic;
  text-align: center; font-size: 2.3rem; margin: 2.2rem 0 0.4rem; color: var(--ink);
}
.rst-content h1::after { content: "\25C6"; display: block; font-size: 0.6rem; font-style: normal; color: var(--book-accent); margin-top: 0.7rem; }
.rst-content h2 { font-family: "EB Garamond", Georgia, serif; font-weight: 400; text-align: center; color: var(--book-primary); font-size: 1.5rem; border: 0; }
.rst-content hr { border: 0; text-align: center; margin: 1.8rem 0; height: 1.2rem; overflow: visible; }
.rst-content hr::after { content: "\25C6\2003\25C6\2003\25C6"; color: var(--book-accent); font-size: 0.8rem; letter-spacing: 0.15em; }
/* the Record under a chapter heading, and the italic point-of-view line after it */
.rst-content blockquote {
  margin: 1.4rem 8% 0.6rem; padding: 0.3rem 0 0.3rem 1rem; background: transparent;
  border-left: 2px solid var(--book-accent); font-size: 1.02rem; color: #33414c;
}
.rst-content blockquote p { font-size: 1.02rem; line-height: 1.5; text-indent: 0; margin: 0 0 0.4em; }
.rst-content h1 + blockquote + p > em:only-child {
  display: block; text-align: center; font-style: normal; font-variant: small-caps;
  letter-spacing: 0.08em; color: var(--book-primary); margin: 0.8rem 0 2rem; text-indent: 0;
}
/* sidebar and top bar */
.wy-nav-side { background: var(--book-dark); }
.wy-side-nav-search, .wy-nav-top { background: var(--book-dark); border-bottom: 2px solid var(--book-accent); }
.wy-side-nav-search > a, .wy-side-nav-search .wy-dropdown > a, .wy-nav-top a { color: #f4ead6; font-family: "EB Garamond", Georgia, serif; letter-spacing: 0.12em; }
.wy-menu-vertical a { color: #c9d4da; font-family: "EB Garamond", Georgia, serif; font-size: 1rem; }
.wy-menu-vertical li.current > a, .wy-menu-vertical li.on a { background: var(--book-primary); color: #fff; }
.wy-menu-vertical li.toctree-l1.current > a { border: 0; }
.wy-menu-vertical header, .wy-menu-vertical p.caption { color: #e9b873; }
a, .rst-content a { color: var(--book-primary); }
a:hover { color: var(--book-accent); }
footer, .rst-footer-buttons .btn { font-family: "EB Garamond", Georgia, serif; }
@media (max-width: 768px) { .rst-content p, .rst-content li { font-size: 1.12rem; } }

/* The cover on the welcome page */
img.cover { display: block; max-width: 340px; width: 100%; margin: 1.5em auto 2em; box-shadow: 0 6px 24px rgba(10, 25, 40, 0.35); border-radius: 2px; }
