.menuitem
{
	font-family: arial, helvetica, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	margin: 0 0 0 22px;
	padding: 0;
	text-decoration: none;

	display: -moz-inline-stack; /* Firefox */
	display: inline-block; /* Opera, IE 8*/
	/* IE 6, 7 workaround */
	*zoom: 1;
	*display: inline;
}

.menuitem .wrapper1 /* Wrapper div for Firefox 1, 2 */
{
	margin: 0;
	padding: 0;
}

.menuitem .wrapper2 /* Wrapper div for Firefox 1, 2 */
{
	position: relative;
	margin: 0;
	padding: 6px 24px 6px 24px;
}

.buttonbox .menuitem .wrapper2
{
	padding: 12px;
}

a.whitebox
{
	color: black;
}

a.graybox
{
	color: white;
}

a.menuitem:visited
{
	text-decoration: none;
}

a.menuitem:hover
{
	text-decoration: underline;
}

/* Workaround for Firefox's buggy handling of 'div' nested inside 'a' */

a.menuitem+.wrapper1
{
	display: -moz-inline-stack;
	display: inline-block;

	font-family: arial, helvetica, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	text-decoration: none;
	position: relative;
	margin: 0 0 0 22px;
	padding: 6px 24px 6px 24px;
}

a.graybox+.wrapper1
{
	background: #999;
}

a.whitebox+.wrapper1
{
	background: white;
}

a.bluebutton+.wrapper1
{
	background: #5093df;
}

a.menuitem+.wrapper1>.wrapper2
{
	position: relative;
	margin: 0;
	padding: 0;
	margin-left: -24px;
}

