/* Default CSS for www.marcus-brinkmann.de.  */

/* Document defaults:

   Set background color to white and foreground color to black for
   maximum contrast.  Set the size of fonts, paragraph indentation
   and various other parameters to normal.  */
BODY
{
  background: #ffffee;
  color: #000000;
  background-image: url(../images/background.png);
  background-position: bottom left;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-size: 14pt;
  font-style: normal;
  font-weight: normal;

  text-align: justify;
/*  text-indent: 1.5em; */ /* first-child broken in M13 */

  letter-spacing: normal;
  word-spacing: normal

  border-color: #000000;
}

/* We don't want to indent the first paragraph of any element.  */
P:first-child { text-indent: 0em; text-align: justify }

/* Set link colors and don't underline them.  */
A:link		{ color: #5555dd; text-decoration: none }
A:visited	{ color: #111199; text-decoration: none }
A:active	{ color: #7777ee; text-decoration: none }

H1, H2, H3, H4, H5 A:link	{ color: #000000; }
H1, H2, H3, H4, H5 A:visited	{ color: #000000; }

/* H1 is the title of the site,
   H2 is the title of the page,
   H3 is the title of the section and so on.  */

H1, H2, H3, H4, H5, H6
{
  margin-top: 0;
  font-family: sans-serif;
  text-transform: capitalize;
}

H1
{
  text-transform: uppercase;

  font-weight: bold;
  font-style: italic;
  font-size: 200%;
  
  margin: 0;
  color: white; /* Why doesn't this in DIV#head work? */
  white-space: nowrap;
  overflow: hidden;
}

DIV#head
{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;

  margin: 3mm 3mm 1.5mm 3mm;
  padding: 3mm;

  background: darkblue;
  border: thin black solid;
}

DIV#toc
{
  position: fixed;
  top: 1.5cm;
  left: 3mm;
  width: 5cm;

  margin: 1.5mm 1.5mm 3mm 3mm;
  padding: 3mm;
  background: white;
  border: thin black solid;

}

DIV#toc OL
{
  list-style-type: lower-roman;
}
DIV#toc OL OL
{
  list-style-type: square;
}
DIV#toc A:link:hover	{ background: #5555dd; color: white; text-decoration: none }
DIV#toc A:visited:hover	{ background: #111199; color: white; text-decoration: none }
DIV#toc A:active:hover	{ background: #7777ee; color: white; text-decoration: none }

DIV#main
{
  position: fixed;
  left: 6.35cm;
  right: 0;
  bottom: 0;
  top: 2cm;

  margin: 1.5mm 3mm 3mm 1.5mm;
  padding: 3mm;
  background: white;
  border: thin black solid;

  overflow:scroll;
}

/* Have a bar above and below the footer.  */
DIV#footer
{
  border-top: solid thin;
  border-bottom: solid thin;
}

/* Quotes at the beginning of a page appear in the upper right corner.  */
BLOCKQUOTE		{ margin-left: 40% }
P.blockquote-source	{ text-align: right }

/* Abstracts at the beginning of the page, following the quote.  */
P.abstract
{
  background: #ffffee;

  padding: 1em 1em 1em 1em;
  margin-left: 1em;
  margin-right: 1em;

  border-style: solid;
  border-width: thin;
}
