/*
 * haiku.css_t
 * ~~~~~~~~~~~
 *
 * Sphinx stylesheet -- haiku theme.
 *
 * Adapted from http://haiku-os.org/docs/Haiku-doc.css.
 * Original copyright message:
 *
 *     Copyright 2008-2009, Haiku. All rights reserved.
 *     Distributed under the terms of the MIT License.
 *
 *     Authors:
 *              Francois Revol <revol@free.fr>
 *              Stephan Assmus <superstippi@gmx.de>
 *              Braden Ewing <brewin@gmail.com>
 *              Humdinger <humdingerb@gmail.com>
 *
 * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
 * :license: BSD, see LICENSE for details.
 *
 */

@import url("basic.css");

html {
    margin: 0px;
    padding: 0px;
    /*background: #FFF url(bg-page.png) top left repeat-x;*/
}

body {
    line-height: 1.5;
    margin: 0px;
    padding: 0px;
    font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
    color: black;
    text-align: center;
}

div.footer {
    padding: 36px 0;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.5px;
    background: #000060;
    color: #ffffff;
}

/* link colors and text decoration */

a:link {
    /*font-weight: bold;*/
    font-weight: normal;
    text-decoration: none;
    color: #0057cb;
}

a:visited {
    /*font-weight: bold;*/
    font-weight: normal;
    text-decoration: none;
    color: #0057cb;
}

a:hover, a:active {
    text-decoration: underline;
    color: #0057cb;
}

/* Some headers act as anchors, don't give them a hover effect */

h1 a:hover, a:active {
    text-decoration: none;
    color: black;
}

h2 a:hover, a:active {
    text-decoration: none;
    color: black;
}

h3 a:hover, a:active {
    text-decoration: none;
    color: black;
}

h4 a:hover, a:active {
    text-decoration: none;
    color: black;
}

a.headerlink {
    color: silver;
    padding-left: 5px;
}

a.headerlink:hover {
    color: silver;
}

/* basic text elements */

div.content {
    margin-top: 20px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 50px;
    font-size: 0.9em;
}

/* heading and navigation */

div.header {
    /*position: relative;*/
    /*left: 0px;*/
    /*top: 0px;*/
    /*height: 85px;*/
    background: #efefef;
    padding-top: 8px;
    padding-bottom: 0;
    padding-left: 40px;
    padding-right: 40px;
}
div.header h1 {
    font-size: 1.6em;
    font-weight: normal;
    letter-spacing: 1px;
    color: black;
    border: 0;
    margin: 0;
    padding-top: 15px;
}
div.header h1 a {
    font-weight: normal;
    color: black;
}
div.header h2 {
    font-size: 1.3em;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    border: 0;
    margin-top: -3px;
    padding: 0;
}

div.header img.rightlogo {
    float: right;
}


div.title {
    font-size: 1.3em;
    font-weight: bold;
    color: black;
    border-bottom: dotted thin #e0e0e0;
    margin-bottom: 25px;
}
div.topnav {
    background: #e0e0e0;
    padding: 0 40px;
    text-align: right;
}
div.topnav p {
    margin-top: 0;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 0px;
    text-align: right;
    font-size: 0.8em;
}
div.bottomnav {
    background: #e0e0e0;
}
div.bottomnav p {
    margin-right: 40px;
    text-align: right;
    font-size: 0.8em;
}

a.uplink {
    font-weight: normal;
}


/* contents box */

