@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

ul, ol {
  padding: 0;
  list-style: none;
}

body, h1, h2, h3, h4, h5, h6, ul[class], ol[class], li, figure,
figcaption, blockquote, dd, dl {
  margin: 0;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  display: block;
  line-height: 1em;
  max-width: 100%;
}

article > * + * {
  margin-top: 1em;
}

input, button, textarea, select {
  font: inherit;
}

/* disable animations if requested. */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/PublicSans-VariableFont_wght.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/PublicSans-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("../fonts/SourceSerifVariable-Roman.otf.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("../fonts/SourceSerifVariable-Italic.otf.woff2") format("woff2-variations");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --darkest: #1c2b4f;
  --lightest: #80a0ea;
  --medium: #48609d;
  --nav-back-color: #aebfea;
  --nav-link-color: #1c1c1c;
  --font-dark-contrast: #f0f0ff;
  --footer-back-color: #513f15;
  --text-color: #1a1a1a;
  --text-lighter-color: #6e6e6e;
  --code-color: #d20000;
  --font-serif: "Source Serif Pro", "Times New Roman", serif;
  --font-sans-serif: "Public Sans", Helvetica, Arial, sans-serif;
  --font-monospace: "DejaVu Sans Mono", Consolas, monospace;
}

.site-footer > *, .site-content > *, .site-nav > *, .site-header > * {
  max-width: max(min(1200px, 80vw), 770px);
  margin: 0 auto;
}

.site-footer::before, .site-nav::before, .site-header::before {
  content: " ";
  height: 100%;
  left: calc(100% - 100vw);
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: -1;
}

html {
  /* remove scrollbar jumping. */
  margin-left: calc(100vw - 100%);
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans-serif);
  font-size: 1em;
  line-height: 1.5em;
  min-height: 100vh;
  padding: 0;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

.site-header {
  position: relative;
  background-color: var(--darkest);
  color: var(--font-dark-contrast);
  padding: 1em 0;
}
.site-header::before {
  background-color: var(--darkest);
}
.site-header :link, .site-header :visited {
  color: inherit;
  text-decoration: none;
}
.site-header__title {
  font-size: 4.5em;
  line-height: 1em;
  font-family: var(--font-serif);
  font-weight: 300;
}
@media (max-width: 1000px) {
  .site-header__title {
    font-size: 3.5em;
  }
}
@media (max-width: 600px) {
  .site-header__title {
    margin: 0 0.14em;
  }
}

.site-nav {
  position: relative;
  background-color: var(--nav-back-color);
  color: var(--nav-link-color);
}
.site-nav::before {
  background-color: var(--nav-back-color);
}
.site-nav :link, .site-nav :visited {
  color: inherit;
  text-decoration: none;
}
.site-nav__links {
  display: flex;
  flex-direction: row;
}
.site-nav__link {
  padding: 0.25em 0;
  flex-basis: 6em;
  text-align: center;
  font-size: 1rem;
}
.site-nav__link + .site-nav__link, .site-nav__link:first-of-type {
  border-left: 1px solid #eaeaea;
}
.site-nav__link:last-of-type {
  border-right: 1px solid #eaeaea;
}
.site-nav__link--active {
  background-color: var(--medium);
}
.site-nav__link--active:link, .site-nav__link--active:visited {
  color: var(--font-dark-contrast);
}

.site-content {
  flex-grow: 2;
  margin: 2em 0.25em;
}
@media (max-width: 600px) {
  .site-content {
    margin: 2em 0.5em;
  }
}

.site-footer {
  position: relative;
  background-color: var(--footer-back-color);
  color: var(--font-dark-contrast);
  line-height: 2.25rem;
  font-family: var(--font-sans-serif);
  font-weight: 200;
  font-size: 1rem;
}
.site-footer::before {
  background-color: var(--footer-back-color);
}
.site-footer :link, .site-footer :visited {
  color: inherit;
}

blockquote {
  margin-left: 2rem;
  font-family: var(--font-sans-serif);
  font-size: 1.2em;
  font-weight: 100;
}
blockquote ul.simple, blockquote ol.simple {
  font-size: 0.9em;
}
@media (max-width: 600px) {
  blockquote ul.simple, blockquote ol.simple {
    margin-left: 1em;
  }
}
@media (max-width: 600px) {
  blockquote {
    margin-left: 0.5em;
  }
}

pre, code {
  white-space: pre;
  word-wrap: normal;
  overflow: auto;
  font-family: var(--font-monospace);
  font-size: 1em;
}

code {
  line-height: 1.2em;
  color: var(--code-color);
}
code.literal > span.pre {
  white-space: normal;
}

pre {
  line-height: 1.5em;
}
pre.code {
  margin: 0.25em;
  padding: 0.5em;
  border: 1px solid #c0c0c0;
  border-radius: 4px;
}
@media (max-width: 600px) {
  pre.code {
    margin: 0;
  }
}

