/**
 *
 * PROJECT      BW|Kredit Repository
 * AUTHOR       Heiko Bauer <hbauer@hartnagel-software.de>
 * COMPANY      HARTNAGEL SOFTWARE SERVICE GmbH
 * LAST EDIT    2006-08-10
 * 
 * Copyright 2006, HARTNAGEL SOFTWARE SERVICE GmbH
 * 
 **/

/**
 * COLOR PALETTE
 *
 * #fff    - White
 * #dbe7f2 - light blue
 * #036 - dark blue
 * #c42120 - wine red
 * #f2f2f2 - light grey
 * #aeffb3 - light lime
 *
 **/

/**
 * TABLE OF CONTENTS
 *
 * BASICS - basic styles, site background image
 * LINKS - link styles
 * WRAPPER - site wrapper
 * HEADER - background image, logo
 * MAIN CONTENT - main content
 * CLIENT UPDATES - client updates
 * ADMIN TASKS - navigation
 * ADMIN DATA - edit area
 * FOOTER - copyright, impressum/contact links
 * 
 **/

/** 
 * BASICS
 **/

* {
	font-family: arial,helvetica,sans-serif;
	font-size:12px;
  line-height: 1.2em; /* combat ie6's peek-a-boo bug */
	color: #036;
  margin: 0;
  padding: 0;
}

body {
  background: #fff url("../img/pagebg.jpg") repeat-x left top;
  text-align: center;
  min-width: 850px;
}

/**
 * LINKS
 **/

a {
  color: #036;
  text-decoration: none;
}

a:hover {
  color: #c42120;
  text-decoration: underline;
}

a.button {
  float: left;
  padding: 5px 15px;
  color: #fff;
  background-color: #036;
}

#data a.button {
  margin-right: 10px;
}

#data a.button.right {
  margin-left: 130px;
}

a.button:hover {
  text-decoration: none;
  color: #fff;
  background-color: #c42120;
}

/**
 * WRAPPER
 **/

#wrapper-page {
  width: 810px;
  margin: 0 auto;
  text-align: left;
}

/**
 * HEADER
 **/

#page {
  background: transparent url("../img/headerbg.jpg") repeat-x left top;
  position: relative;
}

#pageshdlft {
  position: absolute;
  left: 0;
  top: 0;
  background: transparent url("../img/pageshdlft.jpg") repeat-x left top;
  width: 7px;
  height: 470px;
  
}

#pageshdrht {
  position: absolute;
  right: 0;
  top: 0;
  background: transparent url("../img/pageshdrht.jpg") repeat-x left top;
  width: 7px;
  height: 470px;
}

#header {
  height: 180px;
}

#logo { /* replace logo with image */
  text-indent: -5000px;
  background: transparent url("../img/logo.gif") no-repeat 0 0;
  width: 566px;
  height: 86px;
  position: relative;
  left: 20px;
  top: 50px;
}

#breadcrumb {
  float: left;
  position: relative;
  left: 20px;
  top: 72px;
  padding-left: 17px;
  background: transparent url("../img/icon_arrow_blue.gif") no-repeat 0 3px;
}

#logout-link {
  float: right;
  position: relative;
  right: 20px;
  top: 72px;
  padding-left: 17px;
  background: transparent url("../img/icon_logout.gif") no-repeat 0 2px;
}

#login-link {
  float: right;
  position: relative;
  right: 20px;
  top: 72px;
  padding-left: 17px;
  background: transparent url("../img/icon_login.gif") no-repeat 0 2px;
}

/**
 * MAIN CONTENT
 **/

#content {
  background-color: #fff;
  padding: 20px 27px;
}

/**
 * LOGIN
 **/

#index #login {
  float: left;
  padding: 20px;
  background-color: #dbe7f2;
  width: 195px;
}

* html #index #login { /* for ie6 only */
  padding-bottom: 5px;
}

#index #login h1 {
  font-weight: bold;
  font-size: 1.5em;
}

