/* ========================== */
/*  Neptun Wasserpreis 2010   */
/*  Layout Styles             */
/* ========================== */


/* === Colors ============================================================== */

/**
 * background blue: #b2c7df
 * background white: #fff
 * wave blue: #0064a2;
 */

/* === Basic Layout ======================================================== */

body {
  background: #fff url(../images/ui/bg_gradient.png) repeat-y center top;
  font: 0.813em/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif; /* 12px */
  overflow-y: scroll;
}

.wrapper {
  margin: 0 auto;
  width: 73.077em; /* 950 px */
}

.lightbox {
  background: #f5f5f5;
  font-size: 0.9em;
  margin: 1em;
  overflow-y: auto;
}

/* --- Header -------------------------------------------------------------- */

#header {
  background: url(../images/ui/bg_welle.jpg) no-repeat center 140px;
}

#header h1 {
  margin: 0;
  padding: 40px 0 0 0; /* 40px 0 0 0 */
}

#header h1 a,
#header h1 span {
  background: url(../images/ui/logo_hover.png) no-repeat 0 0;
  display: block;
  height: 157px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 258px;
}

#header h1 a img,
#header h1 span img {
  display: block;
}

#header h1 a:hover img,
#header h1 a:focus img,
#header h1 a:active img {
  color: #b2c7df;
  position: absolute;
  top: -999em;
}


/* === Columns ============================================================= */

#colnav {
  float: left;
  margin-right: 1.2em;
  width: 13em;
}

#colnavContent {
  padding-top: 2.5em;
}

#contentcols {
  float: left;
  width: 58.87em;
}

.home #contentcols {
  width: 73.07em;
}

#contentcols #content {
  background-color: #fff;
  border: 1px solid #b1c6df;
}

#colcontent {
  float: left;
  width: 43.67em;
  padding: 1em;
}
.home #colcontent {
  width: 57.87em;
}
.imageGallery #colcontent {
  width: 56.67em;
}

#colcontext {
  float: right;
  padding: 1em 0;
  margin-right: 1em;
  overflow: hidden;
  width: 12em;
}

#colcontext .contextBox {
  margin-bottom: 1.5em;
}

#colcontent.wide {
  width: 56.67em;
}

/* --- Social Media -------------------------------------------------------- */

#social {
  padding: 0.3em 0 0.2em;
  text-align: right;
}

#social a,
#social a:hover,
#social a:focus,
#social a:active {
  background-color: transparent;
}

#facebook {
  margin-bottom: 1em;
}

/* --- Footer -------------------------------------------------------------- */

#footer {
  background-color: #fff;
  border-top: 3px solid #b1c6df;
  padding: 0.5em 0;
  margin-bottom: 1em;
}

#footer ul li a {
  border-bottom: 2px solid #fff;
  display: block;
}

#footer a:hover,
#footer a:focus,
#footer a:active {
  background-color: #b2c7df;
  color: #0064a2;
  border-color: #0064a2;
  text-decoration: none;
}

/* === Navigation ========================================================== */

/* --- Service Navigation -------------------------------------------------- */

#service {
  float: right;
  margin-top: 19px;
  width: 100%;
}

#service ul {
  float: right;
}

#service ul li {
  float: left;
  font-size: 0.769em;
  margin-left: 1em;
}

#service ul li a,
#service ul li.current span {
  background-color: #0064a2;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

#service ul li a:hover,
#service ul li a:focus,
#service ul li a:active,
#service ul li.current span {
  text-decoration: underline;
}

/* --- Main Navigation ----------------------------------------------------- */

#menu {
  float: left;
  margin-top: 5px;
  width: 100%;
}

#menu ul.level1 {
  margin-bottom: 1.4em;
}

#menu ul li {
  float: left;
  position: relative;
}

#menu ul li a,
#menu ul li.current span {
  background-color: #0064a2;
  background-repeat: repeat-y;
  background-position: 0 0;
  background-image: none;
  color: #fff;
  display: block;
  font-size: 1em;
  font-weight: bold;
  line-height: 1;
  padding: 0.462em 1.2em;
  text-decoration: none;
}

