/*

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!

*/



/* OFFICE-STYLE FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */

/* Wael got on dec 9th */
.menulist li:hover>ul {
 visibility: visible;
}

.menulist, .menulist ul {
	margin: 0;
	padding: 0px;
	width:180px ;/*150px*/
	list-style: none;	
	border-color: White White White White;      /* SAA 20050829 */
	background: #ffffff url(../images/bg.gif) repeat-y left;/*SAA BG for the submenu */
	min-width:160px; /* SAA */
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
	 visibility: hidden;
	 position: absolute;
	 top: 0;
	 left: 180px; /* 150px - wael dec 9th - 237 dec 19*/ 
	 width: 100px; /* 140px - wael dec 9th */
	 /* submenu border WAEL */
	 border: 1px solid #999999;
	 border-color: #999999 #999999 #999999 #999999;
	 background: #ffffff url(../images/bg.gif) repeat-y left;/*WAEL BG for the submenu */
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
	position: relative;
	min-width:160px; /* SAA */
}

/* Links inside the menu */
.menulist a {
	display: block;
	padding: 6px 4px 6px 20px; /*was 30 WAEL#505748*/
	color:#990000 ;
	text-decoration: none;
	border: 0px solid transparent;
	font-family:Verdana;
	font-size:12px;
}
/* IE fix because it doesn't support transparent borders */
* html .menulist a {
	border: none;
	margin: 0px;/*WAEL -was 1 -  for the onmouseover shifting*/
}

/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
 Here, active items are given a border, and a padding tweak to 'elevate' the text within.
 Feel free to use background-image:url(file.gif) instead of background-color:#nnn here...
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	color: #FFF;
	background-color: #bbbbbb;
	padding: 6px 4px 6px 20px; /* 2px 5px 4px 20px; was 29 WAEL /*WAEL - for the onmouseover shifting*/
	/*border: 1px solid #F0F8FF;*//*WAEL - for the onmouseover shifting*/
	margin: 0;
	text-decoration:none;
}
.menulist a.highlighted {
	color: #FFF;
	background-color: #bbbbbb;
	border: 0px solid #F0FFF0;/*WAEL - 1px - for the onmouseover shifting*/
	margin: 0;
}

/*
 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;
	height: 1%;
}
* html .menulist a {
	height: 1%;
}
/* End Hack */
