/*
 * themeMain Style Sheet
 * by Ian Reyes and Heng Yuan
 */

.themeMainMenu
{
	font-family: Arial, Verdana, sans-serif;
	font-size:	13px;
	font-weight: bold;
	
	color: #666666;
	background-color: #ffffff;
	
	cursor: pointer; cursor: hand;
	white-space:	nowrap;
	margin-left: 7px;
}

.themeMainSubMenuTable
{
	font-family: Arial, Verdana, sans-serif;
	font-size: 11px;

	color: #323232;
	background-color: #ffffff;

	cursor: pointer; cursor: hand;
	white-space:	nowrap;
}

.themeMainSubMenu
{
	position:	absolute;
	display:	block;
	visibility:	hidden;
	overflow:	hidden;
	border-top: 3px solid #fe9900;
	margin-top: 0px;
}

.themeMainSubMenuTable
{
	border-collapse:	separate;
	border-top: 3px solid #707175;
}

.themeMainMenuItem,.themeMainMenuItemHover,.themeMainMenuItemActive
{
	cursor: pointer; cursor: hand;
	white-space:	nowrap;
}

.themeMainMainItem
{
	padding:	1px 10px 4px 0px;
	border:		0px solid red;
	background-color:	#ffffff;
}

.themeMainMenuItem
{
	padding:	4px 0px 4px 10px;
	border:		0px solid #ffffff;
	background-color:	#a9a9a9;
}

.themeMainMainItemHover,
.themeMainMainItemActive
{
	padding:	1px 10px 4px 0px;
	color: #da8d01;
	border:		0px solid red;
}

.themeMainMenuItemHover,
.themeMainMenuItemActive
{
	padding:	4px 0px 4px 10px;
	border:		0px solid #ffffff;
	background-color:	#a9a9a9;
	color: #FFFFFF;
}

/* 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 */

.themeMainMainFolderLeft,
.themeMainMainItemLeft,
.themeMainMainFolderText,
.themeMainMainItemText,
.themeMainMainItemRight,
.themeMainMainFolderRight
{
	border: 0;
	background-color: inherit;
	white-space: nowrap;
}

/* sub menus sub components */

.themeMainMenuFolderLeft,
.themeMainMenuItemLeft
{
	padding:	0px;
	
	border-bottom: 1px solid #d4d4d6;
	white-space:	nowrap;
	background-color:	inherit;
}

.themeMainMenuFolderText,
.themeMainMenuItemText
{
	padding:	3px 15px 3px 15px;

	border-bottom: 1px solid #d4d4d6;
	white-space:	nowrap;
	background-color:	inherit;
}

.themeMainMenuItemRight,
.themeMainMenuFolderRight
{
	padding:	0px;

	border-bottom: 1px solid #d4d4d6;
	white-space:	nowrap;
	background-color:	inherit;
}

/* hoover and active border */
/*
.themeMainMenuItemHover .themeMainMenuFolderLeft,
.themeMainMenuItemActive .themeMainMenuFolderLeft,
.themeMainMenuItemHover .themeMainMenuItemLeft,
.themeMainMenuItemActive .themeMainMenuItemLeft,
.themeMainMenuItemHover .themeMainMenuFolderText,
.themeMainMenuItemActive .themeMainMenuFolderText,
.themeMainMenuItemHover .themeMainMenuItemText,
.themeMainMenuItemActive .themeMainMenuItemText,
.themeMainMenuItemHover .themeMainMenuFolderRight,
.themeMainMenuItemActive .themeMainMenuFolderRight,
.themeMainMenuItemHover .themeMainMenuItemRight,
.themeMainMenuItemActive .themeMainMenuItemRight
{
	border-color:	#a9a9a9;
	border-bottom-color: #FF0000;
}

.themeMainMenuItemHover .themeMainMenuFolderLeft,
.themeMainMenuItemActive .themeMainMenuFolderLeft,
.themeMainMenuItemHover .themeMainMenuItemLeft,
.themeMainMenuItemActive .themeMainMenuItemLeft
{
	border-width:	1px 0px 1px 1px;
	border-style:	solid;
	padding:	2px 0px 2px 2px;
}

.themeMainMenuItemHover .themeMainMenuFolderText,
.themeMainMenuItemActive .themeMainMenuFolderText,
.themeMainMenuItemHover .themeMainMenuItemText,
.themeMainMenuItemActive .themeMainMenuItemText
{
	border-width:	1px 0px 1px 0px;
	border-style:	solid;
	padding:	2px 3px 2px 5px;
}

.themeMainMenuItemHover .themeMainMenuFolderRight,
.themeMainMenuItemActive .themeMainMenuFolderRight,
.themeMainMenuItemHover .themeMainMenuItemRight,
.themeMainMenuItemActive .themeMainMenuItemRight
{
	border-width:	1px 1px 1px 0px;
	border-style:	solid;
	padding:	2px 0px 2px 0px;
}*/

td.themeMainMenuSplit
{
	padding:	0px;
	margin:		0px;
	height:		5px;
	border:		0px;
	background-color:	inherit;
	overflow:	hidden;
}

div.themeMainMenuSplit
{
	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" />
*/

.themeMainMenuItem img.seq1
{
	display:	inline;
}

.themeMainMenuItemHover seq2,
.themeMainMenuItemActive seq2
{
	display:	inline;
}

.themeMainMenuItem .seq2,
.themeMainMenuItemHover .seq1,
.themeMainMenuItemActive .seq1
{
	display:	none;
}

