/* BASE */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing : 0; }
fieldset, img { border: 0; }
ol, ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: 1em; font-weight: normal; }

body { background: #fff; margin: 0; padding: 0; line-height: 14px; font: 11px "Courier New", Courier, Mono, sans-serif; color: #000; }
a { color: #000; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }

.c { clear: both; height: 1px; }
div { z-index: 10; }

/* Global Positioning */

#head { position: absolute; left: 17px; top: 14px; background: #fff; border-top: 2px solid #000; border-bottom: 2px solid #000; width: 180px; height: 133px; z-index: 50; }
#title { padding: 5px 0 0 0; font: 4em "Times New Roman", Times, serif; }
#nav li { line-height: 1em; }
#nav a.on, #subnav a.on { text-decoration: underline; }

#subnav { position: absolute; left: 256px; top: 14px; border-top: 2px solid #000; border-bottom: 2px solid #000; width: 180px; padding: 5px 0 0 0; height: 128px; background: #fff url(<% layout.image name="wappen" as="url" %>) no-repeat bottom left;  z-index: 50; }

#images { position: absolute; right: 17px; top: 14px; z-index: 5; }

#blogimages { position: absolute; right: 17px; top: 14px; z-index: 5; width: 460px; }
#blogimages .sample { float: right; padding: 25px; }
#blogimages .sample img { float: none;  display: block; }
#blogimages .sample p { margin: 0; padding: 0; }
#blogimages span, #blogimages a { display: block; }
#blogimages span { margin: 10px 0 0 0; }

#stack { position: absolute; left: 17px; top: 185px; width: 250px; }
#stack img { position: absolute; left: 0; top: 0; z-index: 1; }

#main { position: absolute; left: 256px; top: 185px; width: 230px; }

#misc { position: absolute; left: 17px; top: 185px; width: 180px; }
#misc h5 { text-decoration: underline; margin: 0 0 10px 0; }
#misc div, #misc form { margin: 0 0 30px 0; }
#misc .go { cursor: pointer; }
#misc p { margin: 0 0 10px 0; }

.go { display: inline-block; border: 1px solid #000; padding: 1px 3px; margin: 4px 0; }

.inv { display: inline !important; width: 160px; border: 1px solid #000; }
textarea.inv { height: 80px; }


#topics a { display: block; }

#latest a { display: block; margin: 0 0 15px 0; }

#impressum { display: block; margin: 50px 0 0 0; line-height: 1.1em; }


/* Content */

.image img { display: block; margin: 0 0 8px 0; }
.image p { display: block; width: 200px; }

.post { margin: 0 0 35px 0; }
.post h1, h1 { font-size: 1.5em; text-decoration: underline; line-height: 1.1em; margin: 0 0 5px 0; }
.post p { margin: 10px 0; }
.post small { font-size: 0.9em; display: block; }
.post small.u { text-decoration: underline; }
.post small.u a { text-decoration: underline; }


/* Start */

#start { position: absolute; left: 256px; top: 185px; width: 300px; }
#start h1 { font-size: 2em; text-decoration: underline; line-height: 1em; margin: 0 0 10px 0; }
#start small { font-size: 0.9em; margin: 0 0 10px 0; display: block; }


/* Lightbox */

#lightbox { position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0; }
#lightbox a img{ border: none; }

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

#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: transparent url(../_ext/lightbox/blank.gif) no-repeat; display: block; }
#prevLink { left: 0; float: left; }
#nextLink { right: 0; float: right; }
#prevLink:hover, #prevLink:visited:hover { background: url(../_ext/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../_ext/lightbox/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer { 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; }
#imageData #bottomNavClose { width: 66px; float: right; margin: 1.0em; }	

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

/* html,body thanks to Torben  - http://blog.schreiter.info/ */
html, body { height: 100%; min-height: 100% ; }



/**
* LEGACY
* Basic page structure.
* When changing something, make sure widths are coherent.
*/
table.main {
   width: 700px;
}

td.header {
   height: 53px;
   padding-left: 40px;
   font-weight: bold;
}

td.center { 
   width: 70%; 
   padding: 25px 20px 10px 40px; 
   vertical-align: top; 
}

td.right { 
   width: 30%; 
   padding: 0px 0px 10px 0px; 
   vertical-align: top; 
   border-left: 1px solid #dddddd;
}

/**
* Colors, fonts, styles.
*/

td {
   line-height: 1.2em;
}

td.header {
   font-size: 25px;
   font-weight: bold;
}

div.boxheader {
   overflow: hidden;
   font-size: 10px;
   padding-left: 6px;
   border-top: 1px solid #dddddd;
}

div.boxline {
   height:1px;
   overflow:hidden;
   border-bottom: 1px solid #dddddd;
}

div.box {
   line-height: 1.4em;
   text-align: right;
   padding: 0em 0em 0.4em 0.4em;
   margin: 0em 0em 0.2em 0em;
}

div.ample { margin-bottom: 5px; }

div.box table {
   margin-left: auto; 
   margin-right: 0px; 
}

fieldset {
   padding-left: 8px;
   padding-top: 0px;
   margin-top: 6px;
   margin-bottom: 6px;
}


.message {
   font-weight: bold;
   padding: 1px;
   margin-top: 6px;
   margin-bottom: 6px;
}

.message input {
   font-size:9px;
   padding:0px;
   margin:0px;
}

.historyItem {
   padding-bottom: 0.3em;
}

/* calendar */

.calHead {
   font-weight: bold;
   text-align: center;
}

.calDay {
   text-align: center;
}

.calSelDay {
   border: 1px solid <% layout.linkcolor %>;
   text-align: center;
}

.calFoot {
   text-align: center;
}

.dayHeader {
   font-weight: bold;
   margin-bottom:10px;
}

/* story display classes */

.storyDate {
   color: <% layout.smallcolor %>;
   margin-bottom: 6px;
}

.storyTitle {
   color: <% layout.titlecolor %>;
   font-weight: bold;
}

.listSeparator {
   width: 50px;
   border-bottom: 2px dotted #dddddd;
   margin-top: 10px;
   margin-bottom: 4px;
}

.title {
   color: <% layout.textcolor %>;
   font-weight: bold;
   margin-bottom: 2px;
}

.reply { padding-left: 40px; }

/* form input classes */

.formTitle {
   width: 380px;
   font-weight: bold;
   border: 1px solid <% layout.textcolor %>;
}

.formText {
   width: 380px;
   font-weight: normal;
   border: 1px solid <% layout.textcolor %>;
}

.formWide {
   width: 660px;
   font-weight: normal;
}

.listFlag {
   background-color: #cccccc;
   padding: 1px;
   color: <% layout.textcolor %>;
}

.pollResultsBar {
   height: 5px;
   overflow: hidden;
   float:left;
   margin-right: 10px;
   background-color: <% layout.linkcolor %>;
   font-size: 0px;
}

.searchbox {
   font-size: 11px;
   margin-top: 3px;
}

.colorpickerWidget {
   border: 1px solid #cccccc;
}

.pagelinkTop {
   margin-bottom: 18px;
   padding-bottom:3px;
   border-bottom:1px solid #dddddd;
}

.pagelinkBottom {
   margin-top: 18px;
   padding-top:3px;
   border-top:1px solid #dddddd;
   text-align:right;
}

/* page navigation bar */
div.pageNav {
   margin-top: 10px;
   margin-bottom: 0px;
   font-size: 11px;
}

div.pageNavSummary {
   padding: 1px 5px;
   background-color: #efefef;
   border-bottom: 1px solid #cccccc;
   text-align: left;
}

div.pageNavBar {
   padding-top: 1px;
   text-align: right;
}
span.pageNavItem {
   padding-left: 2px;
   padding-right: 2px;
}

span.pageNavSelItem {
   padding-left: 2px;
   padding-right: 2px;
   font-weight: bold;
}

/* classes for membermgr */
.membergroup {
   font-weight:bold;
   margin:10px 0px;
}

.member {
   margin-left:20px;
   margin-bottom:5px;
}


.imagepop, .ztl_img_choose { cursor: pointer; border: 1px solid #000; padding: 3px; }
ul.skinmgrTree li { margin: 0 0 15px 0; }
