/*

Copyright (c) 2005-2010 Francesco Poli <invernomuto@paranoici.org>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*/

body
{
    color: black;
    background-color: #eee;
    padding: 0px;
    margin: 0px;
}

/* style for hyperlinks */
body a
{
    text-decoration: none;
    margin: 0px 1px;
    padding: 0px 4px;
}

body a:link
{
    color: blue;
    border-bottom: 1px blue solid;
}

body a:visited
{
    color: black;
    border-bottom: 1px black solid;
}

body a:hover
{
    color: blue;
    border-bottom: 1px blue dashed;
}

div.document
{
    background-color: white;
    margin: 0.8em;
    border: 1px #eee dashed;
    padding: 0.8em;
}

/* style for section headers */
div.document h1
{
    color: blue;
    font-size: 160%;
    margin: 1.0em 1.5em 0.1em;
}

div.document h1 a:link
{
    border-bottom: 0px;
}

div.document h1 a:visited
{
    color: black;
    border-bottom: 0px;
}

div.document h1 a:hover
{
    color: blue;
    border-bottom: 1px blue dashed;
}

div.document h2
{
    color: blue;
    font-size: 140%;
    font-weight: normal;
    font-style: italic;
    margin: 0.8em 1.5em 0.05em;
}

div.document h2 a:link
{
    border-bottom: 0px;
}

div.document h2 a:visited
{
    color: black;
    border-bottom: 0px;
}

div.document h2 a:hover
{
    color: blue;
    border-bottom: 1px blue dashed;
}

/* style for title and subtitle */
div.document h1.title
{
    text-align: center;
    font-size: 200%;
    margin: 0.2em 0.1em 0.1em;
    border-bottom: 2px #ff6d00 dashed;
    padding-bottom: 0.2em;
}

div.document h2.subtitle
{
    text-align: center;
    font-size: 140%;
    font-weight: bold;
    font-style: normal;
    margin: 0.1em 0em 1.0em;
}

/* this is the initial table providing document metadata */
table.docinfo
{
    vertical-align: middle;
    margin: 0.5em 0.1em 1.0em;
}

table.docinfo th
{
    background-color: #ddf;
    text-align: right;
    padding: 0em 0.3em;
    margin: 1px;
}

table.docinfo td
{
    background-color: #ddf;
    font-family: monospace;
    padding: 0em 0.3em;
    margin: 1px;
}

/* the following applies to any other table */
table.docutils
{
    text-align: center;
    vertical-align: middle;
    margin: 0.5em auto 0.5em;
    border: 0px;
}

table.docutils th
{
    margin: 1px;
    border: 0px;
}

table.docutils td
{
    background-color: #ddf;
    margin: 1px;
    border: 0px;
    padding: 0.1em 0.5em;
}

/* style fix for footnotes */
table.footnote
{
    text-align: left;
    vertical-align: middle;
    margin: 1.0em 0.1em 0.1em;
    border-top: 1px black dashed;
    padding-top: 0.3em;
}

table.footnote td
{
    background-color: white;
    text-align: left;
}

body a.footnote-reference
{
    font-weight: bold;
}

body a.footnote-reference:link
{
    color: blue;
    border-bottom: 0px blue solid;
}

body a.footnote-reference:visited
{
    color: black;
    border-bottom: 0px black solid;
}

body a.footnote-reference:hover
{
    color: blue;
    border-bottom: 1px blue dashed;
}

body a.fn-backref
{
    font-weight: bold;
}

body a.fn-backref:link
{
    color: blue;
    border-bottom: 0px blue solid;
}

body a.fn-backref:visited
{
    color: black;
    border-bottom: 0px black solid;
}

body a.fn-backref:hover
{
    color: blue;
    border-bottom: 1px blue dashed;
}

pre.literal-block
{
    background-color: #eef;
    font-family: monospace;
    margin: 1.5em;
    border: 2px #bbf dashed;
    padding: 0.5em 0.8em;
}

span.pre
{
    font-family: monospace;
    background-color: #ddf;
    padding: 0px 4px;
}

tt.literal
{
    font-family: monospace;
    background-color: #ddf;
    padding: 0px 4px;
}

a span.pre
{
    background-color: inherit;
}

ul.simple
{
    padding: 0em 0.3em;
    margin: 0em;
}

ul.simple li
{
    margin: 0.8em 0em;
}

/* restore saner values for TOC */
div.contents ul
{
    padding: 0em 2.0em;
    margin: 0em;
}

div.contents ul li
{
    margin: 0.2em 0em;
}

