/* ***************************************************************************
 *
 * Globale Vorgaben für die komplette Applikation.
 *
 * ***************************************************************************/
/*
 * Nötig, falls wir mal einen Footer einbauen wollen.
 */
html, body {
  height: 100%;
}
/*
 * Vom Body sollten weder margin noch padding vorgegeben werden.  
 * Außerdem wird hier die grundlegende Schriftart und Größe festgelegt.
 */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
/*
 * Die Schriftart und Größe muss für einige HTML-Tags nochmal getrennt
 * definiert werden.
 */
table {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}  
select {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
/*
 * Ausgabe von Fehlermeldungen
 */
.errormessage {
  color: red;
}
div.errormessage {
  padding-top: 10px;
  padding-bottom: 10px;
}
/*
 * Hintergrund für Muss-Felder
 */
.required {
  background-color: #ffdddd;
}
/*
 * Einstellungen für Fehlerseiten
 */
.errorpage {
  font-size: 14px;
  color: red;
}
/*
 * Der grundsätzliche Seitenaufbau besteht aus einem Header, einem links
 * ausgerichteten Menü und dem Content im restlichen Bereich.
 */
#header1 {
  float: left;
  width: 100%;
  background-color: beige;
}
/*
 * Titelzeile im Headerbereich
 */
#headerline {
  float: right;
  width: 90%;
  padding: 10px;
  background-color: beige;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  z-index: 1;
}
#logo {
  position: absolute;
  top: 2px;
  left: 10px;
  background-color: beige;
  z-index: 2;
}
#header2 {
  float: left;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 10px;
  background-color: beige;
}
/*
 * Menu links oben (Logout-Button)
 */
#menuleft {
  float: left;
  background: beige;
  margin-left: 2px;
  text-align: left;
}
/*
 * Menu rechts oben (Impressum)
 */
#menuright {
  float: right;
  background: beige;
  margin-right: 5px;
  text-align: right;
}
/*
 * "Normales" Menu (linke Spalte)
 */
#menu {
  float: left;
  width: 140px;
  background: beige;
  margin-right: 15px;
  padding: 10px;
}

/*
 * Bild am linken Rand **REIMEDIA**
 */
.seitenbild {
  position: absolute;
  top: 155px;
  left: 0px;
  padding: 0px;
  float: left;
  width: 160px;
  background: white;
  margin-right: 0px;
  padding: 0px;
}


.topmenue {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

/*
 * Der "Inhalt" im restlichen Bereich
 */
#content {
  float: left;
  padding: 10px;
}
#logincontent {
  position: absolute;
  top: 85px;
  left: 165px;
  padding: 10px;
}
/*
 * Im Menü-Bereich werden unter anderem die Auswahlkriterien für die 
 * anzuzeigenden Bestellungen angezeigt.
 */
#menu .choose {
  padding-bottom: 10px;
}
/*
 * Die Auswahlboxen und die Eingabefelder sollen gleiche Breite haben.
 */
#menu .choose select {
  width: 11em;
}
#menu .choose input {
  width: 11em;
}
/*
 * Und der Anzeigebutton soll zentriert dargestellt werden.
 */
#menu .button {
  text-align: center;
}
/*
 * Darstellung der Menüpunkte in der Titelzeile.
 */
#header2 a {
  text-decoration: none;
  color: darkblue;
  padding-left: 5px;
}
#header2 a:hover {
  font-weight: bold;
}
/* ***************************************************************************
 *
 * Formatierungsanweisungen fuer das Formular für die Anzeiger einer Bestellung
 *
 * ***************************************************************************/
/*
 * Hiermit wird ein typisches Eingabeformular (jeweils pro Zeile ein
 * Label und ein Ein/Ausgabefeld) in einer tabellenähnlichen Struktur
 * ausgegeben.
 */
