/*
Site:			www.regionalgeschichte.net
Author:			Torsten Schrade
Created:		10.05.2006
Modified:		01.09.2009
Editor:			Stefan Dumont
Usage:			Main stylesheet

** property order:
** ################
** display
** visibility
** list-style-type
** position
** top/right/bottom/left
** z-index
** float
** clear
** (min-)width
** (max-)height
** overflow
** margin
** border
** padding
** color
** background
** font
** font-family
** font-size
** font-style
** font-variant
** line-height
** letter-spacing
** text-align
** vertical-align
** text-decoration
** white-space
** other text styles (e.g. text-indent)
** cursor
** content

table of contents
#################
* BASICS
** body / container / page
** header
** columns
** footer
* NAVIGATION
** Hauptnavigation
** Linke Navigation
** Portalnavigation
** Servicenavigation
** Rootline
** Skiplinks
* SPECIALS
** Suchfeld
** Print

*/

/*####################### BASICS ############################*/

* {
	margin: 0;
	border: none;
	padding: 0;
}

html {
	height: 100%
}

body {
	position: relative;
	/* forces Geckoes to display vertical scrollbar */
	min-height: 101%;
	padding: 10px;
	color: #000;	
	background: #FFFFFF url(../images/regionet3_hintergrund.jpg) repeat-x;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	/* => 0.7em bzw. 11px; http://www.reeddesign.co.uk/test/points-pixels.html */	
	font-size: 70%;
	text-align: left;	
}

#container {
	width: 85em;
	margin: auto;	
}

#page {
	margin-top: 3em;
	border: 1px solid #694C22;
	border-top: none;
	background: #FFFFFF;
}

/* HEADER */

#header {
	position: relative;
	height: 21em;
}

#headerfield {	
	height: 16em;
	border-top: 1px solid #694C22;
	background: #FFCC80 url(../images/hauptportallogo.jpg) 0 0 no-repeat;
}

#logo {
	position: absolute;
	top: 2em;
	left: 2em;
	z-index: 60;	
	margin: 0;
	padding: 0;
	width: 31em;
	height: 5.5em;
}

#logo a {
	display: block;
	width: 31em;
	height: 5.5em;
}


/* MAIN */

#main {
	clear: both;
	z-index: 10;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* COLUMNWRAPPER */

#content-01-wrap,
#content-02-wrap,
#content-03-wrap {
	position: relative;
}

#content-01-wrap {
	float: left;
	z-index: 3;
}

#content-02-wrap {
	float: right;
	z-index: 5;
}

#content-03-wrap {
	width: auto;
	z-index: 1;
}


/* COLUMNS */

#content-01,
#content-02,
#content-03 {
	position: relative;
}

#content-01 {
	z-index: 4;
}

#content-02 {
	z-index: 6;
}

#content-03 {
	z-index: 2;
}


/* LEFT COLUMN */

#content-01-wrap {
	width: 19.05em;
	margin: 0;
	padding: 0;
}	

/* Hack für Opera 8: Angleichung wg. abweichender Schriftgrößenkalkulation*/
html:first-child>*:first-child+body #content-01-wrap {
	width: 19.05em;
}

#content-01 {
	margin: 0 0 0 1.5em;
	padding: 0;
}

/* RIGHT COLUMN */

#content-02-wrap {
	width: 19em;
	margin: 0;
	padding: 0;
}

#content-02 {
	margin: 0 1.5em 0 0.9em;
	padding: 0;
}

/* CENTER COLUMN */

#content-03-wrap {
	margin: 0 19em 0 1.5em;
  	border-left: 17.5em solid #FFE7BD;  	
	padding-bottom: 1em;
}

/* The overflow method is used here to make sure that floats/clears inside are contained and dont't interfere with the left column.
   Unfortunately there is a problem with Safari which collapses this column if there is only floated content inside -
   {overflow: auto;} does fix this but then we get a horizontal scrollbar in some situations. This is why {overflow:hidden} is chosen
   and the service nawigation #content-03 div.rootline gets a defined width to make sure the central column always keeps the full width.
*/

#content-03 {
	overflow: hidden;
	margin: 0;
	padding: 0 0.7em 1em 1.6em;
}


