@import url("basic.css");

/* -- page layout ----------------------------------------------------------- */

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: white;
  color: #5d5858;
  margin: 0;
  padding: 0;
}

div.document {
  width: 940px;
  margin: 30px auto 0 auto;
}

div.documentwrapper {
  float: left;
  width: 100%;
}

div.bodywrapper {
  margin: 0 0 0 220px;
}

div.sphinxsidebar {
  width: 220px;
}

hr {
  border: 1px solid #b1b4b6;
}

div.body {
  background-color: #ffffff;
  color: #3e4349;
  padding: 0 30px 0 30px;
}

div.footer {
  width: 940px;
  margin: 20px auto 30px auto;
  font-size: 14px;
  color: #888;
  text-align: right;
}

div.footer a {
  color: #888;
}

div.related {
  display: none;
}

div.sphinxsidebar a {
  color: #444;
  text-decoration: none;
  border-bottom: 1px dotted #999;
}

div.sphinxsidebar a:hover {
  border-bottom: 1px solid #999;
}

div.sphinxsidebar {
  font-size: 14px;
  line-height: 1.5;
}

div.sphinxsidebarwrapper {
  padding: 0px 10px;
}

div.sphinxsidebarwrapper p.logo {
  padding: 0px 0px 20px 0px;
  /* top, right, bottom, left */
  margin: -20px 0 0 0px;
  /* top, right, bottom, left */
  text-align: center;
}

div.sphinxsidebarwrapper h1.logo {
  margin-top: 0px;
  text-align: center;
  margin-bottom: 0px;
  text-align: left;
}

div.sphinxsidebarwrapper h1.logo-name {
  margin-top: 0px;
}

div.sphinxsidebarwrapper p.blurb {
  margin-top: 0;
  font-style: normal;
}

div.sphinxsidebar h3,
div.sphinxsidebar h4 {
  font-family: Arial, Helvetica, sans-serif;
  color: #444;
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 5px 0;
  padding: 0;
}

div.sphinxsidebar h4 {
  font-size: 20px;
}

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

div.sphinxsidebar p.logo a,
div.sphinxsidebar h3 a,
div.sphinxsidebar p.logo a:hover,
div.sphinxsidebar h3 a:hover {
  border: none;
}

div.sphinxsidebar p {
  color: #555;
  margin: 0px 0;
}

div.sphinxsidebar ul {
  margin: 15px 0;
  padding: 0;
  color: #000;
}

div.sphinxsidebar ul li.toctree-l1 > a {
  font-size: 120%;
  color: #e48b25;
}

div.sphinxsidebar ul li.toctree-l2 > a {
  font-size: 110%;
  color: #e48b25;
}

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

div.sphinxsidebar hr {
  border: none;
  height: 1px;
  color: #999;
  background: #999;

  text-align: left;
  margin-left: 0;
  width: 50%;
}

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

a {
  color: #e48b25;
  text-decoration: none;
}

a:hover {
  color: #e48b25;
  text-decoration: underline;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
  font-family: Myriad-Pro, Arial, Helvetica, sans-serif;
  font-weight: normal;
  margin: 30px 0px 10px 0px;
  padding: 0;
}

/* div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
div.body h2 { font-size: 180%; }
div.body h3 { font-size: 150%; }
div.body h4 { font-size: 130%; }
div.body h5 { font-size: 100%; }
div.body h6 { font-size: 100%; } */

div.body h1 {
  margin-top: 0;
  padding-top: 0;
  font-size: 180%;
  font-weight: bold;
  color: #e48b25;
}

div.body h2 {
  font-size: 150%;
  color: #e48b25;
}

div.body h3 {
  font-size: 130%;
  color: #e48b25;
}

div.body h4 {
  font-size: 100%;
  color: #e48b25;
}

div.body h5 {
  font-size: 100%;
  color: #e48b25;
}

div.body h6 {
  font-size: 100%;
  color: #e48b25;
}

a.headerlink {
  color: #ddd;
  padding: 0 4px;
  text-decoration: none;
}

a.headerlink:hover {
  color: #444;
  background: #eaeaea;
}

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

div.admonition {
  margin: 20px 0px;
  padding: 10px 30px;
  background-color: #fcc;
  border: 1px solid #faa;
}

div.admonition tt.xref,
div.admonition a tt {
  border-bottom: 1px solid #fafafa;
}

dd div.admonition {
  margin-left: -60px;
  padding-left: 60px;
}

div.admonition p.admonition-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
}

div.admonition p.last {
  margin-bottom: 0;
}

div.highlight {
  background-color: white;
}

dt:target,
.highlight {
  background: #faf3e8;
}

div.note {
  background-color: #eee;
  border: 1px solid #ccc;
}

div.seealso {
  background-color: #eee;
  border: 1px solid #ccc;
}

div.topic {
  background-color: #eee;
}

p.admonition-title {
  display: inline;
}

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

pre,
tt,
code {
  font-family: "Consolas", "Menlo", "Deja Vu Sans Mono",
    "Bitstream Vera Sans Mono", monospace;
  font-size: 0.9em;
}

