/* HORIZONTAL FREESTYLE MENU LAYOUT */

#menuAdmin {
	margin: 0 auto;
	width: 500px;
	background: #fff;
	font-size: 10px;
	text-align: center;
}

#menuAdmin ul.menulist {
	margin: 0 auto;
	display: table;
	text-align: center;
}

.menulistAdmin li, .menulistAdmin a {
	width: 100px;
}

/* All <ul> tags in the menu including the first level */
.menulistAdmin, .menulistAdmin  ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
#menuAdmin .menulistAdmin ul {
	display: none;
	position: absolute;
	top: 1.5em; margin-top: 10px; /* I'm using ems and px to allow people to zoom their font */
	left: 0px;
	text-align: center;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulistAdmin ul ul {
	top: -1px;
	margin-top: 0;
	left: 148px;
	width: 150px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulistAdmin li {
	float: left;
	display: block;
	position: relative;
	margin: 0;
	margin-right: -1px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulistAdmin ul li {
	float: left;
	margin-right: 0;
	margin-bottom: -1px;
}
/*
.menulistAdmin ul>li:last-child {
	margin-bottom: 1px; /* Mozilla fix */
/*}*/

/* Links inside the menu */
#menuAdmin .menulistAdmin a {
	display: block;
	margin: 0 0 0 1px;
	padding: 2px 0px;
	width: 100px;
	color: #000;
	font-size: 1.5em;
	font-weight: bold;
	text-decoration:  none;
	text-align: center;
	background-color: #f2f2f2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

#menuAdmin .menulistAdmin li ul a {
	width: 150px;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
#menuAdmin .menulistAdmin a:hover, #menuAdmin .menulistAdmin a.highlighted:hover, #menuAdmin .menulistAdmin a:focus {
	color: #000;
	background: #d2d2d2;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
}
#menuAdmin .menulistAdmin a.highlighted {
	color: #000;
	background: #d2d2d2;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
}

/*
 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:
.menulistAdmin a#xyz {
	background-image: url(out.gif);
}
.menulistAdmin a#xyz:hover, .menulistAdmin a.highlighted#xyz, .menulistAdmin a:focus {
	background-image: url(over.gif);
}
*/

/* Only style submenu indicators within submenus. */
.menulistAdmin a .subind {
	display: none;
}
.menulistAdmin ul a .subind {
	display: block;
	padding-right: 10px;
	float: right;
	font-weight: normal;
	background: #b2b2b2;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulistAdmin a {
	float: left;
}
.menulistAdmin ul a {
	float: none;
}
/* \*/
.menulistAdmin a {
	float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*+html .menulistAdmin ul li {
	float: left;
	height: 1%;
}
*+html .menulistAdmin ul a {
	height: 1%;
}
* html .menulistAdmin ul li {
	float: left;
	height: 1%;
}

* html .menulistAdmin ul a {
	height: 1%;
}
/* End Hacks */