/** 
 * screen.css
 * 
 * author:  maik mettenheimer
 * version: 2008-05-16
 */

/**
 * colours:  page background:  rgb(245,245,214)
 *           header/ sidebar:  rgb(133,173,214)
 *           sidebar content:  rgb(170,198,226)
 *           navigation:       rgb(204,204,51)
 *           text, borders:    rgb(55,67,115)
 *           text emph:        rgb(224,156,24)
 *           subnavigation:    rgb(229,229,153)
 */

/* general
------------------------------------------------------------------------------*/

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: rgb(245,245,214);
  overflow: hidden;
}

#distance {
  width: 1px;
  height: 50%;
  margin-top: -285px;
  float: left;
}
  	
#wrapper {
  margin: 0 auto;
  position: relative;
  text-align: left;
  height: 570px;
  width: 984px;
  clear: left;
  background: rgb(255,255,255) url(../images/bg_wrapper.jpg) repeat-y;
}

/* header
------------------------------------------------------------------------------*/

#header {
  width: 984px;
  height: 123px;
  background-color: rgb(133,173,214);
  background-repeat: no-repeat;
}

/* set header picture */
.intro #header,
.home #header {
  background-image: url(../images/bg_home.jpg);
}

.unsere-leistungen #header {
  background-image: url(../images/bg_leistungen.jpg);
}

.dr-hoppe #header {
  background-image: url(../images/bg_hoppe.jpg); 
}

.dr-schmidt #header {
  background-image: url(../images/bg_schmidt.jpg);
}

.mitarbeiterinnen #header {
  background-image: url(../images/bg_mitarbeiterinnen.jpg); 
}

.im-notfall #header {
  background-image: url(../images/bg_notfall.jpg);   
}

.anfahrt #header {
  background-image: url(../images/bg_anfahrt.jpg);   
}

.impressum #header {
  background-image: url(../images/bg_impressum.jpg);   
}

/* branding
------------------------------------------------------------------------------*/

#branding {
  position: relative;
  margin-left: 10px;
  width: 235px;
  height: 430px;
}

#address {
  position: absolute;
  bottom: 50px;
  left: 20px;
}

.intro #branding {
  display: none;
}

/* content
------------------------------------------------------------------------------*/

#content_wrapper {
  position: absolute;
  top: 200px;
  left: 290px;
  left: 270px;
  width: 490px;
  width: 520px;
  height: 295px;
}

.scroll-pane {
	width: 490px;
  width: 520px;
	height: 295px;
	overflow: auto;
	float: left;
}

#content {
  margin: 0 10px 0 0;  
}

.jScrollPaneContainer {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.jScrollPaneTrack {
	position: absolute;
	cursor: pointer;
	right: 0;
	top: 0;
	height: 100%;
	background: rgb(255,255,255);
}

.jScrollPaneDrag {
	position: absolute;
	background: rgb(255,255,255);
	cursor: pointer;
	overflow: hidden;
}

.jScrollPaneDragTop {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}

.jScrollPaneDragBottom {
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: hidden;
}

a.jScrollArrowUp {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	height: 10px;
  background: rgb(51,51,51) url(../images/sb_arrows.gif) no-repeat 0 0px;
}

a.jScrollArrowUp:hover {
  background-position: 0 -12px;
}

a.jScrollArrowDown {
	display: block;
	position: absolute;
	z-index: 1;
	bottom: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	height: 10px;
  background: rgb(51,51,51) url(../images/sb_arrows.gif) no-repeat 0 -35px;
}

a.jScrollArrowDown:hover {
  background-position: 0 -23px;
}

a.jScrollActiveArrowButton, a.jScrollActiveArrowButton:hover {
	background-color: #f00;
}

/* primNav
------------------------------------------------------------------------------*/

#primNav {
  position: absolute;
  top: 123px;
  left: 10px;
  border-bottom: 1px solid rgb(55,67,115);
  background: rgb(204,204,51);
  width: 960px;
  height: 2em;
  line-height: 2em;
  z-index: 99;
}

.intro #primNav ul {
  display: none;
}

#primNav a:link,
#primNav a:visited {
  padding: 0;
  line-height: 2.1em;
  text-decoration: none;
  text-transform: uppercase;
}

