@import url("basic.css");
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,700;1,300;1,700&family=Vollkorn:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

div.body > .section {
    text-align: left;
}

div.relations {
    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 p.logo {
    padding: 0px;
    margin: 0em 0em 0em 0em;
    text-align: center;
}

div.sphinxsidebar h1.logo {
    margin: 0em 0em 0.7em 0em;
    font-family: inherit;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: inherit;
}

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

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

div.sphinxsidebar h3,
div.sphinxsidebar h4 {
    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: 10px 0;
}

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

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

div.sphinxsidebar input {
    border: 1px solid #CCC;
    font-size: 1em;
}

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

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

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

a {
    color: #004B6B;
    text-decoration: underline;
}

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

h1, h2, h3, h4, h5, h6, p#subtitle {
    font-family: "Vollkorn", "Merriweather", "Garamond", "PT Serif", serif;
    letter-spacing: -0.015em;
    font-weight: normal;
    line-height: 1.1;
    margin: 1em 0em 0.3em 0em;
    padding: 0;
    clear: both;
    hyphens: manual;
}

h1 { margin-top: 0.2em; padding-top: 0; font-size: 240%; }
h2 { font-size: 180%; }
h3 { font-size: 150%; }
h4 { font-size: 130%; }
h5 { font-size: 100%; }
h6 { font-size: 100%; }
p#subtitle {
    font-size: 145%;
    margin: -0.8ex 0em 1.2em 0em;
    text-align: center;
}

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

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

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

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

div.highlight {
    background-color: #fff;
}

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

div.warning {
    background-color: #FCC;
    border: 1px solid #FAA;
}

div.danger {
    background-color: #FCC;
    border: 1px solid #FAA;
    -moz-box-shadow: 2px 2px 4px #D52C2C;
    -webkit-box-shadow: 2px 2px 4px #D52C2C;
    box-shadow: 2px 2px 4px #D52C2C;
}

div.error {
    background-color: #FCC;
    border: 1px solid #FAA;
    -moz-box-shadow: 2px 2px 4px #D52C2C;
    -webkit-box-shadow: 2px 2px 4px #D52C2C;
    box-shadow: 2px 2px 4px #D52C2C;
}

div.caution {
    background-color: #FCC;
    border: 1px solid #FAA;
}

div.important {
    background-color: #EEE;
    border: 1px solid #CCC;
}

div.note {
    background-color: #EEE;
    border: 1px solid #CCC;
}

div.tip {
    background-color: #EEE;
    border: 1px solid #CCC;
}

div.hint {
    background-color: #EEE;
    border: 1px solid #CCC;
}

div.seealso {
    background-color: #EEE;
    border: 1px solid #CCC;
}

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

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

.hll {
    background-color: #FFC;
    margin: 0 -12px;
    padding: 0 12px;
    display: block;
}

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 td, table.docutils th {
    border: 1px solid #888;
    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.field-list p {
    margin-bottom: 0.8em;
}

/* Cloned from
 * https://github.com/sphinx-doc/sphinx/commit/ef60dbfce09286b20b7385333d63a60321784e68
 */
.field-name {
    -moz-hyphens: manual;
    -ms-hyphens: manual;
    -webkit-hyphens: manual;
    hyphens: manual;
}

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

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

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

div.viewcode-block:target {
    background: #ffd;
}

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

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

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

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

/* Don't put an underline on images */
a.image-reference, a.image-reference:hover {
    border-bottom: none;
}

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;
}


/* 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 inconsistent
 * 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;
  /* Below needed in some edge cases; if not applied, bottom shadows appear */
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}


/**********************************************************************************

  blog.css

***********************************************************************************/

/* global default settings */
body {
    font-family: "Merriweather", "PT Serif", serif;
    font-size: 17px;
    line-height: 1.5;
    background-color: #fff;
    color: #3E4349;
    margin: 0;
    padding: 0;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* flex box layout */
div.document {
    margin: 0px auto;
    padding: 1em 0.5em;
    background-color: #FFF;
    max-width: 940px;
    display: flex;
    flex-direction: row;
}
div.documentwrapper {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 600px;
    order: 2;
} 
div.sphinxsidebar {
    font-size: 14px;
    margin: 0px;
    border-right: solid 1px #888;
    flex-basis: 240px;
    flex-grow: 0;
    order: 1;
}
div.sphinxsidebarwrapper {
    padding: 0.5em 1.2em;
}

div.body {
    background-color: #fff;
    padding: 0 1.5em 0 1.5em;
    margin: 0px;
    min-height: 35rem;
    max-width: none;
}
div.footer {
    margin: 10px auto 10px auto;
    font-size: 14px;
    color: #888;
    text-align: center;
}
div.footer a {
    color: #888;
}

/* paragraphs/blocks */
p, ul, ol, dl {
    margin: 1em 0em;
}
ul, ol, blockquote {
    padding-left: 2em;
}
ul ul, ul ol, ol ul, ol ol {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

/* lists */
dt {
    margin: 0.7em 0em 0em 0em;
    padding: 0em;
}
li {
    margin: 0.4em 0em;
}
li {
    padding-left: 0.1em;
    margin-left: -0.1em;
}
li li {
    margin: 0em 0em;
}
ul {
    list-style-type: disc;
}
li ul > li, dd ul > li {
    position: relative;
    list-style-type: none;
}
li ul > li::before, dd ul > li::before {
    content: "•";
    display: inline;
    position: absolute;
    left: -1.0em;
    font-weight: bold;
}
dd {
    margin-top: 0em;
    margin-bottom: 0em;
    padding: 0em;
}
li p, dd p, div.line-block {
    margin: 0.4em 0em 0em 0em;
}
li p:first-child, dd p:first-child, dd > div.line-block {
    margin-top: 0em;
}


/* glossary list */
dl.glossary dt {
    font-size: inherit;
}
dt:target {
    background-color: transparent;
}

/* rubric */
p.rubric {
    margin: 1.5em 0em 0.7em 0em;
    font-weight: bold;
}


/* sphinxsidebar */
div.sphinxsidebar h2 {
    margin: 0.3em 0em 0.3em 0em;
}
div.sphinxsidebar h2 + ul {
    list-style: none;
    padding-left: 0em;
}
div.sphinxsidebar li {
    margin: 0em 0em;
    padding-left: 0em;
}
div.sphinxsidebar ul li.toctree-l1 a {
    font-size: inherit;
}
div.sphinxsidebar h3 {
    margin: 1.4ex 0em 0.3ex 0em;
}
/* punktowanie w Nawitacja / Recent Posts / Categories */
div.sphinxsidebar ul {
    list-style: disc;
    margin: 0.3em 0em;
    padding-left: 1.3em;
}
div.sphinxsidebar ul ul {
    list-style: circle
}
/* Search box */
div.sphinxsidebar #searchbox input[type="text"] {
    width: 70%;
}
div.sphinxsidebar #searchbox input[type="submit"] {
    width: 25%;
}
div#searchbox {
    margin-top: 4ex;
}

