/*

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 */
.menulist, .menulist ul {
	margin: 0;
	padding: 0px;
	width: 188px;
	list-style: none;
	background: #85CC56;
	height: 27px;
	left: 0px;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
 visibility: hidden;
 margin: 0;
 position: absolute;
 padding: 0px;
 width: 188px;
 height: 27px;
 top: 27;
 left: 0px;
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
 position: relative;
 padding: 0px;
 width: 188px;
 height: 27px;
 margin: 0;
}

.menulist li.first {
 background: #85CC56;
 padding: 0px;
 border-top-width: 0px;
 border-right-width: 0px;
 border-bottom-width: 0px;
 border-left-width: 0px;
 margin: 0;
}

.menulist li.second {
 background: #E8F2DC;
 padding: 0px;
 border-top-width: 0px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 1px;
 border-top-style: solid;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: solid;
 border-top-color: #2B409A;
 border-right-color: #2B409A;
 border-bottom-color: #2B409A;
 border-left-color: #2B409A;
 margin: 0;
}

.menulist li.secondorange {
 background: #FEE7C2;
 padding: 0px;
 border-top-width: 0px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 1px;
 border-top-style: solid;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: solid;
 border-top-color: #2B409A;
 border-right-color: #2B409A;
 border-bottom-color: #2B409A;
 border-left-color: #2B409A;
 margin: 0;
}
.menulist li.secondtop {
 background: #E8F2DC;
 padding: 0px;
 border-top-width: 1px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 1px;
 border-top-style: solid;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: solid;
 border-top-color: #2B409A;
 border-right-color: #2B409A;
 border-bottom-color: #2B409A;
 border-left-color: #2B409A;
 margin: 0;
}

/* Links inside the menu */
.menulist a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #2B409A;
	display: block;
	text-decoration: none;
	padding: 0px;
	width: 188px;
	height: 27px;
	font-weight: bold;
	letter-spacing: 1px;
	text-indent: 8px;
	line-height: 27px;
    margin: 0;
}

.menulist a.ffirst {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #2B409A;
	display: block;
	text-decoration: none;
	padding: 0px;
	width: 188px;
	height: 27px;
	font-weight: bold;
	letter-spacing: 0px;
	text-indent: 0px;
	line-height: 0px;
    margin: 0;
}

.menulist a.fsecond, .menulist a.fsecondorange {
	font-size: 10px;
  	padding: 0px;
    margin: 0;
}

/*
 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, .menulist a.highlighted:hover, .menulist a.ffirst.highlighted .menulist a:focus {
 color: #2B409A;
 background-color: #85CC56;
 margin: 0;
 text-decoration: none;
}
.menulist a.fsecond:hover, .menulist a.fsecond.highlighted, a.fsecondtop:hover, .menulist a.fsecondtop.highlighted {
 color: #FFFFFF;
 background-color: #85CC56;
 margin: 0;
 text-decoration: none;
}

.menulist a.fsecondorange:hover {
 color: #FFFFFF;
 background-color: #FF9900;
 margin: 0;
 text-decoration: none;
}

/* IEIEIEIEIEIEIE fix because it doesn't support transparent borders */
* html .menulist, .menulist ul {
	margin: 0;
	padding: 0px;
	width: 188px;
	list-style: none;
	background: #85CC56;
	height: 27px;
}

/* IEIEIEIEIEIEIE Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
* html .menulist ul {
 visibility: hidden;
 position: absolute;
 padding: 0px;
 width: 188px;
 height: 27px;
 top: 27;
}

/* IEIEIEIEIEIEIEAll menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
* html .menulist li {
 position: relative;
 padding: 0px;
 width: 190px;
 height: 27px;
}

* html .menulist li.first {
 background: #85CC56;
 padding: 0px;
 border-top-width: 0px;
 border-right-width: 0px;
 border-bottom-width: 0px;
 border-left-width: 0px;
 margin: 0;
}

* html .menulist li.second {
 background: #E8F2DC;
 padding: 0px;
 height: 28px;
 border-top-width: 0px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 1px;
 border-top-style: solid;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: solid;
 border-top-color: #2B409A;
 border-right-color: #2B409A;
 border-bottom-color: #2B409A;
 border-left-color: #2B409A;
}

* html .menulist li.secondorange {
 background: #FEE7C2;
 padding: 0px;
 height: 28px;
 border-top-width: 0px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 1px;
 border-top-style: solid;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: solid;
 border-top-color: #2B409A;
 border-right-color: #2B409A;
 border-bottom-color: #2B409A;
 border-left-color: #2B409A;
}

* html .menulist li.secondtop {
 background: #E8F2DC;
 padding: 0px;
 height: 29px;
 border-top-width: 1px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 1px;
 border-top-style: solid;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: solid;
 border-top-color: #2B409A;
 border-right-color: #2B409A;
 border-bottom-color: #2B409A;
 border-left-color: #2B409A;
}
* html .menulist a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #2B409A;
	display: block;
	text-decoration: none;
	width: 188px;
	height: 27px;
	font-weight: bold;
	letter-spacing: 1px;
	text-indent: 8px;
	line-height: 25px;

}

* html .menulist a.ffirst {
	font-size: 13px;
	text-indent: 0px;
	padding: 0px 0px 0px 0px;

}

* html .menulist a.fsecond {
	font-size: 10px;
}
* html .menulist a.fsecondorange {
	font-size: 10px;
}

* html .menulist a:hover, .menulist a.highlighted, .menulist a.highlighted:hover, .menulist a.ffirst.highlighted .menulist a:focus {
 color: #2B409A;
 background-color: #85CC56;
 text-decoration: none;
}

* html a.fsecond:hover, .menulist a.fsecond.highlighted, a.fsecondtop:hover, .menulist a.fsecondtop.highlighted {
 color: #FFFFFF;
 background-color: #85CC56;
 text-decoration: none;
 height: 27px;
}

* html a.fsecondorange:hover {
 color: #FFFFFF;
 background-color: #FF9900;
 text-decoration: none;
 height: 27px;
}




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