table.index {
    margin: 0px 0px 30px 30px;
    padding: 1px;
    border-width: 1px;
    border-style: dotted;
    border-color: #e0e0e0;
}
table.index tr.heading {
    background-color: #e0e0e0;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}
table.index tr.index {
    background-color: #eeeeee;
}
table.index td {
    padding: 5px 20px;
}

table.index a:link, table.index a:visited {
    font-weight: normal;
    text-decoration: none;q
    color: #0057cb;
}
table.index a:hover, table.index a:active {
    text-decoration: underline;
    color: #0057cb;
}


/* Haiku User Guide styles and layout */

/* Rounded corner boxes */
/* Common declarations */
div.admonition {
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border-style: dotted;
    border-width: thin;
    border-color: #dcdcdc;
    padding: 10px 15px 10px 15px;
    margin-bottom: 15px;
    margin-top: 15px;
}
div.note {
    padding: 10px 15px 10px 80px;
    background: #e4ffde url(alert_info_32.png) 15px 15px no-repeat;
    min-height: 42px;
}
div.warning {
    padding: 10px 15px 10px 80px;
    background: #fffbc6 url(alert_warning_32.png) 15px 15px no-repeat;
    min-height: 42px;
}
div.seealso {
    background: #e4ffde;
}

/* More layout and styles */
h1 {
    font-size: 1.8em;
    font-weight: normal;
    color: black;
    border-bottom: dotted thin #e0e0e0;
    /*margin-top: 30px;*/
    text-align: center;
}

h2 {
    font-size: 1.6em;
    font-weight: normal;
    color: black;
    border-bottom: dotted thin #e0e0e0;
    /*margin-top: 30px;*/
}

h3 {
    font-size: 1.2em;
    font-weight: normal;
    color: black;
    /*margin-top: 30px;*/
}

h4 {
    font-size: 1.0em;
    font-weight: normal;
    color: black;
    /*margin-top: 30px;*/
}

p {
    text-align: justify;
}

p, ul, ol {
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

p.last {
    margin-bottom: 0;
}

ul.simple {
    padding-inline-start: 2.5em;
    padding-inline-end: 2.5em;
    text-align: left;
}

li {
    line-height: 1.3;
}

td {
    vertical-align: top;
}

code {
    background-color: #e2e2e2;
    font-size: 1.0em;
    font-family: monospace;
}

pre {
    border-color: #0c3762;
    border-style: dotted;
    border-width: thin;
    margin: 0 0 12px 0;
    padding: 0.8em;
    background-color: #f0f0f0;
}

hr {
    border-top: 1px solid #ccc;
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
    margin-bottom: 10px;
    margin-top: 20px;
}

.line-block {
    text-align: left
}

/* printer only pretty stuff */
@media print {
    .noprint {
        display: none;
    }
    /* for acronyms we want their definitions inlined at print time */
    acronym[title]:after {
        font-size: small;
        content: " (" attr(title) ")";
        font-style: italic;
    }
    /* and not have mozilla dotted underline */
    acronym {
        border: none;
    }
    div.topnav, div.bottomnav, div.header, table.index {
        display: none;
    }
    div.content {
        margin: 0px;
        padding: 0px;
    }
    html {
        background: #FFF;
    }
}

.viewcode-back {
    font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
}

div.viewcode-block:target {
    background-color: #f4debf;
    border-top: 1px solid #ac9;
    border-bottom: 1px solid #ac9;
    margin: -1px -10px;
    padding: 0 12px;
}

/* math display */
div.math p {
    text-align: center;
}

img.align-middle {
    vertical-align: middle;
    /*
    float: left;
    clear: both;
    overflow: auto;
    */
}

table.docutils col {
    width: auto;
}

table.docutils td {
    vertical-align: middle;
}

table.docutils ul {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

table.docutils ul li {
    list-style-image: none;
    list-style-type: none;
    padding: 0 0 0.4em 0;
    margin: 0 0 0 0;
}

/*grid-like definition lists*/

dl {
    display: grid;
    grid-template-columns: min-content max-content;
    grid-auto-flow: column;
}

dt {
    grid-column: 1;
    text-align: right;
    font-weight: bold;
    padding-right: 0.7em;
}

dt, dd {
    margin: 0;
    margin-bottom: 0.5em;
}

dd p, dd div.line-block {
    margin-bottom: 0;
}

/*convert toctree into navigation bar*/

.topnav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /*background-color: #333333;*/
}

.topnav ul li a {
  display: block;
  /*color: white;*/
  /*text-align: center;*/
  /*padding: 16px;*/
  padding-left: 9px;
  padding-right: 9px;
  padding-top: 4px;
  padding-bottom: 4px;
  text-decoration: none;
}

.topnav ul li a:hover {
  background-color: #efefef;
}

/*footer blocks*/

div.footer div.footer_blocks {
  display: flex;
  justify-content: center;
  overflow: hidden;
  text-align: left;
}

div.footer_block {
  /* background: #eeeeee; */
  padding: 0 2em;
  margin: 0 1em;
}

div.footer a {
  color: white;
  font-weight: normal;
}

div.footer a:hover {
  color: white;
  font-weight: normal;
}

/* intro images*/

div.introimg p{
  text-align: center;
  font-size: 1.1em;
}

div.introimg a{
  color: black;
  /*font-weight: normal;*/
}

div.introimg a:visited{
  color: black;
}

div.introimg .headerlink{
  display: none;
}

/* toctree */

.toctree-wrapper ul {
  list-style-type: none;
  text-align: center;
  padding: 0;
}
.toctree-wrapper ul li {
  line-height: 1.8;
}

/* center max-width content */

div.content-wrapper {
  display: flex;
  justify-content: center;
  overflow: auto;
}

div.content {
  max-width: 50em;
}

/* downloads */
table.downloads {
  text-align: left;
}
