/* grid */
.row { display: block; clear: both; }
.column { display: block; float: left; }
.cell, .block { display: block; margin-right: 4px; margin-bottom: 4px; }
.cell { position: relative; float: left; width: 96px; height: 96px; }

.x1 { width: 100px; }
.x2 { width: 200px; }
.x3 { width: 300px; }
.x4 { width: 400px; }
.x5 { width: 500px; }
.x6 { width: 600px; }
.y1 { height: 100px; }
.y2 { height: 200px; }
.y3 { height: 300px; }
.y4 { height: 400px; }
.y5 { height: 500px; }
.y6 { height: 600px; }
.y7 { height: 700px; }
.y8 { height: 800px; }

.w05 { width: 46px; }
.w1 { width: 96px; }
.w2 { width: 196px; }
.w3 { width: 296px; }
.w4 { width: 396px; }
.w6 { width: 596px; }
.w8 { width: 796px; }
.h05 { height: 46px; }
.h1 { height: 96px; }
.h15 { height: 146px; }
.h2 { height: 196px; }
.h3 { height: 296px; }
.h4 { height: 396px; }

/* positions & sizes */
html, body { height: 100%; }

dl.right dt { float: right; width: 96px; text-align: left; }
dl.right dd { margin-left: 0; padding-right: 100px; text-align: right; }
dl.left dt { float: left; width: 96px; text-align: right; }
dl.left dd { margin-left: 0; padding-left: 100px; text-align: left; }

#header_bg { position: absolute; z-index: 1; bottom: 50%; width: 100%; top: 0; margin-bottom: +254px; overflow: hidden; }
#header { position: absolute; z-index: 1; bottom: 50%; width: 100%; height: 8px; margin-bottom: +254px; overflow: hidden; }
#content { position: absolute; top: 50%; width: 100%; height: 400px; margin-top: -250px; }
#menu { position: absolute; z-index: 1; top: 50%; bottom: 0; width: 100%; margin-top: 150px; }

#logo a { display: block; clear: left; width: 196px; height: 40px; overflow: hidden; background: url('../images/lgoSH.jpg') center center no-repeat; }

.top-right { position: absolute; right: 0; top: 0; text-align: right; }
.top-left { position: absolute; left: 0; top: 0; text-align: left; }
.bottom-right { position: absolute; right: 0; bottom: 0; text-align: right; }
.bottom-left { position: absolute; left: 0; bottom: 0; text-align: left; }

.centered { position: relative; width: 800px; margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.grounded { position: absolute; bottom: 0; }
.overlay { position: absolute; }
.fill { display: block; width: 100%; height: 100%; }
.extended { padding-bottom: 80%; }
.hidden { visibility: hidden; }

.button { position: relative; }
.button span { position: absolute; top: 50%; }
.back, .forward, .back a, .forward a { display: block; width: 100%; height: 100%; }
.back a { background: url('../images/backward.jpg') left center no-repeat; }
.back a:hover { background-image: url('../images/backwardHover.jpg'); }
.back a span { left: 0; padding-left: 10px; }
.forward a { background: url('../images/forward.jpg') right center no-repeat; }
.forward a:hover { background-image: url('../images/forwardHover.jpg'); }
.forward a span { right: 0; padding-right: 10px; }

.outerleft { position: absolute; top: 100px; left: -50px; }
.outerright { position: absolute; top: 100px; right: -50px; }

span.hidden { display: none; }

.logo { width: 98px; margin-right: 0; }

.scroll { overflow: auto; }
.no-text { overflow: hidden; text-indent: -5000px;}

#menu .cell { height: 30px; }
#header .small, #menu .small { height: 8px; }
#menu .cell a { display: block; }

.project { overflow: hidden; }
.project a { display: block; }
.project .top { position: relative; }
.project .center a { width: 100%; height: 100%; }

#home div a, .pictures div a { display: block; width: 100%; height: 100%; background-color: black; }

#xleistungen h2 { clear: left; float: left; width: 194px; text-align: right; margin-right: 6px; }
#xleistungen p { margin-left: 200px; }

/* paddings & margins */
body, div, h1, h2, h3, h4, h5, h6, p, ul, dl { margin: 0; padding: 0; }
p { margin-bottom: 1ex; margin-right: 0.6em; }
dd { padding-top: 0.3em; margin-bottom: 0.5em; }
ul { padding: 0 0 0 2em; }
#logo { margin-bottom: 4px; }
#logo a { padding-top: 8px; padding-bottom: 8px; }
#menu .cell a { padding: 2px; }

/* colors */
body, #header_bg { background-color: #311810; color: #848484; }
a, .pagetitle { color: #848484; }
h2, h2 a, h3, h3 a, .selected, a:hover, #logo { color: #dddddd; }
.shaded { background-color: #613222; }
.shaded:hover { background-color: #b53000; }
.bordered h2 { padding-bottom: 2px; border-bottom: 8px solid #613222; }
.bordered h2:hover { border-color: #b53000; }
dt { color: #613222; }
#header .cell, #menu .cell { background-color: #96000d; }
.left-logo-color, #header .left, #menu .left { background-color: #b53000; }
.right-logo-color, #header .right, #menu .right { background-color: #747474; }
#menu { background-color: #613222; }
#menu .right a { color: #747474; }
#menu .right a:hover { color: #dddddd; }
a img { border: none; }

/* typography */
body { font-family: Verdana, "Lucida Sans", Arial, Helvetica; font-size: 10pt; letter-spacing: -1px; word-spacing: +1px; }
h2 { font-size: 1.5em; font-weight: normal; letter-spacing: -0.05em; line-height: 18px; text-transform: uppercase; }
h2 .title { font-size: 0.65em; text-transform: none; }
h1 span.center, h2 span.center { display: block; text-align: center; }
h1 span.right, h2 span.right { display: block; text-align: right; }
h3, dt { font-size: 1.3em; }
h4 { font-size: 1em; font-weight: normal; }
a { text-decoration: none; color: inherit; }
li { list-style-image: url('../images/square.jpg'); }
.small { font-size: 0.75em; line-height: 1.1em; }
.pagetitle { font-size: 30px; font-weight: normal; letter-spacing: -2px; line-height: 26px; margin-top: -2px; padding-bottom: 4px; text-indent: -2px; text-transform: uppercase; }
#menu .cell { line-height: 36px; font-weight: bold; }
#logo #title { font-size: 15pt; }
#logo #subtitle { letter-spacing: 0.2ex;}