.page__pager, .post__pager {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.page__pager [rel], .post__pager [rel] {
  padding: 0.75em;
  border: 1px solid #aaa;
  border-radius: 15px;
}
.page__pager [rel]:link, .post__pager [rel]:link {
  text-decoration: none;
}
.page__pager [rel=prev]::before, .post__pager [rel=prev]::before {
  content: "← ";
}
.page__pager [rel=next]::after, .post__pager [rel=next]::after {
  content: " →";
}

.post {
  font-size: 1.0625em;
  line-height: 1.75em;
}
.post:not(.post--index) {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid black;
}
.post--index {
  margin-bottom: 4em;
}
.post__title {
  font-family: var(--font-serif);
  font-size: 2.5em;
  line-height: 1.1em;
}
.post__title:not(.post__title--index) :link, .post__title:not(.post__title--index) :visited {
  text-decoration: none;
  color: var(--text-color);
}
@media (max-width: 1000px) {
  .post__title {
    font-size: 2em;
    line-height: 1.2em;
  }
}
.post__metadata {
  font-style: italic;
  color: var(--text-lighter-color);
  font-size: 0.9em;
}
.post__byline {
  margin-top: 0.25em;
}
.post__tags {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
@media (max-width: 600px) {
  .post__tags {
    flex-direction: column;
  }
  .post__tags::before {
    display: block;
    content: "Tags";
    margin-left: 1em;
  }
}
@media (max-width: 600px) {
  .post__tag-item {
    margin: 0.5em 2em;
  }
}
@media (min-width: 601px) {
  .post__tag-item + .post__tag-item::before {
    content: "–";
    display: inline-block;
    margin: 0 0.25em;
  }
}
@media (max-width: 600px) {
  .post__pager {
    margin-top: 1em;
  }
}
.post > * + * {
  margin-top: 1.5em;
}
.post * + p {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
.post .section {
  margin-top: 3em;
  margin-bottom: 3em;
}
.post .section:first-child {
  margin-top: 0;
}
.post h1, .post h2, .post h3, .post h4, .post h5, .post h6 {
  font-family: var(--font-serif);
}
.post h1 + p, .post h2 + p, .post h3 + p, .post h4 + p, .post h5 + p, .post h6 + p {
  margin-top: 0.75em;
}
.post .image-reference {
  display: block;
}
.post img:not([class]) {
  margin-left: auto;
  margin-right: auto;
  padding: 0.3125em;
  border: 1px solid #ddd;
  border-radius: 0.25em;
  background-color: #fdfdfd;
  box-shadow: 0 0.1875em 0.5625em rgba(0, 0, 0, 0.1);
}
.post .inline {
  display: inline;
}
.post .float-left {
  float: left;
  padding-right: 1em;
}
.post .float-right {
  float: right;
  padding-left: 1em;
}
.post .small {
  font-size: smaller;
}
.post .indent {
  margin-left: 2.5em;
  margin-right: 2.5em;
}
@media (max-width: 700px) {
  .post .indent {
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
}
.post table {
  border: solid 1px #808080;
  border-collapse: collapse;
}
.post table caption {
  text-align: left;
  font-size: 1.1em;
  line-height: 2em;
}
.post table td {
  padding: 0.25em;
}
.post table tr:not(:first-child) td {
  border-top: solid 1px #808080;
}
.post table td:not(:first-child) {
  border-left: solid 1px #808080;
}
.post table.center-cell td {
  text-align: center;
}
.post table.column-shade-even td:nth-child(even) {
  background-color: #fcfcfc;
}
.post table.bold-first-column td:first-child {
  font-weight: bolder;
}
.post dt {
  font-weight: bolder;
}
.post dd {
  margin-left: 2em;
}
@media (min-width: 770px) {
  .post .transcript {
    width: 100%;
  }
  .post .transcript dt {
    clear: both;
    float: left;
    min-width: 10em;
  }
  .post .transcript dd {
    float: left;
    max-width: calc(100% - 10em);
    margin-left: 0;
  }
  .post .transcript::after {
    clear: both;
    content: " ";
    display: block;
  }
}
.post #imported-comments p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.post .section:last-child {
  margin-bottom: 0;
}
.post .section:last-child :last-child {
  margin-bottom: 0;
}

.page__pager--end {
  justify-content: end;
}
.page__article + .page__article {
  padding-top: 4em;
  border-top: 1px solid black;
}

/* specificity required to override rst css for now */
div.admonition dl, div.admonition p {
  margin: 0.5em 0;
  padding: 0 0.5em;
}
div.admonition p.admonition-title {
  margin: 0;
  padding: 0.25em 0.5em;
}
div.admonition.headline-update {
  border-color: #3e5021;
}
div.admonition.headline-update p.admonition-title {
  background-color: #3e5021;
  color: #fff;
}

ul.simple {
  margin-left: 1.75em;
}
ul.simple li {
  list-style: disc;
  margin: 0.25em 0;
}
ul.simple ul li {
  list-style: circle;
  margin-left: 1.25em;
}
ul.simple ul ul li {
  list-style: square;
  margin-left: 1.25em;
}
ul.simple ol li {
  margin-left: 1.25em;
  list-style: decimal;
}
ul.simple ol ol li {
  margin-left: 1.25em;
  list-style: lower-alpha;
}

ol.simple {
  margin-left: 1.75em;
}
ol.simple li {
  list-style: decimal;
  margin: 0.5em 0;
}
ol.simple ul li {
  list-style: disc;
  margin-left: 1.25em;
}
ol.simple ul ul li {
  list-style: circle;
  margin-left: 1.25em;
}
ol.simple ol li {
  list-style: lower-alpha;
  margin-left: 1.25em;
}
ol.simple ol ol li {
  list-style: lower-roman;
  margin-left: 1.25em;
}

.contents .topic-title {
  margin: 0;
}

.page__title {
  font-family: var(--font-serif);
  font-size: 2em;
}
.page__title--secondary {
  margin-top: 1em;
  font-size: 1.5em;
  font-weight: normal;
}

.group {
  margin-top: 2em;
}

.link-list {
  padding-left: 1.5em;
}
.link-list__item {
  list-style: disc;
  margin: 0.5em 0;
}
.link-list--multi-column {
  columns: 4;
}
.link-list--multi-column .link-list__item {
  margin: 0;
  padding: 0.15em 0;
}
@media (max-width: 700px) {
  .link-list {
    padding-left: 1em;
  }
  .link-list--multi-column {
    columns: 2;
  }
}
