/**
 * Sphinx stylesheet -- modified default theme
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */

/*
Colours:
*/

:root {

    --link-colour: #c60f0f;

    --dark-red: #600000;
    --darker-red: #400000;
    --very-light-pink: #EFE8E8;
    --very-dark-grey: #222;

    --class-overline-colour:   var(--dark-red);
    --class-background-colour: var(--very-light-pink);
    --class-parameter-colour:  var(--dark-red);

/*  GREENS
    --parameters-header-colour:      #193f1f;
    --parameters-background-colour:  #edf3ef;
    --parameters-overline-colour:    #1a5e30;
*/


/*  PURPLES
    --parameters-header-colour:      #19001f;
    --parameters-background-colour:  #f3eff3;
    --parameters-overline-colour:    #301030;
*/

/* GREYS */
    --parameters-header-colour:      #191919;
    --parameters-background-colour:  #f3f3f3;
    --parameters-overline-colour:    #191919;


/*    --note-background-colour:        #1a4028 */
    --note-background-colour:        #400000;

    --key-border-colour: var(--dark-red);
    --key-background-color: var(--very-light-pink);
    --key-text-colour: var(--very-dark-grey);

}



@import url("basic.css");


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

body {
    font-family: Palatino, "Palatino Linotype", Georgia, Garamond, Baskerville, Serif;
    font-size: 95%;
    background-color: #283038;
    color: #000;
    margin: 0 auto 0 auto;
    padding: 0;
}

div.document {
    /* background-color: #606060; */
    margin: 0;
}

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

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

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

div.footer {
    color: #ffffff;
    background-color: #788088;
    width: 100%;
    padding: 9px 0 9px 0;
    text-align: center;
    font-size: 75%;
}

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

div.related {
    background-color: #404850;
    line-height: 30px;
    color: #ffffff;
}

div.related a {
    color: #ffffff;
}

div.sphinxsidebar, div.sphinxsidebarwrapper, div.bodywrapper, div.documentwrapper  {
    background-color: #606060;
}


