/*

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!

*/



/* VERTICAL FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
	 margin: 0;
         padding-left:0.9em;
         width: 9.5em;
         list-style: none;
	 
}
* html .menulist, .menulist ul{
	width: 175px;
	padding-left:12px;
}
/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */

.menulist ul {
 visibility: hidden;
 position: absolute;
 background: #4A5F7C;
 border: 1px solid #2F3D50;
 padding: 5px 5px 10px 10px;
 top: 0;
 left: 11em;
 width: 10.5em;
 z-index: 2;
}

/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menulist li {
	position: relative;
	margin-bottom: -1px;
	width: 10em;
}
.menulist ul>li:last-child {
 	margin-bottom: 1px;
}
.menulist ul>li a:hover{
	
	width: 14.5em;
}
/* Links inside the menu */
.menulist a {
 	display: block;
 	padding: 3px;
 	text-decoration: none;
 	coursor: pointer;
 	width: 14.5em;
}

* html .menulist a{
	width: 170px;
}
/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menulist a:link, .menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus{
        color: #FFFFFF;
        text-decoration: none;
        width: 14.5em;
        
}
.menulist a:hover{
	background: #4A5F7C url('/images/clear.gif') repeat-x;
        border-bottom: 1px solid #EEEEEE;
        width: 10.5em;
}
* html .menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus{
	width: 160px;
}



/*
 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);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist a .subind {
  
  float: right;
}

/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist li {
 float: left;
 text-decoration: none;
 width: 100%;
 height: 1%;
 
}

A.sublevel:link{
	color: #FFFFFF;
 	font-family:Verdana,arial,helvetica,sans-serif;
	font-size: 11px;
	font-weight: bold;
}

A.sublevel:visited{
	color: #FFFFFF;
 	font-family:Verdana,arial,helvetica,sans-serif;
	font-size: 11px;
	font-weight: bold;
}

A.mainlevelfs:link{
	font-family:Arial,Verdana,helvetica,sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	padding: 2px 10px 4px 20px;
	font-weight: bold;
	background: url('/images/dot.gif') no-repeat;
	text-transform: UPPERCASE;
}

A.mainlevelfs:visited{
	font-family:Arial,Verdana,helvetica,sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	padding: 2px 10px 4px 20px;
	font-weight: bold;
	background: url('/images/dot.gif') no-repeat;
	text-transform: UPPERCASE;
}

/* End Hack */




