/*
 * ThemeGray Style Sheet
 * by Miguel Angel Sosa Hdz, mashter.com
 * original: Ian Reyes and Heng Yuan
 */

.fotostyleMenu,.fotostyleSubMenuTable
{
	font-family: Tahoma;
	font-weight: bold;
	font-size: 11px;

	color: Black;
	background-color:	transparent;
	width: 100%;
	height: 22px;
	vertical-align: middle;
	text-align: center;
	cursor:		default;
	cursor:		hand !important;
	white-space:	nowrap;
}

.fotostyleSubMenu
{
	position:	absolute;
	display:	block;
	visibility:	hidden;
	overflow:	hidden;
	width: auto !important;
	min-width: 150px !important;
	max-width: 300px !important;
	text-align: left;
	border: 1px solid #9C9A9C;
	padding: 5px;
	background-color: #EEEFF2;
}

.fotostyleSubMenuTable
{
	border-collapse:	separate;
	opacity:	0.9;
	filter:Alpha(style=0,opacity=90);
	width: 300px !important;
	min-width: 300px !important;
	max-width: 350px !important;

}

.fotostyleMenuItem,.fotostyleMenuItemHover,.fotostyleMenuItemActive
{
	cursor:		default;
	cursor:		hand !important;
	white-space:	nowrap;
	width: auto !important;
	min-width: 150px !important;
	max-width: 200px !important;


}

.fotostyleMainItem,
.fotostyleMenuItem
{
	padding:	4px 10px 4px 10px;

	border:		0px solid #ffffff;
	background-color:	transparent;
}

.fotostyleMainItemHover,
.fotostyleMainItemActive
{
	padding:	4px 10px 4px 10px;
	text-decoration: underline;
	border:		0px solid #FFFFFF;
	background-color:	#DADDE0;
	color: Black;
	height: 20px;	
}

.fotostyleMenuItemHover,
.fotostyleMenuItemActive
{
	text-decoration: underline;
	padding:	5px;
	border:		1px solid #ffffff;
	background-color:	#B9DDFF;
	height: 20px;
}

/* 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 */

.fotostyleMainFolderLeft,
.fotostyleMainItemLeft,
.fotostyleMainFolderText,
.fotostyleMainItemText,
.fotostyleMainItemRight,
.fotostyleMainFolderRight
{
	border: 0;
	background-color: inherit;
	white-space: nowrap;
}

/* sub menus sub components */

.fotostyleMenuFolderLeft,
.fotostyleMenuItemLeft
{
	padding:	3px 0px 3px 3px;
	border:		0;
	white-space:	nowrap;

}

.fotostyleMenuFolderText,
.fotostyleMenuItemText
{
	padding:	3px 3px 3px 5px;
	text-align: center;
	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
	text-align: center;
}

.fotostyleMenuItemRight,
.fotostyleMenuFolderRight
{
	padding:	3px 1px 3px 0px;

	border:		0;
	white-space:	nowrap;
	background-color:	inherit;
}

/* hoover and active border */
. .fotostyleMenuFolderLeft,
.fotostyleMenuItemActive .fotostyleMenuFolderLeft,
.fotostyleMenuItemHover .fotostyleMenuItemLeft,
.fotostyleMenuItemActive .fotostyleMenuItemLeft,
.fotostyleMenuItemHover .fotostyleMenuFolderText,
.fotostyleMenuItemActive .fotostyleMenuFolderText,
.fotostyleMenuItemHover .fotostyleMenuItemText,
.fotostyleMenuItemActive .fotostyleMenuItemText,
.fotostyleMenuItemHover .fotostyleMenuFolderRight,
.fotostyleMenuItemActive .fotostyleMenuFolderRight,
.fotostyleMenuItemHover .fotostyleMenuItemRight,
.fotostyleMenuItemActive .fotostyleMenuItemRight
{
	text-decoration: underline;
	border-color:	#9C9A9C;
	text-align: center;
	
}

.fotostyleMenuItemHover .fotostyleMenuFolderLeft,
.fotostyleMenuItemActive .fotostyleMenuFolderLeft,
.fotostyleMenuItemHover .fotostyleMenuItemLeft,
.fotostyleMenuItemActive .fotostyleMenuItemLeft
{
	border-width:	0px;
	border-style:	solid;
	padding:	2px 0px 2px 2px;
}

.fotostyleMenuItemHover .fotostyleMenuFolderText,
.fotostyleMenuItemActive .fotostyleMenuFolderText,
.fotostyleMenuItemHover .fotostyleMenuItemText,
.fotostyleMenuItemActive .fotostyleMenuItemText
{
	text-decoration: underline;
	border-width:	0px;
	border-color: #9C9A9C;
	border-style:	solid;
	padding: 1px;
/*	padding:	2px 3px 2px 5px;*/

}

.fotostyleMenuItemHover .fotostyleMenuFolderRight,
.fotostyleMenuItemActive .fotostyleMenuFolderRight,
.fotostyleMenuItemHover .fotostyleMenuItemRight,
.fotostyleMenuItemActive .fotostyleMenuItemRight
{
	border-width:	0px 0px 0px 0px;
	border-style:	solid;
	padding:	2px 0px 2px 0px;
}

td.fotostyleMenuSplit
{
	padding:	0px;
	margin:		0px;
	height:		5px;
	border:		0px;
	background-color:	inherit;
	overflow:	hidden;
}

div.fotostyleMenuSplit
{
	margin: 2px;
	height: 1px;
	overflow: hidden;
	background-color: inherit;
	border-top: 0px 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" />
*/

.fotostyleMenuItem img.seq1
{
	display:	inline;
}

.fotostyleMenuItemHover seq2,
.fotostyleMenuItemActive seq2
{
	text-decoration: underline;
	display:	inline;
}

.fotostyleMenuItem .seq2,
.fotostyleMenuItemHover .seq1,
.fotostyleMenuItemActive .seq1
{
	text-decoration: underline;
	display:	none;
}
