/*
 * pylons.css_t
 * ~~~~~~~~~~~~
 *
 * Sphinx stylesheet -- pylons theme.
 *
 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
 * :license: BSD, see LICENSE for details.
 *
 */

@import url("basic.css");

/* -- page layout ----------------------------------------------------------- */
:root,
:host {
  --color-gray-100: oklch(96.7% 0.003 264.542);
  --color-gray-300: lab(85.1236% -0.612259 -3.7138);
  --color-gray-900: oklch(21% 0.034 264.665);
  --color-note-bg: #e1ecfe60;
  --color-highlight-bg: #e1ecfe60;
}
body {
  font-family: "Nobile", sans-serif;
  /* font-size: 125%; */
  background-color: #edede5;
  color: #ffffff;
  margin: 0;
  padding: 0;
}
div.documentwrapper {
  /* float: left;
  width: 100%; */
}

div.bodywrapper {
  /* margin: 0 0 0 230px; */
  /* width: 94%; 1037px; */
  margin: 0 auto;
  min-width: 640px;
  max-width: 960px;
}

hr {
  border: 1px solid #b1b4b6;
}

div.document {
  /* background-color: #eee; */
}

div.header {
  width: 100%;
  background: #f4ad32 url(headerbg.png) repeat-x 0 top;
  border-bottom: 2px solid #ffffff;
}

div.logo {
  text-align: center;
  padding-top: 10px;
}

div.body {
  background-color: #ffffff;
  color: #3e4349;
  /* padding: 0 30px 30px 30px; */
  font-size: 1em;
  border: 2px solid #ddd;
  overflow: auto;
}

div.footer {
  color: black;
  width: 100%;
  padding: 13px 0;
  text-align: center;
  font-size: 75%;
  background: transparent;
  clear: both;
}

div.footer a {
  color: #3388ff;
  text-decoration: none;
}

div.footer a:hover {
  color: #e88f00;
  text-decoration: underline;
}

div.related {
  line-height: 30px;
  color: #373839;
  font-size: 0.8em;
  /* background-color: #eee; */
}

div.related a {
  color: #3388ff;
}

div.related ul {
  /* padding-left: 240px; */
  width: 1037px;
  margin: 0 auto;
}

div.sphinxsidebar {
  font-size: 0.75em;
  line-height: 1.5em;
}

div.sphinxsidebarwrapper {
  padding: 10px 0;
}

div.sphinxsidebar h3,
div.sphinxsidebar h4 {
  font-family: "Neuton", sans-serif;
  color: #373839;
  font-size: 1.4em;
  font-weight: normal;
  margin: 0;
  padding: 5px 10px;
  border-bottom: 2px solid #ddd;
}

div.sphinxsidebar h4 {
  font-size: 1.3em;
}

div.sphinxsidebar h3 a {
  color: #000000;
}

div.sphinxsidebar p {
  color: #888;
  padding: 5px 20px;
}

div.sphinxsidebar p.topless {
}

div.sphinxsidebar ul {
  margin: 10px 20px;
  padding: 0;
  color: #373839;
}

div.sphinxsidebar a {
  color: #444;
}

div.sphinxsidebar input {
  border: 1px solid #ccc;
  font-family: sans-serif;
  font-size: 1em;
}

div.sphinxsidebar input[type="text"] {
  margin-left: 20px;
}

/* -- sidebars -------------------------------------------------------------- */

div.sidebar {
  margin: 0 0 0.5em 1em;
  border: 2px solid #c6d880;
  background-color: #e6efc2;
  width: 40%;
  float: right;
  border-right-style: none;
  border-left-style: none;
  padding: 10px 20px;
}

p.sidebar-title {
  font-weight: bold;
}

/* -- body styles ----------------------------------------------------------- */

a,
a .pre {
  color: #3388ff;
  text-decoration: none;
}

a:hover,
a:hover .pre {
  color: #e88f00;
  text-decoration: underline;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
  font-family: "Neuton", sans-serif;
  background-color: #ffffff;
  font-weight: normal;
  color: #373839;
  margin: 30px 0px 10px 0px;
  padding: 5px 0;
}

div.body h1 {
  border-top: 20px solid transparent;
  margin-top: 0;
  font-size: 300%;
  font-weight: bold;
  margin-bottom: 30px;
}
div.body h2 {
  font-size: 180%;
  background-color: #ffffff;
  margin-top: 60px;
  font-weight: bold;
  background-color: #3388ff;
  color: #fff;
}
div.body h3 {
  font-size: 120%;
  background-color: #ffffff;
  color: #3388ff;
  margin-top: 40px;
}
div.body h4 {
  font-size: 110%;
  background-color: #ffffff;
}
div.body h5 {
  font-size: 100%;
  background-color: #ffffff;
}
div.body h6 {
  font-size: 100%;
  background-color: #ffffff;
}