div.sphinxsidebar h3 {
    font-family: 'Trebuchet MS', sans-serif;
    color: #ffffff;
    font-size: 1.4em;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

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

div.sphinxsidebar h4 {
    font-family: 'Trebuchet MS', sans-serif;
    color: #ffffff;
    font-size: 1.3em;
    font-weight: normal;
    margin: 5px 0 0 0;
    padding: 0;
}

div.sphinxsidebar p {
    color: #ffffff;
}

div.sphinxsidebar p.topless {
    margin: 5px 10px 10px 10px;
}

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

div.sphinxsidebar a, div.sphinxsidebar a:visited, div.sphinxsidebar a:hover {
    color: #ffffff;
}

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

.wy-menu ul .toctree-l1 a, .wy-menu ul .toctree-l1 a:visited, .wy-menu ul .toctree-l1 a:hover {
    color: #FFFFFF;
}

.wy-menu-vertical li.current a:hover {
    background: #888888;
}

.wy-menu-vertical li.current a:visited, .wy-menu-vertical li.current a:link,
{
    background: #484545;
}

.wy-menu-vertical li.toctree-l2.current > a, .wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a {
    background: #484545;
}

.wy-body-for-nav {
    background:#888888;
}

.wy-dropdown-menu>dd.call-to-action{
    background:#898989;
}
.wy-dropdown-menu>dd.call-to-action:hover{
    background:#8a8a8a;
}
/* Open section of menu*/

.wy-menu-vertical li.current{
    background:#403c3c;
}

.wy-dropdown-menu{
    background:#8d8d8d;
}

.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu{
    background:#8e8e8e;
}

.wy-menu-vertical li.current>a,.wy-menu-vertical li.on a{
    background:#3F3939;
    border:none;
    padding:.4045em 1.618em
}
.wy-menu-vertical li.current>a:hover,.wy-menu-vertical li.on a:hover{
    background:#898a8b
}

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

a,a:visited {
    color: #700000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

div.body p, div.body dd, div.body li {
    text-align: justify;
    line-height: 130%;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    font-family: Palatino, "Palatino Linotype", Georgia, sans-serif;
    background-color: #FFFFFF;
    font-weight: normal;
    color: #800000;
    border-bottom: none;
    margin: 20px -20px 10px -20px;
    padding: 3px 0 3px 10px;
}

div.body h1 { margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 160%; }
div.body h3 { font-size: 140%; }
div.body h4 { font-size: 120%; }
div.body h5 { font-size: 110%; }
div.body h6 { font-size: 95%; }

a.headerlink {
    color: var(--link-colour);
    font-size: 0.8em;
    padding: 0 4px 0 4px;
    text-decoration: none;
}

a.headerlink:hover {
    background-color: #c60f0f;
    color: white;
}

div.body p, div.body dd, div.body li {
    text-align: justify;
    line-height: 130%;
}

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

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

div.seealso {
    background-color: #ffc;
    border: 1px solid #ff6;
}

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

div.warning {
    background-color: #ffe4e4;
    border: 1px solid #f66;
}

p.admonition-title {
    display: inline;
}

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

pre {
    padding: 5px;
    background-color: none;
    color: #333333;
    line-height: 120%;
    border: none;
    border-left: none;
    border-right: none;
    font-size: 1.2em;
}

span.pre {
    background-color: none;
    font-weight: bold;
}

tt {
    background-color: none;
    padding: 0 1px 0 1px;
    /* font-size: 0.95em; */
    font-size: 1.2em;
}

code {
    background: none;
    background-color: none;
    padding: 0 1px 0 1px;
    font-size: 1.2em;
}

.note code {
    background-color: none;
    background: none;
}



/* MODIFIED BY HAND */

pre {
    padding: 5px;
    background-color: #D4D8DC;
    color: #333333;
    line-height: 120%;
    border: 1px solid #580000;
    border-left: none;
    border-right: none;
}

tt {
    background-color: #ffffff;
    padding: 0 1px 0 1px;
    font-size: 0.95em;
    color: #300000;
}

div.sphinxsidebar.current.toctree-l1.current.current {
    background-color: #404040;
}

.wy-side-nav-search {
    background-color: #272525;
}

.wy-side-nav-search a:visited, .wy-side-nav-search a:link, .wy-side-nav-search a
{
    color: #ffffff;
}

/* inline tt */

.rst-content code.literal, .rst-content tt.literal {
    color: #202030;
    font-size: 95%;
    padding: 0;
}

.rst-content code, .rst-content tt, code {
    background: none;
    border: none;
    font-size: 95%;
    padding: 0;
}

/* API Code headers */
html.writer-html4 .rst-content dl:not(.docutils)>dt,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)>dt{
    background: var(parameters-overline-colour);
    color: var(parameters-header-colour);
    border-top:3px solid var(parameters-overline-colour);
}

html.writer-html4 .rst-content dl:not(.docutils) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt, html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt {
    margin-bottom: 6px;
    border: none;
    border-left: 3px solid var(--key-border-colour);
    background: var(--key-background-color);
    color: var(--key-text-colour);
}

.rst-content dl:not(.docutils) dt {
    background: var(--parameters-background-colour);
    color: var(--parameters-header-colour);
    border-top:3px solid var(--parameters-overline-colour);
}

span.pre{
   font-style:normal;
   font-family:Consolas, Courier, monospace;
}



/* Headings */
.rst-content .toctree-wrapper>p.caption,h1,h2,h3,h4,h5,h6,legend{
    font-family: Palatino, "Palatino Linotype", Georgia, Garamond, Baskerville, Serif;
}

.rst-content .sidebar .sidebar-title{
    font-family: Palatino, "Palatino Linotype", Georgia, Garamond, Baskerville, Serif;
}

/* Active colour on menu */
.wy-menu-vertical a:active{
    background-color:#194930;
}

/* notes */
.rst-content .admonition,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.wy-alert{
    background:#ffffff;
}
.rst-content .admonition-title,.wy-alert-title{
    color:#fff;
    background:#1a5e30;
}

.rst-content .note .admonition-title,.rst-content .note .wy-alert-title,.rst-content .seealso .admonition-title,.rst-content .seealso .wy-alert-title,.rst-content .wy-alert-info.admonition-todo .admonition-title,.rst-content .wy-alert-info.admonition-todo .wy-alert-title,.rst-content .wy-alert-info.admonition .admonition-title,.rst-content .wy-alert-info.admonition .wy-alert-title,.rst-content .wy-alert-info.attention .admonition-title,.rst-content .wy-alert-info.attention .wy-alert-title,.rst-content .wy-alert-info.caution .admonition-title,.rst-content .wy-alert-info.caution .wy-alert-title,.rst-content .wy-alert-info.danger .admonition-title,.rst-content .wy-alert-info.danger .wy-alert-title,.rst-content .wy-alert-info.error .admonition-title,.rst-content .wy-alert-info.error .wy-alert-title,.rst-content .wy-alert-info.hint .admonition-title,.rst-content .wy-alert-info.hint .wy-alert-title,.rst-content .wy-alert-info.important .admonition-title,.rst-content .wy-alert-info.important .wy-alert-title,.rst-content .wy-alert-info.tip .admonition-title,.rst-content .wy-alert-info.tip .wy-alert-title,.rst-content .wy-alert-info.warning .admonition-title,.rst-content .wy-alert-info.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-info .admonition-title,.wy-alert.wy-alert-info .rst-content .admonition-title,.wy-alert.wy-alert-info .wy-alert-title{
    background: var(--note-background-colour);
}

/* Field list spacing: add breathing room between each field entry */
dl.field-list dd + dt,
dl.field-list dd + dt + dd {
    margin-top: 0.5em;
}

/* Search box border */
.wy-side-nav-search input[type=text]{
    border-color:#402020;
}

.wy-side-nav-search .wy-dropdown > a img.logo, .wy-side-nav-search > a img.logo {
    background: #272525;
}

.wy-side-nav-search .wy-dropdown > a:hover, .wy-side-nav-search > a:hover {
    background: #272525;
}


/* Code classes */

html.writer-html4 .rst-content dl:not(.docutils) > dt, html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt {
    display: table;
    margin: 6px 0;
    font-size: 90%;
    line-height: normal;
    background: var(--very-light-pink);
    color: var(--dark-red);
    border-top: 3px solid var(--dark-red);
    padding: 6px;
    position:relative
}

/* -- float spacers: invisible del elements used to pad bullet height ------- */

del, s {
    visibility: hidden;
    display: block;
    height: 1em;
}

/* -- link colours for inline code spans ------------------------------------ */

/* .rst-content code.literal (specificity 0,2,1) beats plain a code (0,0,2)  */
/* so we need .rst-content a code.literal (0,3,1) to win.                    */
.rst-content a code.literal,
.rst-content a:visited code.literal,
.rst-content a:hover code.literal,
.rst-content a code,
.rst-content a:visited code,
.rst-content a:hover code {
    color: inherit;
}

/* -- code size in headings ------------------------------------------------- */

/* .rst-content code.literal (0,2,1) shrinks code to 85% of the heading.     */
/* .rst-content h1 code.literal (0,3,1) restores it to match heading size.   */
.rst-content h1 code.literal, .rst-content h1 code,
.rst-content h2 code.literal, .rst-content h2 code,
.rst-content h3 code.literal, .rst-content h3 code,
.rst-content h4 code.literal, .rst-content h4 code,
.rst-content h5 code.literal, .rst-content h5 code,
.rst-content h6 code.literal, .rst-content h6 code {
    font-size: 1em;
}
