/* general
---------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  position: relative;
}

body {
  font-family: sans-serif;
  background-color: #fff;
}

a {
  color: #0E9ED8;
}

a:visited {
  color: #D94B47;
}

a:hover {
  color: #F12F2F;
}

a img {
  border: 0;
  vertical-align: middle;
}

.clear {
  clear: both;
  font-size: 0;
  height: 0;
}

.clear-right {
  clear: right;
  font-size: 0;
  height: 0;
}
/* site structure
---------------------------------------------------------------*/
/* site header */
#site-header {
  height: 50px;
  background: #9C1F0A;
  color: #FFFFFF;
}

#site-header a,
#site-header a:visited,
#site-header a:hover {
  color: #FFFFFF;
}

#site-title {
  position: absolute;
  right: 20px;
  top: 5px;
  font-family: Verdana, serif;
  font-size: 20px;
}

#site-title a,
#site-title a:visited,
#site-title a:hover {
  text-decoration: none;
  color: inherit;
}

#site-description {
  position: absolute;
  right: 20px;
  bottom: 5px;
  font-family: Verdana, serif;
  font-size: 10px;
}

#languages {
  position: absolute;
  left: 5px;
  bottom: 2px;
  font-size: small;
}

#site-header-footer {
  width: 100%;
  height: 8px;
  font-size: 0; /* dirty IE hack */
  background-color: #000000;
  color: #FFFFFF;
}

#site-header-footer img {
  position: absolute;
  right: 0;
  top: 0;
}

/* content-info
---------------------------------------------------------------*/
#content-info {
  z-index: 1;
  float: left;
  width: 240px;
  background-color: #eee;
}

#content-info-header {
  height: 14px;
  font-size: 0;
  background-color: #000;
}

#content-info h2 {
  font-size: small;
  text-align: center;
}

/* Wayfinder */
#content-info .menu {
  margin: 8px 5px 8px 5px;
  padding: 5px 0;
  background-color: #ddd;
  font-family: 'Trebuchet MS', sans-serif;
}

#content-info .menu li {
  list-style: none;
  margin-left: 5px;
  padding: 2px 0;
}

#content-info .menu li.active {
  font-weight: bold;
}

#content-info .menu li.active ul {
  font-weight: normal;
  font-size: small;
}

#content-info .menu li ul {
  display: none; /* non-active */
  background-color: #eee;
}

#content-info .menu li.active ul {
  display: block;
  border-left: 5px solid #ddd;
}

#content-info .menu li ul li {
  padding: 0 0;
}

#content-info .menu a {
  display: block;
  width: 99%;
}

#content-info .menu a,
#content-info .menu a:visited {
  text-decoration: none;
  color: #000;
}

#content-info .menu a:hover {
  text-decoration: underline;
}


/* ListIndexer */
#content-info .LIn_shortMode {
  margin: 8px 5px 8px 5px;
  padding: 5px 8px;
  background-color: #ddd;
  font-family: 'Trebuchet MS', sans-serif;
}

#content-info .LIn_shortMode li {
  list-style: none;
  font-size: small;
}

#content-info .LIn_shortMode .LIn_desc {
  display: block;
  margin-left: 1em;
}

#content-info .LIn_shortMode a {
  color: #09668B;
}
#content-info .LIn_shortMode a:visited {
  color: #D94B47;
}

#content-info .LIn_shortMode a:hover {
  color: #F12F2F;
}

/* AjaxSearch */
#content-info #ajax-search {
  margin: 8px 5px 8px 5px;
  padding: 5px 8px;
  background-color: #ddd;
  font-size: small;
}

/* infobox */
#content-info .infobox {
  margin: 8px 5px 8px 5px;
  padding: 5px 8px;
  background-color: #ddd;
  font-size: small;
}

#content-info dl#related dd {
  margin-left: .5em;
}

/* content-body
---------------------------------------------------------------*/
#content-body {
  margin-left: 250px;
  margin-right: 20px;
}

#breadcrumbs {
  margin: 5px;
  font-size: small;
}

#page-title {
  font-size: large;
  font-family: 'Trebuchet MS', sans-serif;
}

#description {
  float: left;
  font-size: small;
}

#content-body-info {
  float: right;
}

#datetime {
  font-size: small;
  text-align: right;
}

#tags {
  font-size: small;
  text-align: right;
}

#content {
  margin: 20px 20px 10px 20px;
  line-height: 150%;
  /*letter-spacing: 1px;*/
  font-size: small;
}

#content .QE_Link {
  z-index: 3;
}

#content-body-footer {
  z-index: 0;
  font-size: 14px;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

/* site-footer
---------------------------------------------------------------*/
#site-footer {
  margin: 20px 20px 0 20px;
  padding-right: 20px;
  border-top: 1px solid #DDDDDD;
  font-size: small;
  text-align: right;
}


/* content (general)
---------------------------------------------------------------*/
#content table {
  border-bottom: 1px solid #E6DFCA;
  border-spacing: 1px;
  border-collapse: separate;
  border-top: 1px solid #E6DFCA;
  margin: 0.5em auto;
  text-align: center;
}

#content table caption {
  width: 99%;
  margin: 0 auto;
  text-align: center;
}

#content table th {
  background-color: #E6DFCA;
  border-right: 1px solid #fff;
  padding: 2px 5px;
}

#content table tr td{
  border-bottom: 1px solid #E6DFCA;
}

#content table td {
  padding: 2px 5px;
}

#content h3,
#content h4,
#content h5,
#content h6 {
  margin: 1.2em 0 .4em 0;
}

#content h3 {
  border-left: 6px solid #E6DFCA;
  border-bottom: 2px solid #E6DFCA;
  padding: 2px 6px;
}


#content ul,
#content ol {
  margin-left: 1.6em;
}

#content dl dt span {
  border-bottom: 1px dotted #000;
  padding-bottom: 1px;
}

#content dl dd {
  margin-left: 1em;
}

#content blockquote {
  margin: .3em .8em;
  border-left: 3px solid #777;
  padding: .3em;
  background-color: #eee;
  color: #000;
}

#content blockquote cite {
  display: block;
  text-align: right;
}

#content pre {
  margin: .3em .8em;
  border: 2px solid #bbb;
  padding: .3em .8em;
  font-size: 90%;
  line-height: 110%;
  letter-spacing: 0;
  background-color: #f6f6f6;
  color: #000;
  
  /* http://myy.helia.fi/~karte/pre-wrap-css3-mozilla-opera-ie.html */
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

#content p {
  margin: .8em 0;
}


