
/* **********************************  *** 
File: Side Menu CSS Projects
Company: Objective Internet
Date: 13/07/05
Version: 1.0
*************************************  **/

/* **********************************  *** 
NOTE: Good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
*************************************  **/

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~ Vertical menu style with capability of per level formatting to 3 levels
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* Overall formatting of <ul> */ 
/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
 margin: 0px;
 padding: 0px;
 width: 150px;
 list-style: none;
 background: #00735E;
}

/* 2nd level <ul> override */
/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: -1px;
 left: 150px;
 width: 150px;
 border-top: 1px solid #FFFFFF;
 border-right: 1px solid #C9CED2;
 border-left: 1px solid #C9CED2;
 background-color: #F4F4F4;
}

/* 3rd level <ul> override */
/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul ul {
 visibility: hidden;
 position: absolute;
 top: -1px;
 left: 150px;
 width: 150px;
 border-top: 1px solid #FFFFFF;
 border-right: 1px solid #C9CED2;
 border-left: 1px solid #C9CED2;
 background-color: #F4F4F4;
}

/* Set position and border for all levels */
/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
 position: relative;
 border-bottom: 1px solid #FFFFFF;
}

/* Set link text properties */
/* Links inside the menu */
.menulist a {
 	display: block;
 	text-decoration: none;
 	font-family:Verdana, Helvetica, sans-serif;
	font-size:x-small;
 	color:#FFFFFF;
 	padding-top:7px;
 	padding-bottom:7px;
 	padding-left:10px;
	padding-right:1px;
}

/* Links inside the sub menu */
.menulist ul li a {
 	display: block;
 	text-decoration: none;
 	font-family:Verdana, Helvetica, sans-serif;
	font-size:x-small;
 	color:#FFFFFF;
 	padding-top:7px;
 	padding-bottom:7px;
 	padding-left:10px;
	padding-right:1px;	
}


/* IE fix because it doesn't support transparent borders */
* html .menulist a {
 border: 0px;
 margin: 0px;
}

/* Set link text mouse over properties */
/*
 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.hig hlighted:hover, .menulist a:focus {
 color: #FFFFFF;
 background-color: #000000;
 padding-top:7px;
 padding-bottom:7px;
 padding-left:10px;
 padding-right:1px;
 margin: 0;
}

.menulist a.highlighted {
 color: #FFFFFF;
 background-color: #000000;
 margin: 0;
}

/* mouse over for sub menus */
.menulist ul li  a:hover, .menulist ul li  a.highlighted:hover, .menulist ul li a:focus {
 	color: #FFFFFF;
 	background: #000000;
 	padding-top:7px;
 	padding-bottom:7px;
	padding-left:10px;
	padding-right:1px;
}

/* force highlight on sub menus */
.menulist ul li a.highlighted {
 color: #FFFFFF;
 background: #000000;
 margin: 0;
}

/* Setting different bg color or image for subsequent levels - id must be added to <li> tags that need it */

/*
 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#sub {
       background-color: #F4F4F4;
    }
    .menulist a#sub:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-color: #E3E2D5;
    }
*/

/*
.menulist a#sub.highlighted {
 color: #000000;
 background-color: #E3E2D5;
 margin: 0;
}
*/

/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist a .subind {
 	float: right;
 	padding-right:2px;
	padding-top:4px;
}

/* 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 */


