/*
  This stylesheet uses relative values for sizes in almost all cases.
  This means the screen can be resized, and all elements will resize as well
  not only fonts and texts.
*/


/*
  Start with some global parameters
*/
html{
  font-size: 1.0em;
}

body{
  margin: 0em;
  padding: 0em;
  font-size: 0.75em;
  background-color: white;
  font-family: verdana, sans-serif;
  overflow-x: hidden;
}

 

a{
  text-decoration: none;
  color: black;
}

a:hover, a:focus{
  text-decoration: none;
}

abbr:hover{
  cursor: help;
} 

code{
  font-family: courier,monospace;
  font-style: italic;
}

a.linkAktiv {  
 color: #FF0000;  
}  

h1{
  margin: 0em;
  font-size: 1.5em;
  line-height: 2.0em;
  font-weight: bold;
  color: #ff9900;
}
h2{
  margin: 0em;
  margin-bottom: 1.0em;
  font-size: 1.0em;
  line-height: 1.8em;
  font-weight: bold;
  color: #666666;
}
/* wird benutzt für die Zeile ganz oben rechts */
h3{
  margin: 6em 0em 0em 0em;
  margin-bottom: 0.5em;
  font-size: 0.8em;
  font-weight: bold;
  color: #660000;
}
img{
  border: 0em;
}

ul{
  margin: 0em 0em 0em 1em;
  padding: 1em;
}

ul.links{
  list-style-image: url("../../images/design/li_link.gif");
}

ul.links li{
  padding: 0em 0em 0em 0.7em;
  vertical-align: middle;
}

ul.unformattedList{
  margin:0;
  padding:0;
  list-style-type:none;
}

ul.unformattedList li{
  clear:both;
}

.noScreen{  /* This class is not shown on screen */
  display: none;
}

.handheld{  /* This class in only seen in handheld */
  display: none;
}

/*
  The first part describes the layout of the whole Page
*/

#surrounding{  /*  contains all elements. necessary to avoid wrapping when resizing the screen; */
               /* war ursprünglich 79em,  */
  width: 85em;   /*115em */
}

/* längs gespaltene Stränge, durch repeat 2farbig gehalten. ". farbe durch bg-color */

#columnRight,#columnLeft{  /*  These are the columns on left or right - only needed on screens */
  float: left;
  width: 0.1em;        /* je weniger width desto weiter nach links */
  margin: 0;
 
 background-repeat: repeat-y;
 background-color: white;

/* #A2A2A2 */

  margin-bottom: 1em;
  border-bottom: 0.1em white solid;
  
  height: 5px;
}

#columnRight{
  margin-left: 0em;  /* hier kann der rechte balken nach rechts verschoben werden */
  background-image: url("../../images/background/columnRight.gif");
}

#columnLeft{
  margin-right: 0em;
  background-image: url("../../images/background/columnLeft.gif");
  background-position: right;
}

/* die kurzen Stränge längs, durch repeat 2farbig gehalten. ". farbe durch bg-color */


#top_right, #top_left{  /* top right, left corners */
  height: 10px;  /* die farbigen Balken oben links und rechts */
  border-bottom: 0.1em white solid;
  background-image: url("../../images/background/columnRightTop.gif");
}

#top_left{
  background-image: url("../../images/background/columnLeftTop.gif");
  background-position: right;
}


.mainContent{  /* middle part, contains the real content of the page, einschl. des Naigationsstreifens */
  float: left;
  width: 83.5em;
  background-color: white;  /* #ffff99; */
}

#header{  /* Contains logo and a banner */
  height: 75px;
  border-bottom: 0.1em white solid;
  background-image: url("../../images/background/nadann_header.gif");
  background-repeat: no-repeat;
background-color: white; /* blue */
  
}

/* Verlängerung der senkrechten Navigationsleiste */

#navigation{  /* contains the navigation */
  float: left;
  width: 16em;  /*  Breite der Navigation */
  margin: 0em;  /* Abstand zum linken Rand */
  padding: 10em 4.5em 4em 3em; /* oben, rechts, unten links */
  background-color: white; /* #ccccff */
}

