html, body { height: 100%; }

#page {
	width: 862px;
	margin-left: 20px;
	z-index: 2;
	position: relative;
	min-height: 100%;
}

#language {
	width: 100px;
	float: right;
	padding-top: 10px;
	line-height: 20px;
}

#language li { float: right; }

#logo {
	float: left;
	margin-bottom: 7px;
}

#nav {
	float: left;
	width: 205px;
}

#sub {
	float: right;
	width: 643px;
	overflow-x: hidden;
}

#nav .inner,
#sub .inner {
	height: 134px;
	padding: 0;
	border-bottom: 1px solid #fff200;
}

#content {
	float: left;
	width: 900px;
	position: relative;
	overflow-x: hidden;
}

#content.home { overflow-x: visible; }
#content.home .inner { padding-left: 227px; }
#content.text .inner { padding-left: 219px; }
#content.gallery .inner { padding-left: 0; }

/* old */

#picture {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
	position: absolute;
}

#picture img {
	width: 100%;
	min-width: 900px;
	image-rendering: optimizeQuality;
}

/* background image */

#bg{
	top: 0;
	left: 0;
	position: absolute;
}

#bg,#bg div,#bg table,#bg td{
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#bg div{
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	position: absolute;
}

#bg td{
	text-align: center;
	vertical-align: middle;
}

#bg img{
	margin: 0 auto;
	display: block;
	min-width: 50%;
	min-height: 51%;
	image-rendering: optimizeQuality;
	interpolation-mode: bicubic;
	-ms-interpolation-mode: bicubic;
}


/* nav, sub, language */

#nav ul { margin-bottom: 7px; }

#sub ul { width: 691px; }

#nav a,
#sub a,
#language a { display: block; }

#nav li,
#nav li.active a { display: none; }
#nav li.active,
#nav li.active li,
#nav li.active li a { display: block; }

#nav li a:hover,
#sub li a:hover,
#nav li li.active a,
#sub li.active a,
#language a:hover {
	color: white;
	background-color: black;
}

#sub a { padding-left: 7px; }

#sub a,
#nav a {
	color: black;
	padding-left: 7px;	text-decoration: none;
}

#nav a { line-height: 20px; }
#sub a {
	line-height: 19px;
	margin-right: 10px;
	border-bottom: 1px solid black;
}

#language a {
	color: black;
	margin: 0 0 0 1px;
	padding: 0 3px;	text-decoration: none;
}

#language li.active a {
	color: black;
	background-color: #fff200;
}

#nav li,
#sub li,
#language li {
	list-style-type: none;
}

#sub li {
	float: left;
	width: 219px;
}

/* global */

.inner { padding: 10px; }

.column { float: left; }
.row { clear: both; }
.tenth { width: 10%; }
.quarter { width: 25%; }
.third { width: 33.3333%; }
.half { width: 50%; }
.twothird { width: 66.6666%; }
.threequad { width: 75%; }
.ninth { width: 90%; }
.full { width: 100%; }

.right { float: right; }
.clear { clear: both; }

/* box and teasers */

#boxes {
	width: 1200px;
	height: 380px;
}
#content #teaser { overflow-x: hidden; }

#content #teaser ul {
	width: 1200px;
	height: 240px;
	padding-left: 0;
}

#content #teaser a {
	color: black;
	text-decoration: none;
}

h1 span {
	color: black;
	display: block;
	text-indent: -3000px;
}

h2 span,
#boxes h1 span {
	display: block;
	font-weight: 500;
	text-indent: -3000px;
	background-position: 7px 3px !important;
}

#content .box p { padding: 2px 0 1px 7px; }
#content .box li { padding-top: 2px; }

#content #teaser { line-height: 1px; }
#content .box p,
#content #teaser p { line-height: 14px; padding: 3px 7px 7px 7px; }

#teaser li,
#content .box { overflow: hidden; }

#content .box,
#content #teaser li { float: left; width: 205px; height: 230px; margin-right: 14px; background-color: white; position: relative; }
#page #content.gallery .box { padding-bottom: 20px; bottom: 0; height: auto; position: absolute; }
#content .box { background-color: white; height: 380px; }
#teaser a { display: block; }

#boxes h1,
#boxes h2,
#teaser h2 { background-color: black; }

#content #boxes h1,
#content #boxes h2,
#content #teaser h2 a { color: #fff200; }

#teaser a.follow { text-align: center; display: block; width: 20px; line-height: 20px; bottom: 0; left: 185px; position: absolute; background-color: #fff200; }

#content #teaser a.follow:hover {
	color: white;
	background-color: black;
}

.box .follow {
	right: 0;
	bottom: 0;
	position: absolute;
}

.box .follow a,
.box .follow span {
	color: black;
	display: inline;
	padding: 3px 4px 3px 4px;
	line-height: 19px;
	text-decoration: none;
	background-color: #fff200;
}

.box .follow a:hover,
.box .follow a.active,
.box .follow span.active {
	color: white;
	background-color: black;
}



