@page 
{
/* YES millimeters. Page has no fontinformation, so em will not work here. */
  margin : 2mm;
  margin-top : 4mm
}

body 
{
/* any lower than that, and you get run-ins. */
  line-height : 1.15em
}

.center 
{
  display : block;
  text-align : center
}

/* For the titlepage */
.author 
{
  font-size : large;
  text-align : center;
  margin-top : 2em;
  font-weight : bold
}

.title 
{
  font-size : x-large;
  text-align : center;
  margin-top : 1.5em;
  padding-top : 2mm;
  line-height : 1.3em;
  border-style : solid;
  border-width : 0px;
  border-top-width : 1px;
  border-color : black;
  font-weight : bold
}

.subtitle 
{
  padding-bottom : 2mm;
  border-style : solid;
  border-width : 0px;
  border-bottom-width : 1px;
  border-color : black;
  text-align : center
}

.publisher 
{
  font-size : x-small;
  text-align : center;
  margin-top : 3em
}

/* Section headers (always at the top of the page) */
.part 
{
  font-size : x-large;
  text-align : center;
  margin-top : 3em;
  padding-top : 0.5em;
  margin-bottom : 1.5em;
  padding-bottom : 0.5em;
  line-height : 1.3em;
  border-style : solid;
  border-width : 0px;
  border-bottom-width : 1px;
  border-top-width : 1px;
  border-color : black;
  font-weight : bold
}

.book 
{
  font-size : x-large;
  text-align : center;
  margin-top : 3em;
  line-height : 1.3em;
  margin-bottom : 2em;
  padding-bottom : 0.5em;
  border-style : solid;
  border-width : 0px;
  border-bottom-width : 1px;
  border-color : black
}

.chapter 
{
  font-size : large;
  text-align : center;
  margin-top : 2.1em;
  margin-bottom : 1.8em;
  font-weight : bold
}

/* Headlines in the running text. */
.head1 
{
  text-align : left;
  font-size : large;
  margin-top : 1.7em;
  margin-bottom : 0.5em;
  padding-bottom : 0.2em;
  page-break-after : avoid;
  border-style : solid;
  border-width : 0px;
  border-bottom-width : 1px;
  border-color : black;
  font-weight : bold
}

.head2 
{
  text-align : left;
  font-weight : bold;
  margin-top : 1.65em;
  margin-bottom : 0.65em;
  page-break-after : avoid
}

.head3 
{
  text-align : left;
  font-style : italic;
  margin-top : 1.5em;
  page-break-after : avoid
}

/* For the table of content */
.toc1 
{
  text-align : left;
  margin-top : 1em;
  font-weight : bold
}

.toc2 
{
  text-align : left;
  line-height : 1.1em;
  font-size : small;
  font-weight : bold
}

.toc3 
{
  text-align : left;
  line-height : 1.1em;
  font-size : small;
  text-indent : 1em
}

/* Colophon page */
.copyright 
{
  text-align : center;
  font-size : x-small;
  line-height : 1.1em;
  margin-top : 2em
}

.teaser
{
  font-size : small;
  text-align : left;
  margin-left : 0.5em;
  line-height : 1.1em;
  page-break-before : always
}

/* RUNNING TEXT */

/* a normal paragraph with a small indent */
.indent 
{
  text-indent : 1.5em;
  text-align : justify
}

/* a normal paragraph with a blank line over */
.blankover 
{
  margin-top : 1.15em;
  text-align : justify
}

/* A normal paragraph with NO indent (used after the section head) */
.noindent 
{
  text-align : justify
}

/* Quote WITH indent */
.quoteindent 
{
  margin-left : 1.5em;
  text-align : left;
  text-indent : 1.5em;
  line-height : 1.1em;
  font-size : small
}

/* Quote without indent */
.quotenoindent 
{
  margin-left : 1.5em;
  text-align : left;
  line-height: 1.1em;
  font-size : small
}

/* quote with blank line over */
.quoteblankover 
{
  margin-left : 1.5em;
  text-align : left;
  margin-top : 1.1em;
  line-height: 1.1em;
  font-size : small
}

/* Preformatted with blank over */
.preblankover 
{
  font-family : monospace;
  margin-top : 1.15em;
  text-align : left
}

/* Preformatted (there is NO preindent, becase then it wouldnt be pre would it.  */
.prenoindent 
{
  font-family : monospace;
  text-align : left
}

/* a footnote (doh) */
.footnote 
{
  text-align : left
}

.picture 
{
  display : block;
  float : center;
  text-align : center;
  margin : 0.5em;
  margin-top : 1.15em;
  margin-bottom : 1.15em
}

table 
{
  border-spacing : 0;
  margin-top : 0.6em;
  margin-bottom : 0.55em;
  font-size : small;
  border-width : 1px;
  border-style : solid
}

td 
{
  font-family : sans-serif;
  border-width : 1px;
  border-style : solid;
  padding : 0.2em;
  padding-bottom : 0.1em;
  text-align : left;
  line-height : 1em
}

ul 
{
  margin : 0;
  margin-left : 1em; 
  margin-top : 1.15em; 
  text-align : left
}

/* Note marks inline in the running text (the link that leads to the footnote */
span.note 
{
  font-weight : bold
}