.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

body {
	background-image: url(img/back.jpg);
	min-heigth: 100%;
}

#content-wrapper {
	margin: 0 auto;
	position: relative;
	padding: 0 200px;
	max-width: 1015px;
}

#content {
	min-height: 100vh;
	max-width: 984px;
    margin: 0 auto;
	padding: 15px;
	background-color: rgba(255, 255, 255, 0.8);
}

#header {
	background-image: url('img/bg_weiss.gif')
}

#header-image {
	padding: 1% 3%;
}

#header-image-1 {
	vertical-align: top;
	width: 75%;
	margin: 20px 20px 0 10px;
}

#header-image-2 {
	vertical-align: top;
	width: 18%;
	margin: 10px 0 0 10px;
}

#navigation, #main-content {
	padding: 20px 10px 5px 10px;
}

.nav-element {
	font-weight: bold;
	font-size: 20px;
	margin: 3px;
	padding: 0px 3px;
    position: relative;
}

.nav-element .load-content,
.nav-element .ext-content {
    border: 1px solid transparent;
}

.nav-element .load-content:hover,
.nav-element .ext-content:hover {
	cursor: pointer;
	border: 1px solid #666;
}

.nav-element {
    display: inline-block;
}

.nav-element .nav-secondary {
    display: none;
    background-color: rgba(200,200,200,0.7);
    border: 1px solid #666;
    position: absolute;
    left: 5px;
    font-size: 90%;
}

.nav-element:hover .nav-secondary {
    display: block;
}

.nav-element.disclaimer {
    float: right;
    color: #666;
    font-size: 18px;
}

.nav-element.disclaimer a {
    color: #666;
    text-decoration: none;
}

#content:after{
    clear: both;
    content: "";
    display: block;
}

.gallery.bottom {
	display: none;
}

.gallery.side {
	display: none;
	position: absolute;
	top: 100px;
	background-color: rgba(255, 255, 255, 0.3);
	padding: 10px;
}

#gallery12 {
	margin-top: 10px;
	background-color: rgba(0, 0, 0, 0.1);
	padding: 5px 5px;
}

#gallery1 {
	float: left;
	left: 1%;
}

#gallery2 {
	float: right;
	right: 1%;
}

.gallery-thumb {
	position: relative;
}

.gallery-thumb:hover {
	cursor: pointer;
}

.gallery.side .gallery-thumb {
	height: 152px;
	width: 152px;
}

.gallery.bottom .gallery-thumb {
	height: 102px;
	width: 102px;
}

.gallery.side .gallery-thumb {
	display: block;
}

.gallery.bottom .gallery-thumb {
	background-color: rgba(0, 0, 0, 0.5);
	display: inline-block;
}

.gallery-thumb img {
	width: 100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.gallery.side .gallery-thumb {
	display: block;
}

/* generic css */
.w100 {
	width: 100%;
}

#content-wrapper .layout-small {
	display: none;
}

#content-wrapper.layout-small .layout-small {
	display: block;
}

#content-wrapper.layout-mobile {
	font-size: 175%;
}

#content-wrapper.layout-mobile .nav-element {
	margin: 5px 0;
	padding: 5px;
	background-color: rgba(0,0,0, 0.1);
	display: inline-block;
	font-size: 125%;
}

.overlay-box {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    z-index: 10000;
}

#text-overlay-bg.hide {
	display: none;
}

#text-overlay-bg {
	position: fixed;
	background-color: rgba(0, 0, 0, 0.5);
	width: 99%;
	height: 99%;
	z-index: 1;
}

#text-overlay {
	padding: 30px 10px 15px 10px;
	margin: 0 auto;
	position: relative;
	background-color: #FAFAFA;
    top: 30%;
    text-align: center;
	z-index: 1;
	min-width: 300px;
	max-width: 40%;
}

#text-overlay .overlay-close {
	position: absolute;
	right: 5px;
	top: 5px;
	width: 20px;
	height: 15px;
	padding: 2px;
	cursor: pointer;
}

.question {
    font-weight: bold;
    margin-bottom: 4px;
}

.answer {
    margin-bottom: 16px;
}