*{
	/* Universal reset: */
	margin:0;
	padding:0;
}

header,footer,
article,section,nav,
figure{
	/* Giving a display value to the HTML5 rendered elements: */
	display:block;
}
body{
	/* Setting the default text color, size, page background and a font stack: */
	font-size:0.850em;
	color:#fcfcfc;
	background-color:#3b3b3b;
	font-family:Ubuntu, Arial, Helvetica, sans-serif;
}
#bg {
  min-height:100%;
  min-width: 100%;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: -1;
}
/* Hyperlink Styles: */

a, a:visited {
	color:#0196e3;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:underline;
}

a img{
	border:none;
}

/* Headings: */

h1,h2{
	font-family:"Ubuntu","Helvetica Neue",Helvetica,Arial,Sans-Serif;
	text-shadow:5px 4px 7px #000000;
}

h1{
	/* The logo text */
	font-size:3.5em;
	padding:0.5em 0 0;
}


h2{
	font-size:2.2em;
	font-weight:normal;
	letter-spacing:0.01em;
  padding-bottom: 5px;
}

p{
	line-height:1.5em;
	padding-bottom:1em;
}
#logo{
  position: fixed;
  top:8px;
  left:25%;
  z-index: 6;
}
#menu-pos{
	position:fixed;
  top: 0px;
  margin-top: -1px;
  width: 100%;
  z-index: 5;
}
nav{
  height: 65px;
	background:url(../img/menu.png) repeat-x 50% 50%;
}
/* The clearfix hack to clear the floats: */

.clear:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* The navigation styling: */
nav{
  padding-left: 50%;
}
nav ul li{
	display:inline;
}

nav ul li a,
nav ul li a:visited{
	color:#3b3b3b;
	display:block;
	float:left;
	font-size:1.5em;
	margin:5px 2px;
	padding:7px 10px 4px;
  font-family: 'Ubuntu', sans-serif;
}

nav ul li a:hover{
	text-decoration:none;
	color:#7b7b7b;
}
#funktion_nav{
  background: none;
  margin:0px;
  padding:0px;
}

.down{
  margin-left: 465px;
  margin-top: 30px;
  cursor: pointer;
}

/* Article styles: */


article{
  position: relative;
  /*height: 1000px;/**/
  width: 960px;
	margin: 0 auto;
	padding: 20px;
  padding-top: 7%;
	text-shadow:0 2px 0 black;
}

figure{
	float:right;
	height:250px;
	margin-left:15px;
	overflow:hidden;
	width:470px;
}

figure img{
	margin-left:0px;
	margin-top:-20px;
}

/* Footer styling: */

#footer{
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 17px;
  padding: 3px;
	text-align:center;
	font-size:0.825em;
  background-color: #333333;
  opacity:0.7;
  filter:alpha(opacity=70);
}

#footer p{
	margin-bottom:-2.5em;
	position:relative;
}

#flipbox {
  position: relative;
  margin: 0 auto;
  height: 170px;
  width: 200px;
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 12px;
}
#flipbox div{
  text-align: left;
}
#flipbox input[type=text], #flipbox input[type=password]{
  width: 190px;
  height: 30px;
  margin-top: 3px;
}
#flipbox input[type=submit]{
  width: 202px;
  height: 30px;
  background-image: url(../img/btn_login.jpg);
  margin-top: 10px;
  border: 0px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
#flipbox input[type=submit]:hover{
  background-image: url(../img/btn_login_mover.jpg);
}
#flipbox input:focus, #flipbox textarea:focus{
  border: 1px solid #0196e3;
  box-shadow: 0px 0px 12px #0196e3;
}

#background {
  width: 100%;
  top: 25px;
  background-image: url(../img/login.png);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
/* Mobile Optimierung */