div.title {
  font-weight: bold;
  font-size: 14px;
  color: darkblue;
  text-align: center;
}
div.tablecaption {
  font-weight: bold;
  font-size: 14px;
  color: darkblue;
  text-align: center;
  padding-top: 15px;
  padding-bottom: 10px;
}
div.spacer {
  clear: both;
}
table.address {
  padding: 2px;
  border-width: 1px;
  border-style: solid;
  border-collapse:collapse;
  empty-cells: show;
  border-color: black;
}
table.address th {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  font-weight: bold;
  color: darkblue;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
table.address td {
  border-style: none;
  padding-left: 10px;
  padding-right: 10px;
  border-color: black;
}
table.address td.left {
  border-width: 1px;
  border-left-style: solid;
  background-color: beige;
}
table.address td.empty {
  border-width: 1px;
  border-left-style: solid;
  text-align: center;
}
table.address td.top {
  border-width: 1px;
  border-top-style: solid;
  padding-top: 5px;  
}
table.address td.bottom {
  border-width: 1px;
  border-bottom-style: solid;
  padding-bottom: 5px;
}
/* ***************************************************************************
 *
 * Formatierungsanweisungen fuer die Liste der Bestellungen
 *
 * ***************************************************************************/
table.orderlist {
  text-align: left;
}
/* 
 * Die Zeilen der Tabelle sollen alternierend mit unterschiedlichen 
 * Farben dargestellt werden.
 */
table.orderlist .even {
  background-color: white;
}
table.orderlist .odd {
  background-color: aliceblue;
}
table.orderlist td {
  padding-right: 10px;
}
/*
 * Jede Zeile enthält einen Button, der auf Klick die jeweilige Bestellung
 * anzeigen soll. Der Button soll aber nicht wie ein Button sondern wie ein
 * Link angezeigt werden.
 */
table.orderlist input.button {
  background: transparent;  /* Ohne grauen Hintergrund und */
  border: none;             /* ohne Rand sehen wir nur noch den normalen Text.*/
  color: darkblue;
  margin: 0px;
  padding: 0px;
  width: 100%;              /* Damit lässt der IE den überbreiten Rand weg. */
  text-align: left;
  cursor: hand;             /* Damit wechselt der IE bei hover den Cursor. */
}
/*
 * Wird leider nur von Mozilla und Co unterstützt: Bei hover den Button-Text
 * in Bold anzeigen.
 */
table.orderlist > input.button:hover {
  font-weight: bold;
}
/* ***************************************************************************
 *
 * Formatierungsanweisungen fuer die Login-Seite
 *
 * ***************************************************************************/
p.title {
  padding-top: 0px;
  font-weight: bold;
  font-size: 14px;
  color: darkblue;
}
/* ***************************************************************************
 *
 * Formatierungsanweisungen fuer das Impressum
 *
 * ***************************************************************************/
#impressum {
  float: left;
  padding: 20px;
  font-size: 14px;
}
#impressum p {
  margin-top: 0px;
  margin-bottom: 5px;
}
#impressum div.title {
  font-weight: bold;
  color: darkblue;
  text-align: left;
  font-size: 16px;
}
#impressum div.haftung {
  clear: both;
  margin-right: 10%;
  text-align: justify;
  width: 100%;
}
/*
 * Box um die Adress-Angabe im Impressum.  Wesentlich ist, das hier eine Breite
 * vorgegeben wird.
 */
#impressum div.data {
  float: left;
  width: 450px;
}
/*
 * Hiermit wird der Label-Bereich des Formulars auf die linke Seite der
 * umgebenden Box gezogen.  Die Gesamtbreite des Labelbereichs muss
 * vorgegeben werden.
 */
#impressum div.row {
  clear: both;
}
#impressum span.label {
  float: left;
  width: 230px;
  text-align: left;
}
/* ***************************************************************************
 *
 * Formatierungsanweisungen fuer die Liste der Bestellpositionen
 *
 * ***************************************************************************/
table.poslist {
  text-align: left;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-collapse:collapse;
  empty-cells: show;
}
table.poslist th {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  border-style: none;
  border-width: 1px;
  border-bottom-style: solid;
  border-color: black;
  color: darkblue;
}
table.poslist tfoot {
  border-style: solid;
  border-color: black;
  border-width: 1px;
  font-weight: bold;
  color: darkblue;
  text-align: right;
}
table.poslist td.price {
  text-align: right;
}
/* 
 * Die Zeilen der Tabelle sollen alternierend mit unterschiedlichen 
 * Farben dargestellt werden.
 */
table.poslist .even {
  background-color: white;
}
table.poslist .odd {
  background-color: aliceblue;
}
table.poslist td {
  padding-right: 10px;
}
div.navigation {
  margin-top: 20px;
}
div.navigation input {
  margin-left: 15px;
}
div.navigation a {
  margin-left: 15px;
}

.submit {
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 10px;
	color: #333333;
	font-weight: bold;
	text-align: center;
	background-color: #FFFFFF;
	border-top: 1px solid #ADADAD;
	border-right: 1px solid #ADADAD;
	border-bottom: 1px solid #ADADAD;
	border-left: 5px solid #FFC61A;
	padding: 0px 6px;
}


.textfield-required {
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 10px;
	color: #333333;
	background-color: #FFFFFF;
	border-top: 1px solid #ADADAD;
	border-right: 1px solid #ADADAD;
	border-bottom: 1px solid #ADADAD;
	border-left: 4px solid #C71800;
	padding-left: 2px;
	padding-right: 2px;
}

.textfield {
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 10px;
	color: #333333;
	background-color: #FFFFFF;
	border: 1px solid #ADADAD;
	padding-left: 2px;
	padding-right: 2px;
}

