@charset "utf-8";
/*allgemeine styles*/
/*
farben:
	rot: bf2b23
	grau: 666666
	weiss: f9f9f9;
*/

#debug {
	display:none;
	position:fixed;
	top:10px;
	left:10px;
	z-index:1001;
	background:#FF0;
	color:#333;
	padding:10px;
}
@font-face {
    font-family: HelveticaCB;
    src:url(../font/Helvetica-Condensed-Bold.otf);
}

@font-face {
    font-family: HelveticaCL;
    src: url(../font/Helvetica-Condensed-Light.otf);
}

body {
	background: #f9f9f9 url(../grafik/kachelmuster3.jpg) repeat;
	margin:0;
	padding:0;
	font-family: Arial, sans-serif;
	font-size:14px;
	color:#333333;
	overflow-x:hidden;
}

a {
	color:#bf2b23;
	text-decoration:none;
}

a:hover {
	color:#bf2b23;
	text-decoration:underline;
}
a.scrollLink {
	cursor:pointer;
}

h1 {
	font-size:26px;
	font-family: HelveticaCB, Helvetica, sans-serif;
	color:#000;
	padding:0px 0px 0px 0px;
	margin:0px 0px 10px 0px;
	letter-spacing:-1px;
}


h2 {
	font-size:26px;
	font-family: HelveticaCL, Helvetica, sans-serif;
	color:#000;
	padding:0px 0px 0px 0px;
	margin:0px 0px 10px 0px;
	letter-spacing:0px;
}


h3 {
	font-weight:bold;
	font-size:100%;
	font-family: Arial, sans-serif;
	color:#000;
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	line-height:1.15em;
}

p {
	padding:0px;
	margin:0px 0px 19px 0px;
	line-height:1.15em;
	font-size:14px;
	-moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 
	
	-moz-hyphenate-limit-chars: auto 5;
	-o-hyphenate-limit-chars: auto 5;
	-webkit-hyphenate-limit-chars: auto 5;
	-ms-hyphenate-limit-chars: auto 5;
	hyphenate-limit-chars: auto 5;
	
	-moz-hyphenate-limit-lines: 2;
	-o-hyphenate-limit-lines: 2;
	-webkit-hyphenate-limit-lines: 2;
	-ms-hyphenate-limit-lines: 2;
	hyphenate-limit-lines: 2;
}

span.hl {
	font-weight: bold;
	color:#000;
}

input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=number] { 
  -moz-appearance: textfield;
  appearance: textfield;
  margin: 0; 
}

/*ende allgemeine stykles */


/*** layout ***/
/*header*/
#header_container {
	position:absolute;
	width:100%;
	top:0;
	left:0;
	height:27%;
	min-height:220px;
	background:url(../grafik/punktelinie_960px.png) bottom left repeat-x;
	padding:0px 0px 24px 0px;
	z-index:600;
	overflow:hidden;
}

div.header {
	width:1024px;
	margin:0 auto;
	padding:0px 32px 0px 32px;
	height:100%;
	position:relative;
}


div.logo {
	position: absolute;
	bottom:0;
	width:170px;
	border-right:#bf2b23 1px solid;
	margin:0px 0px 2px 0px;
	padding:250px 0px 0px 0px;
}

div.logo a {
	display:block;
	width:144px;
	height:150px;
	background:url(../grafik/logo_mitteloewen.png) top left no-repeat;
}

div.logo a.text {
	display:block;
	width:auto;
	height:auto;
	background:none;
	text-decoration:none;
}



div.logo p {
	color:#bf2b23;
	font-size:20px;
	font-family: HelveticaCB, Helvetiva, sans-serif;
	margin:0px 0px -4px 0px;
	padding:0px 0px 0px 0px;
	line-height:1.2em;
	-moz-hyphens: none;
   -o-hyphens: none;
   -webkit-hyphens: none;
   -ms-hyphens: none;
   hyphens: none; 
}
/*ende header */
/*main menu*/
div.mobilemenu {
	display:none;
	position: absolute;
	top:36px;
	left: 274px;
	cursor: pointer;
	margin:0px 0px 5px 0px;
}
div.mainmenu {
	position: absolute;
	bottom:0;
	left: 202px;
}

div.mainmenu a {
	text-decoration:none;
	font-size:20px;
	font-family: HelveticaCB, Helvetiva, sans-serif;
	margin:0.2em 0px 0px 22px;
	padding:0px 0px 0px 0px;
	color:#000;
	border:none;
	display:block;
}

div.mainmenu a.act {
	color:#bf2b23;
}

div.mainmenu a:hover {
	color:#666666;
}

div.mainmenu a.act:hover {
	color:#bf2b23;
}

/*ende menu*/

/*haupt inhalt */
#content_container {
	position:absolute;
	top:calc(27% + 24px);
	left:0;
	width:100%;
}
div.content {
	position: relative;
	width:1024px;
	margin:0 auto;
	top:0;
	padding:0px 32px 0px 32px;
	z-index:600;
}

