/*
:Author: Stefan Rank
:Contact: stefan(DOT)rank(AT)oefai(DOT)at
Cascading style sheet for my webpages at OEFAI.
They are generated from restructured text and the starting point
(import) for this stylesheet is the default.css from docutils
*/

/* the defaults from the docutils project: */
@import url(docutils-original-default.css);

@media screen {
  /* body, footer, contents and title and doc-info...? are relevant for the page layout on screen */
  /* normal flow text is to the right of the contents, logo and footer
     (all width: 150px, 2 margins 0.5em) */

  body {
    position: absolute;
    left: 150px;
    margin-left: 1.5em;
  }

  div.footer {
    position: fixed;
    bottom: 0%;
    left: 0%;
    width: 150px;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }

  hr.footer {
    display: none;
  }

  div.contents {
    position: fixed;
    top: 150px;
    left: 0%;
    /* a little bit less width for border, padding, margin */
    width: 140px;
    margin: 0.1em;
    z-index: 1;
  }
  
  /* contents is also a topic, no margin wanted */
  div.topic {
    margin: 0.1em 
  }
  
  div.contents p.topic-title {
    font-weight: bold;
    text-align: center;
    padding-top: 2ex;
  }

  div.contents ul {
    list-style-type: square;
    /*padding-left: 0em;*/
    margin-left: 0.5em;
  }

  div.contents li {
    padding-top: 1ex;
    padding-bottom: 1ex;
  }

  div.document {
    z-index: 2;
    padding: 0 15% 0 10%;
  }

  img.organizationlogo {
    position: fixed;
    top: 5px;
    left: 0%;
    width: 140px;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  
  img.organizationlogo p {
    padding: 0;
    margin: 0;
  }
  
  img.logo {
    position: absolute;
    top: 0%;
    right: 0%;
    margin: 0em;
  }

}

/* try some print media stuff */

@media print {
  img.organizationlogo {
    float: left;
  }
  
  img.logo {
    float: right;
  }

}

/* default color fonts linkstyles... */

body {
  background-color: #EEF;
  font-family: Verdana, Arial, Helvetica, sans-serif; /*everything sans-serif*/
  font-size: small;
}

div.footer {
  font-size: smaller;
  color: #999;
  text-align: center;
  padding-bottom: 1em;
  padding-top: 1em;
}

div.contents {
  /*border-width: medium;
  border-style: outset;
  border-color: #DDF;*/
  border: 0;
  /*background-color: #EDF;*/
  padding: 0.3em ;
  font-variant: small-caps;
}

a:link[href] {
  color: #609;
}
a:visited[href] {
  color: #303;
}
a:hover[href] {
  background-color: #DDF;
}
a:active[href] {
  color: #F09;
}

/* normal stuff */

table.docinfo {
  margin: 1em 1em;
  font-size: smaller;
  color: #666;
}

h1.title {
  text-align: left;
  padding-top: 0.5em;
  padding-left: 1em;
  font-variant: small-caps;
}

h2.subtitle {
  text-align: left;
  padding-left: 1em; 
  font-variant: small-caps;
}

div.section h1, div.section h2, div.section h3 {
  font-variant: small-caps;
}

img {
    border: 0;
}

/* used for address in doc-info (instead of docutils address mangling:
   it would change a doc-info "address" to Address and use <pre>) */
pre.line-block {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 100%;
}

ul.simple {
  list-style-type: square;
}

div.line-block {
  margin-bottom: 12px;
}


/* copied from original docutils default.css (for reference): */

div.abstract {
  margin: 2em 5em }

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

div.figure {
  margin-left: 2em }

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

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

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.caption {
  font-style: italic }

p.label {
  white-space: nowrap }

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

p.sidebar-subtitle {
  font-family: sans-serif ;
  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.option-argument {
  font-style: italic }

span.pre {
  white-space: pre }

span.problematic {
  color: red }

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

table.docutils {
  border-style: none;
  border-width: 0;
}
  
table.citation {
  border-left: solid thin gray ;
  padding-left: 0.5ex }

table.footnote {
  border-left: solid thin black ;
  padding-left: 0.5ex }

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

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

ul.auto-toc {
  list-style-type: none }
  