tt.descname,
tt.descclassname,
code.descname,
code.descclassname {
  font-size: 0.95em;
}

tt.descname,
code.descname {
  padding-right: 0.08em;
}

img.screenshot {
  -moz-box-shadow: 2px 2px 4px #eee;
  -webkit-box-shadow: 2px 2px 4px #eee;
  box-shadow: 2px 2px 4px #eee;
}

table.docutils {
  border: 1px solid #888;
  -moz-box-shadow: 2px 2px 4px #eee;
  -webkit-box-shadow: 2px 2px 4px #eee;
  box-shadow: 2px 2px 4px #eee;
}

table.docutils th {
  border: 1px solid #e48b25;
  padding: 0.25em 0.7em;
  background: #e48b25;
}

table.docutils td {
  border: 1px solid #e48b25;
  padding: 0.25em 0.7em;
}

table.field-list,
table.footnote {
  border: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

table.footnote {
  margin: 15px 0;
  width: 100%;
  border: 1px solid #eee;
  background: #fdfdfd;
  font-size: 0.9em;
}

table.footnote + table.footnote {
  margin-top: -15px;
  border-top: none;
}

table.field-list th {
  padding: 0 0.8em 0 0;
}

table.field-list td {
  padding: 0;
}

table.footnote td.label {
  width: 0px;
  padding: 0.3em 0 0.3em 0.5em;
}

table.footnote td {
  padding: 0.3em 0.5em;
}

dl {
  margin: 0;
  padding: 0;
}

dl dd {
  margin-left: 30px;
}

blockquote {
  margin: 0 0 0 30px;
  padding: 0;
}

ul,
ol {
  margin: 10px 0 10px 30px;
  padding: 0;
}

pre {
  background: #eee;
  padding: 7px 30px;
  margin: 15px 0px;
  line-height: 1.3em;
}

dl pre,
blockquote pre,
li pre {
  margin-left: -60px;
  padding-left: 60px;
}

dl dl pre {
  margin-left: -90px;
  padding-left: 90px;
}

tt,
code {
  background-color: #ecf0f3;
  color: #222;
  /* padding: 1px 2px; */
}

tt.xref,
code.xref,
a tt {
  background-color: #fbfbfb;
  border-bottom: 1px solid white;
}

a.reference {
  text-decoration: none;
  border-bottom: 1px dotted #004b6b;
}

a.reference:hover {
  border-bottom: 1px solid #6d4100;
}

a.footnote-reference {
  text-decoration: none;
  font-size: 0.7em;
  vertical-align: top;
  border-bottom: 1px dotted #004b6b;
}

a.footnote-reference:hover {
  border-bottom: 1px solid #6d4100;
}

a:hover tt,
a:hover code {
  background: #eee;
}

@media screen and (max-width: 870px) {
  div.sphinxsidebar {
    display: none;
  }

  div.document {
    width: 100%;
  }

  div.documentwrapper {
    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  div.bodywrapper {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
  }

  ul {
    margin-left: 0;
  }

  .document {
    width: auto;
  }

  .footer {
    width: auto;
  }

  .bodywrapper {
    margin: 0;
  }

  .footer {
    width: auto;
  }

  .github {
    display: none;
  }
}

@media screen and (max-width: 875px) {
  body {
    margin: 0;
    padding: 20px 30px;
  }

  div.documentwrapper {
    float: none;
    background: white;
  }

  div.sphinxsidebar {
    display: block;
    float: none;
    width: 102.5%;
    margin: 50px -30px -20px -30px;
    padding: 10px 20px;
    background: #333;
    color: #fff;
  }

  div.sphinxsidebar h3,
  div.sphinxsidebar h4,
  div.sphinxsidebar p,
  div.sphinxsidebar h3 a {
    color: white;
  }

  div.sphinxsidebar a {
    color: #aaa;
  }

  div.sphinxsidebar p.logo {
    display: none;
  }

  div.document {
    width: 100%;
    margin: 0;
  }

  div.related {
    display: block;
    margin: 0;
    padding: 10px 0 20px 0;
  }

  div.related ul,
  div.related ul li {
    margin: 0;
    padding: 0;
  }

  div.footer {
    display: none;
  }

  div.bodywrapper {
    margin: 0;
  }

  div.body {
    min-height: 0;
    padding: 0;
  }

  .rtd_doc_footer {
    display: none;
  }

  .document {
    width: auto;
  }

  .footer {
    width: auto;
  }

  .footer {
    width: auto;
  }

  .github {
    display: none;
  }
}

/* misc. */

.revsys-inline {
  display: none !important;
}

/* Make nested-list/multi-paragraph items look better in Releases changelog
 * pages. Without this, docutils' magical list fuckery causes inconsisten
 * formatting between different release sub-lists.
 */
div#changelog > div.section > ul > li > p:only-child {
  margin-bottom: 0;
}

/* Hide fugly table cell borders in ..bibliography:: directive output */
table.docutils.citation,
table.docutils.citation td,
table.docutils.citation th {
  border: none;
}
