/* General Layout */

body {
  margin: 0;
  padding: 0;
  font: normal 13px sans-serif;
}

div#page {
  position: relative;
  margin: 0 10px;
  padding: 1px 0;
  width: 960px;
}

div#header {
  position: absolute;
  top: -50px;
  left: 5px;
  right: 5px;
  height: 50px;
}

div#main-frame {
  position: relative;
  margin-top: 50px;
  margin-right: 168px;
  padding-top: 30px;
}

div#main-box {
  position: relative;
  margin: 0 2px;
  padding: 1em;
  border: 1px solid lightgray;
  background-color: #faf8f6;
}

div#main-links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
}

div#main-contents {
  #width: 90%;
  padding: 1em 2em;
  /*font: normal 1em serif;*/
}

div#bannersv {
  position: absolute;
  top: 12px;
  right: 0;
  width: 160px;
  height: 600px;
}

div#bannersh {
  margin: 1em;
  text-align: center;
  overflow: hidden;
  border: 1px solid black;
  background-color: black;
}

div#header h2 {
  margin: 0;
  padding: 0;
  font: normal 40px 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  text-transform: uppercase;
  color: #400000;
}

div#lang-change {
  position: absolute;
  bottom: 0;
  right: 0;
  font: normal 0.8em sans-serif;
  text-align: right;
}

div.clearer {
  clear: both;
}

/* Content 2-column block layout */

div.left-column {
  float: left;
  width: 48%;
}

div.left-column-inner {
  margin: 1em;
}

div.right-column {
  float: right;
  width: 48%;
}

div.right-column-inner {
  margin: 1em;
}

div.column-header {
  margin-bottom: 1px;
  padding: 0.4em;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  font: bold 14px sans-serif;
  background: black url(styles/glitter.png) repeat-x;
  _background-image: none;
  color: #f8f8f8;
  text-shadow: 0px 0px 6px #aaa;
}

div.column-content {
  padding: 0.5em 2em;
  border: 1px solid black;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomright: 4px;
  vertical-align: top;
  text-align: justify;
  background-color: #f0ece8;
  color: black;
}

/* Simple properties */

table {
  font: inherit;
}

a {
  color: #400000;
  text-decoration: none;
}

a:hover {
  color: #d00000;
}

a.list-navigation {
  font-weight: bold;
}

a img {
  border: none;
}

label * {
  vertical-align: middle;
}

ul {
  margin: 0;
}

form {
  margin: 0;
  padding: 0;
}

p {
  font: normal 1em sans-serif;
  text-align: justify;
}

/* Menus */

div#main-links a {
  #color: white; /* IE6 & IE7 */
}

div#main-links table {
  width: 100%;
  border-spacing: 2px 0;
  font: bold 14px sans-serif;
  font-variant: small-caps;
}

div#main-links td {
  padding: 0;
  border-bottom: 1px solid white;
  border-top: 1px solid white;
  background: #400000 url(styles/glitter.png) repeat-x;
  _background-image: none;
  color: #f0f0f0;
}

div#main-links td.selected {
  border-bottom: 4px solid #701000;
  border-top: none;
  background-color: #701000;
  color: white;
  text-shadow: 0px 0px 4px #fff;
}

div#main-links td:first-child {
  -moz-border-radius-topleft: 6px;
}

div#main-links td:last-child {
  -moz-border-radius-topright: 6px;
}

a.main-link {
  display: block;
  padding: 0.5em 0.5em 0.1em 0.5em;
  text-decoration: none;
  text-align: center;
  color: inherit;
}

div#main-links td:hover {
  text-shadow: 0px 0px 6px #ff0;
}

/* Main */

h1 {
  margin: 0;
  padding: 0;
  font-size: 1em;
  text-align: center;
}


table.choosename {
  width: 100%;
  padding: 0;
  text-align: center;
  font: normal 1em sans-serif;
}

td.choosename {
  width: 50%;
  padding: 1em 2em;
  border: 1px solid black;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomright: 4px;
  vertical-align: top;
  text-align: justify;
  background-color: #f0ece8;
  color: black;
}

th.choosename {
  padding: 0.4em;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  font: bold 1.1em sans-serif;
  background: black url(styles/glitter.png) repeat-x;
  _background-image: none;
  color: #f8f8f8;
  text-shadow: 0px 0px 6px #aaa;
}

td.choosename-spacing {
  width: 0;
  padding: 0 2em;
  border: none;
  empty-cells: show;
  background-color: transparent;
}

.list-name-column {
  float: left;
  width: 25%;
}

.list-name-column-inner {
  padding: 1em;
  border-top: 1px solid black;
}

.list-name {
  display: block;
  font: normal 1em sans-serif;
}

a.list-letter, a.list-letter-selected {
  margin: 0.1em;
  padding: 0.05em 0.2em;
  border: 1px outset gray;
  font: bold 1.1em courier;
  text-decoration: none;
  background-color: #f0ece8;
  color: black;
  text-shadow: 0 1px 1px white;
}

a.list-letter-selected {
  border-style: inset;
  text-shadow: 0 -1px 1px white;
}

div.list-warning {
  margin: 1em 2em;
  padding: 1em;
  border: 1px solid gray;
  background: #f0ece8;
  color: red;
  text-align: center;
}

table.card {
  width: 100%;
  max-width: 50em;
  margin: auto;
  padding: 0.5em 1.5em;
  empty-cells: show;
  border: 1px solid #404040;
  background-color: #f0ece8;
}

table.card-starred {
  background: #f0ece8 url('styles/star.png') no-repeat top right;
}

td.card, th.card {
  padding: 0.8em 0;
  vertical-align: top;
  font-size: 1em;
}

th.card {
  padding-right: 1em;
  text-align: right;
  white-space: nowrap;
}

th.card-small, td.card-small {
  font-size: 95%;
}

a.help-box {
  position: relative;
  z-index: 24;
  text-decoration: none;
  color: blue;
}

span.help-popup {
  display: none;
}

a.help-box:hover {
  z-index:25;
}

a.help-box:hover span.help-popup {
  display: block;
  position: absolute;
  top: 1em;
  left: 1em;
  width: 40em;
  padding: 0;
  font-weight: normal;
}

a.help-box:hover span.help-content {
  display: block;
  padding: 0.8em;
  border: 2px solid gray;
  text-align: justify;
  background-color: #ffffe0;
  color: black;
}

p.question {
  font-weight: bold;
}

p.credits {
  clear: both;
  margin: 0;
  padding-top: 1em;
  font: normal 0.8em sans-serif;
  text-align: center;
  color: #707070;
}

div.left-column form {
  text-align: left;
}

div.left-column label, div.left-column select {
  display: block;
  text-align: left;
}

div.left-column select {
  margin-bottom: 0.5em;
}
