/* Normalizes margin, padding */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td 
{ margin : 0; padding : 0; }

/* Normalizes font-size for headers */
h1,h2,h3,h4,h5,h6 { font-size : 100%; }

<!-- /* Removes list-style from lists */
ol,ul { list-style : none; }-->

/* Normalizes font-style and font-weight to normal */
address, caption, cite, code, dfn, em, th, var
{ font-style : normal; font-weight : normal; }

/* Removes list-style from lists */
table { border-collapse : collapse; border-spacing : 0; }

/* Removes border from fieldset and img */
fieldset,img { border : 0; }

/* Left-aligns text in caption and th */
caption,th { text-align : left; }

/* Removes quotation marks from q */
q:before, q:after { content :''; }


/* layout.css */

html 	{ 
text-align : center; 
height: 100%;

 }

body { 
position : relative; 
width : 980px; 
margin : 0 auto; 
text-align : left; }

div#content {
	position : relative;
	width : 100%;
	background-color: #FFFFFF;
	background-image:url(../layout_img/bg_unterseite.gif);
	margin-top: 0px;
	float: left;
}



div#navi_sub {
	left : 20px;
	width : 150px;
	padding-top: 0.3em;
	padding-right: 0em;
	padding-bottom: 1em;
	padding-left: 0em;
	background-color:transparent;
}

div#content_main {
	left : 0;
	width : 22%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 1em;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 34px;
}


  
 div#content_main2 {
	left : 60%;
	width : 36%;
	padding-top: 0em;
	padding-right: 0em;
} 

 div#content_main3 {
	left : 0px;
	width : 80%;
	padding-top: 1.5em;
	padding-right: 0em;
	padding-bottom: 1em;
	padding-left: 0em;
	background-color:transparent;
} 
  
div#content_sub {
	left : 3%;
	width : 67%;
	padding-top: 0em;
	padding-right: 0em;
	padding-bottom: 0em;
	padding-left: 0em;
	line-height: 16px;

}

div#content_sub2 {
	left : 79%;
	width : 160px;
	padding : 1.5em 0em 1.5em 0em;
	background-color:transparent;
}

#box1
{
float: left; 
width: 360px; /* optionale Weitenangabe */
}

#box2
{
float: right; 
width: 200px; /* optionale Weitenangabe */
}

#box3
{
float: left; 
padding-left: 90px;
}

div#branding, div#nav_main, div#site_info {
	width : 980px;
}

div#site_info { 
position : relative;
width : 980px;
height : 16px;
top: 0px;
background-color : #ffffff;
}

/* =si_clear_children */
.pc,.sc {
	position : absolute;
	top: 9px;
	left: 0;
	float: left;
}
.clear_children,.cc_tallest {
	position: relative;
} /*\*/* html .clear_children { display: inline;}/**/
.cc_tallest:after { content: ''; } /* PREVENTS A REDRAW BUG IN SAFARI */


/*!!!!!!!!!!! QuickMenu Core CSS [Do Not Modify!] !!!!!!!!!!!!!*/
.qmmc .qmdivider
{display:block;font-size:1px;border-width:0px;border-style:solid;position:relative;z-index:1;}

.qmmc .qmdividery{float:left;width:0px;}

.qmmc .qmtitle{display:block;cursor:default;white-space:nowrap;position:relative;z-index:1;}

.qmclear {font-size:1px;height:0px;width:0px;clear:left;line-height:0px;display:block;float:none !important;}

.qmmc {
	position:relative;
	zoom:1;
	z-index:10;
	height: 15px;
}

.qmmc a, .qmmc li {float:left;display:block;white-space:nowrap;position:relative;z-index:1;}

.qmmc div a, .qmmc ul a, .qmmc ul li {float:none;}

.qmsh div a {float:left;}

.qmmc div{
	visibility:hidden;
	position:absolute;
	padding: 0px;
}

.qmmc .qmcbox{
	cursor:default;
	display:none;
	position:relative;
	z-index:1;
}

.qmmc .qmcbox a{display:inline;}

.qmmc .qmcbox div{float:none;position:static;visibility:inherit;left:auto;}

