/* site_aligns.css */
/* this is for all styles regarding site arrangement of blocks, elements etc. */

body
{
  margin: 0px;
  padding: 20px;

  /* set "overflow" depending on include method of files: */
  /* when using SSI there won't be scrollbars, so set "overflow: auto" */
  /* when using <object>-Tags (XHTML 1.1) they will have own scrollbars, so set "overflow: hidden" */
  overflow: auto;
}

div#div_body
{
  width: 96%;
  height: 96%;
}

div#div_left
{
  position: fixed;
  left: 20px;
  width: 180px;
  top: 20px;
  bottom: 20px;
  overflow: hidden;
  z-index: 20;
}

div#div_menu
{
  position: relative;
  left: 0px;
  top: 20px;
  bottom: 0px;
  overflow: auto;
  z-index: 70;
}

div#div_title
{
  position: fixed;
  display: block;
  left: 120px;
  right: 20px;
  top: 0px;
  padding-left: 0px;
  padding-top: 0px;
  z-index: 50;
}

div#div_chaosknoten
{
  position: fixed;
  display: block;
  right: 20px;
  top: 20px;
  width: 150px;           /* div only holds floating image and must not overlay other elements */
  height: 108px;          /* div only holds floating image and must not overlay other elements */
  padding-right: 20px;
  padding-top: 2px;
  z-index: 50;
}

img.logo
{
  display: block;
  padding: 0px;
  margin: 0px;
  z-index: 20;
}

img.rechts
{
  float: right;
}

div#div_main
{
  position: absolute;
  display: block;
  padding: 0px;
  left: 220px;
  right: 20px;
  top: 90px;
  bottom: 20px;
  z-index: 30;
}

div#div_content
{
  display: block;
  padding: 5px;
  padding-bottom: 25px;  /* keep bottom margin free of content! */
  min-height: 96%;
}

div.coverbar
{
  position: fixed;
  display: block;
  left: 220px;
  right: 20px;
  z-index: 40;
}

div.coverbar.top
{
  top: 0px;
  height: 90px;
}

div.coverbar.bottom
{
  bottom: 0px;
  height: 20px;
}

h1, h2
{
  padding: 0.4em;
}

ul.w3c
{
  position: absolute;
  display: block;
  float: left;
  padding-left: 0px;
  padding-bottom: 0px;
  margin-bottom: 0px;
  bottom: 0px;
  left: 0px;
  bottom: 0px;
  z-index: 40;
}

li.w3c
{
  display: inline;
  padding-top: 0px;
  padding-right: 0px;
  padding-left: 0px;
  padding-bottom: 0px;
}

.textshadow
{
  position: absolute;
  top: 0px;
  left: 20px;
  right: 0px;
}

.textshadow.front
{
  padding-top: 0.3em;
  padding-left: 1.2em;
  z-index: 22;
}
.textshadow.back
{
  padding-top: 0.4em;
  padding-left: 1.3em;
  z-index: 21;
}

/* workaround for CSS implementation problem relating */
/* to anchor positions inside an inner division block */
/* Problem: anchors will be positioned by top of body */
/* Solution: anchors must be moved below all top bars */
.linktarget
{
  display: block;       /* anchor must be drawn as block element */
  top: 0px;            /* = sum of top and padding-top must be */
  padding-top: 90px;     /* ...exact sum of heights of top bars */
  border-bottom-style: none;
}

a
{
  border-bottom-style: dotted;
  border-bottom-width: 1px;
}

p
{
  text-align: left;
}

div.leftmenu
{
  margin-left: 0px;
  margin-bottom: 10px;
  margin-right: 0px;
  margin-top: 0px;
}

.headbox, a.leftmenu
{
  display: block;
  padding-left: 5px;
  padding-bottom: 2px;
  padding-right: 5px;
  padding-top: 2px;
  border-style: solid;
  border-width: 1px;
  text-align: left;
}

a.leftmenu
{
  border-top-width: 0;
}

.announcement
{
  text-align: center;
}

div.announcement
{
  margin-bottom: 5px;
  padding-left: 0px;
  padding-bottom: 10px;
  padding-right: 0px;
  padding-top: 0px;
  border-left-style: none;
  border-bottom-style: dashed;
  border-right-style: none;
  border-top-style: dashed;
  border-width: thin;
}

ul
{
  text-align: left;
}

div.chapter
{
  margin-top: 30px;
}

div.box
{
  padding: 2px;
  border-style: solid;
  border-width: thin;
  margin-top: 20px;
  margin-bottom: 20px;
}

h4
{
  margin-bottom: 10px;
}

.line
{
  display: block;
}

li
{
  padding-bottom: 10px;
}

input
{
  margin-top: 5px;
  margin-bottom: 5px;
}

table.db
{
  border-spacing: 0.05em;
  empty-cells: show;
}

tr.dbhead
{
  height: 3em;
  border-spacing: 0.05em;
}

td.db
{
  padding: 0.2em;
  border-left-style: dotted;
  border-bottom-style: none;
  border-right-style: dotted;
  border-top-style: none;
  border-width: thin;
  vertical-align: top;
}

input.db, textarea.db, select.db
{
  width: 99%;
  margin-bottom: 10px;
}

select.dbdata
{
  width: 105px;
  margin: 0px;
}

textarea
{
  height: 50px;
}

.big
{
  height: 100px;
}

.verybig
{
  height: 200px;
}

/* Basic style fixes for wiki import */
.mw-parser-output h1,
.mw-parser-output h2
{
  padding: 0;
}

.thumbinner img {
  max-width: 100%;
}