#contentPart{ /* contains breadcrumb and content, Textausgabefeld */
  float: left;
  width: 60em;
  background-color: white; /* #ccffcc */
}

#breadcrumb{  /* location and search-form */
  background-image: url("../../images/background/breadcrumb.gif");
  background-repeat: repeat-y;
  background-color: white;

  height: 2.02em;
  width: 46em;
  border-left: 0.1em black solid;
}

#location{
  float: left;
  padding: 1em 0em 0em 0.5em;
  width: 27em;  
  height: 2.7em;
}


#searchForm{
  float: right;
  text-align: right;
  padding: 0.2em 1em 0em 0em;
  width: 15em;
}


/* TEXT */

#content{  /* Formatierung des Textinhalts obere 2 Zeilen */
  clear: both;
 /*  background-image: url("../../images/background/content.gif"); */
/* background-repeat: repeat-y; */
  padding-top: 0em; /* Höhe der ersten Textzeile */
  margin: 0.5em;
  width: 59em;  /* gleicher Wert wie contenPart minus 1em für Rahmen oder so */
  line-height: 1.5em; /* Zeilenabstand */
  background-color: white;  /* #ccccff  */
}

.contentBox, .contentBoxBorder{  /* weiterer Fließtext */
  clear: both;
  display: block; /* Obere beiden Zeilen zum verschwinden bringen mit "none" */
  margin: 0em 2em 0em 0em ! important;
  padding: 0em 0em 1em 0em ! important;
  color: #000000;  /* Fließtextfarbe */
}

.contentHalf{  /* allows 2 divs next to each other in content */
  float: left;
  width: 20.7em;
}


.contentBoxBorder{  /* contentBox but with border at bottom */
  margin: 0em 1em 0em 1.5em ! important;
  padding: 1em 0em 1em 0em ! important;
  border-bottom: 0.1em solid #B7B7B7;
}

.newLine{
  
  border-top: 0.1em solid #666666;
  margin: 0.8em;
  margin-left: 0em;
  margin-right: 0.1em;
  clear: both ! important;
}

.imageRight {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
}

.imageLeft{
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

.contentRight{
  padding-left: 0.4em;
  float: right;
}

.contentLeft{
  padding-right: 0.4em;
  float: left;
}

.contentCenter{
  padding-left: 0.4em;
  padding-right: 0.4em;
  text-align: center;
}

/* untere abschließende Linie */
#footer{  /* impressum */
  clear: both;
  width: 83.5em;
  height: 20px;
  /* background-image: url("../../images/background/footer.gif"); */
}

/*
  following styles are used in listviews
*/
a.linkButton{
  display: block;
  font-size: 0.75em;
  text-decoration: none;
  color: white;
  margin-top: 2em;
  margin-bottom: 2em;

/* weiter Knopf z.B. in der Bilder Galerie */
  padding-bottom: 0.2em;
  background-color: #355DD6;
  width: 8em;
  text-align: center;
  border: 0.1em solid black;
}
a.linkButton:hover, a.linkButton:focus{
  color: ff9900;
}

img.thumbnail_200_150{  /* Thumbnails in image-gallery */
  margin: 1em;
  border: 0.2em solid black;
}

/*
  Here starts the part with the forms, this will later be in another file
  contains all needed styles for the used forms
*/

form{
  margin: 0;
  padding: 0;
}

fieldset{
  margin: 0;
  padding: 0;
  border: 0;
}

/*
  search form
*/
.searchForm{
  font-size: 0.8em;
  margin: 0;
  padding-top: 0.2em;
}

.searchForm#text{
  width: 9em;
}

.searchForm#submitbutton{
  margin: auto;
  padding: 0.1em 0.1em 0em 0.1em;
}


/*  contact form  */
.contactInput, .contactTextarea{
  font-size: 1em;
  padding: 0;
  margin: 0;
  width: 18em;
}