#primNav a:hover,
#primNav a.active {
  color: rgb(55,67,115);
  font-weight: bold;
}

#primNav ul {
  position: relative;
  display: inline;
  float: left;
  width: 490px;
  margin: 0 0 0 265px;
  margin: 0 0 0 245px;
  padding: 0;
  list-style: none;
}

#primNav ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
  text-align: center;
}

/* :KLUDGE: set item width for bold highlight */
#primNav li.unsere-leistungen { width: 14em; }
#primNav li.team { width: 6em; }
#primNav li.im-notfall { width: 10em; }
#primNav li.anfahrt { width: 6.5em; }
#primNav li.dr-hoppe { width: 8em; }
#primNav li.dr-schmidt { width: 10em; }
#primNav li.mitarbeiterinnen { width: 13em; }

#primNav ul li ul {
  display: none;
  position: absolute;
  top: 2.3em !important;
  top: 2.4em;
  left: 16em;
  margin: 0 0 0 10px;
  padding: 0;
  width: 480px;
  font-size: 10px;
  border-left:  1px solid rgb(55,67,115);
}

#primNav ul li ul li {
  margin: 0;
  padding: 0;
  text-align: center;
  background: rgb(229,229,153);
  border-right: 1px solid rgb(55,67,115);
  border-bottom: 1px solid rgb(55,67,115);
}

#primNav ul li ul li a {
  padding: 0;
  font-weight: normal;
  cursor: pointer;
}

#primNav ul li:hover ul {
  display: block;
}

/* highlight current item */
.unsere-leistungen li.unsere-leistungen a,
.dr-hoppe #primNav li.dr-hoppe a,
.dr-schmidt #primNav li.dr-schmidt a,
.mitarbeiterinnen #primNav li.mitarbeiterinnen a,
.im-notfall  li.im-notfall a,
.anfahrt li.anfahrt a,
.dr-hoppe li.team a,
.dr-schmidt li.team a,
.mitarbeiterinnen li.team a {
  font-weight: bold;
  cursor: default;
}

.dr-hoppe #primNav ul li ul,
.dr-schmidt #primNav ul li ul,
.mitarbeiterinnen #primNav ul li ul {
  display: block;
}

/* sidebar
------------------------------------------------------------------------------*/

#sidebar {
  position: absolute;
  top: 208px;
  right: 14px;
  width: 180px;
  height: 21.8em;
  background: rgb(170,198,226);
  border-top: 1px solid rgb(55,67,115);
  border-bottom: 1px solid rgb(55,67,115);
}

#sidebar table,
#sidebar h2,
#sidebar p {
  margin-left: 10px;
  margin-right: 10px;
}

.intro #sidebar {
  display: none;
}

/* footer / secNav
------------------------------------------------------------------------------*/

#footer {
  position: absolute;
  bottom: 0;
  left: 0px;
  width: 984px;
  height: 2em;
  background: transparent url(../images/bg_footer.jpg) no-repeat bottom left;
}

.intro #footer ul li {
  display: none;
}

#footer ul {
  position: absolute;
  bottom: 15px;
  left: 10px;
  background: rgb(204,204,51);
  border-top: 1px solid rgb(55,67,115);
  float: left;
  width: 960px;
  height: 2em;
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer ul li {
  margin: 0;
  padding: 0 0 0 20px;
  float: left;
  width: 3.5em;
}

#footer a:link,
#footer a:visited {
  display: block;
  padding: 0;
  line-height: 2.1em;
  text-decoration: none;
  text-transform: uppercase;
}

#footer a:hover,
#footer a.active {
  color: rgb(55,67,115);
  font-weight: bold;
}

.home li.home a,
.impressum li.impressum a {
  cursor: default;
}

/* highlight current item */
.home #footer li.home a,
.impressum #footer li.impressum a {
  font-weight: bold;
}

/* copyright */

#footer li.copyright {
  float: right;
  white-space: nowrap;
  width: 15em;
  line-height: 2.1em;
}

/* map
------------------------------------------------------------------------------*/

#map {
  width: 440px;
  height: 250px;
  margin-top: 20px;
  border: 4px solid rgb(133,173,214);
}

