/**************************
GLOBAL part
**************************/

* {
  padding: 0;
  margin: 0;
  border: 0;
}

HTML, BODY { 
  padding:5px 0;
  color: #000; 
  font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;
  text-align:center; /*** Centers the design in old IE versions ***/
  background-image: url(../images/background_body.gif);
}

.clear {
  clear: both;
}

#CONTAINER {
  width: 760px;
  margin: 0 auto; /*** Centers the design ***/
  background: url(../images/background_container.gif) repeat-y; /*** also see Dan Cederholm's "Faux Columns" ***/
  text-align: left; /*** Because we centered the text in body we have to move the text back to left aligning ***/
  min-height:600px;
  height:expression(this.scrollHeight > 600 ? "auto":"600px");
}

* html #CONTAINER {
/*  height: 100%;*/  /*** IE doesn't support min-height, but instead it handles height as min-height so we need to hack the height ***/
}

/**************************
TOP part
**************************/

#TOP {
  width: 760px;
  height: 10px;
  overflow: hidden;
}

#TOP .left_top {
  float: left;
  width: 10px;
  height: 10px;
  background-image: url(../images/background_left_top.gif);
  overflow: hidden;
}

* html #TOP .left_top {
  position: relative;  /*** IE6 needs this  ***/
}

#TOP .middle_top {
  width: 740px;
  height: 10px;
  background-image: url(../images/background_top.gif);
  overflow: hidden;
}

* html #TOP .middle_top {
  position: relative;  /*** IE6 needs this  ***/
  left: -3px; /*** IE gets this margin: Avoid the IE Three Pixel Gap ***/
}

#TOP .right_top {
  float: right;
  width: 10px;
  height: 10px;
  margin-top: -10px;
  background-image: url(../images/background_right_top.gif);
  overflow: hidden;
}

* html #TOP .right_top {
  position: relative;  /*** IE6 needs this  ***/
}

/**************************
MIDDLE part (COLUMN part)
**************************/
#MIDDLE {
  width: 595px;
  padding-bottom: 28px;
/*  background: #777;*/
}

/*** width: This width is for non-IE browsers. Mozilla makes this necessary. Be sure to check your layout in different browsers
if you changes this value. Especially IE7 seems to create a horizontal scroll if this value is set too large ***/

* html #MIDDLE {
  width: 100%;
  padding-bottom: 0px;
}

/*** DIV.MIDDLE is wider than its container, DIV.outer, and so overlaps to the right, pushing
DIV.right into the proper position. IE expands DIV.outer instead, requiring a Tan hack to avoid 
blowing the layout apart. IE gets the original 100% width as in the Livingstone layout. ***/

#MIDDLE .floating_wrapper {
  float: left;
  width: 750px; /*** 630 -> 750 ***/
/*  background: #BBB;*/
}

* html #MIDDLE .floating_wrapper {
/*** No need for hacking IE on this layout ***/
}

/**************************
LEFT COLUMN
**************************/

/*** DIV.LEFT is in DIV.floating_wrapper, and when DIV.floating_wrapper is neg margined to the left, 
DIV.LEFT is carried over into the proper position. ***/

#LEFT {
  float: left;
  width: 10px;
}

* html #LEFT {
  position: relative;  /*** IE6 needs this  ***/
}

/*************************
RIGHT COLUMN
**************************/

#RIGHT {
  float: right;
  width: 10px;
  padding: 5px;
}

* html #RIGHT {
  position: relative;  /*** IE6 needs this  ***/
  margin-right: -10px; /*** IE gets this margin. ***/
}

/**************************
BOTTOM part
**************************/

#BOTTOM {
  width: 760px;
  height: 10px;
  margin: 0 auto;
  margin-top: -38px;
}

/*** height: The drawback with this solution is that the height of the footer can't be flexible. If you add so much content to the footer that
it extends 30px, you will get a vertical scrollbar and the content will overflow the footer if you don't set overflow to hidden ***/

/*** margin-top: By using a negative margin-top we now moves the footer up the same amount as the footer height to avoid vertical scrolling.
Remember, if you use borders and padding on your footer you will have to calculate this in your negative margin-top value also. ***/

#BOTTOM .footer {
  width: 740px;
  height: 28px;
  margin-left: 10px;
  text-align: right;
  line-height: 28px;
  color: #FFFFFF;
  font-size: 9px;
  background-image: url(../images/background_footer.gif);
  overflow: hidden;
}

* html #BOTTOM .footer {
  position: relative;  /*** IE6 needs this  ***/
  margin-left: 0px;
}

* + html #BOTTOM .footer {
  margin-left: 0px;  /*** IE7 needs this  ***/
}

#BOTTOM .footer SPAN {
  padding-right: 28px;
}

#BOTTOM .footer A:LINK, #BOTTOM .footer A:VISITED {
  color: #FFFFFF;
  text-decoration: none;
}

#BOTTOM .footer A:HOVER, #BOTTOM .footer A:FOCUS {
  color: #DDDDDD;
  text-decoration: none;
}

#BOTTOM .left_bottom {
  float: left;
  width: 10px;
  height: 10px;
  background-image: url(../images/background_left_bottom.gif);
  overflow: hidden;
}