.contactSelect{
  font-size: 1em;
  padding: 0;
  margin: 0;
  width: 9em;
}

.contactTextarea{
  height: 8em;
}

.formError{
  color: red;
  border-color: red;
}

input, textarea{  /* global stuff ... */
  font-family: verdana, sans-serif;
  border: 0.1em solid #666666;
  margin: 0;
  padding: 0;
}

/* Druckformat für die Zeile rechts im Header-----------------------------
*/
.ausgabeAktuell {
  line-height: 1.0em; /* Zeilenabstand */
  font-size: 1em;
  font-weight: normal; 
  color: red;
}

/* Druckformat Rubriküberschriften orange ---------------------
*/
.headline1 {
  margin: 0em;
  font-size: 1.5em;
  line-height: 2.0em;
  font-weight: bold;
  color: #ff9900;
}
/* Druckformat für die Infozeilen Archiv, um welchen Beitrag es sich handelt-------
*/
.archivInfo {
  float: right;
  line-height: 2em; /* Zeilenabstand */
  font-size: 0.5em;
  font-weight: bold; 
  color: grey;
}
/* 
Druckformate für die Mensen ----------------------------------------------
*/

.imageRightKoch {   /* Koch ganz rechts und minus 30em Richtung links gedrückt    */
  float: right;
  margin-right: 30em;
  margin-bottom: 10em;
}
.mensa_tag { 
  line-height: 1.8em; /* Zeilenabstand */
  font-weight: bold; 
  color: #666666;
}
.mensa_menue {
  line-height: 1.5em; /* Zeilenabstand */
  font-weight: bold; 
  color: #000000;
}
.mensa_footer {
  margin: 0em 0em 0em 0em;
  margin-bottom: 0em;
  font-size: 0.8em;
  line-height: 1.4em; /* Zeilenabstand */
}

.mensaLine {
  border-top: 0.1em solid #666666;
  margin: 1em;
  margin-left: 0em;
  margin-right: 0em;
}
/*
Druckformate für Presseausweis ----------------------------------------------
*/
a.linkPresse{
  font-size: 1em;
  font-family: verdana, sans-serif;
  text-decoration: none;
  font-weight: bold;
  color: grey;
  outline: none;
}

/*
Druckformate für Archiv Linkliste Startseite ----------------------------------------------
*/
ul.linkListeStart li a {
  color: blue;
  text-decoration: underline ! important;
}


/*
Druckformate für Archiv Linkliste Ohrenschmauch ----------------------------------------------
*/
.linkListe {
  font-size: 0.9em;
  font-family: verdana, sans-serif;
  text-decoration: none;
  font-weight: bold;
  color: #999999;
}

ul.linkListe {
  font-size: 0.9em;
  font-family: verdana, sans-serif;
  text-decoration: none;
  font-weight: bold;
  color: #999999;
  outline: none;
}

ul.linkListe li {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}

ul.linkListe li a {
  color: #000000;
  text-decoration: underline ! important;
}

Druckformate für Archiv blätttern und zurück ----------------------------------------------
*/
.counter {
  font-size: 0.9em;
  font-family: verdana, sans-serif;
  font-weight: bold;
  color: #ff9900;
}
.blaettern {
 font-weight: bold;
 color: #6699ff;
}
.unverlinkt_blaettern {
 font-weight: bold;
 color: #666666;
}
a.linkblaettern {
 font-weight: bold; 
 text-decoration: none;
 color: #6699ff;
}
a.linkblaettern:hover, a.linkblaettern:focus {
  color: #660033; /* dunkelrot */
}

/*
Druckformate für Kino ----------------------------------------------
*/

#contentFilm{  /* Formatierung des Textinhalts obere 2 Zeilen */
  clear: both;
 /* background-image: url("../../images/background/content.gif"); */
 /* background-repeat: repeat-y; */
  padding-top: 0em; /* Höhe der ersten Textzeile */
  width: 59em;
  line-height: 1.6em; /* Zeilenabstand */
  background-color: white;
}
.kino{
 font-weight: bold;
 line-height: 2.5em; /* Zeilenabstand */
 color: #000000;
 border-top: 0.1em solid #6699ff;
 border-bottom: 0.1em solid #6699ff;
}

