
/*
  :Author: Daniel Hengeveld 
  :Contact: danielwh@gmail.com 
  :Copyright: This stylesheet has been placed in the public domain.
 
  D-Scheme v0.1 - Stylesheet for use with Docutils. Especially nice if you have a TOC.
  */

/* David Goodger's default stylesheet */
/*
:Author: David Goodger
:Contact: goodger@users.sourceforge.net
:Date: $Date$
:Revision: $Revision$
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.

See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/

/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
  border: 0 }

table.borderless td, table.borderless th {
  /* Override padding for "table.docutils td" with "! important".
     The right padding separates the table cells. */
  padding: 0 0.5em 0 0 ! important }

.first {
  /* Override more specific margin styles with "! important". */
  margin-top: 0 ! important }

.last, .with-subtitle {
  margin-bottom: 0 ! important }

.hidden {
  display: none }

a.toc-backref {
  text-decoration: none ;
  color: black }

blockquote.epigraph {
  margin: 2em 5em ; }

dl.docutils dd {
  margin-bottom: 0.5em }

/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
  font-weight: bold }
*/

div.abstract {
  margin: 2em 5em }

div.abstract p.topic-title {
  font-weight: bold ;
  text-align: center }

div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
  margin: 2em ;
  border: medium outset ;
  padding: 1em }

div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
  font-weight: bold ;
  font-family: sans-serif }

div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title {
  color: red ;
  font-weight: bold ;
  font-family: sans-serif }

/* Uncomment (and remove this text!) to get reduced vertical space in
   compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
  margin-bottom: 0.5em }

div.compound .compound-last, div.compound .compound-middle {
  margin-top: 0.5em }
*/

div.dedication {
  margin: 2em 5em ;
  text-align: center ;
  font-style: italic }

div.dedication p.topic-title {
  font-weight: bold ;
  font-style: normal }

div.figure {
  margin-left: 2em ;
  margin-right: 2em }

div.footer, div.header {
  clear: both;
  font-size: smaller }

div.line-block {
  display: block ;
  margin-top: 1em ;
  margin-bottom: 1em }

div.line-block div.line-block {
  margin-top: 0 ;
  margin-bottom: 0 ;
  margin-left: 1.5em }

div.sidebar {
  margin-left: 1em ;
  border: medium outset ;
  padding: 1em ;
  background-color: #ffffee ;
  width: 40% ;
  float: right ;
  clear: right }

div.sidebar p.rubric {
  font-family: sans-serif ;
  font-size: medium }

div.system-messages {
  margin: 5em }

div.system-messages h1 {
  color: red }

div.system-message {
  border: medium outset ;
  padding: 1em }

div.system-message p.system-message-title {
  color: red ;
  font-weight: bold }

div.topic {
  margin: 2em }

h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
  margin-top: 0.4em }

h1.title {
  text-align: center }

h2.subtitle {
  text-align: center }

hr.docutils {
  width: 75% }

img.align-left {
  clear: left }

img.align-right {
  clear: right }

ol.simple, ul.simple {
  margin-bottom: 1em }

ol.arabic {
  list-style: decimal }

ol.loweralpha {
  list-style: lower-alpha }

ol.upperalpha {
  list-style: upper-alpha }

ol.lowerroman {
  list-style: lower-roman }

ol.upperroman {
  list-style: upper-roman }

p.attribution {
  text-align: right ;
  margin-left: 50% }

p.caption {
  font-style: italic }

p.credits {
  font-style: italic ;
  font-size: smaller }

p.label {
  white-space: nowrap }

p.rubric {
  font-weight: bold ;
  font-size: larger ;
  color: maroon ;
  text-align: center }

p.sidebar-title {
  font-family: sans-serif ;
  font-weight: bold ;
  font-size: larger }

p.sidebar-subtitle {
  font-family: sans-serif ;
  font-weight: bold }

p.topic-title {
  font-weight: bold }

pre.address {
  margin-bottom: 0 ;
  margin-top: 0 ;
  font-family: serif ;
  font-size: 100% }

pre.literal-block, pre.doctest-block {
  margin-left: 2em ;
  margin-right: 2em ;
  background-color: #eeeeee }

span.classifier {
  font-family: sans-serif ;
  font-style: oblique }

span.classifier-delimiter {
  font-family: sans-serif ;
  font-weight: bold }

span.interpreted {
  font-family: sans-serif }

span.option {
  white-space: nowrap }

span.pre {
  white-space: pre }

span.problematic {
  color: red }

span.section-subtitle {
  /* font-size relative to parent (h1..h6 element) */
  font-size: 80% }

table.citation {
  border-left: solid 1px gray;
  margin-left: 1px }

table.docinfo {
  margin: 2em 4em }

table.docutils {
  margin-top: 0.5em ;
  margin-bottom: 0.5em }

table.footnote {
  border-left: solid 1px black;
  margin-left: 1px }

table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
  padding-left: 0.5em ;
  padding-right: 0.5em ;
  vertical-align: top }

table.docutils th.field-name, table.docinfo th.docinfo-name {
  font-weight: bold ;
  text-align: left ;
  white-space: nowrap ;
  padding-left: 0 }

h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
  font-size: 100% }