/* FOOTER */

div#footer {
	clear: both;
	width: auto;	
	margin: 2em 0 0 0;
	padding: 1em;
	color: #FFFFFF;	
	background-color: #FF9900;
	font-size: 0.9em;
	line-height: 2em;	
}

div#footer a {
	color: #FFFFFF;
}

/*####################### NAVIGATION ############################*/

/* HAUPTNAVIGATION */

div#header div.hmenu {
	position: relative;
	overflow: hidden;	
	height: 2.43em;
	/*height: 2.3em;*/	
	border-top: 1px solid #FFFFFF;
	background-color: #FF9900;
	padding: 0 0 0 20.5em;
}

div#header .hmenu ul {
	list-style-type: none;
	float: left;	
	width: 100%;
	margin: 0 0 -0.2em 0;
	padding: 0;
}

div#header .hmenu ul li {
	float: left;
	height: 2.45em;
    border-left: 1px solid #FFFFFF;
}

div#header .hmenu ul li.last {
	border-right: 1px solid #FFFFFF;
}

div#header .hmenu ul li a {
	/* float: left;
	width: 10.18em;*/	
	display: block;
	width: 10.38em;
	/*border-bottom: 2px solid #FF9900;*/
	padding: 0.35em;
	color: #FFFFFF;
	font-weight: normal;
	text-align: center;	
	line-height: 1.5em	
}

div#header .hmenu ul li a:hover,
div#header .hmenu ul li.act a {
	background: url(../images/navimain_hover1.jpg) top left repeat-x;
	/*border-bottom: 2px solid #FF9900;*/	
	padding: 0.35em;
	text-decoration: none;
	color: white;
}

div#header .hmenu ul li.act a {
	font-weight: bold;
}

/* LINKE NAVIGATION */

/* Globale Anweisungen */

div#content-01 ul {
	list-style-type: none;	
	position: relative;
	width: 16.9em;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

#content-01 > .hmenu h3.tab {
	width: 17.5em;
}
	
div#content-01 ul li a {
	display: block;	
	width: 97%;
	padding: 0.5em 0;
	padding-left: 0.5em;
	color: #945800;
}

/* Anweisungen 1. Ebene */

div#content-01 li.act a { 
	background-color: #FFCC80;
	font-weight: bold;
}

div#content-01 ul.level1 li {
	border-bottom: 1px solid #FFCC80;
} 

div#content-01 ul.level1 li.last {
	position: relative;
	border-bottom: 1px solid #FF9900;
	background-color: #FF9900;
	height: 2.2em;
}

div#content-01 li.last a {
    display: inline;
    line-height: 2.1em;
    font-weight: bold;
	color: #FFFFFF;
}

div#content-01 li.last .prev {
	float: left;
}

div#content-01 li.last .next {
   float: right;
   margin-right: 0.8em;
}


/* Anweisungen 2. Ebene */

div#content-01 ul.level2 li {
	 border-bottom: 1px solid #FFE7BD; /* must be set, otherwise IE 6.0 adds space */
}

div#content-01 .level2 li a {
	/*text-indent: 1.25em;*/
	padding-left: 1.25em;
	background-color: #FFE7BD;
	font-weight: normal;
        width: 91%;
}

div#content-01 .level2 li.act a {
	font-weight: bold;
}


/* PORTALNAVIGATION with "Sliding Doors" */

div#hypermenu {
	position: absolute;
	top: -2.5em;
	left: 1.5em;
	z-index: 50;	
}

/* Hack for Opera 8: fix different calculation of font-size */
html:first-child>*:first-child+body #hypermenu {
	top: -2.55em;
}

div#hypermenu ul {
	list-style-type: none;
	position: relative;	
	float: left; /* für Opera */
	width: 100%; /* für Opera */
	margin: 0;
	padding: 0;
}

div#hypermenu li {
	float: left;
	background: #FFFFFF url(../images/portalreiter_nobg_right.gif) top right no-repeat;
}