.filmtitel{
 font-weight: bold;
 color: #6699ff;
}
.unverlinkt_filmtitel{
 font-weight: bold;
 color: #666666;
}
a.linkFilmtitel{
 font-weight: bold; 
 text-decoration: none;
 color: #6699ff;
}
a.linkFilmtitel:hover, a.linkFilmtitel:focus{
  color: #660033; /* dunkelrot */
}
a.linkBackButton{
  display: block;
  font-size: 1em;
  font-family: verdana, sans-serif;
  text-decoration: none;
  font-weight: bold;
  color: #6699ff;
  outline: none;
}

/*
Druckformate für Verteilerplan ----------------------------------------------
*/
.bezirk{
 font-weight: bold;
 line-height: 1.0em; /* Zeilenabstand */
 color: #000000;
 border-top: 0.1em solid #6699ff;
 border-bottom: 0.1em solid #6699ff;
}

/*
Druckformate Veranstaltungen
*/
.veranstaltungsname { 
  font-size: 1.5em;
  line-height: 1.3em; /* Zeilenabstand */
  font-weight: bold; 
  color: #000000;
}

/*
Druckformate Archiv ----------------------------------------------
*/
 .archiv_headline {
  padding-top: 0em; /* Höhe der ersten Textzeile */
  margin: 0em;
  line-height: 1.7em; /* Zeilenabstand */
  font-weight: normal;
  color: #A2A2A2;
  font-size: 1em;
  text-decoration: underline ;
}
/*
Druckformate KDW 2008
*/
.kdwLegende {
  margin: 0.5em 0em 0em 0em;
  margin-bottom: 1em;
  font-size: 0.8em;
  line-height: 1.3em; /* Zeilenabstand */
  font-weight: bold;
  color: #666666;
}


/*
  Following part deals with the navigation in div with id "navContainer"
*/

.navigationBorder{  /* Start and End of Navigation with gradient, 1. und letzte Zeile in der Navibox */
  width: 17em;
  text-align: left;
}
.navigationLine{  /* oberste feine Linie über der navibox */
  float: left;
  width: 17em;
  height: 2px;
  background-color: #990000;
}

/* oberste Zeile über dem ersten NaviEintrag */
.navigationBorder#naviHead{  /* Header */
  height: 1.5em;
/*  background-image: url("../../images/background/naviHead.gif");*/
  background-repeat: repeat-y;
  background-color: #6699ff;
}

/* unterste Zeile unter dem letzten NaviEintrag */
.navigationBorder#naviFoot{  /* Footer */
  height: 1.5em;
/*  background-image: url("../../images/background/naviFoot.gif"); */
  background-repeat: repeat-y;
  background-color: #6699ff;
}

#navContainer{  /* contains the menu */
  clear: both;
  width: 17em;
}

/*
  navigation level 1
*/
#navContainer ul{
  margin: 0em;
  padding: 0em;
  list-style-type: none;
}

/* Obermenüpunkte */

#navContainer ul li{
/*  background-image: url("../../images/background/navLiLevel_01.gif");  */
  background-repeat: no-repeat;
  background-color: #6699ff;
/*border: 1px solid red;*/
}

/*Untermnenüpunkte */

#navContainer ul li#li_nav1_open {  /* special layout for open links */
/*  background-image: url("../../images/background/navLiLevel_01_open.gif"); */
  background-repeat: repeat-y;
  background-color: #ff9900; /* orange */
}

/* Zeilenabstand zw. den Menüpunkten */

#navContainer ul li a {
  display: inline-block;
  background-repeat: no-repeat;
  height: 2.3em;
  padding-left: 2em;
  padding-top: 0.4em;
  line-height: 1em;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  background-image: url("../../images/background/navLinkLevel_01.gif"); 
}

