/* ===================================
 * === END OF VAR/FUNC DEFINITIONS ===
 * ===================================
 */
body,
body.light-theme {
  --bg_color_regular: #fff;
  --font_color_regular: #000;
  --accent_color: #a34da3;
  --textbox_bg: #ccc;
  --button_bg: #e6e6e6;
  --placeholder_fg: #444;
  --less_important_fg: #333;
  --code_color: #572857;
  --info_bg: rgba(80,105,119,0.667);
  --warning_bg: rgba(170,170,0,0.533);
  --feature_added_color: #008000;
  --feature_changed_color: #ffa500;
  --feature_deprecated_color: #f00;
  --border_color: var(--accent_color);
  --accent_font_color: #fff;
  --header_highlight_bg1: #cfa9da;
  --header_highlight_bg2: #dcc5dc;
  --header_highlight_bg3: #fae9fe;
  --search_result_highlight_bg: rgba(119,119,0,0.333);
}
body.dark-theme {
  --bg_color_regular: #252525;
  --font_color_regular: #ccc;
  --accent_color: #a34da3;
  --textbox_bg: #212121;
  --button_bg: #515151;
  --placeholder_fg: #aaa;
  --less_important_fg: #b8b8b8;
  --code_color: #c1acc1;
  --info_bg: rgba(80,105,119,0.667);
  --warning_bg: rgba(119,119,0,0.533);
  --feature_added_color: #00ac00;
  --feature_changed_color: #ffa500;
  --feature_deprecated_color: #f00;
  --border_color: var(--accent_color);
  --accent_font_color: #fff;
  --header_highlight_bg1: #342a37;
  --header_highlight_bg2: #302a30;
  --header_highlight_bg3: #2e2a2f;
  --search_result_highlight_bg: rgba(119,119,0,0.333);
}
@media (prefers-color-scheme: dark) {
  body {
    --bg_color_regular: #252525;
    --font_color_regular: #ccc;
    --accent_color: #a34da3;
    --textbox_bg: #212121;
    --button_bg: #515151;
    --placeholder_fg: #aaa;
    --less_important_fg: #b8b8b8;
    --code_color: #c1acc1;
    --info_bg: rgba(80,105,119,0.667);
    --warning_bg: rgba(119,119,0,0.533);
    --feature_added_color: #00ac00;
    --feature_changed_color: #ffa500;
    --feature_deprecated_color: #f00;
    --border_color: var(--accent_color);
    --accent_font_color: #fff;
    --header_highlight_bg1: #342a37;
    --header_highlight_bg2: #302a30;
    --header_highlight_bg3: #2e2a2f;
    --search_result_highlight_bg: rgba(119,119,0,0.333);
  }
}
:root {
  font-family: Verdana;
}
body {
  background-color: var(--bg_color_regular);
  color: var(--font_color_regular);
}
a,
a code {
  color: var(--accent_color);
}
a:hover,
a code:hover,
a:focus,
a code:focus {
  color: var(--accent_color);
  filter: brightness(1.1);
}
details > summary {
  background: var(--accent_color);
  color: var(--accent_font_color);
  padding: 0 0.2em;
}
button,
input[type="submit"] {
  background: var(--bg_color_light2);
  color: var(--font_color_regular);
  border-radius: 3px;
  border: 1px solid var(--accent_color);
}
button:hover,
input[type="submit"]:hover {
  filter: brightness(1.1);
}
input[type="text"],
textarea,
.ace-github,
select {
  background: var(--bg_color_dark) !important;
  border: 1px solid var(--accent_color) !important;
  color: var(--font_color_dark) !important;
}
input[type="text"]:focus,
textarea:focus,
select:focus {
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(196,196,196,0.4);
}
::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: var(--font_color_placeholder);
}
.ace-github .ace_gutter {
  background: var(--bg_color_light);
  color: var(--font_color_dark);
}
.ace-github .ace_marker-layer .ace_active-line {
  background: var(--bg_color_light);
}
.ace-github .ace_print-margin {
  background: var(--bg_color_light);
}
.ace-github .ace_cursor {
  color: var(--accent_color);
}
blockquote {
  border-left: 5px solid var(--bg_color_light2);
}
blockquote.epigraph p:first-child::before {
  content: '"';
}
blockquote.epigraph p:first-child::after {
  content: '"';
}
blockquote.epigraph .attribution {
  color: var(--font_color_dark);
  font-style: italic;
}
code,
span.sig-prename,
span.sig-name {
  color: var(--code_color);
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
}
pre {
  background: var(--bg_color_dark2);
  color: var(--font_color_regular);
  border: 1px solid var(--border_color);
  padding: 0.5em;
  overflow: auto;
  font-size: 0.9rem;
}
h1,
h1 code {
  font-size: 2rem;
}
h2,
h2 code {
  font-size: 1.6rem;
}
h3,
h3 code {
  font-size: 1.3rem;
}
.document {
  display: grid;
  grid-template-columns: auto 1fr;
}
.sphinxsidebar {
  grid-column: 1;
  grid-row: 1;
}
.documentwrapper {
  grid-column: 2;
  grid-row: 1;
}
body {
  margin: 0;
}
.sphinxsidebar {
  width: 15em;
  min-height: 100vh;
}
.sphinxsidebar .sphinxsidebarwrapper {
  padding: 0.3em;
  padding-left: 1em;
  padding-right: 0.5em;
  position: sticky;
  top: 1px;
}
.documentwrapper {
  padding: 0.3em;
  margin-left: 1em;
  max-width: 45em;
}
.searchformwrapper form.search {
  display: flex;
}
.searchformwrapper form.search input[type="text"] {
  min-width: 0;
  box-sizing: border-box;
}
.searchformwrapper form.search input[type="submit"] {
  box-sizing: border-box;
  font-size: 1rem;
}
.nav {
  display: flex;
  flex-direction: column;
}
.nav a.homepage-link,
.nav a.prev-link,
.nav a.next-link {
  text-decoration: none;
}
.nav a.homepage-link {
  margin-bottom: 0.5em;
}
.nav a.homepage-link::before {
  content: "⌂";
  margin-right: 0.3em;
}
.nav a.prev-link {
  margin-bottom: 0.5em;
}
.nav a.prev-link::before {
  content: "◁";
  margin-right: 0.3em;
}
.nav a.next-link::after {
  content: "▷";
  margin-left: 0.3em;
}
#theme-switcher {
  margin-top: 2.5em;
}
#syntax-themes-container {
  margin-top: 0.5em;
}
#theme-switcher .themes-container {
  display: grid;
  grid-column-gap: 0.3em;
  grid-auto-flow: column;
  justify-content: start;
}
#theme-switcher .themes-container .theme-button {
  background: unset;
  border: 1px solid var(--border_color);
  border-radius: 5px;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 1rem;
  padding: 0;
  filter: brightness(1);
}
#theme-switcher .themes-container .theme-button:hover {
  filter: brightness(1.1);
}
#theme-switcher #site-themes-container .active::before {
  content: "";
  position: absolute;
  top: -8px;
  left: calc(1.6rem / 2 - 8px);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 5px solid var(--font_color_regular);
}
#theme-switcher #syntax-themes-container .active::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: calc(1.6rem / 2 - 8px);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 5px solid var(--font_color_regular);
}
.highlighted {
  background: var(--search_result_highlight_bg);
}
.toctree-wrapper {
  margin-top: 2em;
}
li p:first-child {
  margin-top: 0;
}
li p:last-child {
  margin-bottom: 0;
}
li + li,
.toctree-wrapper + ul {
  margin-top: 0.3em;
}
.body p {
  line-height: 1.3em;
}
.toctree-wrapper a.headerlink {
  display: none;
}
blockquote {
  padding-left: 0.5em;
}
.admonition {
  border: thin solid;
  padding: 0.5em;
}
.admonition .admonition-title {
  margin-top: 0;
  display: inline;
}
.admonition .admonition-title::after {
  content: ":";
}
.admonition .admonition-title + p {
  display: inline;
}
.admonition *:last-child {
  margin-bottom: 0;
}
.admonition.note {
  border: none;
  background: var(--info_bg);
}
.admonition.warning {
  border: none;
  background: var(--warning_bg);
}
div.versionadded span.added {
  color: var(--feature_added_color);
}
div.versionchanged span.changed {
  color: var(--feature_changed_color);
}
div.deprecated span.deprecated {
  color: var(--feature_deprecated_color);
}
div.section > div.deprecated {
  border: 1px solid var(--feature_deprecated_color);
  padding: 1em;
}
.rubric {
  font-size: 1.3em;
  margin-top: 2em;
}
.footnote-reference {
  font-size: 0.6em;
  text-align: start;
  vertical-align: super;
}
dl.footnote {
  display: grid;
  grid-template-columns: max-content auto;
}
dl.footnote dt {
  grid-column: 1;
}
dl.footnote dd {
  grid-column: 2;
  margin-left: 1em;
}
dl.footnote dd p {
  margin-top: 0;
}
h1 {
  margin-bottom: 1.5em;
}
h1 a.headerlink {
  display: none;
}
h2 a.headerlink,
h3 a.headerlink,
h4 a.headerlink,
h5 a.headerlink,
dl dt a.headerlink {
  margin-left: 0.3em;
  text-decoration: none;
}
h2:not(:hover) a.headerlink,
h3:not(:hover) a.headerlink,
h4:not(:hover) a.headerlink,
h5:not(:hover) a.headerlink,
dl dt:not(:hover) a.headerlink {
  visibility: hidden;
}
section dl + dl {
  margin-top: 2em;
}
section > dl > dt {
  border-top: thin dotted var(--border_color);
  padding-top: 0.3em;
}
section dt {
  padding-left: 0.2em;
}
section .sig-name {
  font-weight: bold;
}
section dl.class > dt,
section dl.function > dt {
  background: var(--header_highlight_bg1);
}
section dl.method > dt {
  background: var(--header_highlight_bg2);
}
section dl.field-list > dt {
  background: var(--header_highlight_bg3);
}
section dl.field-list dt {
  margin-top: 0.5em;
}
section dl.field-list dd > p:first-child {
  margin-top: 0.5em;
}
section dl.field-list dd > p:last-child {
  margin-bottom: 0.5em;
}
button.copybtn {
  background: var(--code_color);
  border: none;
}