#index #login a.button {
  float: right;
}

#index #login label {
  display: block;
}

#index #login input {
  display: block;
  width: 190px;
  margin: 2px 0 10px 0;
}

#index #login p {
  margin-top: 10px;
}

#index #login-admin {
  float: left;
  padding: 20px;
  background-color: #c42120;
  width: 195px;
}

* html #index #login-admin { /* for ie6 only */
  padding-bottom: 5px;
}

#index #login-admin h1 {
  font-weight: bold;
  font-size: 1.5em;
  color: #fff;
}

#index #login-admin a.button {
  float: right;
  background-color: #fff;
  color: #036;
}

#index #login-admin a.button:hover {
  background-color: #fff;
  color: #c42120;
}

#index #login-admin label {
  display: block;
  color: #fff;
}

#index #login-admin strong {
  color: #fff;
}

#index #login-admin input {
  display: block;
  width: 190px;
  margin: 2px 0 10px 0;
}

#index #login-admin p {
  margin-top: 10px;
}

#index #intro {
  float: left;
  width: 500px;
  margin-left: 20px;
}

#index #intro h1 {
  color: #c42120;
  margin-bottom: 10px;
  font-size: 1.5em;
}

#index #login #message {
  margin-bottom: 10px;
  border-top: 1px solid #036;
  border-bottom: 1px solid #036;
  padding: 4px 0;
}

#index #login-admin #message {
  margin-bottom: 10px;
  color: #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 4px 0;
}

/**
 * CLIENT UPDATES
 **/

#updates #intro {
  text-align: justify;
  line-height: 1.5em;
}

#updates h1 {
  font-size: 140%;
}

#updates .update-item {
  padding-top: 20px;
}

#updates .update-item .upd-faux-column {
  background: transparent url("../img/upd-faux-column.gif") repeat-y left top;
}

#updates .update-item .current-upd-faux-column {
  background: transparent url("../img/current-upd-faux-column.gif") repeat-y left top;
}

#updates .update-item div.title {
  padding: 10px 0 10px 17px;
  background: transparent url("../img/icon_arrow_red.gif") no-repeat 0 13px;
}

#updates .update-item div.description {
  float: left;
  width: 485px;
  /*background-color: #dbe7f2;*/
  padding: 20px;
  text-align: justify;
}

#updates .update-item div.description ul {
  margin: 0 0 0 14px;
  list-style-image: url("../img/list-icon.gif");
}

#updates .update-item div.description ul li {
  padding-bottom: 4px;
}

#updates .update-item .action {
  float: right;
  width: 180px;
  /*background-color: #dbe7f2;*/
  text-align: center;
  padding: 20px;
}

#updates .update-item .action a {
  float: none;
}

#updates .update-item .action span {
  position: relative;
  top: 20px;
}

/**
 * ADMIN TASKS
 **/

#admin #action {
  position: relative;
  float: left;
  width: 235px;
}

#admin #action #divider {
  position: absolute;
  width: 7px;
  height: 336px;
  left: 250px;
  top: -52px;
  background: transparent url("../img/divider.jpg") no-repeat 0 0;
}

#admin #action h1 {
  background: transparent url("../img/sidebarh1.gif") no-repeat 0 0;
  height: 1.5em;
  padding: 2px 0 0 10px;
}

#admin #action ul {
  list-style-type: none;
  margin-bottom: 20px;
}

#admin #action li {
  position: relative; 
}

#admin #action li a {
  padding: 3px 0 0 10px;
  display: block;
  height: 1.5em;
}

#admin #action li a.male {
  color: #5f70ff;
}

#admin #action li a.female {
  color: #ff5fc0;
}

#admin #action li a:hover {
  text-decoration: none;
  background-color: #f2f2f2;
  color: #c42120;
}

#admin #action li a.male:hover {
  text-decoration: none;
  background-color: #f2f2f2;
  color: #5f70ff;
}

#admin #action li a.female:hover {
  text-decoration: none;
  background-color: #f2f2f2;
  color: #ff5fc0;
}

