

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  border-bottom: 2px solid #f0f0f0;
  margin-top: 28px !important;
}


.navbar {
    margin-bottom: 0;

    border: 0;
}

@media (max-width: 768px) {
    .navbar-brand {
        /* float: none; */
        padding-left: 0;
    }
    .navbar-header {
        padding-top: 8px;
        padding-left: 15px;
    }
}

div.navbar-header a:visited, ul.navbar-nav a:visited, div.sidebar h3 a,
div.sidebar h1, div.sidebar h2, div.sidebar h3, div.sidebar h4, div.sidebar h5, div.sidebar h6{
    color: #777 !important;
}


div.sidebar h1, div.sidebar h2, div.sidebar h3, div.sidebar h4, div.sidebar h5, div.sidebar h6 {
    padding-left: 8px;
}

button.navbar-toggle {
    z-index: 1000;
    background-color: #f0f0f0;
}

#sidebar-wrapper {
    background: #f8f8f8;
    /* border-color: #e7e7e7;
    border: 1px solid #e7e7e7;
    border-top: 0; */
    margin-top: -1px;
    padding-top: 4px;
}

div.sidebar ul ul {
    padding-left: 12px;
    list-style-type: none;
}

 

/* Inline #11 | http://0.0.0.0:8083/topics/math/arithmetic/arithmetic.html */
/*
.toctree-l4.current {
  border-left: 4px solid #ccc;
  padding: 2px;
}*/



div.sidebar {
    padding-bottom: 14px; /* square */
    /* width: 70%; */
}

div.sidebar pre {
    font-size: 9px;
    text-indent: 0;
}

div.sidebar h3 {
    padding-top: 14px;
    padding-left: 8px;
    font-size: 20px;
}

div.sidebar ul ul li {
    border-left: 2px solid #ccc;
    padding-left: 4px;
    margin-bottom: 4px;
    margin-left: -10px;
}

div.sidebar ul ul li.current {
    border-left: 4px solid #ccc;
    padding-left: 2px;
}

div.sidebar ul ul li:hover {
    border-left: 4px solid #aaa !important;
}

div.sidebar ul ul li.current:hover {
    border-left: 4px solid #999 !important;
}

div.sidebar ul ul li.youarehere {
    border-left: 4px solid #777 !important;
}

div.body {
    min-width: inherit; /* override sphinx basic.css */
}

div.body h1 {
    border-bottom: 3px solid rgb(208, 208, 208);
    padding-bottom: 9px;
}

div.body h5 {
    font-size: 17px;
}

div.body a,
div.body p {
    word-wrap: break-word;
}

div.body li p {
    margin-bottom: 4px;
}

#sidebar-wrapper {
    overflow-y: auto;
    height: 100%;
    padding-left: 2px;
}

#sidebar-wrapper.affix-bottom, #sidebar-wrapper.affix-top {
    position: fixed;
    height: 100%;
}

#sidebar-wrapper.affix-bottom, #sidebar-wrapper.affix {
    margin-top: -52px; /* magic */
}

div.sidebar:first-of-type li {
    /* hanging indent */
    /*
    padding-left: 8px;
    text-indent: -8px; */
}


#navbar-related {
    border: 0;
    background: none;
}

nav.contents,
aside.topic,
div.topic {
    border: 1px solid #ddd;
    padding: 7px;
    margin: 10px 0 10px 0;
    background: #f0f0f0;
}

p.searchtip {
    display: none;
}

body {
    background: #f8f8f8;
}

div.footer-relbar {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

footer {
    color: #777;
    opacity: 0.7;
}

#content-wrapper {
    background: white;
    border: 1px solid #e7e7e7;
    margin-top: -1px;
}

span.pre {
  word-wrap: break-word;
  overflow-wrap: anywhere;

  color: #275b88;
}

pre.ap-terminal {
    background-color: #202020;
}

table.docutils caption {
    padding: 8px;
    font-weight: bold;
    font-size: 1.1em;
}

a.external {
    border-bottom: 1px dotted #c0c0c0;
}

figure a.external {
    display: contents;
}

div.body a.internal {
    /* background: #f0f0f0;
    padding: 3px 4px 2px 4px; */
    border-bottom: 1px solid;
}

div.body a.internal[href^="#term-"] {
    border-bottom: 2px dotted !important;
}

code {
    background-color: #f2f2f2;
    color: #a7052e;
}

div.widget.srclinks ul {
    padding-left: 0;
}

div#searchbox form.search {
    margin: 8px 0;
}

ol.upperalpha {
    padding-left: 18px;
}

blockquote {
    font-size: 1.1em;
    font-style: italic;
    margin: 0px 0px 10px;
}

.chat-input blockquote {
    background-color: #f5f1e8;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

/* I suspect this is necessary due to
 * both docutils and bootstrap having a .container class */
div.docutils.container {
  width: revert;
}

.cell.docutils.container,
.cell_input.docutils.container,
.cell_output.docutils.container {
  /* align-content: ; */
  filter: drop-shadow(4px 1px 4px #ddd);
}


.cell_output.docutils.container {
    margin-top: 0;
}

div.cell div.cell_input, div.cell div.cell_output {
  padding-left: 0em;
  padding-right: 0em;
  border: var(--mystnb-source-border-width) var(--mystnb-source-border-color) solid;
  background-color: var(--mystnb-source-bg-color);
  border-left-width: medium;
  border-radius: var(--mystnb-source-border-radius);
}

div.cell div.cell_input {
    border-left-color: var(--mystnb-source-margin-color);
}

div.cell div.cell_output {
    border-left-color: var(--mystnb-output-margin-color);
}


div.cell div.cell_input,
div.cell div.cell_output,
div.cell details.above-input > summary {
  border-width: 0 0 0 3px;
}

:root {
  /* --mystnb-source-margin-color: green; */
  --mystnb-source-margin-color: #acccac;
  --mystnb-output-margin-color: #ded4cc;
}

.cell_output .output.text_plain,
.cell_output .output.traceback,
.cell_output .output.stream,
.cell_output .output.stderr {
  margin-top: 0em;
  margin-bottom: 0em;
  box-shadow: none;
}

 

/* bootstrap.min.css  */
.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
  margin-left: 0;
  border-color: #ccc;
  border-radius: 0 4px 4px 0;
  padding: 7px 12px 6px 12px;
}

div.ap-wrapper span {
    color: #d37Aa7;
}

div.ap-wrapper pre {
    background-color: #202020;
    border-color: #202020;
}



table.docutils caption {
  padding-left: 4px;
  text-decoration: dotted underline lightgray;
}

table.docutils caption::after {
  content: " Table";
  padding-right: 4px;
  vertical-align: middle;
  color: #c0c0c0;
  font-size: 12px;
  padding-top: 4px;
  text-decoration: dotted underline;
}



div.citation {
  padding-bottom: 1em;
}

div.citation p {
  display: inherit;
  margin-left: 2.5em;
}

div.citation span.label {
  padding-top: 4px;
  color: #b0b0b0;
}



@media print {
    .affix,
    #sidebar-wrapper.affix-bottom,
    #sidebar-wrapper.affix-top {
        position: inherit !important;
        margin-top: 0 !important;
    }
    #content-wrapper {
        left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        clear: both !important;
        border: 0 !important;
        overflow-y: visible !important;
    }

    a {
        text-decoration: underline !important;
    }

    a[href]::after {
        opacity: 0.5;
    }
}


