body {
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  overflow-y: scroll; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; 
}

#background1 {
  /*flaschenpost*/
  background-color: #1e1e1e;
  background: url(./flasche.jpg) no-repeat center top fixed;
}

#background2 {
  /*leuchtende wurzeln*/
  background-color: #707070;
  background: url(./wurzeln.jpg) no-repeat center top fixed;
}

#background3 {
  /*Tuer in baum*/
  background-color: #707070;
  background: url(./tuer.jpg) no-repeat center top fixed;
}

#background4 {
  /*bibliothek*/
  background-color: #D0D0D0;
  background: url(./library.jpg) no-repeat center top fixed;
}

#background5 {
  /*fliegende insel*/
  background-color: #D0D0D0;
  background: url(./inseln.jpg) no-repeat center top fixed;
}

h1 {
  font-weight: bold;
  font-size: 120%;
  line-height: 120%;  
  margin:0;
}

#startseitenschrift1 {
  font-weight: bold;
  font-size: 5.5vw;
  margin-top: 33vw;
  text-align:center;
  color:#FFF;
  text-shadow: 
     1px  1px 1px black,
     1px -1px 1px black,
    -1px  1px 1px black,
    -1px -1px 1px black;  
}

#startseitenschrift2 {
  font-size: 4vw;
  text-align:center;  
  color:#FFF;
  text-shadow: 
     1px  1px 1px black,
     1px -1px 1px black,
    -1px  1px 1px black,
    -1px -1px 1px black;  
}

h2 {
  font-weight: bold;
  font-size: 100%;
  line-height: 120%;  
  margin:0;
}

label {
 display: inline-block;
 width: 200px; 
 margin-bottom: 4px;
}

select {
  margin: 0px;
  padding: 0px;
}

.spacer {
  clear:both;
}

/* content container */
.content-container {  
  margin-top: 8px;
  max-width: 750px;
  /*min-height: 500px;*/
  _height: 500px; /*IE 9 Fix*/  
  background: rgba(0, 0, 0, 0.85);
  padding:15px;
  color:#FFF;
  display:block;
}
#background4 .content-container {
  /*anderes Farbschema, weil heller Hintergrund*/
  background: rgba(255, 255, 255, 0.85);
  color:#000;
}

/* regular link */
.content-container a:link {
  text-decoration:underline;
  color: #BBF;
}

/* visited link */
.content-container a:visited {
  color: #BBF;
}

/* mouse over link */
.content-container a:hover {
  color: #FFF;
  text-shadow: 
     1px  1px 1px #44F,
     1px -1px 1px #44F,
    -1px  1px 1px #44F,
    -1px -1px 1px #44F; 
}

/* selected link */
.content-container a:active {
  color: #DDD;
}

/*################################*/
/*######## MENU THINGS! ##########*/
/*################################*/

/* navigation */
.navigation {

}

/*Strip the ul of padding and list styling*/
.navigation ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

/*Create a horizontal list with spacing*/
.navigation li {
	display:inline-block;
	float: left;
	margin-right: 1px;
}

/*Style for menu links*/
.navigation li a {
	display:block;
	min-width:40px;
	padding-left:10px;
	padding-right:10px;
	height: 50px;
	text-align: center;
	font-size: 12px;
	line-height: 50px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #000;
	background: #CCC;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.2s ease-in-out;	
}

.navigation #homesymbol {
	font-size:16px;
	display:inline;
}

.navigation #hometext {
	display:none;
}

.navigation li a#current{
	background: #a0a09f;
}

/*Hover state for top level links*/
.navigation li:hover a {
	background: #605e5e;
	color: #FFF;
	transition: all 0.2s ease-in-out;
}

/*###############################*/
/*Style for dropdown links*/

/*testing:*/
.navigation li:hover ul {
	position:fixed;
}

.navigation li:hover ul a {
	margin-top: 1px;
	background: #E5E5E5;
	color: #2f3036;
	height: 40px;	
	line-height: 40px;
	/*Testing:*/
	width: 130px;
}

/*Hover state for dropdown links*/
.navigation li:hover ul a:hover {
	background: #605e5e;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
.navigation li ul {
	display: none;
}

/*Make dropdown links vertical*/
.navigation li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
.navigation li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

/*Display the dropdown on hover*/
.navigation ul li a:hover + .hidden, .hidden:hover {
	display: block;
}

/*###############################*/
/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #fff;
	background: #605e5e;
	text-align: center;
	padding: 10px 0;
	display: none;
	border-radius: 4px;
	margin-bottom: 1px;
	
	/**/	
    width: 100%; 
}

/*Hide checkbox*/
.navigation input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
.navigation input[type=checkbox]:checked ~ #menu{
    display: block;
}

/*###############################*/
/*Responsive Styles*/
@media screen and (max-width : 885px){
	/*Make dropdown links appear inline*/
	.navigation ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	.navigation li {
		margin-bottom: 1px;
		z-index:1;
	}
	
	.navigation li a {
	  padding-left:0px;
	  padding-right:0px;
	}
	
	
    .navigation li:hover ul {
	/*testing*/
	  position:relative;	  
    }
	
    .navigation li:hover ul a {	
	  width: auto;
      z-index:5;  
	}
	
	/*Make all menu links full width*/
	.navigation ul li, li a {
		width: 100%;
		z-index:1;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	
    /*body {  
      background-position: center top 50px;
    }*/
	
    .navigation #homesymbol {
	  display:none;
    }

    .navigation #hometext {
	  display:inline;
    }	
}