/* zweizeilige menüpunkte */
#navContainer2zeilig ul li a {
  display: block;
  background-repeat: repeat-x;
  height: 2.2em;
  padding-left: 0em;
  line-height: 1.em;
  color: red;
  text-decoration: none;
  font-weight: normal;
 /* background-image: url("../../images/background/navLinkLevel_01.gif"); */
}


#navContainer ul li a:hover, #navContainer ul li a:focus {
  background-image: url("../../images/background/navLinkLevel_01_hover.gif");
}

#navContainer ul li a#a_nav1_open, #navContainer ul li a:hover#a_nav1_open {
  background-image: url("../../images/background/navLinkLevel_01_open.gif");
}
<!--Test um rauszukriegen, wie man einzelne Felder unterschiedlich f0rmatiert -->
#navContainer ul li a#a_nav1_open, #navContainer ul li a:hover#a_nav1_open {
  color: red; /* Hoverschrift */
  background-image: url("../../images/background/navLinkLevel_01_open.gif");
}

/*
  Design for submenu
*/
#navContainer li li {
  background-color: #B7B7B7; /* Hintergrundfarbe für Unterpunkte */
  line-height: 1.5em;
  background-image: url("../../images/background/navLiLevel_02.gif");
  background-repeat: no-repeat;
}
/* Untermenükoffer */
#navContainer ul ul a {
  display: block;
  background-repeat: no-repeat;
  height: 1.8em;
  padding: 0em;
  padding-left: 2.5em;
  padding-top: 0.6em;
  color: #000000;  /* Schrift der Untermenüs */
  font-size: 0.8em;
  text-decoration: none;
  font-weight: bold;
  background-image: none;
}
/* Schrift der Submenüs */
#navContainer ul ul a:hover, #navContainer ul ul a:focus, #navContainer ul ul a#a_nav2_open {
  color: white; /* Hoverschrift */
  background-image: url("../../images/background/navLinkLevel_02_hover.gif"); /* das kleine weiße Dreieck */
}

/*
  needed styles for the shop
*/
table.shop {
  width: 41em;
}

table.sum, table.shop{
  font-size: 1.0em;
  border-spacing: 0em;
  border-collapse: collapse;
}

table.shop td, table.shop th, table.sum th, table.sum td {
  margin: 0em;
  padding: 0em 1em 0em 0em;
  border-bottom: 0.1em solid #013499;
  text-align: left;
}

table.shop th {
  border-bottom: 0.2em solid #013499;
}

table.shop td.price, table.shop th.price, table.sum td.price{
  text-align: right;
}

table.shop td.amount, table.shop th.amount{
  text-align: center;
}

table.shop td.icon{
  padding: 0em 0em 0em 0em;
  text-align: right;
}

/*
  stuff for voting
*/
table.voting {
  width: 41em;
  margin: 0em;
  padding: 0em 1em 0em 0em;
}

table.voting td, table.voting th, table.voting tr {
  text-align: left;
  margin: 0em;
  padding: 0em 0em 0.4em 0em;
}

table.voting td.answer {
  width: 10em;
}

table.voting td.result {
  width: 31em;
}

table.voting div.votingBar {
  height: 1.3em;
  background: #AACCFF;
}

table.voting div.resultPercent {
  position: absolute;
}

/*
  Needed styles for the blog
*/

table.tableMonthOverview{
  font-size: 1.0em;
  width: 40em;
  border: thin solid;
  margin: 0.5em 0 0.5em 0;
  border-collapse: collapse;
  border-spacing: 0;
}

table.tableMonthOverview th, table.tableMonthOverview td{
  text-align: center;
  border: thin solid;
  padding: 0.1em;
}

input.votingAnswer {
  margin: 0.5em 1em 0em 0em;
  border: 0;
}

/*
  Breadcrumb
*/
a.locationCat{
  color: #000000;
}

.error{
  color: red;
}

.debug{  /* this is just a debug style*/
  border: 0.1em red solid;	/*	debug	*/
}