article, section, aside, hgroup, nav, header, footer, figure, figcaption {
  display: block;
}

body {
  margin: 0;
  padding: 7px 5px 12px 5px;
  font-family: "Helvetica Nueue", arial, sans-serif;
  font-family: Arial, sans-serif;
  font-size: 14px;

/*  
  background-image: -moz-linear-gradient(top,#9cd,#fff);
  background-image: -moz-linear-gradient(top,#fff,#fff);
  background-image: -moz-linear-gradient(top,#cef,#fff);
  background-image: -webkit-linear-gradient(top,#cef,#ffffff);
  background-image: -ms-linear-gradient(top,#cceeff,#ffffff);
  background-image: -o-linear-gradient(top,#cceeff,#ffffff);
  filter: progid:DXImageTransform.Microsoft.gradient(
    startColorstr=#cceeff,endColorstr=#ffffff);
  background-repeat: no-repeat;

  background-color: #faf6f3;
  background-color: #f9f5f2;
*/
  background-color: #C1D1EC;
}

#container {
  max-width: 800px;
  min-width: 240px;
  margin: 0 auto; /* auto: centers container */
}

header {
  line-height: 0;
  border-radius: 8px;
  position: relative;
  margin-bottom: 7px;
/*
  border: solid 1px #00c;
  border: solid 1px #ffa360;
  box-shadow: 0px 0px 6px #66f;
  box-shadow: 0px 0px 7px #f96;
*/
  border: solid 1px #c00;
  box-shadow: 0px 0px 7px #f96;
}

header img.main {
  border-radius: 8px;
  width: 100%;
}

header a.menu {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: #fff;
  padding: 3px;
  border: solid 2px #c00;
  border-radius: 4px;
}
header a.menu img {
  height: 15px;
  width: 15px;
}
header a.menu:hover {
  background: #f96;
}

nav {
  display: table-cell;
  vertical-align: top;
  padding-right: 7px;
  overflow: hidden;
}

nav li {
  display: block;
/*
  margin: 5px 0;
  border-bottom: solid 1px white;
*/

  margin: 12px 0;
}

nav > div {
  position:relative;
/*
  background: #f96;
  background: #f03;
*/
  background: #b22222;
  border: solid 1px black;
  padding: 0 6px;
  border-radius: 5px;
  overflow: hidden;
}

nav a {
/*
  color: gold;
*/
  color: #ffe340;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none;
/*
  font-size: 15px;
  font-family: "Arial Narrow", "Arial", sans-serif;
*/
}

nav a:hover {
  text-decoration: underline;
}

main {
  display: table-cell;
  vertical-align: top;
  width: 100%;
  line-height: 1.4;
  position: relative;
  min-height: 400px;
  overflow: auto;
  padding: 0px 10px 10px 10px;
  border: solid 1px black;
  background: #fff;
  border-radius: 8px;
}

main > div {
  min-height: 300px;
}

main h2:first-child {
  margin: 7px 0 3px 0;
}

main a {
  color:  #3278b3;
  text-decoration: none;
  font-weight:600;
  font-style: italic;
}

main a:hover {
  color: #ac2925;
  text-decoration: underline;
}

h3 {
/*
  color: #f96;
  color: #e66;
*/
  color: orangered;
  color: #f42;
}

#print-header {
  display: none;
  color: #c00;
  position: relative;
  height: 50px;
}
#print-header h1 {
  position: absolute;
  top:0; left:0;
  margin:0;
  padding:0;
}
#print-header img {
  position: absolute;
  top:0; right:0;
  height: 45px;
}


span.aff {
  font-style: italic;
  font-weight: normal;
  color: #900;
}

@media print {
  nav, header { display: none; }
  main { border: 0; padding: 0; }
  #print-header { display: block; }
  body { font-size: 10pt; background: white; }
}