div.clear {
	clear:both;
	height:0px;
}

/*footer*/
div.footer {
	position: relative;
	width:1024px;
	padding:0px 32px 19px 32px;
	margin:0 auto;
	top:0;
	z-index:600;
}
div.footer div {
	padding:19px 0px 0px 0px;
	width:960px;
	font-size:10px;
	color:#666666;
	background:url(../grafik/punktelinie_960px.png) top left repeat-x;
	z-index:600;
	box-sizing: border-box;
}

div.footer div a {
	color:#666666;
}

/***overlay ***/

/*shadow*/
#shadow_overlay {
	position:fixed;
	top:0px;
	left:0px;
	background:url(../grafik/000_50.png) top left repeat;
	height;100%;
	width:100%;
	filter: alpha(opacity=0);
	opacity: 0;
	display:none;
	z-index:700;
}
/*shadow end*/

/*milchglas*/
#milchglas {
	position:absolute;
	top:calc(27% + 24px);
	left:0;
	width:100%;
	background:url(../grafik/fff_50.png) top left repeat;
	height:100%;
	z-index:400;
}
/*milchglas end*/

/*vignette*/
#vignette {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	z-index:500;
	background-image:url(../grafik/vignette.png);
	background-repeat:no-repeat;
	background-size:100% 100%;
	background-size:cover;
}
/*vignette end*/


#loading_indicator {
	position:absolute;
	top:30%;
	left:50%;
	border:none;
	padding:0px;
	margin:0px;
	margin-left:-16px;
	margin-top:-16px;
	width:32px;
	height:32px;
	display:none;
	z-index:1001;
}

/*overlay*/

#page_overlay {
	position:absolute;
	width:850px;
	height:513px;
	padding:35px;
	margin:0;
	margin-left:-425px;
	/*margin-top:-256px;
	top:50%;*/
	left:50%;
	border:none;
	display:none;
	z-index:900;
	overflow:hidden;
	background: url(../grafik/papierfeld.png) no-repeat;
	box-sizing: border-box;
	background-size:100% 100%;
}

/*end overlay*/


/* responsiveness */
/* 5 spalten */
@media screen and (max-width:1023px) { 
	div.header, div.content, div.footer {
		width:795px;
	}
	div.footer div {
		width:795px;
	}
	#page_overlay {
		width:722px;
		height:436px;
		margin-left:-361px;
		/*margin-top:-272px;*/
	}
}
/* 4 spalten */
@media screen and (max-width:859px) { 
	div.header, div.content, div.footer {
		width:632px;
	}
	div.footer div {
		width:632px;
	}
	#page_overlay {
		width:498px;
		height:auto;
		/*top:200px;
		margin-top:0px;*/
		margin-left:-249px;
	}
}


/* 3 spalten */
@media screen and (max-width:696px) { 
	#header_container {
		height:160px;
		min-height: 0px;
	}
	#content_container,#milchglas {
		top:184px;
	}
	div.header, div.content, div.footer {
		width:469px;
	}
	div.logo a {
		width:94px;
		height:85px;
		background:url(../grafik/logo_mitteloewen_mid.png) top left no-repeat;
		float:right;
		padding-bottom: 6px;
	}
	div.logo p {
		padding:0px 22px 0px 0px;
		text-align: right;
	}
	div.footer div {
		width:469px;
	}
	#page_overlay {
		width:386px;
		/*top:200px;
		margin-top:0px;*/
		margin-left:-193px;
		margin-left:0px;
		width:100%;
		height: 100%;
		overflow:auto;
		left:0;
		background: url(../grafik/papierfeld_ohneRand.jpg) no-repeat;
		background-size: 100% 100%;
	}
}

/* 1 spalte */
@media screen and (max-width:533px) { 
	#header_container {
		height:80px;
	}
	#content_container,#milchglas {
		top:104px;
	}
	div.header, div.content, div.footer {
		width:306px;
	}
	div.logo {
		width:220px;
		margin:0px 0px 0px 0px;
		top:0px;
		padding:22px 0px 0px 0px;
	}
	div.logo a {
		width:48px;
		height:50px;
		background:url(../grafik/logo_mitteloewen_small.png) top left no-repeat;
		float:left;
		margin-right:10px;
		padding-bottom: 0px;
	}
	div.logo p {
		padding:0px 0px 0px 0px;
		text-align: left;
		margin:3px 0px 0px 0px;
	}
	div.mobilemenu {
		display:block;
	}
	div.mainmenu {
		position: absolute;
		left: 32px;
		top:100px;
	}
	div.mainmenu a {
		margin-left: 0px;
	}
	div.footer div {
		width:306px;
	}
	#page_overlay {
		/*width:274px;*/
		/*top:200px;
		margin-top:0px;*/
		/*margin-left:-137px;*/
	}
}


