/**
 * Alternate Sphinx design
 * Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl.
 */

body {
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
    font-size: 12px;
    letter-spacing: -0.01em;
    line-height: 150%;
    /*text-align: center; */
    /*background-color: #BFD1D4; */
    background-color: #F0F0F0;
	color: #404040;
    padding: 0;
    border: 1px solid #aaa;

    margin: 0px 80px 0px 80px;
    min-width: 700px;
}

a {
	text-decoration: none;
	color: #207060!important;
}
a:link {
	text-decoration: none;
    color: #207060!important;
}
a:visited {
	text-decoration: none;
    color: #207060!important;
}
a:hover {
	text-decoration: underline;
	color: #EE9816!important;
}
pre {
    font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
    font-size: 0.95em;
    letter-spacing: 0.015em;
    padding: 0.5em;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
}

td.linenos pre {
    padding: 0.5em 0;
    border: 0;
    background-color: transparent;
    color: #aaa;
}

table.highlighttable {
    margin-left: 0.5em;
}

table.highlighttable td {
    padding: 0 0.5em 0 0.5em;
}

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

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

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

tt.descname {
    background-color: transparent;
    font-weight: bold;
    font-size: 1.2em;
    border: 0;
}

tt.descclassname {
    background-color: transparent;
    border: 0;
}

tt.xref {
    background-color: transparent;
    font-weight: bold;
    border: 0;
}

a tt {
    background-color: transparent;
    font-weight: bold;
    border: 0;
    color: #20C0A0;
}

a tt:hover {
    color: #EE9816;
}

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

.refcount {
    color: #060;
}

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

dl.class, dl.function {
    border-top: 2px solid #888;
}

dl.method, dl.attribute {
    border-top: 1px solid #aaa;
}

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

pre {
    line-height: 120%;
}

/*pre a {
    color: inherit;
    text-decoration: underline;
}*/

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

div.document {
    background-color: white;
    text-align: left;
    background-image: url(../img/contents.png);
    background-repeat: repeat-x;
}

/*
div.documentwrapper {
    width: 100%;
}
*/

div.clearer {
    clear: both;
}

div.related h3 {
    display: none;
}

div.related ul {
    background-image: url(../img/navigation.png);
    height: 2em;
    list-style: none;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding-left: 10px;
}

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: #20C0A0;
}

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

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

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

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

div.sphinxsidebar {
    margin: 0;
    padding: 0.5em 15px 15px 0;
    width: 210px;
    float: right;
    text-align: left;
/*    margin-left: -100%; */
}

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

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

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

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

p.rubric {
    font-weight: bold;
}

h1 {
    margin: 0;
    padding: 0.7em 0 0.3em 0;
    font-size: 1.5em;
    color: #112255;
}

h2 {
    margin: 1.3em 0 0.2em 0;
    font-size: 1.4em;
    padding: 0;
	color: #444;
}

h3 {
    margin: 1em 0 -0.1em 0;
    font-size: 1.2em;
	color: #777;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: black!important;
}

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

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

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

div.footer {
    background-color: #E3EFF1;
    color: #86989B;
    padding: 3px 8px 3px 0;
    clear: both;
    font-size: 0.8em;
    text-align: left;
}

/*div.footer a {
    color: #86989B;
    text-decoration: underline;
}*/

div.pagination {
    margin-top: 2em;
    padding-top: 0.5em;
    border-top: 1px solid black;
    text-align: center;
}

div.sphinxsidebar ul.toc {
    margin: 1em 0 1em 0;
    padding: 0 0 0 0.5em;
    list-style: none;
}

div.sphinxsidebar ul.toc li {
    margin: 0.5em 0 0.5em 0;
    font-size: 0.9em;
    line-height: 130%;
}

div.sphinxsidebar ul.toc li p {
    margin: 0;
    padding: 0;
}

div.sphinxsidebar ul.toc ul {
    margin: 0.2em 0 0.2em 0;
    padding: 0 0 0 1.8em;
}

div.sphinxsidebar ul.toc ul li {
    padding: 0;
}

div.admonition, div.warning {
    font-size: 0.9em;
    margin: 1em 0 0 0;
    border: 1px solid #86989B;
    background-color: #f7f7f7;
}

div.admonition p, div.warning p {
    margin: 0.5em 1em 0.5em 1em;
    padding: 0;
}

div.admonition pre, div.warning pre {
    margin: 0.4em 1em 0.4em 1em;
}

div.admonition p.admonition-title,
div.warning p.admonition-title {
    margin: 0;
    padding: 0.1em 0 0.1em 0.5em;
    color: white;
    border-bottom: 1px solid #86989B;
    font-weight: bold;
    background-color: #AFC1C4;
}

div.warning {
    border: 1px solid #940000;
}

div.warning p.admonition-title {
    background-color: #CF0000;
    border-bottom-color: #940000;
}

div.admonition ul, div.admonition ol,
div.warning ul, div.warning ol {
    margin: 0.1em 0.5em 0.5em 3em;
    padding: 0;
}

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


a.headerlink {
    color: #c60f0f!important;
    font-size: 1em;
    margin-left: 6px;
    padding: 0 4px 0 4px;
    text-decoration: none!important;
    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;
}

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

table.indextable td {
    text-align: left;
    vertical-align: top;
}

table.indextable dl, table.indextable dd {
    margin-top: 0;
    margin-bottom: 0;
}

table.indextable tr.pcap {
    height: 10px;
}

table.indextable tr.cap {
    margin-top: 10px;
    background-color: #f2f2f2;
}

img.toggler {
    margin-right: 3px;
    margin-top: 3px;
    cursor: pointer;
}