a.headerlink {
  color: #edede5;
  font-size: 0.8em;
  padding: 0 4px 0 4px;
  text-decoration: none;
}

a.headerlink:hover {
  color: #e88f00;
  text-decoration: underline;
}

div.body p,
div.body dd,
div.body li {
  line-height: 1.5em;
}

div.admonition p.admonition-title + p {
  display: inline;
}

div.highlight {
  background-color: var(--color-highlight-bg);
}

div.note {
  border: 2px solid #7a9eec;
  border-right-style: none;
  border-left-style: none;
  padding: 10px 20px 10px 60px;
  background: var(--color-note-bg);
}

div.seealso {
  background: #fff6bf url(dialog-seealso.png) no-repeat 10px 8px;
  border: 2px solid #ffd324;
  border-left-style: none;
  border-right-style: none;
  padding: 10px 20px 10px 60px;
}

div.topic {
  background: #eeeeee;
  border: 2px solid #c6c9cb;
  padding: 10px 20px;
  border-right-style: none;
  border-left-style: none;
}

div.warning {
  background: #fbe3e4 url(dialog-warning.png) no-repeat 10px 8px;
  border: 2px solid #fbc2c4;
  border-right-style: none;
  border-left-style: none;
  padding: 10px 20px 10px 60px;
}

p.admonition-title {
  display: none;
}

p.admonition-title:after {
  content: ":";
}

pre {
  padding: 10px;
  /* background-color: #fcfcfc; */
  color: #222;
  line-height: 1.2em;
  border: 2px solid #c6c9cb;
  font-size: 1.1em;
  margin: 1.5em 0 1.5em 0;
  border-right-style: none;
  border-left-style: none;
}

tt {
  background-color: transparent;
  color: #222;
  font-size: 1.1em;
  font-family: monospace;
}

.viewcode-back {
  font-family: "Nobile", sans-serif;
}

div.viewcode-block:target {
  background-color: #fff6bf;
  border: 2px solid #ffd324;
  border-left-style: none;
  border-right-style: none;
  padding: 10px 20px;
}

table.highlighttable {
  width: 100%;
}

table.highlighttable td {
  padding: 0;
}

a em.std-term {
  color: #007f00;
}

a:hover em.std-term {
  color: #e88f00;
  text-decoration: underline;
}

.download {
  font-family: "Nobile", sans-serif;
  font-weight: normal;
  font-style: normal;
}

tt.xref {
  font-weight: normal;
  font-style: normal;
}

/* Juanito Fatas */

/* centering figure */
div.figure {
  display: block;
  text-align: center;
  margin: 20px 100px;
  width: auto;
  height: auto;
  border: 1px solid #eee;
  -webkit-box-shadow: 0px 1px 2px #ccc;
  -moz-box-shadow: 0px 1px 2px #ccc;
  box-shadow: 0px 1px 2px #ccc;
}

div.figure > img {
  margin: 5px;
  -moz-box-shadow: 2px 2px 3px #f4f4f4;
  -webkit-box-shadow: 2px 2px 3px #f4f4f4;
  box-shadow: 2px 2px 3px #f4f4f4;
}
div.figure img {
  verticle-align: middle;
}
div.figure + p {
  font-style: bold;
  font-family: ff-latin-sans-italic;
  margin-bottom: 20px;
  text-align: center;
}

/* no ugly list style */

ul {
  list-style-type: none;
}
ul li {
  list-style-type: none;
}

/* for code */

pre,
code {
  /* better readablility font for code */
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 97%;
  overflow-x: hidden;
  line-height: 130%;
}

span.pre {
  /* better readablility font for code */
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}

div.highlight-cl {
  margin: 5px 0px 5px 0px;
}
div.highlight-cl strong {
  text-align: center;
}
div.highlight-cl > pre {
  margin-left: 40px;
}

span.pre {
  color: #468847;
  padding: 0 3px;
}

.footnote td {
  line-height: 120%;
}

/* different text selection colour */

::-moz-selection {
  background: #ff6600;
  color: #ffffff;
}

::selection {
  background: #ff6600;
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--color-gray-900);
    color: var(--color-gray-300);
  }
  div.body {
    background-color: var(--color-gray-900);
    color: var(--color-gray-300);
    border-color: var(--color-gray-900);
  }
  div.body h1,
  div.body h2,
  div.body h3,
  div.body h4,
  div.body h5,
  div.body h6 {
    background-color: var(--color-gray-900);
    color: var(--color-gray-300);
  }
}
