/* -- main layout --------------------------------------------- */

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

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

div.clearer {
    clear: both;
}

body {
    font-family: 'Verdana', sans-serif;
    font-size: 100%;
    background-color: #265380;
    color: #000;
    margin: 0;
    padding: 0;
}

div.document {
    background-color: #628ab2;
}

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

/* -- relbar -------------------------------------------------- */

div.relwrapper {
    height: 80px;
    width: 100%;
    background-color: #3d6b99;
    background-repeat: no-repeat;
    background-position: right top;
}

div.related {
    line-height: 30px;
    color: #ffffff;
    padding: 15px 10px 5px 10px;
}

div.related div.logo {
    display: inline;
}

div.related h3 {
    display: none;
}

div.related ul {
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
    display: inline;
    vertical-align: 50%;
}

div.related li {
    display: inline;
}

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

div.related a {
    color: #ffffff;
}

span.related-link2this a {
    color: #e6f3ff;
}

span.related-link2this a:hover {
    text-decoration: none;
}

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

/* -- sidebar ------------------------------------------------- */

div.menubarwrapper {
    padding: 10px 5px 0 10px;
}

div.menubar {
    float: right;
    width: 230px;
    margin-left: -100%;
    font-size: 90%;
}

div.menubar form {
    margin-top: 10px;
}

div.menubar input {
    border: 1px solid #98dbcc;
    font-family: sans-serif;
    font-size: 1em;
}

div.menubar h3 {
    font-family: 'Calibri', 'Verdana', sans-serif;
    color: #003366;
    font-size: 1.4em;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

div.menubar h3 a {
    color: #003366;
}

div.menubar h4 {
    font-family: 'Calibri', 'Verdana', sans-serif;
    color: #003366;
    font-size: 1.3em;
    font-weight: normal;
    margin: 5px 0 0 0;
    padding: 0;
}

div.menubar p {
    color: #003366;
}

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

div.menubar ul {
    list-style: none;
    margin: 10px;
    padding: 0;
    color: #003366;
}

div.menubar ul ul,
div.menubar ul.want-points {
    margin-left: 20px;
    list-style: square;
}

div.menubar ul ul {
    margin-top: 0;
    margin-bottom: 0;
}

div.menubar a {
    color: #e6f3ff;
}

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

img {
    border: 0;
}

/* -- footer -------------------------------------------------- */

div.footer {
    color: #ffffff;
    width: 100%;
    font-size: 75%;
}

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

p.footer-left {
    padding: 3px 10px;
    float: left;
}

p.footer-right {
    padding: 0 10px;
    float: right;
}

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

a.headerlink {
    visibility: hidden;
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink {
    visibility: visible;
}

div.body p.caption {
    text-align: inherit;
}

div.body td {
    text-align: left;
}

.field-list ul {
    padding-left: 1em;
}

.first {
    margin-top: 0 !important;
}

p.rubric {
    margin-top: 30px;
    font-weight: bold;
}

a {
    color: #1f5c99;
    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: 'Calibri', 'Verdana', sans-serif;
    background-color: #cee0f2;
    font-weight: normal;
    color: #1a4d80;
    border-bottom: 1px solid #ccc;
    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: 100%; }

div.body img.left {
    float: left;
    margin-right: 2em;
}

div.body img.right {
    float: right;
    margin-left: 2em;
}

ul.simple li {
    margin-bottom: 0.4em;
}

a.headerlink {
    color: #1873ff;
    font-size: 0.8em;
    padding: 0 4px 0 4px;
    text-decoration: none;
}

a.headerlink:hover {
    background-color: #1873ff;
    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;
}

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

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

/* -- sidebars ------------------------------------------------ */

div.sidebar {
    margin: 0 0 0.5em 1em;
    border: 1px solid #ddb;
    padding: 7px 7px 0 7px;
    background-color: #ffe;
    width: 40%;
    float: right;
}

p.sidebar-title {
    font-weight: bold;
}

/* -- admonitions --------------------------------------------- */

div.admonition {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 7px;
}

div.admonition dt {
    font-weight: bold;
}

div.admonition dl {
    margin-bottom: 0;
}

p.admonition-title {
    margin: 0px 10px 5px 0px;
    font-weight: bold;
    display: inline;
}

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

div.body p.centered {
    text-align: center;
    margin-top: 25px;
}

/* -- tables -------------------------------------------------- */

table.docutils {
    border: 0;
    border-collapse: collapse;
}

table.docutils td, table.docutils th {
    padding: 1px 8px 1px 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #aaa;
}

table.field-list td, table.field-list th {
    border: 0 !important;
}

table.footnote td, table.footnote th {
    border: 0 !important;
}

th {
    text-align: left;
    padding-right: 5px;
}

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

dl {
    margin-bottom: 15px;
}

dd p {
    margin-top: 0px;
}

dd ul, dd table {
    margin-bottom: 10px;
}

dd {
    margin-top: 3px;
    margin-bottom: 10px;
    margin-left: 30px;
}

dt:target, .highlight {
    background-color: #fbe54e;
}

dl.glossary dt {
    font-weight: bold;
    font-size: 1.1em;
}

.field-list ul {
    margin: 0;
    padding-left: 1em;
}

.field-list p {
    margin: 0;
}

.refcount {
    color: #060;
}

.optional {
    font-size: 1.3em;
}

.versionmodified {
    font-style: italic;
}

.system-message {
    background-color: #fda;
    padding: 5px;
    border: 3px solid red;
}

.footnote:target  {
    background-color: #ffa
}

/* -- printout stylesheet ------------------------------------- */

@media print {
    div.document,
    div.documentwrapper,
    div.bodywrapper {
        margin: 0;
        width: 100%;
    }

    div.menubar,
    div.relwrapper,
    div.related,
    div.footer,
    #top-link {
        display: none;
    }
}
