/* ------- Menu Cascading Style Sheets ------- */



/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want. All you have to do is ensure the script
has the correct CSS property name (like 'visibility' or 'display') that you want it to change.

One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
Consult your favourite CSS reference for editing fonts/borders/etc.

Otherwise, even if you're not very experienced at CSS, you can just go through and change
the #RGB border/background colours where suitable to customise for your site!

*/




/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul,
.leftmenu, .leftmenu ul {
 margin: 0;
 padding: 0;
 list-style: none;
}
.leftmenu, .leftmenu ul{
	width:170px;
	position:relative;
}
.menulist, .menulist  ul {
 float:right;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 1.9em; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 160px;
 border:#00A5AB solid 1px;
 border-bottom:none;
}
.menulist ul.end{
 width: 100px;
}
.leftmenu ul{
 visibility: hidden;
 position: absolute;
 top:22px; /* I'm using ems rather than px to allow people to zoom their font */
 left:9px;/*left:170px;*/
 width: 160px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul,
.leftmenu ul ul {
 top: 0px;
 left: 160px;
}
.menulist li ul {
 background-color:#fff;
}
.menulist li ul ul {
 background-color:#38c4ff;
}
.leftmenu li ul {
 background-color:#Fff;
 border:#00A5AB solid 1px;
 border-bottom:none;
}
/*.leftmenu li ul ul {
 background-color:#38c4ff;
}*/

/*
 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.
*/
.menulist li{
	float: left;
	position: relative;
	margin-right: -1px;
 	border-bottom:#00A5AB solid 1px;
}
.leftmenu ul{	
	z-index:10;
}
.leftmenu li{
	position: relative;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li,
.leftmenu ul li {
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
}
.menulist ul>li:last-child {
}

/* Links inside the menu */
.menulist a:link,
.menulist a:visited {
 font-weight:bold;
 display: block;
 color:#ffffff;
 font-size:12px;
 text-align:left;
 padding:0px 16px;
 text-decoration:none;
 background:url(../images/v_space.gif) right no-repeat;
}
.menulist a.right:link,
.menulist a.right:visited {
 background: none;
 padding-right:30px;
}

.menulist li li a:link,
.menulist li li a:visited {
 color:#00A5AB;
 font-size:11px;
 text-decoration: none;
 font-weight: normal;
 text-transform:none;
 border-right:none;
 padding:3px 0px;
 padding-left:10px;
 background:none;
}

.leftmenu li{
 padding:5px 0px;
 background: url(../images/mn_dash.gif) left bottom repeat-x;
}
.leftmenu li.end{
 background:none;
}
.leftmenu li li{
 margin:0px;
 padding:0px;
 background:none;
 border-bottom:#00A5AB solid 1px;
}

.leftmenu li a:link,
.leftmenu li a:visited {
 font-weight:bold;
 display:block;
 color:#ffffff;
 font-size:12px;
 text-decoration:none;
}

.leftmenu li li a:link,
.leftmenu li li a:visited {
 font-size:11px;
 color:#00A5AB;
 display:block;
 padding:2px 0px;
 padding-left:8px;
 text-decoration: none;
 font-weight: normal;
 text-transform:none;
 border-right:none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover/*, .menulist a.highlighted:hover, .menulist a:focus */{	
	color:#ff972a;
	text-decoration:none;
}

.menulist li li a:hover/*, .menulist li li a.highlighted:hover, .menulist li li a:focus */{
	background-color:#07B1D2;
	color:#fff;
}
.menulist li li ul a:hover/*, .menulist li li a.highlighted:hover, .menulist li li a:focus */{
	background-color:#f1c683;
	color:#646464;
}
.leftmenu li a:hover{	
	color:#ff972a;
	text-decoration:none;
}

.leftmenu li li a:hover/*, .menulist li li a.highlighted:hover, .menulist li li a:focus */{
	background-color:#07B1D2;
	color:#fff;
}

/*.menulist  a.highlighted {
 color: #FF9C00;
 background-color: #FFffff;
}
.menulist li li a.highlighted {
 color: #646464;
 background-color: #FFF;
}*/

/*
 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:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind,
.leftmenu a.subind {
 display:  none;
}
.menulist ul a .subind,
.leftmenu a.subind{
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a,
.leftmenu a {
 float: left;
}
.menulist ul a,
.leftmenu ul a  {
 float: none;
}
/* \*/
.menulist a,
.leftmenu a  {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li,
* html .leftmenu  ul li {
 float: left;
 height: 1%;
}
* html .leftmenu ul{	
	z-index:10;
}
* html .menulist  ul a,
* html .leftmenu  ul a {
 height: 1%; 
}
/* End Hack */

