html { background: #fff; }

body {
    font-size: large; color: #000;
}

pre, .pre, tt, .literal {
    font-size: smaller;
    font-family: Consolas, Monospace;
}

@media (min-width: 1024px) {
    .documentwrapper {
        width: 40em;
        margin: 0 auto;
    }
}

.documentwrapper { text-align: left; }
.documentwrapper img { max-width: 100%; }
.documentwrapper table { width: 100%; max-width: 100%; }

h1,
h2 {
    color: black;
    text-transform: uppercase;
    text-shadow: 0 0 1px #666677;
    border-bottom: none;
}

a, 
a:link,
a:visited {
    color: #2F2F2F;
    text-decoration: underline;
}
a:hover { color: #4f4f4f; }

.header h1,
.header h1 a { color: black; }

.footer {
    font-size: smaller;
    color: gray;
    margin: 1.5em 0 2em 0;
}

hr {
    margin: 3.5em auto;
}

/* Sphinx styles */
div.admonition p.admonition-title + p {
    display: inline;
}

div.admonition p {
    margin-bottom: 5px;
}

div.admonition pre {
    margin-bottom: 5px;
}

div.admonition ul, div.admonition ol {
    margin-bottom: 5px;
}

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: #FBFAF4;
    color: #333;
    line-height: 120%;
    border: 1px solid #ac9;
    border-left: none;
    border-right: none;
    overflow-x: auto;
}

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

th {
    background-color: #ede;
}

tbody tr:nth-child(even) {
    background-color: #ccc;
}

.warning tt {
    background: #efc2c2;
}

.note tt {
    background: #d6d6d6;
}

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