@page           { margin: 2.5cm; }

h1, h2, h3, h4, h5, h6 { page-break-after: avoid; page-break-inside: avoid; }
h3 ul                  { page-break-before: avoid; }
blockquote, pre        { page-break-inside: avoid; }
ul, ol, dl             { page-break-before: avoid; }

body
{
  color: black;
  background: white;
  font-size-adjust: 0.53;
  font-family: Minion, Palatino, "Book Antiqua", serif;
}

h1
{
  color: black;
  background: white;
  margin-top: 0;
  margin-bottom: 0;
}

h2, h3
{
  color: black;
  background: white;
  display: block;
}

h2, h2 code, h3 code, h3
{
  font-weight: bold;
  font-style: normal;
  font-family: "Zurich BT", "Gill Sans", "Arial Unicode MS", Arial, Helvetica, sans-serif;
}

h3     { margin-bottom: 0; }
h3 + p { margin-top: 0; }

p, h3, dl, div.tekst-eksempel, div.ordrett, address, ul
{
  max-width: 40em;
  margin-left: 5%;
  padding-right: 1em;
}

p.xml-eksempel, p.tekst-eksempel
{
  max-width: 40em;
}

div.tekst-eksempel p
{
  margin-left: 0;
}

.element, .tagg, code.kode, kbd, dt, q
{
  color: #333333;
  background: white;
}

dt.orddeling
{ 
  border-top: 1px solid #999999;
}

.attributt
{
  color: #666666;
  background: white;
}

.entitet
{
  color: #333333;
  background: white;
}

hr
{
  color: black;
  height: 1pt;
  border: 1pt solid black;
}

div#navigasjonsstolpe
{
  display: none;
}

div#innhaldsliste
{
  float: right;
  border-left: 1pt solid black;
  padding-right: 0;
  padding-left: 2em;
  margin-left: 2em;
}

p.xml-eksempel, .tekst-eksempel
{
  padding: 1em;
  background: #dddddd; color: black;
  border: 1pt solid #666666;
}

p.xml-eksempel *, div.tekst-eksempel *  {  background: #dddddd; }

tr.lys    { background: #cccccc; color: black; }
tr.mork   { background: #666666; color: white; }

.utskrift { display: none; }

table          {  border-width: 1pt; }
table, table * { border-color: black; }

:link:focus, :visited:focus
{
  color: black;
  background: white;
}

:link
{
  color: black;
  background: white;
  text-decoration: none;
}

:visited, :visited code
{
  color: black;
  background: white;
  text-decoration: none;
}

:link:hover
{
  color: black;
  background: white;
}

:visited:hover
{
  color: black;
  background: white;
}

:link:active
{
  color: black;
  background: white;
}

:visited:active
{
  color: black;
  background: white;
}

abbr[title], acronym[title] { border-bottom: none; }
