/*
 * ThemeGray Style Sheet
 * by Ian Reyes and Heng Yuan
 */
.ThemeGrayMenu
{
	margin-top:20px;
}
.ThemeGrayMenu,.ThemeGraySubMenuTable
{
	font-family: Arial;
	font-weight: bold;
	font-size: 12px;
	color: white;
	cursor:		hand !important;
	cursor: pointer;
	white-space:	nowrap;
	/*text-transform:uppercase;*/
	text-decoration:none;
	text-align:center;
}

.ThemeGraySubMenu
{
	position:	absolute;
	display:	block;
	visibility:	hidden;
	overflow:	hidden;

	/*border:		1px outset #9C9A9C;*/
	border:none;
}

.ThemeGraySubMenuTable
{
	border-collapse:	separate;
	opacity:	1;
	filter:Alpha(style=0,opacity=100);
	width:auto;
}

.ThemeGraySubMenuTable td.ThemeGrayMenuItem
{
	width:auto;
	font-size:11px;
	text-align:left;
	border:none;
	background-image:none;
	height:auto;
}

#menu_table tr td.ThemeGrayMenuItemLeft,#menu_table tr td.ThemeGrayMenuItemText,#menu_table tr td.ThemeGrayMenuItemRight
{
	background-image:none;
	text-align:left;
	padding-left:2px;
	font-size:11px;
	text-transform:none;
	font-weight:0.5;
	padding:3px;
	vertical-align:middle;
}

#menu_table tr td.ThemeGrayMenuItemRight
{
	display:none;
}

.ThemeGrayMenuItem,.ThemeGrayMenuItemHover,.ThemeGrayMenuItemActive
{
	cursor:		hand !important;
	white-space:	nowrap;
	text-align:center;
	vertical-align:middle;
}

.ThemeGrayMainItem
{
	height:40px;
}
.ThemeGrayMainItem,.ThemeGrayMenuItem
{
	border:		0px solid #ffffff;
	/*background-color:	#0092d6;*/
}

.ThemeGrayMainItemHover,
{
	border:		0px solid #ffffff;
	background-color:	#444444;
}

.ThemeGrayMenuItemHover,
.ThemeGrayMenuItemActive
{
	
	/*border:		1px solid #ffffff;*/
	background-color:	#31a7de;
	text-align:center;
	vertical-align:middle;
}

/*#menu_table tr td#myMenuID .ThemeGrayMenuItemHover,*/
#menu_table tr td.ThemeGrayMainItemHover
{
	/*text-decoration:underline;*/
	background-color: #31a7de;
	text-align:center;
	vertical-align:middle;
	background-image:url('/img/devider_menu_1x30.gif');
	background-repeat:no-repeat;

}
/* 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 */

.ThemeGrayMainFolderLeft,
.ThemeGrayMainItemLeft,
.ThemeGrayMainFolderText,
.ThemeGrayMainItemText,
.ThemeGrayMainItemRight,
.ThemeGrayMainFolderRight
{
	border: 0;
	white-space: nowrap;
}

.ThemeGrayMainFolderText,
.ThemeGrayMainItemText
{
	background:transparent url("/img/button_bg2_3x3.gif") repeat;
	color:white;
	height:40px;
	padding:12px 25px;
}

/* sub menus sub components */

.ThemeGrayMenuFolderLeft,
.ThemeGrayMenuItemLeft
{
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

.ThemeGrayMenuFolderText,
.ThemeGrayMenuItemText
{
	background-image:none;
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

.ThemeGrayMenuItemRight,
.ThemeGrayMenuFolderRight
{
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

/* hoover and active border */
td.ThemeGrayMenuSplit
{
	padding:	0px;
	margin:		0px;
	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;
}

