/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/pro_drop6.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* === menu UL (height, width, background, etc) === */
#nav {
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	z-index: 99;
	height: 52px;
/*	margin-left: 19px;	*/
	font-family: "PlacardMT Condensed", Tunga, Arial, sans-serif;
}

/* === MAIN menu li style (common) === */
#nav li.top {
	display: block; 
	float: left;
	background: url("/images/top_menu_sep.png") no-repeat 0% 0%;
}
#nav li.top:first-child {
	background: transparent;
}
/* === MAIN menu a href style (common) === */
#nav li a.top_link {
	display: block;
	cursor: pointer;
	height: 52px;
	padding: 0 0 0 5px;
	float: left; /* left, other case under IE6 cause problem (vertical menus) */
	text-decoration: none;
	font-weight: bold;
	font-size: 24px;
	color: #fffffe;
	border: 2px solid transparent;
	z-index: 401;
}

/* === MAIN menu span (wo submenu) === */
#nav li a.top_link span {
/*	margin: 6px 0px; */
	margin: 13px 0px;
	float: left; 
	display: block; 
	padding: 0 10px 0 5px; 
	height: 22px; 
}

/* === MAIN menu span (with SUBMENU) === */	
#nav li a.top_link span.down {
/*	margin: 6px 0px; */
	margin: 13px 0px;
	float: left; /* left if it's left aligned */
	display: block; 
	padding: 0 10px 0 5px;
	height: 22px;
}

/* === MAIN menu HOVER text (normal) === */
#nav li:hover a.top_link, #nav a.top_link:hover {
	background: #71dbeb url("/images/top_menu_h.png") repeat-x 0% 0%;
	height: 50px;
	color: #ffffff;
	margin: 0px 0px 0px 0px;
	padding: 1px 0px 0px 5px;

	border: 2px solid #ffffff;
	border-bottom: 0px;
	background: #e9e8e8;
	border-radius: 10px 10px 0px 0px;
}
/* === MAIN menu HOVER text background set (normal) === */	
#nav li:hover a.top_link span, #nav a.top_link:hover span {
/*
	color: #92e3ed;
*/
	color: #004eae;
}

/* === MAIN menu text (with SUBMENU) === */	
#nav li:hover a.top_link span.down, #nav a.top_link:hover span.down {
	padding-bottom:3px;
	color: #004eae;
}

#nav table {border-collapse:collapse; padding:0; margin:0; position:absolute; left:0; top:0;}
#nav li:hover {position:relative; z-index:200;}
#nav a:hover {position:relative; white-space:normal; z-index:200;}

/* === SUBMENU ul style === */
#nav :hover ul.sub {
	left: 0px; 
	top: 51px; 
	height: auto;
	z-index: -1;
	width: 280px;
	padding: 5px 5px 5px 20px;
	border: 0px;
	text-align: left;

	background: #e9e8e8;
	border: 2px solid #ffffff;
	border-radius: 0px 10px 10px 10px;
	box-shadow: 1px 1px 2px #565656;
}

/* === SUBMENU li style === */
#nav :hover ul.sub li {
	display: block; 
	position: relative; 
	float: left; 
	width: 280px; 
	font-weight: normal;
	text-align: left;
}

/* === SUBMENU a href style === */
#nav :hover ul.sub li a {
	display: block;
	font: bold 13px "Trebuchet MS", sans-serif;
	line-height: 22px;
	text-indent: 2px;
	color: #1f1c11;
	text-decoration: none;
}

/* === SUBMENU HOVER a href style === */	
#nav :hover ul.sub li a:hover {
	text-decoration: underline;
}

/* === SUBMENU with SECOND LEVEL a href style === */	
#nav li ul.sub li a.fly {
	background: url("/images/arrow.gif") no-repeat 100% 50%;
}

/* === SUBMENU HOVER with SECOND LEVEL a href style (similar like SUBMENU HOVER a href style)=== */ 
#nav :hover ul.sub li a.fly:hover {
	background: url("/images/arrow_over.gif") no-repeat 100% 50%;
	color:#5d4613;
	border: 0px;
}

/* === not used in LiwCMS, this is the marker text above the menus (in the submenu container) */
#nav li b {
	font: italic 13px "Trebuchet MS", sans-serif;
	color: #1dbbe6;
	display: block;
	border-bottom: 1px dotted #1dbbe7;
	line-height: 22px;
}

/* === SECOND LEVEL SUBMENU container style inIE6 (similar like SUBMENU ul style) === */
#nav a:hover a:hover ul, #nav a:hover a:hover a:hover ul, #nav a:hover a:hover a:hover a:hover ul, #nav a:hover a:hover a:hover a:hover a:hover ul {
	left:130px; 
	top:-4px; 
	white-space:nowrap;	 
	z-index:400; 
	height:auto;

	width:130px; 
	padding:3px;	 
	background: #91c133;
	border:1px solid #697534; 
}

#nav ul, 
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

/* === SECOND LEVEL SUBMENU container style (similar like SUBMENU ul style) === */
#nav li:hover li:hover > ul {
	left:130px; 
	top:-4px; 
	white-space:nowrap;	 
	z-index:400; 
	height:auto;

	width:130px; 
	padding:3px;	 
	background: #91c133;
	border:1px solid #697534; 
}

#nav li:hover > ul ul 
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

/* === SUBMENU style when SECOND LEVEL SUBMENU is active (not works in IE6) === */
#nav li:hover li:hover > a.fly {
	background: #adde4d url("/images/arrow_over.gif") no-repeat 100% 50%; 
	color:#ffffff; 
	border: none;	 
} 

#nav li:hover li:hover > li a.fly {
	background:#00ff00 url("/images/arrow.gif") no-repeat 100% 50%; 
	color:#000; 
	border-color:#50b5d0;
}