@font-face {
    font-family: 'Olney';
    src: url('Olney-Light.eot');
    src: url('Olney-Light.eot?#iefix') format('embedded-opentype'),
        url('Olney-Light.woff2') format('woff2'),
        url('Olney-Light.woff') format('woff'),
        url('Olney-Light.ttf') format('truetype'),
        url('Olney-Light.svg#Olney-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

*{
	margin: 0;
	padding: 0;
	border: none;
	text-decoration: none;
	color: #000;
	font-family: 'Olney', sans-serif;
	font-size: 1em;
}

body{
	background-image: url('../grafiken/lmiv-datenbank.jpg');
	background-position: center top;
	background-attachment: fixed;
	background-size: cover;	
}

#hauptverlauf{
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 150px);
}

#wrapper{
	width: 80%;
	margin: auto;
	padding: 20px 0 0 0;
}

#logo{
	float: left;
	width: 50%;
}

#navi{
	float: left;
	width: 50%;
	text-align: right;
}

.clearer{
	clear: both;
}

.linie{
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
	margin: 25px 0;
}

/* ########################## navi ################################*/

#navi ul{
	list-style: none;
}

#navi ul li{
	display: inline-block;
	padding: 0 10px;
}

#navi ul li a{
	color: #000;
	font-size: 1.5em;
}

#navi ul li a:after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 0%;
	height: 2px;
	background: #00368f;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-webkit-transition-property: all;
	-o-transition-property: all;
	transition-property: all;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function: ease;
}

#navi ul li a:hover:after {
	width: 100%;
}

/* ##################################### inhalt ########################################### */

section{
	width: 100%;	
	margin: auto;
}

#inhalt{
	margin: 15px auto;
	background: #fff;
	box-shadow: 0 0 10px #666;
	min-height: 500px;
	opacity: 0.9;
}

#hauptinhalt{
	padding: 50px;
}

#hauptinhalt p{
	margin-bottom: 15px;
}

#hauptinhalt h1{
	font-size: 2em;
	border-bottom: 1px solid #fff;
	color: #00368f;
	margin-bottom: 25px;
}

#hauptinhalt a{
	display: inline-block;
	background: none;
	color: #00368f;  
	position: relative;
	transition: color 0.25s ease;
	border-bottom: 1px solid #00368f;
}

#hauptinhalt a:hover{
	color: #fff;
	text-decoration: none;
}

#hauptinhalt a:after{
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: #00368f;
	transform-origin: left;
	transition: width 0.25s ease;
	z-index: -1;
}

#hauptinhalt a:hover:after{
	width: 100%;
}

/* ###################################### footer ########################################### */

footer{
	width: 100%;
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	text-align: center;
	padding: 10px;
}

footer ul{
	list-style: none;
}

footer ul li{
	display: inline-block;
	padding: 0 10px;
}

footer ul li a{
	color: #00368f;
	font-size: 0.8em;
}

footer ul li a:after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 0%;
	height: 1px;
	background: #000;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-webkit-transition-property: all;
	-o-transition-property: all;
	transition-property: all;
	-webkit-transition-timing-function: ease;
	-o-transition-timing-function: ease;
	transition-timing-function: ease;
}

footer ul li a:hover:after {
	width: 100%;
}