body,div,h1,h2,h3,h4,h5,h6,span,fieldset,ul,ol,dl,li,dd,dt,table,td,
tr,th,p,label,img,a {
  margin: 0;
  padding: 0;
  border: none;
}
html {
  overflow-y: scroll;
}
body {
  font: x-small/1.5 "Trebuchet MS","Verdana","Arial",sans-serif;
  background: url(background.png) #315067 fixed;
}
#wrapper {
  font-size: 127%;
  color: #315067;
  background: url(background-wrapper.png) white 22% top repeat-y;
  border: 1px solid #f9971a;
  width: 62em;
  max-width: 100%;
  min-width: 640px;
  margin: 1em auto;
}

h1 {
  font-size: 2em;
  overflow: hidden;
  height: 120px;
  text-align: center;
  border-bottom: 1px solid #f9971a;
  background: url(background-logo.png) 50% top no-repeat;
  width: 100%;
}
#content {
  float: right;
  width: 70%;
  margin: 1em 2% 1em 0;
}
#menu {
  list-style: none;

  width: 21%;
  margin: 1em 1%;
  overflow: hidden;
}
#footer {
  clear: both;
  height: 2em;
  background: white;
  border-top: 1px solid #f9971a;
}


#menu ul {
  list-style: inherit;
  margin-bottom: 1em;
}
#menu span {
  font-weight: bold;
}


a:link,
a:visited,
a:active,
a:hover {
  color: #d26113;
  text-decoration: underline;
}
hr {
  border-style: solid;
  border-color: #f9971a;
  border-width: 0 0 1px 0;
  margin: 1em 0;
  height: 0;
  clear: both;
}
h2 {
  font-size: 1.8em;
  margin: 1em 0;
  border-bottom: 1px solid #f9971a;
  line-height: 1;
}
p.sub {
  margin: -1.8em 0 2em 0;
}
h3 {
  font-size: 1.2em;
  margin-top: 1.6em;
  line-height: 1;
}
h3 .author {
  font-size: 0.7em;
}
p {
  margin-bottom: 1em;
}

#content-footer-1,
#content-footer-2,
#content-footer-img {
  width: 10em;
  float: left;
}
#content-footer-img {
  width: 20em;
  margin: 0 1em;
}


table {
  margin: 1em 0;
  width: 100%;
}
th {
  text-align: left;
}
td {
  padding-top: 1em;
  vertical-align: top;
}


fieldset {
  border: 1px solid #f9971a;
  padding: 1em;
  margin: 1em 5em 1em 1em;
}
legend {
  font-weight: bold;
  color: #315067;
}
label {
  width: 12em;
  padding-right: 1em;
  display: block;
  float: left;
  text-align: right;
}
input {
  margin: 0.2em;
}
textarea {
  width: 18em;
  margin: 0.2em;
  font: 1em/1.5 verdana,arial,sans-serif;
}
button {
  display: block;
  clear: both;
  margin-left: 13em;
}


#content ul {
  margin: 1em 0;
  list-style: square;
  padding-left: 3em;
}
dt {
  font-weight: bold;
  margin-top: 1em;
}
dd {
  margin-left: 2em;
}

.kontakt {
  clear: both;
}
.kontakt img {
  float: left;
  padding: 0 1em 1em 0;
}
.kontakt p {
  margin-left: 130px;
}

img.right,
img.left {
  border-style: solid;
  border-color: white;
}
img.right {
  float: right;
  clear: right;
  border-width: 1em 0 1em 1em;
}
img.left {
  float: left;
  clear: left;
  border-width: 1em 1em 1em 0;
}

/* ALBUM */
.album {
  width: 80%;
  clear: both;
}
.album img {
  margin-top: 2em;
  border: 1px solid #315067;
  padding: 0.2em;
  float: left;
}
.album h3 {
  margin-left: 110px;
  padding-top: 2em;
}
.album p {
  margin-top: 1em;
  margin-left: 110px;
}
#lightbox a:link,
#lightbox a:visited,
#lightbox a:active,
#lightbox a:hover {
  border-bottom: none;
}
#album img {
  padding: 2px;
  border: 1px solid silver;
}
#album a {
  border: none;
}
#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/ungdom/bilder/album/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/ungdom/bilder/album/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; cursor: default;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