img.inheritance {
    border: 0px
}

form.pfform {
    margin: 10px 0 20px 0;
}

table.contentstable {
    width: 90%;
}

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

a.biglink {
    font-size: 1.3em;
}

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

ul.search {
    margin: 10px 0 0 20px;
    padding: 0;
}

ul.search li {
    padding: 5px 0 5px 20px;
    background-image: url(file.png);
    background-repeat: no-repeat;
    background-position: 0 7px;
}

ul.search li a {
    font-weight: bold;
}

ul.search li div.context {
    color: #888;
    margin: 2px 0 0 30px;
    text-align: left;
}

ul.keywordmatches li.goodmatch a {
    font-weight: bold;
}

.red {
    color: red;
}

.highlight pre {
   overflow-x: auto;
   border-width: 1px 0;
   border-style: solid;
   margin-top: 0;
   margin-bottom: 0;
   margin-left: 0;
   margin-right: 0;
   padding-top: 0;
}

/* HEADER */

#header {
    position:relative;
    height:6.0em;
    background:#ffffff;
}
#header h1#logo {
    margin:0;
    position:absolute;
    bottom:0px;
    left:25px;
}

/* NAV */

#nav-global {
    position:absolute;
    margin:0;
    bottom:0;
    right:0;
    font-family:"Trebuchet MS",sans-serif;
    white-space:nowrap;
}
#nav-global li {
    display:block;
    float:left;
    list-style-type:none;
    margin:0;
    padding:0;
}
#nav-global a {
    display:block;
    float:left;
    padding:5em 16px 10px 16px;
    background:#ffffff;
}
#nav-global a:hover {
    color:white;
    background:#d5ffd8;
}
#homepage #nav-homepage a,
#news #nav-news a,
#documentation #nav-documentation a,
#development #nav-development a,
#wiki #nav-wiki a {
    color:white;
    background:#d5ffd5 url(../img/topnavigation.png) bottom repeat-x;
}

/* DOCS */

#doc-versions {
    position: fixed;
    display: block;
    padding: 0;
    margin: 0;
    bottom: 5px;
    right: 5px;
}

#doc-versions:hover {
    background: transparent url(../img/invisible.gif) repeat; /* IE7 hack */
    border-radius: 3px;
}

#doc-versions li.other {
    display: none;
}

#doc-versions li.other a {
    display: block;
    padding: 5px;
}

#doc-versions:hover li.other {
    display: block;
}

#doc-versions li {
    display: block;
    float: left;
    padding: 0;
    margin: 0 0 0 7px;
    background-color: #E0FFB8;
    border: 2px #487858 solid;
    border-radius: 3px;
    color: #234F32;
}

#doc-versions li.current {
    background: #E0FFB8 url(../img/arrow-head-left.gif) 6px center no-repeat;
    padding-left: 13px;
}

#doc-versions li.current span {
    display: block;
    padding: 5px;
}

#documentation h2,
#documentation h3,
#documentation h4 {
    margin-top:1.4em;
}
#documentation dd {
    margin-left:1em;
}
#content-main table {
    color:#000;
}
table.docutils {
    border-collapse:collapse;
}
table.docutils thead th {
    border-bottom:2px solid #dfdfdf;
    text-align:left;
}
table.docutils td, table.docutils th {
    border-bottom:1px solid #dfdfdf;
    padding:4px 2px;
}
table.docutils td p {
    margin-top:0;
    margin-bottom:.5em;
}
#documentation #content-related .literal {
    background:transparent !important;
}
div.versionadded,
div.versionchanged {
    font-size: 92%;
    color:#555;
}
div.versionadded span.title,
div.versionchanged span.title {
    font-style: italic;
}
/* Verdana bold is too bold; lighten it to compensate */
#documentation #content-main p > strong,
#documentation #content-main p > b {
    color: #555;
}


/* MISC */

/* COLUMNS */

#columnwrap {
    background:#EFF5F7;
    padding-bottom:10px;
}
#subwrap {
    //background:#326342;
    width:73%;
    float:left;
    padding-bottom:10px;
}
#content-main {
    float:left;
    width:70%;
    background:white;
    color:black;
    padding-bottom:10px;
}
#generic #content-main, #code #content-main {
    width:100%;
}
#content-main * {
    margin-left:22px;
    margin-right:24px;
}
#content-main * * {
    margin-left:0;
    margin-right:0;
}
.sidebar {
    font-size:92%;
}
.sidebar * {
    margin-left:14px;
    margin-right:14px;
}
.sidebar * * {
    margin-left:0;
    margin-right:0;
}
#content-extra {
    float:right;
    width:27%;
}

#content-related {
    float:right;
    width:30%;
}
#content-secondary {
    clear:both;
    background:#EFF5F7;
    margin-left:0;
    margin-right:0;
    margin-top:15px;
    margin-bottom:-10px;
    padding:10px 24px;
//    color:white;
}

#documentation #content-related .literal {
    background:transparent !important;
}

#content-main .quiet {
    color:#487858;
}
#content-secondary .quiet {
    color:#90ba9e;
}

/*  CLEARFIX KLUDGE */

#columnwrap:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
#columnwrap {
    display: inline-block;
}

/* Hides from IE-mac \*/
* html #columnwrap {
    height: 1%;
}
#columnwrap {
    display: block;
}

table.collada  {
    border: 1px solid #000000;
    border-collapse: collapse;
    border-spacing: 0px;
}
table.collada td {
    padding: 3px 3px;
    border: 1px solid #000;
}
table.collada thead th {
    padding: 3px 3px;
    border: 1px solid #000;
}
