/* ================================================================ 
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/final_drop.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.
=================================================================== */

.menu {
	margin: 0;
	padding: 27px 0 0 28px;
	width: 852px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 30px;
	color: #FFFFFF;
	display: inline;
	float: left;
	position:relative;
	z-index:100;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	position:relative;
	width: 224px;
}

.menu li#nav_home { width: 77px; }
.menu li#nav_system { width: 146px; }
.menu li#nav_about { width: 96px; }
.menu li#nav_news { width: 129px; }
.menu li#nav_partner { width: 138px; }
.menu li#nav_demo { width: 130px; }
.menu li#nav_contact { width: 108px; }

.menu li#nav_home a#nav_home {
	width: 77px;
	background-image: url(../images/nav_home.gif);
	background-repeat: no-repeat;
}

.menu li#nav_home a#nav_home:hover { 
	background-position: -77px 0; 
}

.menu li#nav_system a#nav_system {
	width: 146px;
	background-image: url(../images/nav_system.gif);
	background-repeat: no-repeat;
}

.menu li#nav_system a#nav_system:hover { 
	background-position: -146px 0; 
}


.menu li#nav_about a#nav_about {
	width: 96px;
	background-image: url(../images/nav_about.gif);
	background-repeat: no-repeat;
}

.menu li#nav_about a#nav_about:hover { 
	background-position: -96px 0; 
}

.menu li#nav_news a#nav_news {
	width: 129px;
	background-image: url(../images/nav_news.gif);
	background-repeat: no-repeat;
}

.menu li#nav_news a#nav_news:hover { 
	background-position: -129px 0; 
}

.menu li#nav_partner a#nav_partner {
	width: 138px;
	background-image: url(../images/nav_partner.gif);
	background-repeat: no-repeat;
}

.menu li#nav_partner a#nav_partner:hover { 
	background-position: -138px 0; 
}

.menu li#nav_demo a#nav_demo {
	width: 130px;
	background-image: url(../images/nav_demo.gif);
	background-repeat: no-repeat;
}

.menu li#nav_demo a#nav_demo:hover { 
	background-position: -130px 0; 
}

.menu li#nav_contact a#nav_contact {
	width: 108px;
	background-image: url(../images/nav_contact.gif);
	background-repeat: no-repeat;
}

.menu li#nav_contact a#nav_contact:hover { 
	background-position: -108px 0; 
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background: #154f80;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background: #154f80;
}
.menu ul ul :hover > a.drop {
	background: #154f80;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	height: 47px;
	line-height: 47px;
	display: block;
	font-size: 11px;
	text-decoration: none; 
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	width: 224px;
	height: 0;
	visibility: hidden;
	position: absolute;
	top: 47px;
	left: 5px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 47px;
	t\op: 47px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	position: absolute;
	top: 0;
	left: 0;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	padding: 0 12px; 
	width: 200px;
	height: 30px;
	line-height: 30px;
	color: #FFFFFF;
	background: #154f80;
}

/* yet another hack for IE5.5 */
* html .menu ul ul a{
	width: 200px;
	w\idth: 200px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color: #fffc00; 
	background: #154f80;
	text-decoration: none;
}
.menu :hover > a, .menu ul ul :hover > a {
	color: #fffc00;
	background: #154f80;
	text-decoration: none;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{
	visibility: visible;
}

.menu ul ul li {
	margin: 0;
	padding: 0;
	border-top: 1px solid #17578c;
	border-left: 1px solid #12436d;
	border-right: 1px solid #12436d;
	border-bottom: 1px solid #12436d;
}