/* $Id$                        -*- css -*-
 *
 * pyformex.css
 * ~~~~~~~~~~~~
 *
 * Sphinx stylesheet -- pyformex theme.
 * This theme was originally derived using the sphinxdoc theme as an example.
 *
 */

@import url("basic.css");

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

body {
    font-family: “DejaVu Sans”, “Bitstream Vera Sans”, Verdana, Arial, sans-serif;
    font-size: 100%;
    line-height: 130%;
    text-align: left;
    background-color: #eee;
    color: black;
    padding: 0;
    border: 1px solid gray;

    margin: 20px 40px 20px 40px;
    min-width: 700px;
}

div.header {
    background-color: #ccc;
    min-width: 625px;
    height: 125px;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid gray;
}

div.footer {
    background-color: #ccc;
    color: #666;
    padding: 3px 8px 3px 3px;
    clear: both;
    text-align: center;
    font-size: 75%;
}

span.left {
    float: left;
}

span.right {
    float: right;
}

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

div.document {
    background-color: white;
    text-align: left;
}

div.bodywrapper {
    margin: 0 240px 0 0;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

div.body {
    margin: 0;
    padding: 0 20px 20px 20px;
}

div.related {
    background-color: #eee;
    font-size: 1em;
}

div.related ul {
    height: 2em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

div.related ul li {
    margin: 0;
    padding: 0;
    height: 2em;
    float: left;
}

div.related ul li.right {
    float: right;
    margin-right: 5px;
}

div.related ul li a {
    margin: 0;
    padding: 0 5px 0 5px;
    line-height: 1.75em;
    color: #f36;
}

div.related ul li a:hover {
    color: #4ae;
}

div.sphinxsidebarwrapper {
    padding: 0;
}

div.sphinxsidebar {
    margin: 0;
    padding: 0.5em 15px 15px 0;
    width: 210px;
    float: right;
    font-size: 1em;
    text-align: left;
}

div.sphinxsidebar h3, div.sphinxsidebar h4 {
    margin: 1em 0 0.5em 0;
    font-size: 1em;
    padding: 0.1em 0 0.1em 0.5em;
    color: white;
    border: 1px solid #86989B;
    background-color: #AFC1C4;
}

div.sphinxsidebar h3 a {
    color: white;
}

div.sphinxsidebar ul {
    padding-left: 1.5em;
    margin-top: 7px;
    padding: 0;
    line-height: 130%;
}

div.sphinxsidebar ul ul {
    margin-left: 20px;
}

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

p {    
    margin: 0.8em 0 0.5em 0;
}

a {
    color: #57a;
    text-decoration: none;
}

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

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

/*
div.body a {
    text-decoration: underline;
}
*/

div.body h1 {
/*    font-family: "Trebuchet MS", sans-serif;*/
    font-size: 150%; 
    line-height: 130%; 
    background-color: #ddd;
    color: #157;
    border-bottom: 1px solid #ccc;
    margin: -50px -20px 0 -20px;
    padding: 0 0 0 10px;
    margin-top: 0; 
}

div.body h2 {
    font-size: 135%;
    background-color: #eee;
    color: #157;
    margin: 1.3em 0 0.2em 0;
    padding: 0;
}

h3 {
    margin: 1em 0 -0.3em 0;
    font-size: 120%;
    color: #157;
}

h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
    display: none;
    margin: 0 0 0 0.3em;
    padding: 0 0.2em 0 0.2em;
    color: #aaa!important;
}

h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
h5:hover a.anchor, h6:hover a.anchor {
    display: inline;
}

h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
h5 a.anchor:hover, h6 a.anchor:hover {
    color: #777;
    background-color: #eee;
}

a.headerlink {
    color: #c60f0f!important;
    font-size: 1em;
    margin-left: 6px;
    padding: 0 4px 0 4px;
    text-decoration: none!important;
}

a.headerlink:hover {
    background-color: #ccc;
    color: white!important;
}

cite, code, tt {
    font-family: 'Consolas', 'Deja Vu Sans Mono',
                 'Bitstream Vera Sans Mono', monospace;
    font-size: 0.95em;
    letter-spacing: 0.01em;
}

tt {
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
    color: #333;
}

tt.descname, tt.descclassname, tt.xref {
    border: 0;
}

hr {
    border: 1px solid #abc;
    margin: 2em;
}

a tt {
    border: 0;
    color: #f36;
}

a tt:hover {
    color: #2491CF;
}

div.quotebar {
    background-color: #f8f8f8;
    max-width: 250px;
    float: right;
    padding: 2px 7px;
    border: 1px solid #ccc;
}

/*
table {
    border-collapse: collapse;
    margin: 0 -0.5em 0 -0.5em;
}

table td, table th {
    padding: 0.2em 0.5em 0.2em 0.5em;
}
*/

th {
    background-color: #f6f6f6;
}

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

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

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

div.note {
    background-color: #e0e0ff;
    border: 1px solid #66f;
}

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

p.admonition-title {
    display: inline;
}

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

div.versioninfo {
    margin: 1em 0 0 0;
    border: 1px solid #ccc;
    background-color: #DDEAF0;
    padding: 8px;
    line-height: 1.3em;
    font-size: 0.9em;
}

.viewcode-back {
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
                 'Verdana', sans-serif;
}

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

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


/* -- front page table ----------------------------------------------- */
table.fronttable {
    width: 90%;
}

table.fronttable p {
    line-height: 150%;
}

table.fronttable a {
    font-size: 1.3em;
}

/*
span.linkdescr {
    font-style: italic;
    padding-top: 5px;
    font-size: 90%;
}
*/

/* -- end ----------------------------------------------------------- */