/* OFFICE-STYLE FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
	margin: 10px;
	padding: 0px;
	width: 160px;
	list-style: none;
	background: transparent;
	border-top-style: solid;
	border-top-width: 1px;
	border-color: #DDDDBB;
	border-right-style: solid;
	border-right-width: 1px;
	border-left-style: solid;
	border-left-width: 1px;
}



/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 0;
 left: 150;/*Distance of Submenu from the border of the parrent Menu*/
 background-color: #FFFFEE;
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
	position: relative;
	border-bottom: 1px solid #DDDDBE;
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 4px 4px 4px 4px;
 text-decoration: none;
 border: 0px solid transparent;
}

/* IE fix because it doesn't support transparent borders */
* html .menulist a {
 border: .5px solid;
 margin: 1px;
 font-size: 12px;
}

/*
 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: #770000;
 background-color: #DDDDBB;
 padding: 5px 5px 5px 5px;/*align text from all cell walls 2 by richard*/
 margin: 0;
}

.menulist a.highlighted {
 color: #770000;
 background-color: #DDDDBB;
 border: 0px none ;
 
 /*margin: 0;*/
border-top: none;
border-left: none;
border-bottom: none;
border-right: 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:
    .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: 0px;
}
* html .menulist a {
 height: 0px;
}
/* End Hack */
a:hover {
	text-decoration : none;	
} 
/* OFFICE-STYLE FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist {
}
