/*
 * ThemeGray Style Sheet
 * by Ian Reyes and Heng Yuan
 */

.ThemeGrayMenu,.ThemeGraySubMenuTable
{
	font-family: Arial;
	font-size: 12px;
	color: #00788A;

	cursor:		pointer;
	cursor:		hand !important;
	white-space:	nowrap;
}

.ThemeGraySubMenu
{
	position:	absolute;
	display:	block;
	visibility:	hidden;
	overflow:	hidden;

	border:		1px outset #9C9A9C;
	background-color: transparent;
}

.ThemeGraySubMenuTable
{
	border-collapse:	separate;
	opacity:	0.9;
	filter:Alpha(style=0,opacity=90);
	text-align: center;
}

.ThemeGrayMenuItem,.ThemeGrayMenuItemHover,.ThemeGrayMenuItemActive
{
	cursor:		pointer;
	cursor:		hand !important;
	white-space:	nowrap;
}

/* styles for main items and sub-items */
.ThemeGrayMainItem
{
	padding:	2px;
	font-size: 14px;
	border:		0px;
	/* border: 1px solid red; */
}
                    
.ThemeGrayMainItemHover
{
	padding:	2px;
	font-size: 14px;
	border:		0px;
	background-color: #ffffcc;
}

.ThemeGrayMainItemActive
{
	padding:	2px;
	font-size: 14px;
	border:		0px;
	background-color:#ffffcc;
}

.ThemeGrayMenuItem
{
	padding:	3px;
	color: #00788A;
	border:		1px solid #ffffff;
	background-color:	#ffffcc;
}

.ThemeGrayMenuItemHover,
.ThemeGrayMenuItemActive
{
	padding:	3px;
	border:		1px solid #ffffff;
	background-color:#ffff99;
}

/* horizontal main menu sub components */
/* panel doesn't really support horizontal menus */
/* there are simpler approaches, but the setting here allows me to
   set a background image for the menu without lines all over it */

/* sub menus sub components */

.ThemeGrayMenuItemLeft
{
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

.ThemeGrayMenuItemText
{
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

.ThemeGrayMenuItemRight
{
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

td.ThemeGrayMenuSplit
{
	padding:	0px;
	margin:		0px;
	height:		5px;
	border:		0px;
	background-color:	inherit;
	overflow:	hidden;
}

div.ThemeGrayMenuSplit
{
	margin: 2px;
	height: 1px;
	overflow: hidden;
	background-color: inherit;
	border-top: 1px solid #9C9A9C;
}

/* image shadow animation */

/*
	seq1:	image for normal
	seq2:	image for hover and active

	To use, in the icon field, input the following:
	<img class="seq1" src="normal.gif" /><img class="seq2" src="hover.gif" />
*/

.ThemeGrayMenuItem img.seq1
{
	display:	inline;
}

.ThemeGrayMenuItemHover seq2,
.ThemeGrayMenuItemActive seq2
{
	display:	inline;
}

.ThemeGrayMenuItem .seq2,
.ThemeGrayMenuItemHover .seq1,
.ThemeGrayMenuItemActive .seq1
{
	display:	none;
}
