/*

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 */


ul.menulistb {
	margin: 0;
	padding: 1px 1px 1px 1px;
	border: 0px solid #CC0000;
	font-size: 14px;
	line-height: 24px;
}

ul.menulistb , ul.menulistb  ul {
	width: 210px;
	list-style: none;
	/* opacity:.90;
 filter: alpha(opacity=90);
 -moz-opacity: 0.9;*/
 border: 0px solid #654;	
}


/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
ul.menulistb  li {
 position: relative;
}

/* Links inside the menu */
ul.menulistb  a {
	display: block;
	padding: 4px 4px 3px 18px;
	color: #D29E00;
	text-decoration: none;
	font-weight: normal;
	font-family: Papyrus, "Trebuchet MS", Tahoma, Verdana, Arial;
	font-size: 16px;
	line-height: 24px;
}

/*
 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...
*/
ul.menulistb  a:hover, ul.menulistb a.highlighted:hover, ul.menulistb  a:focus, ul.menulistb  li.current a {
	color: #FFF;
	padding: 4px 4px 3px 18px;
	margin: 0;
	background-image: url(/themes/casa07/images/navBGHov.jpg);
	background-repeat: no-repeat;
	background-position: left;
}

ul.menulistb  li.current ul li a {
}

ul.menulistb  a.highlighted {
	color: #FFF;
	background-color: #333333;
	margin: 0;
}
/* Submenus (<ul> tags) */

ul.menulistb li ul {
	display:none;
}
ul.menulistb  li.current ul{
	display:block;
}
/*submenus*/
ul.menulistb li ul {
	margin: 0;
	padding: 0px;
	top: 0;
	border: 0px solid #654;

}

ul.menulistb li ul li {
}

ul.menulistb li.current ul li a
{
	font-size: 10px;
	padding: 2px 0px 2px 24px;
	text-transform: uppercase;
	color: #003366;
	background-image: url(/themes/casa07/images/navBGsub.jpg);
	background-repeat: repeat-y;
}

ul.menulistb li.current ul li a:hover, ul.menulistb li.current ul li a.highlighted:hover, ul.menulistb li.current ul li a:focus
{
	font-size: 10px;
	padding: 2px 0px 2px 24px;
	text-transform: uppercase;
	color: #FFFFFF;
	background-image: url(/themes/casa07/images/navBGHov.jpg);
	background-repeat: repeat-y;
	text-decoration: none;
}


/*
 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:
    ul.menulistb  a#xyz {
      background-image: url(out.gif);
    }
    ul.menulistb  a#xyz:hover, ul.menulistb  a.highlighted#xyz, ul.menulistb  a:focus {
     background-image: url(over.gif);
    }
*/
/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
ul.menulistb  a .subind {
 float: right;
}

/* IE fix because it doesn't support transparent borders */
* html ul.menulistb  a {
 border: none;
 margin: 1px;
}



/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html ul.menulistb  li {
 float: left;
 height: 1%;
}
* html ul.menulistb  a {
 height: 1%;
}
/* End Hack */
