﻿/* General style sheet - revised 2018-11-08 - Frank Podzelny */
body {
  font: 10pt sans-serif;
  background-color: lightgray;
  height: 100%;
  margin: 0;
  padding: 0;
  margin: 1em auto;
  text-align: justify;
  max-width: 60em;
  }
header div {
  background-color: white;
  text-align: center; 
  margin: 0;
  font-size: 200%;
  }
nav {
  padding: 0;
  margin: 0;
  background-color: navy;
  }
nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  }
nav ul li {
  display: inline-block;
  background-color: navy;
  }
nav a {
  display: block;
  color: white;
  padding: 0 1em;	
  line-height: 1.5em;
  text-decoration: none;
  }
nav a:hover { 
  text-decoration: none;
  background-color: blue;
  background-color: yellow;
  }
li.selected { 
  background-color: blue;
  }
li.portal { 
  background-color: maroon;
  }

main {
  background-color: white;
  padding: 1em;
  margin: 1em 0;
  }
h1, h2, h3, h4, h5, h6 {
  padding: .5em 0 .17em 0;
  border-bottom: none;
  color: black;
  background: none;
  font-weight: normal;
  margin: 0;
  width: auto;
  }
h1 { 
  padding: 0;
  border-bottom: 1px solid #aaa;
  margin-top: 0;
  margin-bottom: 0.1em;
  margin-bottom: .6em;
  line-height: 1.2em;
  font-size: 200%;
  }
h2 { 
  border-bottom: 1px solid #aaa;
  margin-bottom: .6em;
  font-size: 150%;
  }
h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: .3em;
  }
h3 { 
  font-size: 132%;
  }
h4 { 
  font-size: 116%;
  }
h5 { 
  font-size: 100%;
  }
h6 { 
  font-size: 80%;
  }
p {
  margin: .4em 0 .5em 0;
  line-height: 1.5em;
  }
a { 
  color: blue;
  text-decoration: none;
  background: none;
  }
a:hover { 
  text-decoration: underline;
  }
div.toc {
  background-color: white;
  padding: .5em 0 .5em 0;
  margin: 0; 
  text-align: left; 
  width: 30em; 
  font-size: 80%;
  clear: left; 
  border: #aaa 1px solid; 
  }
div.toctitle {
  text-align: center; 
  font-weight: bolder; 
  }
div.toc ul{
  list-style: none;
  }
img { 
  vertical-align: middle;
  border: none;
  }
hr {
  height: 1px;
  margin: .2em 0 .2em 0;
  }
ul {
  padding: 0;
  line-height: 1.5em;
  margin: .3em 0 0 1.5em;
  list-style-type: disc;
  }
ol {
  padding: 0;
  list-style-type: decimal;
  line-height: 1.5em;
  margin: .3em 0 0 3.2em;
  list-style-image: none;
  }
li {
  margin-bottom: .1em;
  }
dl {
  margin-top: .2em;
  margin-bottom: .5em;
  }
dt {
  font-weight: bold;
  margin-bottom: .1em;
  }
dd {
  line-height: 1.5em;
  margin-left: 2em;
  margin-bottom: .1em;
  }
figure {
  margin: 0 0 1em 0;
  padding: 1em;
  text-align: center; 
  border: #aaa 1px solid; 
  box-sizing: border-box;
  border: #aaa 1px solid; 
  background-color: lightgray;
  }
figure.vcard {
  margin: 0 0 1em 1em;
  width: 20em; 
  float: right; 
  clear: right; 
  border: #aaa 1px solid; 
  }
figure.gallery {
  display: inline-block;
  vertical-align: top;
  width: 18.4em;
  margin: 0;
  border: none
  }
figure.main {
  margin: 1em;
  float: center; 
  clear: center; 
  border: none; 
  background-color: white;
  }
figcaption {
  padding: 0.5em;
  text-align: center;
  }
table {
  margin: 1em 1em 1em 0;
  padding: 0;
  background-color: white;
  border: #aaa 1px solid; 
  border-collapse: collapse;
  }
table.vcard {
  width: 20em; 
  margin: 0 0 1em 1em;
  float: right; 
  clear: right; 
  text-align: center;
  box-sizing: border-box;
  }
table.results {
  margin: 0 1em 1em 0;
  text-align: center;
  box-sizing: border-box;
  }
th, td {
  border: 1px #aaa solid;
  padding: 0.2em;
  font-size: 83%; 
  }
th { 
  background-color: lightblue;
  font-weight: bolder; 
  text-align: center;
  }
caption {
  font-weight: bold;
  font-size: 83%; 
  }
address { 
  font-style: normal;
  }
h2.visualclear {
  clear: both;
  }
footer {
  background-color: white;
  padding: 0.25em 1em;
  margin: 2em 0;
  font-size: 75%;
  }
[lang|=de] > * { 
  quotes: "\201E" "\201C" "\201A" "\2018";
  }
[lang|=en] > * { 
  quotes: "\201C" "\201D" "\2018" "\2019";
  }
[lang|=fr] > * { 
  quotes: "\AB" "\BB" "\2039" "\203A";
  }
@media screen {
nav span {
  display: none;
  }
h1 img {
  height: 100%;
  width: 100%;
  }
}
@media only screen and ( max-width: 720px ) {
header {
  font-size: 75%;
  }
}
@media only screen and ( min-width: 70em ) {
a.top {
  position: fixed; 
  bottom: 50px; 
  left: 50px;
  }
}
@media print {
header, footer {
  display: none;
  }
ul, ol, dl { 
  page-break-before: avoid;
  }
div.toc {
  display: none;
  }
a:link { 
  color: black; 
  background: white;
  } 
a.top {
  display: none;
  }
}