tt.docutils {
  background-color: #eeeeee }

ul.auto-toc {
  list-style-type: none }
/* end David Goodger's default stylesheet */

/* ==================================================== */
/* attention, warning, etc. styles taken from voidspace */
div.attention, div.caution, div.danger, div.error, div.hint,
div.important, div.note, div.tip, div.warning {
  background-color: #cccccc;
  padding: 3px;
  width: 80%;
}

div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title  {
  text-align: center;
  background-color: #999999;
  display: block;
  margin: 0;
}

div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title {
  color: #cc0000;
  font-family: sans-serif;
  text-align: center;
  background-color: #999999;
  display: block;
  margin: 0;
}

body {
  /*background-color: #efefef;*/
  font-family: Arial, sans-serif;
  /* font-family: "DejaVu Sans Mono",Frutiger, Univers, Verdana, "Bitstream Vera Sans", sans-serif; */
  font-size: 80%;
}

div.document {
  /*width: 90%;*/
  /*border: 1px dotted black;*/
  /* padding: 10px; */
  margin-top: 10px;
  margin-bottom:10px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
}

a {
  /*color: #660000;*/
  color: #8F1A1A;
}

a.toc-backref {
  text-decoration: none ;
  color: #4341AF; }

h1, h1.a {
  /*font-variant: small-caps;
  font-weight: bold;*/
}

h1.title {
  text-align: center;
  font: Courier;
  font-size: 200%;
  margin-bottom: 30px;
  border-bottom: #365F2F double 5px;
  border-top: #365F2F double 5px;
  color: #365F2F;
}

div.section {
  border-top: 1px dashed black;
}

div.contents {
  /*width: 40%;*/
  width: 400px;
  float: right;
  margin-left: 20px;
  margin-right: 20px;
  padding: 10px;
  border: 1px dashed;
  background-color: #efefef;
}


a:link, a:visited {
  text-decoration: none;
  border-bottom: 1px dotted;
}

a:hover, a:active {
  text-decoration: none;
  border-bottom: 1px solid;
}


pre.literal-block {
font : 100% "DejaVu Sans Mono", sans-serif;
display : block;
padding : 10px;
color : #fff;
overflow : auto;
margin : 0.5em 1em;
border-top-width : 1px;
border-right-width : 1px;
border-bottom-width : 1px;
border-left-width : 1px;
border-top-style : dashed;
border-right-style : dashed;
border-bottom-style : dashed;
border-left-style : dashed;
border-top-color : #3c78b5;
border-right-color : #3c78b5;
border-bottom-color : #3c78b5;
border-left-color : #3c78b5;
background : #000;
}

.highlight {
font : 1.3em "DejaVu Sans Mono", sans-serif;
display : block;
padding : 10px;
color : #fff;
overflow : auto;
margin : 0.5em 1em;
width : 90%;
border-top-width : 1px;
border-right-width : 1px;
border-bottom-width : 1px;
border-left-width : 1px;
border-top-style : solid;
border-right-style : solid;
border-bottom-style : solid;
border-left-style : solid;
border-top-color : #3c78b5;
border-right-color : #3c78b5;
border-bottom-color : #3c78b5;
border-left-color : #3c78b5;
background : #000;
}

.highlight .n {
color : #fff;
}
.highlight .c {
color : #5f5a60;
font-style : italic;
}
.highlight .err {
/* border : 1px solid #ff0000; */
border : #ff0000;
}
.highlight .o {
color : #666666;
}
.highlight .cm {
color : #00ff00;
font-style : italic;
}
.highlight .cp {
color : #00ff00;
}
.highlight .c1 {
color : #8D7A7A;
}
.highlight .cs {
color : #00ff00;
}
.highlight .gd {
color : #a00000;
}
.highlight .ge {
font-style : italic;
}
.highlight .gr {
color : #ff0000;
}
.highlight .gh {
color : #000080;
}
.highlight .gi {
color : #00a000;
}
.highlight .go {
color : #808080;
}
.highlight .gp {
color : #000080;
}
.highlight .gs {
color : #000080;
}
.highlight .gu {
color : #800080;
}
.highlight .gt {
color : #0040d0;
}
.highlight .k {
color : #f9ee98;
}
.highlight .kc {
color : #c0c0ff;
}
.highlight .kd {
color : #c0c0ff;
}
.highlight .kp {
color : #c0c0ff;
}
.highlight .kr {
color : #c0c0ff;
}
.highlight .kt {
color : #c0c0ff;
}
.highlight .m {
color : #cf6a4c;
}
.highlight .s {
color : #bb4444;
}
.highlight .na {
color : #bb4444;
}
.highlight .nb {
color : #aa22ff;
}
.highlight .nc {
color : #7587a6;
}
.highlight .no {
color : #880000;
}
.highlight .nd {
color : #aa22ff;
}
.highlight .ni {
color : #999999;
}
.highlight .ne {
color : #d2413a;
}
.highlight .nf {
color : #8f9d6a;
}
.highlight .nl {
color : #a0a000;
}
.highlight .nn {
color : #c0c0ff;
font-style : normal;
}
.highlight .nt {
color : #008000;
}
.highlight .nv {
color : #b8860b;
}
.highlight .ow {
color : #aa22ff;
}
.highlight .mf {
color : #666666;
}
.highlight .mh {
color : #666666;
}
.highlight .mi {
color : #cf6a4c;
}
.highlight .mo {
color : #cf6a4c;
}
.highlight .sb {
color : #bb4444;
}
.highlight .sc {
color : #bb4444;
}
.highlight .sd {
color : #bb4444;
}
.highlight .s2 {
color : #bb4444;
}
.highlight .se {
color : #bb6622;
}
.highlight .sh {
color : #bb4444;
}
.highlight .si {
color : #bb6688;
}
.highlight .sx {
color : #008000;
}
.highlight .sr {
color : #bb6688;
}
.highlight .s1 {
color : #bb4444;
}
.highlight .ss {
color : #b8860b;
}
.highlight .bp {
color : #aa22ff;
}
.highlight .vc {
color : #b8860b;
}
.highlight .vg {
color : #b8860b;
}
.highlight .vi {
color : #b8860b;
}
.highlight .il {
color : #666666;
}