.qmmc li {z-index:auto;}

.qmmc ul {left:-10000px;position:absolute;z-index:10;}

.qmmc, .qmmc ul {list-style:none;padding:0px;margin:0px;}

.qmmc li a {float:none}

.qmmc li:hover>ul{left:auto;}

#qm0 ul {top:100%;}

#qm0 ul li:hover>ul{top:0px;left:100%;}


/*!!!!!!!!!!! QuickMenu Styles [Please Modify!] !!!!!!!!!!!*/


	/* QuickMenu 0 */

	/*"""""""" (MAIN) Container""""""""*/	
	#qm0	
	{
	width:900px;
	background-color:#FFFFFF;
	border-width:0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 58px;
		font-size: 11px;
	}


	/*"""""""" (MAIN) Items""""""""*/	
	#qm0 a	
	{
	background-color:transparent;
	color:#BA2E2E;
	font-family:Tahoma;
	font-size:11px;
	text-decoration:none;
	font-weight:bold;
	border-width:0px;
	border-style:solid;
	border-color:#FFFFFF;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	}
	
	#qm0ausgewaehlt	
	{	
		background-color:#FFFFFF;
		color:#7E6E63;
		text-decoration:none;
		font-family: Tahoma;
	font-weight:bold;
	border-width:0px;
	border-style:solid;
	border-color:#FFFFFF;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	z-index: 35;
	}

	/*"""""""" (MAIN) Hover State""""""""*/	
	#qm0 a:hover	
	{	
		background-color:#FFFFFF;
		color:#7E6E63;
		text-decoration:none;
	}
	




	/*"""""""" (MAIN) Hover State - (duplicated for pure CSS)""""""""*/	
	#qm0 li:hover>a	
	{	
		background-color:#FFFFFF;
		color:#7E6E63;
		text-decoration:none;
	}


	/*"""""""" (MAIN) Active State""""""""*/	
	body #qm0 .qmactive, body #qm0 .qmactive:hover	
	{	
		background-color:#FFFFFF;
		color:#7E6E63;
	}


	/*"""""""" (SUB) Container""""""""*/	
	#qm0 div, #qm0 ul	
	{	
		padding:0px;
		background-color:#F5F3E4;
		border-width:1px;
		border-style:solid;
		border-color:#999999;
		margin: 0px;
	}


	/*"""""""" (SUB) Items""""""""*/	
	#qm0 div a, #qm0 ul a	
	{	
		padding:6px;
		color:#333333;
		font-size:11px;
		font-weight:normal;
		border-width:0px 1px 0px 1px;
		border-style:solid;
		border-color:#DADADA;
	}


	/*"""""""" (SUB) Hover State""""""""*/	
	#qm0 div a:hover	
	{	
		background-color:#FFFFFF;
		color:#BA2E2E;
	}


	/*"""""""" (SUB) Hover State - (duplicated for pure CSS)""""""""*/	
	#qm0 ul li:hover>a	
	{	
		background-color:#FFFFFF;
		color:#BA2E2E;
	}


	/*"""""""" (SUB) Active State""""""""*/	
	body #qm0 div .qmactive, body #qm0 div .qmactive:hover	
	{	
		background-color:#FFFFFF;
		color:#BA2E2E;
		text-decoration:underline;
		border-color:#666666;
	}


	/*"""""""" Individual Titles""""""""*/	
	#qm0 .qmtitle	
	{	
		margin:2px 5px 5px 5px;
		color:#222222;
		font-family:Arial;
		font-size:11px;
		font-weight:bold;
	}


	/*"""""""" Individual Horizontal Dividers""""""""*/	
	#qm0 .qmdividerx	
	{	
		border-top-width:2px;
		margin:4px 5px 4px 5px;
		border-color:#A2A1AD;
	}


	/*"""""""" Individual Vertical Dividers""""""""*/	
	#qm0 .qmdividery	
	{	
		border-left-width:1px;
		height:14px;
		margin:4px 3px 0px 3px;
		border-style:solid;
		border-color:#BA2E2E;
	}


	/*"""""""" Custom Rule""""""""*/	
	ul#qm0 ul li:hover > a.qmparent	
	{
	text-decoration:none;
	}


	/*"""""""" Custom Rule""""""""*/	
	ul#qm0 ul li .qmparent	
	{
	background-repeat:no-repeat;
	background-position:92% 50%;
	}


	/*"""""""" Custom Rule""""""""*/	
	ul#qm0 li:hover > a.qmparent	
	{
	text-decoration:underline;
	}


	/*"""""""" Custom Rule""""""""*/	
	ul#qm0 li .qmparent	
	{
	background-repeat:no-repeat;
	background-position:92% 50%;
	}

/* PANOVIEWER */

#panoviewer {
	position:relative;
	top:0px;
	left:0px;
}

