/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/example_flyout.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/*angepasst durch agentur artprolog 2012 Ursula Bartels and Juliane "Pixie" Berny*/

/* OBERE NAVIGATION */

#top_navi {
	height:50px;
	width:595px;
	line-height:50px;
	text-shadow:none;
	font-size:0.8em;
	float:left;
	color: #ede9e6;
	overflow:hidden;
}

#top_navi ul {
	margin:0px;
	padding:0px;
	padding-left:15px;
}

#top_navi ul li {
	list-style-type:none;
	list-style-image:none;
	float:left;
}

#top_navi a,
#top_navi a:link,
#top_navi a:visited,
#top_navi a:hover,
#top_navi a:active {
	color: #ede9e6;
	text-decoration: none;
}

#top_navi a:hover,
#top_navi a:active {
	color: #fff;
}

/* HAUPTNAVIGATION */
.mainnav {
	position: relative;
	z-index:9999;
	font-family:Georgia, "Times New Roman", Times, serif;
}

.mainnav ul {
	margin:0px;
	padding:0px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.mainnav li {
	margin:0px;
	padding:0px;
	position: relative;
	float: left;
	list-style-type: none;
	list-style-image: none;
}

.mainnav li ul li {
	background-image: none;
	background-color: #5f472f;
}

/* style the links for the top level */
.mainnav a,
.mainnav a:link,
.mainnav a:visited,
.mainnav a:hover,
.mainnav a:active {
	display: block;
	color:#826648;
	font-size:1.2em;
	white-space:nowrap;
	text-decoration: none;
	text-shadow: #fff 1px 1px 1px;
	padding-left: 12px;
	padding-right: 12px;
	height: 50px;
	line-height: 50px;
}

/* act */
.mainnav a.act:link,
.mainnav a.act:visited,
.mainnav a.act:hover,
.mainnav a.act:active,
.mainnav ul li.current_page_ancestor a,
.mainnav ul li.current-menu-item a {
	color:#fff;
	text-shadow: #826648 1px 1px 1px;
	background:url("../images/bgrd_navi_act.jpg") repeat-x bottom left;
}


/* a hack so that IE5.5 faulty box model is corrected */
* html .mainnav a,
* html .mainnav a:link,
* html .mainnav a:visited,
* html .mainnav a:hover,
* html .mainnav a:active {
	float: left;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.mainnav ul ul {
	visibility: hidden;
	position: absolute;
	top: 50px;
	left:0px;
	list-style-image: none;
	padding:0px;
	margin:0px;
	width: 170px;
	font-family: 'Maven Pro', sans-serif;
}

.mainnav ul ul ul {
	visibility: hidden;
	position: absolute;
	left: 170px;
	top:0px;
}

/* another hack for IE5.5 */
* html .mainnav ul ul {
	top: 70px;
	t\op: 70px;
	font-size: 0.9em;
}

* html .mainnav ul ul ul {
	top: 0px;
	t\op: 0px;
	left: 160px;
	width: 160px;
	font-size: 0.9em;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.mainnav table {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 400;
}

/* style the second level links */

.mainnav ul ul a,
.mainnav ul ul a.act,
.mainnav ul ul a:link,
.mainnav ul ul a:visited,
.mainnav ul ul a:active,
.mainnav ul ul a:hover {
	color:#c4b6a9;
	font-size: 1.0em;
	text-transform:none;
	height:auto;
	line-height: 1.4em;
	width:160px;
	padding:8px 10px 8px 25px;
	text-align:left;
	white-space:normal;
	text-transform: none;
	text-shadow: #6e5e4c 1px 1px 1px;
	background-image: url("../images/bgrd_subnav.png");
	background-repeat: no-repeat;
	background-position: 10px 18px;
}

* html .mainnav ul ul a,
* html .mainnav ul ul a.act,
* html .mainnav ul ul a:link,
* html .mainnav ul ul a:visited,
* html .mainnav ul ul a:active,
* html .mainnav ul ul a:hover {
	width:160px;
}

.mainnav ul ul a.act,
.mainnav ul ul a.act:link,
.mainnav ul ul a.act:visited,
.mainnav ul ul a.act:active,
.mainnav ul ul a.act:hover,
.mainnav ul ul a:active,
.mainnav ul ul a:hover {
	color:#fff;
	background-image: none;
	background-image: url("../images/bgrd_subnav_act.png");
	background-repeat: no-repeat;
	background-position: 10px 18px;
}

.mainnav ul ul a:active,
.mainnav ul ul a:hover,
.mainnav ul ul :hover > a.act {
	color:#fff;
	background-image: none;
	background-image: url("../images/bgrd_subnav_act.png");
	background-repeat: no-repeat;
	background-position: 10px 18px;
}

/* style the top level hover */
.mainnav a:hover,
.mainnav ul :hover > a {
	text-shadow: #826648 1px 1px 1px;
	color:#fff;
	background:url("../images/bgrd_navi_act.jpg") repeat-x top left;
}

.mainnav ul ul :hover > a,
.mainnav ul ul a:hover {
	color:#fff;
	background-image: url("../images/bgrd_subnav_act.png");
	background-repeat: no-repeat;
	background-position: 10px 18px;
}

/* make the second level visible when hover on first level list OR link */
.mainnav ul li:hover ul,
.mainnav ul a:hover ul {
	visibility: visible;
}

/* keep the third level hidden when you hover on first level list OR link */
.mainnav ul :hover ul ul,
.mainnav ul :hover ul :hover ul ul {
	visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.mainnav ul :hover ul :hover ul,
.mainnav ul :hover ul :hover ul :hover ul {
	visibility:visible;
}
