/*** Stylesheet shamlessly based on top of the Django Documentation CSS ***/
/*** http://docs.djangoproject.com/ ***/
/*** For LICENCE information, please refer to:
     http://code.djangoproject.com/browser/django/trunk. ***/

/*** setup ***/
html { background:#002136;}
body { font:12px/1.5 Verdana,sans-serif; background:#002136; color: white;}
#custom-doc { min-width:995px; max-width:95em; margin:auto; text-align:left; padding-top:16px; margin-top:0;} 
#hd { padding: 1.5em 0; }
#bd { background:#233F52; }
#ft { color:#4e697a; font-size:90%; padding-bottom: 2em; }

/*** links ***/
a {text-decoration: none;}
a img {border: none;}
a:link, a:visited { color:#c5854c; }
#bd a:link, #bd a:visited { color:#B65B0B; border-bottom:1px dotted #BBBBBB; color:#B65C0C; text-decoration:none; }
#bd #sidebar a:link, #bd #sidebar a:visited { color:#C5854C; text-decoration:none; border-bottom: none;}
a:hover { color:#d1e2cd; }
#bd a:hover { background-color:#e7eef3; color:#234f32; text-decoration:none; }
#bd #sidebar a:hover { color:#d1e2cd; background:none; }
h2 a, h3 a, h4 a { text-decoration:none !important; }
a.reference em { font-style: normal; }

/*** sidebar ***/
#sidebar div.sphinxsidebarwrapper { font-size:92%; margin-right: 14px; }
#sidebar h3, #sidebar h4 { color: #eee; font-size: 125%; }
#sidebar a { color: white; }
#sidebar { color: #eee; }
#sidebar ul ul { margin-top:0; margin-bottom:0; }
#sidebar li { margin-top: 0.2em; margin-bottom: 0.2em; }

/*** nav ***/
div.nav { margin: 0; font-size: 11px; text-align: right; color: #5d7e92;}
#hd div.nav { margin-top: -27px; }
#ft div.nav { margin-bottom: -18px; }
#hd h1 a { color: white; }
#global-nav { position:absolute; top:5px; margin-left: -5px; padding:7px 0; color:#5D7E92; text-align: right; width: 69em; font-size: 120%; }
#global-nav a:link, #global-nav a:visited {color:#C5854C;}
#global-nav a {padding:0 4px;}
#global-nav a.about {padding-left:0;}
#global-nav a:hover  { color:#d1e2cd; }

/*** content ***/
#yui-main div.yui-b { position: relative; }
#yui-main div.yui-b { margin: 0 0 0 20px; background: white; color: black; padding: 0.3em 2em 1em 2em; }

/*** basic styles ***/
dd { margin-left:15px; margin-right:15px; }
h1,h2,h3,h4 { margin-top:1em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
h1 { font-size:250%; margin-top:0.6em; margin-bottom:.4em; line-height:1.1em; }
h2 { font-size:220%; margin-bottom:1em; margin-top: 2em; line-height:1.2em; color:#42789c; }
h3 { font-size:180%; font-weight:bold; margin-bottom:.6em; margin-top: 1.5em; color:#487858; }
h4 { font-size:145%; font-weight:bold; margin-top:2em; margin-bottom:0.8em; text-transform: uppercase; color:#1B3848;} /* green: #487858 */
h5 { font-size:125%; font-weight:bold; margin-top:1.5em; margin-bottom:3px; color:#42789c; }
h6 { font-size:110%; font-weight:bold; margin-top:1.2em; margin-bottom:0; color:#002136; }

.section h2 {border-top: 3px #ddd dotted; padding-top: 0.3em;}
/* Pale green: color:#699233;*/
div.figure { text-align: center; }
div.figure p.caption { font-size:1em; margin-top:0; margin-bottom:1.5em; color: #555; text-align: center;}
hr { color:#ccc; background-color:#ccc; height:1px; border:0; }
p, ul, dl { margin-top:.6em; margin-bottom:1em; padding-bottom: 0.1em;}
#yui-main div.yui-b img { max-width: 55em; margin-left: auto; margin-right: auto; display: block; }
caption { font-size:1em; font-weight:bold; margin-top:0.5em; margin-bottom:0.5em; margin-left: 2px; text-align: center; }
blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; } 
strong { font-weight: bold; }
em { font-style: italic; }
ins { font-weight: bold; text-decoration: none; }

/*** lists ***/
ul { padding-left:30px; }
ol { padding-left:30px; }
ol.arabic li { list-style-type: decimal; }
ul li { list-style-type:square; margin-top:.2em; margin-bottom:.2em;}
ol li { margin-bottom: .4em; }
ul ul { padding-left:1.2em; }
ul ul ul { padding-left:1em; }
ul.linklist, ul.toc { padding-left:0; }
ul.toc ul { margin-left:.6em; }
ul.toc ul li { list-style-type:square; }
ul.toc ul ul li { list-style-type:disc; }
ul.linklist li, ul.toc li { list-style-type:none; }
dt { font-weight:bold; margin-top:.5em; font-size:1.1em; color:#002136; }
dd { margin-bottom:.8em; }
ol.toc { margin-bottom: 2em; }
ol.toc li { font-size:125%; padding: .5em; line-height:1.2em; clear: right; }
ol.toc li.b { background-color: #E0FFB8; }
ol.toc li a:hover { background-color: transparent !important; text-decoration: underline !important; }
ol.toc span.release-date { color:#487858; float: right; font-size: 85%; padding-right: .5em; }
ol.toc span.comment-count { font-size: 75%; color: #999; }

/*** tables ***/
table { color:#000; margin-bottom: 1em; width: 100%; }
table.docutils td p { margin-top:0; margin-bottom:.5em; }
table.docutils td, table.docutils th { border-bottom:1px solid #dfdfdf; padding:4px 2px;}
table.docutils thead th { border-bottom:2px solid #dfdfdf; text-align:left; font-weight: bold; white-space: nowrap; }
table.docutils thead th p { margin: 0; padding: 0; }
table.docutils { border-collapse:collapse; }

/*** code blocks ***/
.literal { white-space:nowrap; }
.literal { color:#234f32; }
#sidebar .literal { color:white; background:transparent; font-size:11px; }
h4 .literal { color: #234f32; font-size: 13px; }
pre { font-size:small; background:#ebf2e9; border:1px solid #d1e2cd; border-width:1px 0; margin: 1em 0; padding: .7em .7em; overflow: hidden; line-height: 1.4em;}
dt .literal, table .literal { background:none; }
#bd a.reference { text-decoration: none; }
#bd a.reference tt.literal { border-bottom: 1px #234f32 dotted; }
 
/*** notes & admonitions ***/
.note, .admonition { padding:.8em 1em .8em; margin: 1em 0; border:2px dotted #f2c69f; }
.admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important;}
.admonition .last { margin-bottom:0 !important; }
.note, .admonition { padding-left:65px; background:url(docicons-note.gif) .8em .8em no-repeat;}
div.admonition-philosophy { padding-left:65px; background:url(docicons-philosophy.gif) .8em .8em no-repeat;}
div.admonition-behind-the-scenes { padding-left:65px; background:url(docicons-behindscenes.gif) .8em .8em no-repeat;}

/*** versoinadded/changes ***/
div.versionadded, div.versionchanged {  }
div.versionadded span.title, div.versionchanged span.title { font-weight: bold; }

/*** p-links ***/
a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; 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; }

/*** index ***/
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;}

/*** page-specific overrides ***/
div#contents ul { margin-bottom: 0;}
div#contents ul li { margin-bottom: 0;}
div#contents ul ul li { margin-top: 0.3em;}

/*** IE hacks ***/
* pre { width: 100%; }

/*** Tx ***/
img.shot { clear: right; margin-left: 2em !important; margin-top: 0.5em; border: 3px solid #f5f5f5; padding: 10px; float: right; }
img.shot2 { clear: right; margin-left: 2em !important; margin-top: 0.5em; margin-right: 0; padding-right: 0; float: right; }
img.alcenter { clear: both; float: none !important; margin-left: auto !important; margin-right: auto !important; }
div.section p, div.section dd { text-align: justify; }
div.footer { font-size: 90%; margin-bottom: 2em; color: #5D7E92; }

p.logo { margin: 3em 0 4em 0; text-align: center; }
