/*
 * ThemeGray Style Sheet
 * by Ian Reyes and Heng Yuan
 */

.ThemeGrayMenu,.ThemeGraySubMenuTable
{
	font-family: Arial;
	font-weight: normal;
	font-size: 12px;
	color: #ffffff;

	cursor:		default;
	cursor:		hand !important;
	white-space: nowrap;
     /*margin-top: 5px;*/
	margin: 0;
	padding: 0;
}

/* Change the top margin back to 0px for the ThemeGraySubMenuTable */
.ThemeGraySubMenuTable
{
     margin-top: 0px;
}

.ThemeGraySubMenu
{
	position:absolute;
	display:block;
	visibility:hidden;
	overflow:hidden;
	/*border: 1px outset White;
	background-color: transparent;*/
     border: 1px outset #166074;
     background-color: #88B0BF;
	width: 165px;
}

.ThemeGraySubMenuTable
{
	border-collapse:	separate;
	opacity:	0.9;
	filter:Alpha(style=0,opacity=90);
	width: 100%;
}

.ThemeGrayMenu {
	width: 165px;
}

.ThemeGrayMenuItem,.ThemeGrayMenuItemHover,.ThemeGrayMenuItemActive
{
	cursor:		default;
	cursor:		hand !important;
	white-space:	nowrap;
}

.ThemeGrayMainItem {
     /*border:0px solid #ffffff;
     background-color: #417794;*/
     background-color: transparent;
}

.ThemeGrayMenuItem
{
	/*border:0px solid #ffffff;
	background-color: #417794;*/
     border: 1px solid #166074;
     background-color: transparent; 
}

.ThemeGrayMainItemHover {
    /*border: 1px solid #166074;*/
    background-color: transparent;
}

.ThemeGrayMainItemActive
{
	border:0px solid #ffffff;
	/*background-color: #6495ED;
     background-color: #166074;*/
}

.ThemeGrayMenuItemHover,
.ThemeGrayMenuItemActive
{
	/*border:1px solid #ffffff;
	background-color: #6495ED;*/
     border: 1px solid #88B0BF;
     background-color: #166074;
}

/* 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
{
	padding:0px;
	margin:0px;
}

/* sub menus sub components */

.ThemeGrayMenuFolderLeft,
.ThemeGrayMenuItemLeft
{
	padding:0px;
	margin:0px;
}

.ThemeGrayMenuItemText, .ThemeGrayMainItemText, .ThemeGrayMainFolderText, .ThemeGrayMenuFolderText
{
	padding:	3px 3px 3px 5px;
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

/* 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;
}
