#menu {
	margin-left: 180px;
	padding: 0;
}

#menu ul {
	border: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
}

#menu ul li {
	display: block;
	float: left;
	text-align: center;
	padding: 0;
	margin: 0;
	margin-right: 20px;
}

#menu ul li a {
	width: 158px;
	height: 40px;
	padding: 0;
	margin: 0;
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	background-image: url(/gfx/button.gif);
	background-repeat: no-repeat;
	background-position: 0 -80px;
	color: #999999;
	text-decoration: none;
	display: block;
	text-align: center;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.3em;
}

#menu ul li a span {
	margin-top: 10px;
	display: block;
	font-weight: bold;
}

#menu ul li a:hover {
	color: #ffffff;
	background-image: url(/gfx/button.gif);
	background-repeat: no-repeat;
	background-position: 0 -40px;
}

#menu ul li a:active {
	background-image: url(/gfx/button.gif);
	background-repeat: no-repeat;
	color: #ffffff;
}

#menu ul li.selected a, #menu ul li.selected a:hover {
	background: #ffffff;
	background-image: url(/gfx/button.gif);
	background-repeat: no-repeat;
	border-bottom: 1px solid #ffffff;
	color: #000000;
}

/* Submenu */


#submenu li {
	display: inline;	/* for IE5 and IE6 */
}

#submenu {
	width: 160px;	/* to display the list horizontaly */
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	margin-bottom: 19px;
}

#submenu a {
	width: 99.99%;	/* extend the sensible area to the maximum with IE5 */
	display: block;
	background-color: #999999;
	border-bottom: 1px solid #ffffff;
	text-decoration: none;
	font-size: 100%;
	font-weight: bold;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #ffffff;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 2px;
}

#submenu a span {
	padding: 3px;
}

#submenu a:hover, #submenu li.selected a { background-color: #ff6600; }
#submenu a:visited { color: #ffffff; }

#submenu li.locked span {
	background-image: url(/gfx/minilock.gif);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	padding-left: 16px;
}

/* Links */

a {
	text-decoration: none;
}

a:link {
	color: #00178d;
}

a:visited {
	color: #00178d;
}

a:active, a:hover {
	color: #CC0000;
}

h2 a:link {
	color: #ff4400;
}

h2 a:visited {
	color: #ff4400;
}

h2 a:active, h2 a:hover {
	color: #00178d;
}