#admin #action li a:hover strong {
  color: #c42120;
}

#admin #action li a.selected {
  background-color: #c42120;
  color: #fff;
}

#admin #action li a.selected-male {
  background-color: #5f70ff;
  color: #fff;
}

#admin #action li a.selected-female {
  background-color: #ff5fc0;
  color: #fff;
}

#admin #action li a.selected strong {
  color: #fff;
}

#admin #action li a.selected:hover {
  background-color: #c42120;
  color: #fff;
}

#admin #action li a.selected-male:hover {
  background-color: #5f70ff;
  color: #fff;
}

#admin #action li a.selected-female:hover {
  background-color: #ff5fc0;
  color: #fff;
}

#admin #action li a.selected:hover strong {
  color: #fff;
}

#admin #action img.status-icon {
  position: absolute;
  left: -18px;
  top: 2px;
}

/**
 * ADMIN DATA
 **/

#admin #data {
  float: right;
  width: 480px;
  margin-left: 20px;
}

#admin #data h1 {
  height: 1.5em;
  padding: 2px 0 0 0;
}

#admin #data p {
  margin-top: 10px;
}

#admin #data label {
  float: left;
  width: 100px;
  padding: 2px 0 0 0;
}

#admin #data input, #admin #data textarea, #admin #data select {
  float: left;
  text-align: left;
}

#admin #data input, #admin #data textarea  {
  width: 300px;
}

#admin #data #salutation {
  width: 80px;
}

#admin #data #status {
  width: 80px;
}

#admin #data img.status-icon {
  position: relative;
  left: 4px;
  top: 2px;
}

#admin #data #message {
  font-weight: bold;
  color: #fff;
  line-height: 1.5em;
  padding: 10px;
  background-color: #c42120;
}

#admin #data #executable-container {
  display: block;
  position: relative;
  width: 400px;
}

* html #admin #data #executable-container { /* for ie6 only */
  width: 300px;
}

#admin #data #update-executable {
  position: absolute;
  right: 0;
}

#admin #data #archive-container {
  display: block;
  position: relative;
  width: 400px;
}

* html #admin #data #archive-container { /* for ie6 only */
  width: 300px;
}

#admin #data #update-archive {
  position: absolute;
  right: 0;
}

/**
 * FOOTER
 **/

#wrapper-footer {
  clear: both;
  background: transparent url("../img/footerbg.jpg") repeat-x left top;
  height: 98px;
  margin-top: 20px;
}

#footer {
  position: relative;
  width: 810px;
  margin: 0 auto;
  text-align: left;
}

#footershdlft {
  position: absolute;
  left: 0;
  top: 0;
  background: transparent url("../img/footershdlft.jpg") repeat-x left top;
  width: 7px;
  height: 98px;
  
}

#footershdrht {
  position: absolute;
  right: 0;
  top: 0;
  background: transparent url("../img/footershdrht.jpg") repeat-x left top;
  width: 7px;
  height: 98px;
}

#copyright {
  float: left;
  color: #fff;
  position: relative;
  left: 20px;
  top: 45px;
}

#links {
  float: right;
  color: #fff;
  position: relative;
  top: 45px;
  left: -20px;
}

#links a {
  color: #fff;
  text-decoration: none;
}

#links a:hover {
  color: #fff;
  text-decoration: underline;
}

#error404 h1 {
  font-size: 2em;
}

#error404 ul {
  list-style-type: none;
  margin-bottom: 20px;
}

#error404 li {
  margin-top: 0.5em;
}

#error404 a {
  text-decoration: underline;
}

#impressum h1 {
  font-size: 2em;
}

#impressum p {
  margin: 4px 0 10px 0;
}

#impressum strong {
  display: block;
  margin-top: 30px;
}

#impressum a {
  text-decoration: underline;
}

/**
 * clear div (because ie6 doesnt support :after)
 **/
.clear {
  clear: both;
}