/* - - - ADxMenu: BASIC styles [ MANDATORY ] - - - */
	/* remove all list stylings */
.menu,.menu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
}

.menu li {
	margin: 0 15px 0 0;
	padding: 0px;
	border: 0;
	display: block;
	float: left;
	/* move all main list items into one row, by floating them */
	position: relative;
	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5; /* thus we need to apply explicit z-index here... */
}

.menu li:hover {
	z-index: 10000;
	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;
	/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

li.level1 a img {
	margin-top: 0px;
}

li.level2 a img {
	margin-top: 0px;
}

li.level3 a img {
	margin-top: 0px;
}

li.level4 a img {
	margin-top: 0px;
}

.menu li.level1 a {
	height: 22px;
	overflow: hidden;
	display: block;
}

.menu li.level2 a {
	height: 15px;
	overflow: hidden;
	display: block;
}

.menu li.level1:hover a img {
	margin-top: -22px;
}

.menu li.level1:hover li a img {
	margin-top: 0px;
}

.menu li.level1:hover li.level2:hover a img {
	margin-top: -15px;
}

.menu li.level1:hover li.level2:hover li.level3 a img {
	margin-top: 0px;
}

.menu li.level1:hover li.level2:hover li.level3:hover a img {
	margin-top: -15px;
}

.menu li.level1:hover li.level2:hover li.level3:hover li.level4 a img {
	margin-top: 0px;
}

.menu li.level1:hover li.level2:hover li.level3:hover li.level4:hover a img {
	margin-top: -15px;
}

.menu li li {
	float: none; /* items of the nested menus are kept on separate lines */
}

.menu li:hover li a img {
	margin-top: 0px;
}

.menu li li:hover a img {
	margin-top: -15px;
}

.menu li li a img {
	margin-top: 0px;
}

.menu ul {
	visibility: hidden; /* initially hide all submenus. */
	position: absolute;
	z-index: 10;
	left: 0; /* while hidden, always keep them at the top left corner, */
	top: 0; /* 		to avoid scrollbars as much as possible */
}

.menu li:hover>ul {
	visibility: visible; /* display submenu them on hover */
	top: 100%; /* 1st level go below their parent item */
}

.menu li li:hover>ul {
	/* 2nd+ levels go on the right side of the parent item */
	top: 0;
	left: 100%;
}

/* -- float.clear --
	force containment of floated LIs inside of UL */
.menu:after,.menu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}

.menu,.menu ul { /* IE7 float clear: */
	min-height: 0;
}

.menu ul {
	background-image: url(empty.gif);
	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	width: 190px;
	padding: 32px 0 10px 0;
	margin: 0 0 0 -10px;
	background: url('../images/background80.png');
}

.menu ul ul {
	padding: 10px 0;
	margin: -17px 0 0 23px;
	background: url('../images/background85.png');
}

.menu .first ul {
	margin-top: -11px;
}

.menu .first ul ul {
	margin-top: -17px;
}

.menu ul ul ul {
	padding: 10px 0;
	margin: -11px 0 0 5px;
	background: url('../images/background90.png');
}

.menu,.menu ul li {
	color: #eee;
	margin: 0px;
}

.menu li li a {
	text-decoration: none;
	color: #000;
	margin: 6px 0 8px;
	display: block;
	position: relative;
}

.menu li li a:last-child {
	border-top-width: 1px;
}

.menu a:hover,.menu li:hover>a {
	color: #000;
}

.menu li li { /* create borders around each item */
	border: 0px solid #333333;
	border-bottom-width: 1px;
	margin: 0px 10px;
}

.menu li li:hover {
	border-bottom-color: #0199E1;
}

.menu li li:first-child {
	border-top-width: 1px;
}

.menu ul>li+li {
	/* and remove the top border on all but first item in the list */
	border-top: 0;
}

.menu li li:hover>ul {
	/* inset 2nd+ submenus, to show off overlapping */
	top: 0px;
	left: 70%;
}

.menu li li li:hover>ul {
	/* inset 2nd+ submenus, to show off overlapping */
	top: 0px;
	left: 85%;
}

/* special colouring for "Main menu:", and for "xx submenu" items in ADxMenu
	placed here to clarify the terminology I use when referencing submenus in posts */
.menu>li:first-child>a,.menu li+li+li li:first-child>a {
	color: #567;
}

/*
.menu a {
	height: 20px;
	overflow: hidden;
	display: block;
}

.menu>li:first-child>a img,.menu li+li+li li:first-child>a img {
	margin-top: 0px;
}

.menu>li:first-child>a:hover img,.menu li+li+li li:first-child>a:hover img
	{
	margin-top: -22px;
}
*/ /* Fix for IE5/Mac \*/ /*/
.menu a {
	float: left;
}
/* End Fix */ /*]]>*/
.right_top {
	width: 10px;
	height: 42px;
	float: right;
	position: absolute;
	right: -20px;
	top: -6px;
	background: url('../images/right.png') top left no-repeat;
}

*+html .right_top {
	width: 10px;
	height: 38px;
	float: right;
	position: absolute;
	right: -20px;
	top: -6px;
	background: url('../images/right.png') top left no-repeat;
}

.left_top {
	background: url("../images/arrow.png") no-repeat scroll left top
		transparent;
	float: left;
	height: 20px;
	left: -23px;
	position: absolute;
	top: 11px;
	width: 20px;
}

.right {
	width: 10px;
	height: 30px;
	float: right;
	position: absolute;
	right: -20px;
	top: 0px;
	background: url('../images/right.png') 0px -30px no-repeat;
}

*+html .right {
	width: 10px;
	height: 27px;
	float: right;
	position: absolute;
	right: -20px;
	top: 0px;
	background: url('../images/right.png') 0px -30px no-repeat;
}

.right_bottom {
	width: 10px;
	height: 44px;
	float: right;
	position: absolute;
	right: -20px;
	top: 0px;
	background: url('../images/right_bottom.png') left bottom no-repeat;
}

*+html .right_bottom {
	width: 10px;
	height: 47px;
	float: right;
	position: absolute;
	right: -20px;
	top: 0px;
	background: url('../images/right_bottom.png') left bottom no-repeat;
}

.bottom {
	position: absolute;
	height: 10px;
	width: 110%;
	right: -10px;
	bottom: -22px;
	background: url('../images/bottom.png') 0px -1px no-repeat;
}