/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/** AB MEDIA CSS **/

html, body{
	width : 100%;
	height : 100%;
	margin : 0;
	padding : 0;
	display : table;
	line-height : 125%;
}

body{
	font-family: 'Istok Web', sans-serif;
	background : url(../img/background.png) top center no-repeat;
	color : #626262;
}

a{
	color : #014489;
	text-decoration : none;
}
	a:hover{
		color : #93151a;
		text-decoration : underline;
	}

h1{
	display : block;
	font-weight : 400;
	font-size : 24px;
	color : #014489;
	line-height : 100%;
	padding : 0 0 10px 0;
}

h2{
	display : block;
	font-weight : 400;
	font-size : 19px;
	color : #014489;
	line-height : 100%;
	padding : 10px 0 10px 0;
}

p{
	font-size : 15px;
	padding : 0 0 10px 0;
}

#content ul{
	padding : 0 0 10px 0;
}

	#content ul li{
		padding : 0 0 5px 10px;
		padding : 0 0 0 10px;
		background : url(../img/ulli.png) 0px 5px no-repeat;
	}

.wrapper{
	width : 100%;
	height : 100%;
	width : 940px;
	margin : 0 auto;
	padding : 0 20px;
	position : relative;
	background : white;
	min-height : 605px;
}

#header{
	position : relative;
	display : block;
	height : 145px;
	width : 100%;
}

	#header #logo{
		width : 300px;
		height : 145px;
		display : inline-block;
		float : left;
		background : url(../img/logo.png) top left no-repeat;
		margin-left : -40px;
	}
	#header #contact{
		display : inline;
		float : right;
		margin-top : 95px;
		font-size : 19px;
	}
	#header #contact{
		display : inline;
		float : right;
		margin-top : 95px;
		font-size : 19px;
		display : none;
	}
	
#navi{
	position : relative;
	display : block;
	height : 40px;
	width : 100%;
	background : url(../img/navi_bg_inactive.png) top left repeat-x;
	margin-bottom : 20px;
}

	#navi ul{
		position : relative;
		display : inline-block;
		width : auto;
	}
	
		#navi ul li{
			display : inline-block;
			float : left;
		}
	
			#navi ul li a{
				display : inline-block;
				height : 40px;
				line-height : 40px;
				padding : 0 20px;
				font-size : 16px;
				text-decoration : none;
			}
	
			#navi ul li a.aktiv{
				background : url(../img/navi_bg_active.png) top left repeat-x;
				font-weight : 700;
			}
	
			#navi ul li a:hover{
				background : url(../img/navi_bg_active.png) top left repeat-x;
			}

	#navi #contact2{
		float : right;
		display : inline-block;
		width : auto;
		height : 40px;
		line-height : 40px;
		padding-right : 20px;
	}
	
#content{
	position : relative;
	display : block;
	width : 100%;
	min-height : 400px;
}

	#content #c_text{
		position : absolute;
		display : block;
		width : 50%;
		height : 100%;
		background : url(../img/opaque.png);
		z-index : 100;
		overflow-y : auto;
	}

		#content #c_text .innerwrapper{
			padding : 20px;	
		}
	
	#content #c_image{
		position : absolute;
		width : 100%;
		height : 100%;
		overflow : hidden;
		background : blue;
		z-index : 50;
	}
	
#footer{
	position : relative;
	display : block;
	width : 100%;
	border-top : 2px solid #eeeeee;
	padding : 20px 0;
	margin-top : 20px;
	color : #626262;
	line-height : 90%;
}

	#footer span{
		display : block;
		font-size : 13px;
		padding : 0 0 5px 0;
	}
	
@media only screen and (max-width:1060px) {

	#header #logo{
		margin-left : 0px;
	}
		
}