* html #BOTTOM .left_bottom {
  position: relative;  /*** IE6 needs this  ***/
}

#BOTTOM .middle_bottom {
  float: left; /*** IE7 needs this ***/
  width: 740px;
  height: 10px;
  background-image: url(../images/background_bottom.gif);
  overflow: hidden;
}

* html #BOTTOM .middle_bottom {
  position: relative;  /*** IE6 needs this  ***/
/*  left: -6px;*/ /*** IE gets this margin: Avoid the IE Three Pixel Gap ***/
}

#BOTTOM .right_bottom {
  float: right;
  width: 10px;
  height: 10px;
/*  margin-top: -10px;*/
  background-image: url(../images/background_right_bottom.gif);
  overflow: hidden;
}

* html #BOTTOM .right_bottom {
  position: relative;  /*** IE6 needs this  ***/
}

/**************************
CONTENT part
**************************/

#HEADER {
  width:740px;
  height:110px;
  background-image: url(../images/header.gif);
}

* html #HEADER {
  position: relative;  /*** IE6 needs this  ***/
}

#CONTENT_AREA {
  float: right;
  width: 740px; /*** 470 -> 740 ***/
  background: #FFF;
}

* html #CONTENT_AREA {
  position: relative;  /*** IE6 needs this  ***/
}

#CONTENT_AREA #CONTENT {
  overflow: auto;
  color: #003465;
  font-size: 11px;
  line-height: 13pt;
  padding: 0px 105px 25px 104px;
}

#CONTENT_AREA #CONTENT H1 {
  margin-top: 25px;
  margin-bottom: 15px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 14px;
  font-weight: bold;
  line-height: 15pt;
}

#CONTENT_AREA #CONTENT H2 {
  margin-top: 15px;
  margin-bottom: 8px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 11px;
  font-weight: bold;
  line-height: 13pt;
}

#CONTENT_AREA #CONTENT P {
  margin: 0 0;
  padding: 10px 0 0 0;
}

#CONTENT_AREA #CONTENT UL {
  margin: 10px 0px 0px 15px;
  padding: 0px 0px 0px 0px;
}

#CONTENT_AREA #CONTENT LI {
  margin: 0; /* modzilla: left: -2 */
  padding: 0;
  list-style: square;
}

* html #CONTENT_AREA #CONTENT LI {
  margin: 0px 0px 0px 1px;  /*** IE6 needs this  ***/
}

#CONTENT_AREA #CONTENT #UL_ELEMENTS_WITH_BOTTOM_MARGIN {
  margin: 10px 0px 0px 15px;
  padding: 0px 0px 0px 0px;
}

#CONTENT_AREA #CONTENT #UL_ELEMENTS_WITH_BOTTOM_MARGIN LI {
  margin: 0px 0px 10px 0px;
  padding: 0;
  list-style: square;
}

* html #CONTENT_AREA #CONTENT #UL_ELEMENTS_WITH_BOTTOM_MARGIN LI {
  margin: 0px 0px 10px 1px;  /*** IE6 needs this  ***/
}

#CONTENT_AREA #CONTENT #UL_SUB {
  margin: 5px 0px 0px 15px;
  padding: 0px 0px 0px 0px;
}

#CONTENT_AREA #CONTENT #PHOTO {
   float: right;
   margin: 223px 1px 0px 0px;
   width:91px;
   height:120px;
   background-image: url(../images/nme_91_120.jpg);
}

* html #CONTENT_AREA #CONTENT #PHOTO {
  margin: 200px 0px 0px 0px;  /*** IE6 needs this  ***/
}

#CONTENT_AREA #CONTENT .indent {
  margin: 0px 0px 0px 90px;
  padding: 0;
}

/**************************
NAVIGATION part
**************************/

#NAVIGATION {
  height:24px;
  line-height:24px;
  padding-top: 1px;
}

#NAVIGATION UL {
  margin: 0;
  padding: 0;
}

#NAVIGATION LI {
  float:left;
  margin: 0;
  padding: 0;
  list-style: none;
}

#NAVIGATION A {
/*  float:left;*/
  margin: 0px 0px 0px 0px;
  padding:0 45px;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  display: block;
}

#NAVIGATION A:LINK, #NAVIGATION A:VISITED {
  color: #F7F7F7;
  background-image: url(../images/background_navigation_normal.gif);
  display: block;
}

#NAVIGATION A:HOVER, #NAVIGATION A:FOCUS {
  color: #FFFFAA;
  background-image: url(../images/background_navigation_hover.gif);
  display:block;
}

#NAVIGATION A.main_item {
  border-right:1px solid;
  border-right-color: #FFFFFF;
  text-transform:uppercase;
  letter-spacing:1px;
}

#NAVIGATION A.main_item_selected {
  border-right:1px solid;
  border-right-color: #FFFFFF;
  text-transform:uppercase;
  letter-spacing:1px;
  background-image: url(../images/background_navigation_hover.gif);
  color: #FFFFAA;
}

#NAVIGATION A.language_item_english {
  padding: 0px 38px 0px 39px;
}

#NAVIGATION A.language_item_deutsch {
  padding: 0px 6px 0px 7px;
}
