/*
 * ThemeMDofPC Style Sheet
 * by Ian Reyes and Heng Yuan
 */

.ThemeMDofPCMenu,.ThemeMDofPCSubMenuTable
{
	font-family: Tahoma;
	font-weight: bold;
	font-size: 11px;
	text-decoration:none;
	color: white;
	/* background-color: #ffffff; */
	cursor:		default;
	cursor:		hand !important;
	white-space:	nowrap;
	cursor: pointer !important;
}

.ThemeMDofPCSubMenu
{
	position:	absolute;
	display:	block;
	visibility:	hidden;
	overflow:	hidden;

	border:		1px outset #9C9A9C;
	background-color: transparent;
}

.ThemeMDofPCSubMenuTable
{
	border-collapse:	separate;
	opacity:	0.9;
	filter:Alpha(style=0,opacity=90);
}

.ThemeMDofPCMenuItem,.ThemeMDofPCMenuItemHover,.ThemeMDofPCMenuItemActive
{
	cursor:		default;
	cursor:		hand !important;
	white-space:	nowrap;
	cursor: pointer !important;
}

.ThemeMDofPCMainItem,
.ThemeMDofPCMenuItem
{
	padding:	0;
	border:		0px solid #ffffff;
	padding-left :15px;
	text-decoration:none;
	/*background-color:	#5f5f5f;
	background-image: url(images/tab-bg.gif);*/
}

.ThemeMDofPCMainItemHover,
.ThemeMDofPCMainItemActive
{
	padding:	0;
	padding-left :15px;
	color:#000;
	border:		0px solid #ffffff;
	text-decoration:none;
	/*background-color:	#444444;
	background-image: url(images/tab-bg.gif);*/
}

.ThemeMDofPCMenuItemHover,
.ThemeMDofPCMenuItemActive
{
	padding:	5px;
	border:		1px solid #ffffff;
	background-color:	#aa3300;
	color: #fff;
	border-top:none;
}

/* 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 */

.ThemeMDofPCMainFolderLeft,
.ThemeMDofPCMainItemLeft,
.ThemeMDofPCMainFolderText,
.ThemeMDofPCMainItemText,
.ThemeMDofPCMainItemRight,
.ThemeMDofPCMainFolderRight
{
	border: 0;
	background-color: inherit;
	white-space: nowrap;
}

/* sub menus sub components */

.ThemeMDofPCMenuFolderLeft,
.ThemeMDofPCMenuItemLeft
{
	padding:	3px 0px 3px 3px;
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

.ThemeMDofPCMenuFolderText,
.ThemeMDofPCMenuItemText
{
	padding:	3px 3px 3px 5px;
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

.ThemeMDofPCMenuItemRight,
.ThemeMDofPCMenuFolderRight
{
	padding:	3px 1px 3px 0px;
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

/* hoover and active border */
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuFolderLeft,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuFolderLeft,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuItemLeft,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuItemLeft,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuFolderText,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuFolderText,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuItemText,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuItemText,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuFolderRight,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuFolderRight,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuItemRight,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuItemRight
{
	border-color:	#fff;
}

.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuFolderLeft,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuFolderLeft,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuItemLeft,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuItemLeft
{
	border-width:	1px 0px 1px 1px;
	border-style:	solid;
	padding:	2px 0px 2px 2px;
}

.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuFolderText,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuFolderText,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuItemText,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuItemText
{
	border-width:	1px 0px 1px 0px;
	border-style:	solid;
	padding:	2px 3px 2px 5px;
}

.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuFolderRight,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuFolderRight,
.ThemeMDofPCMenuItemHover .ThemeMDofPCMenuItemRight,
.ThemeMDofPCMenuItemActive .ThemeMDofPCMenuItemRight
{
	border-width:	1px 1px 1px 0px;
	border-style:	solid;
	padding:	2px 0px 2px 0px;
}

td.ThemeMDofPCMenuSplit
{
	padding:	0px;
	margin:		0px;
	height:		5px;
	border:		0px;
	background-color:	inherit;
	overflow:	hidden;
}

div.ThemeMDofPCMenuSplit
{
	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" />
*/

.ThemeMDofPCMenuItem img.seq1
{
	display:	inline;
}

.ThemeMDofPCMenuItemHover seq2,
.ThemeMDofPCMenuItemActive seq2
{
	display:	inline;
}

.ThemeMDofPCMenuItem .seq2,
.ThemeMDofPCMenuItemHover .seq1,
.ThemeMDofPCMenuItemActive .seq1
{
	display:	none;
}

.ThemeMDofPCMainItemText, .ThemeMDofPCMainFolderText {
	text-transform: uppercase;
	text-decoration: underline;
	margin-top: 10px;
}
.ThemeMDofPCMenuItemText {
	font-size: 11px;
	line-height: 20px;
	font-weight: normal;
}
.ThemeMDofPCMenuItem {
	background: none;
	background-color: #1b397a;
	color: #fff;
	border-bottom: 1px solid #ffffff;
}

.ThemeMDofPCMenuFolderText,
.ThemeMDofPCMenuItemText
{
	font-weight: normal;
	line-height: 20px;
}