#menu ul li a:hover,
#menu ul li a:focus,
#menu ul li a:active,
#menu ul li.current a,
#menu ul li.open a {
  background-color: #b2c7df;
  background-image: url(../images/ui/bg_menu_hover.png);
  color: #0064a2;
}

#menu ul li a img {
  display: block;
  margin-top: 1px;
}

#menu ul.level2 {
  border-bottom: 1px solid #fff;
  display: none;
  position: absolute;
}

#menu ul li.open ul.level2 {
  -webkit-box-shadow: 3px 3px 5px #aaa;
  -moz-box-shadow: 3px 3px 5px #aaa;
  box-shadow: 3px 3px 5px #aaa;
  display: block;
  left: 0;
  position: absolute;
  top: 1.9em;
}

#menu ul.level2 li {
  border-top: 1px solid #b2c7df;
  float: none;
}

#menu ul.level2 li a,
#menu ul.level2 li.current span {
  font-size: 0.9em;
  font-weight: normal;
  line-height: 1.2;
  min-width: 11em;
  padding: 0.4em 1.2em;
  text-transform: none;
  white-space: nowrap;
}

#menu ul.level2 li a {
  background-image: url(../images/ui/bg_menu_hover.png);
  color: #0064a2;
}

#menu ul li.open li a:hover,
#menu ul li.open li a:focus,
#menu ul li.open li a:active,
#menu ul li.open li.current a {
  background-color: #0064a2;
  background-image: none;
  color: #fff;
}

/* --- Sub Navigation ------------------------------------------------------ */

#colnav ul.level2 li {
  margin-bottom: 0.5em;
}

#colnav ul.level2 li a,
#colnav ul.level2 li.current span {
  display: block;
  font-weight: bold;
  line-height: 1.2;
  padding: 0.3em 0.3em 0.3em 0.8em;
  text-decoration: none;
}

#colnav ul.level2 li a:hover,
#colnav ul.level2 li a:focus,
#colnav ul.level2 li a:active {
  background-color: transparent;
  color: #0064a2;
  text-decoration: underline;
}

#colnav ul.level2 li.open {
  background: transparent url(../images/ui/bg_menu_hover.png) repeat-y 0 0;
  margin-bottom: 0.5em;
}

#colnav ul.level2 li.open a,
#colnav ul.level2 li.current span {
  background: #0064a2;
  color: #fff;
}

#colnav ul.level2 li.open ul.level3 li {
  background: none;
  margin-bottom: 0;
}

#colnav ul.level2 li.open ul.level3 li a,
#colnav ul.level2 li.open ul.level3 li.current span {
  background: none;
  color: #0064a2;
  font-weight: normal;
  margin-bottom: 0;
}
#colnav ul.level2 li.open ul.level3 li.current span {
  text-decoration: underline;
}


/* --- Breadcrumbs --------------------------------------------------------- */

#breadcrumbs {
  font-size: 0.85em;
  padding: 1em 0;
}

#breadcrumbs p {
  margin: 0;
  padding: 0;
}

#breadcrumbs p a {
  margin-right: 0.5em;
}

/* === Special Styles ====================================================== */

#skiplinks p {
  margin: 0;
}

#skiplinks p a {
  display: block;
  height: 0;
  left: -999em;
  position: absolute;
  overflow: hidden;
  top: -999em;
  width: 0;
}

#skiplinks p a:focus,
#skiplinks p a:hover,
#skiplinks p a:active {
  background-color: #339;
  color: #fff;
  display: inline;
  height: auto;
  left: 0;
  padding: 0.5em 0.5em 0.2em 0.5em;
  position: absolute;
  overflow: visible;
  top: 0;
  width: auto;
  z-index: 2;
}

.hidden {
  display: block;
  height: 0;
  left: -999em;
  position: absolute;
  overflow: hidden;
  top: -999em;
  width: 0;
}

/* --- clearfix ------------------------------------------------------------ */

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display:inline-block;
}

/* for safari */
/* Hide from IE Mac \*/
.clearfix { display: block }
/* End hide from IE Mac */