div#hypermenu li a {
	display: block;
	float: left;
	margin: 0;	 	
	padding: 0 2em;
	background: url(../images/portalreiter_nobg_left.gif) top left no-repeat;	
	color: #694C22;
	text-align: center;
	line-height: 2.5em;
}

#hypermenu li.act {
	background-image: url(../images/portalreiter_actbg_right.gif);
	background-color: #FFCC80;
	border-bottom: 1px solid #694c22;	
}

#hypermenu li.act a {
	background-image: url(../images/portalreiter_actbg_left.gif);
}

/* SERVICENAVIGATION */

#headerfield ul {
	list-style-type: none;
	position: absolute;
	top: 14em;
	right: 0;
	width: 18.1em;
}

#headerfield ul li {
	float: left;
}

#headerfield ul li.first a {
	border: none;
}

#headerfield ul li a {
	border-left: 1px solid white;
	padding: 0 0.38em;		
	color: white;
	font-size: 0.9em;
}

/* ROOTLINE */

#content-03 div.rootline {
	position: relative;
	z-index: 5;
	border-bottom: 1px #FFCC80 solid;
	margin-bottom: 1.5em;
	color: #945800;	
	background: #FFE6BF url(../images/rootline_bg_left.gif) left top no-repeat;
}

/* this is explicitly set for Safari to make sure that content-03 doesn't collapse if there is only floated content inside*/
div[class="hmenu rootline"] {
	width: 44.6em;
}

#content-03 .rootline ul {
	list-style-type: none;
	margin: 0 7.5em 0 0;
	padding: 0.5em;
	line-height: 1.19em;
}

#content-03 .rootline ul li {
	display: inline;
	padding: 0;
}

#content-03 .rootline ul li a {
	color: #945800;
}

#content-03 .rootline ul li a:hover {
	text-decoration: underline;
}

/* PRINT */

div#print {
	position: relative;
	z-index: 50;
	float: right;
	width: 6.5em;
	padding: 0.25em 0.5em 0 0;
	background: #FFE6BF url(../images/rootline_bg_right.gif) right top no-repeat;
}

div#print a {
	display: block;
	padding: 0.3em 2em 0.2em 0.2em;	
	color: #945800;
	background: url(../images/symbol_print.gif) 95% 75% no-repeat;
}

/* SKIPLINKS */

ul.skiplinks {
	list-style-type: none;
	position: absolute;
	top: -1.93em;
	right: 1.7em; 
	width: 15em;
	margin: 0;
	padding: 0;
	color: #9F9F9F;
	font-size: 0.9em;
	z-index: 100; /* für Opera 8 */
}

ul.skiplinks li {
	float: left;
}

ul.skiplinks li a:link,
ul.skiplinks li a:visited,
ul.skiplinks li a:active,
ul.skiplinks li a:hover {
	padding: 0.3em;
	color:  #9F9F9F;
}


/* ####################### SPECIALS ############################ */

/* class for hiding elements */
.skip {
    position: absolute;
    overflow: hidden;
    z-index: 0;
    width: 1px;
    height: 1px;
    margin: -2px 0 0 -2px;
    background: transparent;
}

/* class for clearing elements */
.clearer {
	clear: both;
	visibility: hidden;
}


/*####################### CLEARING ############################*/

/* clearfix method - clear floats without additional markup for all FF/Moz/Op*/
/* not used anymore since we have to use an additional element for the IEs anyway */

/*
.clearfix:after {
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
	content: ".";
}
*/

/* this is needed for clearing in Safari */
/*
.clearfix {
	display: block;
}
*/

/* this is for the Geckoes; for IEs cf. ie5x.css */
#clear {
	clear: both;
	height: 1px;
}

/* ######################## AUSNAHMEN ################################### */

/* Rechte Randspalte auf Ortsübersichtseiten ausblenden */
#regionet-41 #content-02-wrap,
#regionet-2382 #content-02-wrap {
	display: none;
}

#regionet-41 #content-03-wrap,
#regionet-2382 #content-03-wrap {
	margin: 0 1.5em 0 1.5em;
}

#regionet-41 #content-03-wrap div[class="hmenu rootline"],
#regionet-2382 #content-03-wrap div[class="hmenu rootline"] {
	width: 62.6em;
}
