html {
	height: 100%;}

* {
	margin: 0;
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
}

body {
	font: 90% Geneva, Arial, Helvetica, sans-serif;
	background-image:url(../images/spiralen.jpg);
	/* background: #F1F1F1;*/}

p {
	padding: 0 0 10px 0;
	line-height: 1.2em;}
  
.bold {
	font: bold 120% Arial, Helvetica, sans-serif;}
	
.grey {
	color: #808080;}

.small {
	font-size: 80%;}
	
.smaller {
	font-size: 80%;
	font-style: italic;}
	
img {
	border: 0;
	position: relative;}			
	
h1, h2 {
	font: bold 165% Arial, Helvetica, sans-serif;}

h1 {
	font-size: 150%;
	color: #a2b817; text-align-last:center;}

h2 {
	font-size: 130%;}
  
span {
	color: #676767;}

a, a:hover {
	color: #008fff;
	font: bold 100% Arial, Helvetica, sans-serif;
	text-decoration: none;}

a:hover {	
	color: #927e47;
	text-decoration: none;}

#main, header, #banner, #menubar, #site_content, footer {
	margin-left: auto; 
	margin-right: auto;}

#main {
	background: transparent;}

header {
	width: 90%;
	max-width: 1024px;
	height: 95px;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-top: 15px;
	margin-bottom: 15px;
	/* background: #E1E1E1; */
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border: 7px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}

#banner {
	width: 96%;
	max-width: 1024px;
	position: relative;
	height: 105px;
	background: transparent;}

/*Start neue Horizontale Navigation*/
#nav {
	background: #fefef4; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefef4', endColorstr='#fefef4'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fefef4), to(#fefef4)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #fefef4,  #fefef4); /* for firefox 3.6+ */	
	width: 97%;
	margin: 0;
	margin-left: 7px;
	margin-right: 6px;
	padding: 8px 8px 0;
	line-height: 50%;
	border-radius: 32px;
	-webkit-border-radius: 32px;
	-moz-border-radius: 32px;	
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	border: solid 1px #b4b4b4;}
	
#nav li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;}

/* main level link */
#nav a {
	font-weight: bold;
	color: #000000;
	text-decoration: none;
	display: block;
	padding: 8px 17px;
	margin: 0;
	border-radius: 26px;
	-webkit-border-radius: 26px;
	-moz-border-radius: 26px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #a2b817; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#a2b817'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#a2b817)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #ebebeb,  #a2b817); /* for firefox 3.6+ */
	color: #444;
	border-top: solid 1px #f8f8f8;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	color: #666;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;}
	
#nav ul a:hover {
	background: #a2b817 !important; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a2b817', endColorstr='#a2b817'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#a2b817), to(#a2b817)) !important; /* for webkit browsers */
	background: -moz-linear-gradient(top,  #a2b817,  #a2b817) !important; /* for firefox 3.6+ */
	color: #ffffff !important;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .1);}
	
/* level 2 list */
#nav ul {
	background: #fefef4; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefef4', endColorstr='#fefef4'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fefef4), to(#fefef4)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #fefef4,  #fefef4); /* for firefox 3.6+ */
	display: none;
	margin: 0;
	padding: 0;
	width: 200px;
	position: absolute;
	top: 35px;
	left: 0;
	border: solid 1px #b4b4b4;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .3);}
	
/* dropdown */
#nav li:hover > ul {
	display: block;
    z-index: 2;}
	
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;}
	
#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(255, 255, 255, .9);}
	
/* level 3+ list */
#nav ul ul {
	left: 50px;
	top: 21px;}

/* rounded corners for first and last child */
#nav ul li:first-child > a {
	border-radius: 9px 9px 0 0;
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;
	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;}
	
#nav ul li:last-child > a {
	border-radius: 0 0 9px 9px;
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;
	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;}
	
/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;}
	
#nav {
	display: inline-block;}
	
html[xmlns] #nav {
	display: block;}
	
* html #nav {
	height: 1%;}

/*Ende Horizontale Navigation*/
  
#site_content {
	width: 90%;
	max-width: 1024px;
	min-width: 540px;
	overflow: hidden;
	margin-top: 10px;
	margin-bottom: 15px;
	background: #f5f5dc;	
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border: 7px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}

#content {
	max-width: 1024px;
	min-height: 550px;
	margin: 12px;}

#story {
	width: 99%;
	height: 98%;
	padding: 6px;
	overflow: auto;}
	
#backimage {
	width: 100%;
	height: auto;
	min-height: 550px;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border: 7px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	background-size: cover;
	background-repeat: no-repeat;}
	
footer {
	width: 90%;
	max-width: 1024px;
	height: 40px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;  
	font-weight: bold;
	text-align: center; 
	/* background: #E1E1E1; */
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border: 7px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}

footer a, footer a:hover {
	text-decoration: none;
	padding-bottom: 20px;
	color: #a2b817;}

footer a:hover {
	text-decoration: none;
	color: #927e47;}
 
.gallery {
	width: 1000px;
	height: 130px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;  
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border: 7px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
	overflow: hidden;
	position: relative;}
	
.flex { 
    display: flex; 
    justify-content: center; 
    align-items: center;}

.picbox, .picbox * {
	box-sizing: border-box;
	border-radius: 12px;
	-moz-border-radius: 12px;
	-webkit-border: 12px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}

.picbox {
	position: relative;
	display: inline-block;
	overflow: hidden;
	margin-left: 12px;
	margin-bottom: 135px;
	max-width: 25%;
	height: 230px;
	width: auto;
}

.textbox {
	position: relative;
	display: inline-block;
	overflow: hidden;
	margin-left: 12px;
	margin-bottom: 12px;
	max-width: 70%;
	height: 365px;
	width: auto;
}

.picbox img {
	width: 230px;
	height: 230px;}

.picbox .picbox-layer_bottom {
	display: block;}

.picbox .picbox-layer_top {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #fefef4;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;}

.picbox:hover .picbox-layer_top,.picbox.active .picbox-layer_top {
	opacity: 1;}
	
.picbox .picbox-layer_scale {
	border-radius: 50%;
	-moz-transform: scale(0);
	-webkit-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
}
.picbox:hover .picbox-layer_scale,.picbox.active .picbox-layer_scale {
	border-radius: 0%;
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);}

.picbox .picbox-text {
	text-align: left;
	font-size: 14px;
	display: inline-block;
	position: absolute;
	top: 4%;
	left: 8%;
	width: 96%;
	padding-top: 4%;
	-moz-transform: translate(-6%, -8%);
	-webkit-transform: translate(-6%, -8%);
	-ms-transform: translate(-6%, -8%);
	transform: translate(-6%, -8%);}
	
