/* All <ul> tags in the menu including the first level */
.topmenu, .topmenu  ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.topmenu ul {
	display: none;
	position: absolute;
	top: 23px;
	left: 5px;
	border: 0px none #000000;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	padding-top: 2px;
}

/* Second and third etc. level submenus - position across from parent instead */
.topmenu ul ul {
 top: 1px; 
 margin-top: 0;
 left: 180px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.topmenu li {
	float: right;
	display: block;
	position: relative;
	border-top: 0px none;
	border-right: 0px none;
	border-bottom: 0px none;
	border-left: 0px none;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.topmenu ul li {
	float: none;
	margin: 0 0 -1px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333333;
	padding-top: 0px;
	padding-bottom: 0px;
}
.topmenu ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}
/* first level Links inside the menu */
.topmenu a {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	font-size: 13px;
	text-align: left;
	line-height: 24px;
	background-image: url(/themes/pan08/images/mainnavBG.jpg);
	background-repeat: no-repeat;
	padding-right: 10px;
	padding-left: 10px;
	font-family: "Trebuchet MS", Tahoma, Verdana;
}

/* drop down Links inside the menu */
.topmenu li ul li a {
	display: block;
	color: #333333;
	text-decoration: none;
	font-weight: normal;
	text-shadow: black 2px 2px 2px;
	font-size: 10px;
	text-transform: none;
	background-color: #FFFFFF;
	width: 133px;
	line-height: 16px;
	padding-right: 10px;
	padding-left: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #BCC9D9;
	margin: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.topmenu a:hover, .topmenu a.highlighted:hover, .topmenu a:focus {
	color: #FFFF00;
	text-shadow: black 2px 2px 3px;
	border-bottom-color: #315682;
	background-image: url(/themes/pan08/images/nav_Active.jpg);
	background-repeat: no-repeat;
}

.topmenu a.highlighted {
	color: #335783;
	text-shadow: black 2px 2px 3px;
}

/* Lit  items: Second level 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.topmenu li ul li a:hover, .topmenu li ul li a.highlighted:hover, .topmenu li ul li a:focus {
	color: #FFF;
	text-shadow: black 2px 2px 3px;
	background-color: #335783;
}
.topmenu li ul li a.highlighted {
	color: #FFF;
	text-shadow: black 2px 2px 3px;
	background-image: url(/themes/pan08/images/nav_Active.jpg);
	background-repeat: no-repeat;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .topmenu a#xyz {
      background-image: url(out.gif);
    }
    .topmenu a#xyz:hover, .topmenu a.highlighted#xyz, .topmenu a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.topmenu a .subind {
 display: none;
}
.topmenu ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.topmenu a {
 float: left;
}
.topmenu ul a {
 float: none;
}
/* \*/
.topmenu a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .topmenu ul li {
 float: left;
 width: 100%;
}

* html .topmenu ul li {
 float: left;
 height: 1%;
}
* html .topmenu ul a {
 height: 1%;
}
/* End Hacks */