/* admonition */
div.admonition {
    font-size: 14px;
    margin: 1em 0em;
    padding: 0.8em 1em;
    background-color: #F7F7F7;
}
div.admonition p.admonition-title {
    font-weight: bold;
    margin: 0em 0em 0.3em 0em;
}
div.admonition ul {
    margin: 0.4em 0em;
    padding-left: 1.5em;
}
div.admonition li {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}
div.attention p.admonition-title {
    display: none;
}


/* footnotes */
dl.footnote {
    display: grid;
    grid-template-columns: fit-content(10%) auto;
    gap: 0.2em 0.6em;
    padding-top: 1em;
    border-top: solid 2px #BBB;
    margin: 1em 0em;
    margin-top: 2em;
}
dl.footnote > dt, dl.footnote > dd {
    float: none;
    font-size: 85%;
    margin: 0.2em 0em 0.2em 0em;
    margin: 0em;
}

/* odnośniki next prev na dole strony */
div#prevnext {
    margin-top: 3rem;
    font-size: 14px;
    display: grid;
    grid-template-columns: fit-content(45%) fit-content(45%);
    justify-content: space-between;
}
div#prevnext div span {
    font-weight: bold;
}
div#prevnext-next {
    text-align: right;
}

/* cytaty */
blockquote  {
    margin: 0.5em 0em;
    color: #602020;
    font-size: 90%;
}
blockquote div p, blockquote div div.line-block {
    margin: 1ex 0ex;
}
blockquote div p.attribution {
    text-align: right;
}
blockquote li, blockquote li p {
    margin: 0em;
}
blockquote ul, blockquote ol {
    margin-top: 0em;
    margin-bottom: 0em;
    padding-left: 1.2em;
}
blockquote.epigraph {
    margin: 2em 0em 3em 30%;
}

/* pull-quote */
blockquote.pull-quote {
    color: inherit;
    font-size: 100%;
    margin: 0em 0em;
    padding: 1.2em 2em;
    background-color: #F7F7F7;
}
blockquote.pull-quote div p, blockquote.pull-quote div div.line-block {
    margin: 0em 0em;
}
div.container {
    padding: 0em 0em;
}
div.centering {
    text-align: center;
}

/* color */
body {
    background-color: #DDD;
}

img.align-center {
    display: block;
    margin: 1.5rem auto;
}
img + img {
    margin-top: 4em;
}

hr {
    border: none;
    border-top: solid 1px #B1B4B6;
    margin: 1.7em 0em;
}

/* :download: role */
a code.download {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}
code.xref {
    border-bottom: inherit;
}


/* video */
div.video_wrapper {
    margin: 1.8em auto;
    padding-bottom: 47.812500%;
    padding-top: 30px;
    position: relative;
    width: 85%;
    height: auto;
}
div.video_wrapper iframe {
    border: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* span.strike */
span.strike {
    text-decoration: line-through;
}

/* span.und */
span.und {
    text-decoration: underline;
}

/* disqus */
a.dsq-brlink {
    display: none;
}

/* tag cloud */
div.sphinxsidebar ul.ablog-cloud {
    list-style: none;
    padding-left: 0em;
}
div.sphinxsidebar ul.ablog-cloud > li {
    display: inline;
}
div.sphinxsidebar ul.ablog-cloud > li:before {
    content: "  •  ";
    font-size: 14px;
}
div.sphinxsidebar ul.ablog-cloud > li:first-child:before {
    content: none;
}

/**********************************************************************************

  mobile devices

***********************************************************************************/

@media (pointer:coarse) {

    div.document {
        flex-direction: column;
        width: auto;
        margin: 0px;
        padding: 1em 0.7em;
    }

    div.documentwrapper {
        order: 1;
    }

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

    div.footer {
        width: auto;
        display: none;
    }

    div.sphinxsidebar {
        flex-basis: auto;
        width: auto;
        order: 2;
        display: block;
        background: #333;
        color: #FFF;
        margin-top: 2em;
        border-right: none;
    }

    div.sphinxsidebarwrapper {
        padding: 1.2em 2em;
    }

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

    div.sphinxsidebar a {
        color: #AAA;
    }

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

    .rtd_doc_footer {
        display: none;
    }

}

@media (pointer:coarse) and (orientation: portrait) {

}

@media (pointer:coarse) and (orientation: landscape) {

    div.document {
        padding: 1em 1.5em;
    }

}