#panocontainer {

	border:none;
	width:562px;
	height:300px;
}

#panonavigator {
	border:none;
	width:562px;
	text-align:right;
	background:#BA2E2D;
}

#panonavigator  a {
	text-decoration:none;
	margin-right:2px;
	padding:2px;
	font: bold 12px Helvetica,sans-serif;
	color:#fff;
}

#panonavigator a:link {color:#fff;}
#panonavigator a:visited {color: #fff;}
#panonavigator a:hover {color: #fff; background: #7F6E64;}
#panonavigator a:active {color: #fff;}

#panonavigator p.nojavascript {
	margin:0;
	padding:4px;
	background:#f00;
	color:white;
	text-align:left;
}

/* NAVIGATION */

#navigation {
	border:none;
	position:relative;
	top:255px;
	left:10px;	
	margin:0;
	padding:0;
	width:200px;
    font:normal 12px Helvetica,sans-serif;
	color:#fff;
}

#navigation li {
	list-style:none;
	line-height: 18px;
}

#navigation a:link {color:#fff;}
#navigation a:visited {color: #fff;}
#navigation a:hover {color: #fff; font: bold 12px Helvetica,sans-serif;}
#navigation a:active {color: #fff;}

/* ZOOM */

#gray {
	background:transparent url('../../panorama/gfx/background1c.gif') 0 0 repeat;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:none;
	text-align:center;
}



html>body #gray {height:90%;}

#zoomContainer {
	position: absolute;
	height:395px;
	width:790px;
	top: 49%;
	left: 40%;
	margin-top: -197px;
	margin-left: -395px;
	background:none;
}

* html #zoomContainer {
	position:relative;
	margin-top: 30px;
	margin-left:30px;
	top: 0;
	left: 0;
}

* html  #panonavigator  a {
	display:none;
}

#zoomPano {
	background:#fff;
	width:790px;
	height:395px;
	border:none;
}

#zoomPanoNavigator {
	width:790px;
	border:none;
	text-align:right;
	background:#BA2E2D;
}

#zoomPanoNavigator  a {
	text-decoration:none;
	margin-right:2px;
	padding:2px;
	font: bold 12px Helvetica,sans-serif;
}
#zoomPanoNavigator a:link {color:#fff;}
#zoomPanoNavigator a:visited {color: #fff;}
#zoomPanoNavigator a:hover {color: #fff; background: #7F6E64;}
#zoomPanoNavigator a:active {color: #fff;}




// Script by Thomas Stich
// http://www.stichpunkt.de/beitrag/popup.html
// use it if you like it
// 
// <a href="html-or.jpg" onclick="return popup(this,123,456)" title="..."
// or
// <a href="html-or.jpg" onclick="return popup(this)" title="..."


var pop = null;

function popdown() {
  if (pop && !pop.closed) pop.close();
}

function popup(obj,w,h) {
  var url = (obj.getAttribute) ? obj.getAttribute('href') : obj.href;
  if (!url) return true;
  w = (w) ? w += 20 : 150;  // 150px*150px is the default size
  h = (h) ? h += 25 : 150;
  var args = 'width='+w+',height='+h+',resizable';
  popdown();
  pop = window.open(url,'',args);
  return (pop) ? false : true;
}

window.onunload = popdown;
window.onfocus = popdown;
