
/* Settable values for skinning a Basic menu via presets. If presets are not sufficient, most skinning should be done in
	these rules, with the exception of the images used for down or right pointing arrows, which are in the file SpryMenuBasic.css
	
	 These assume the following widget classes for menu layout (set in a preset)
	.MenuBar - Applies to all menubars - default is horizontal bar, all submenus are vertical - 2nd level subs and beyond are pull-right.
	.MenuBarVertical - vertical main bar; all submenus are pull-right.
	
	You can also pass in extra classnames to set your desired top level menu bar layout. Normally, these are set by using a preset. 
	They only apply to horizontal menu bars:
		MenuBarLeftShrink - The menu bar will be horizontally 'shrinkwrapped' to be just large enough to hold its items, and left aligned
		MenuBarRightShrink - Just like MenuBarLeftShrink, but right aligned
		MenuBarFixedLeft - Fixed at a specified width set in the rule '.MenuBarFixedLeft', and left aligned.  
		MenuBarFixedCentered -  - Fixed at a specified width set in the rule '.MenuBarFixedCentered', 
						and centered in its parent container.
		MenuBarFullwidth - Grows to fill its parent container width.
 
	In general, all rules specified in this file are prefixed by #PGMenuBar so they only apply to instances of the widget inserted along
	with the rules. This permits use of multiple MenuBarBasic widgets on the same page with different layouts. Because of IE6 limitations,
	there are a few rules where this was not possible. Those rules are so noted in comments.
	
*/

#PGMenuBar  {
	background-color:#000066;	
	font-family: Tahoma, Geneva, sans-serif; /* Specify fonts on on MenuBar and subMenu MenuItemContainer, so MenuItemContainer,
												MenuItem, and MenuItemLabel
												at a given level all use same definition for ems.
												Note that this means the size is also inherited to child submenus, 
												so use caution in using relative sizes other than
												100% on submenu fonts. */
	font-weight: 600;
	font-size: 16px;
	font-style: normal;
	padding:0;	
	border-color: #ffffff transparent #ffffff #ffffff; 
	border-width:0px;
	border-style: none none solid none;
}
/* Caution: because ID+class selectors do not work properly in IE6, but we want to restrict these rules to just this
widget instance, we have used string-concatenated classnames for our selectors for the layout type of the menubar 
in this section. These have very low specificity, so be careful not to accidentally override them. */

.MenuBar br { /* using just a class so it has same specificity as the ".PGMenuBarFixedCentered br" rule bleow */
	display:none;
}
.PGMenuBarLeftShrink {
	float: left; /* shrink to content, as well as float the MenuBar */
	width: auto;
}
.PGMenuBarRightShrink {
	float: right; /* shrink to content, as well as float the MenuBar */
	width: auto;
}
.PGMenuBarFixedLeft {
	float: left;
	width: 90%;
}
.PGMenuBarFixedCentered {
	float: none;
	width: 90%;
	margin-left:auto;
	margin-right:auto;
}
.PGMenuBarFixedCentered br {
	clear:both;
	display:block;
}
.PGMenuBarFixedCentered .SubMenu br {
	display:none;
}
.PGMenuBarFullwidth {
	float: left;
	width: 100%;
}

/* Top level menubar items - these actually apply to all items, and get overridden for 1st or successive level submenus */
#PGMenuBar  .MenuItemContainer {
	padding: 0px 0px 0px 0px; 
	margin: 0; 	/* Zero out margin  on the item containers. The MenuItem is the active hover area.
				For most items, we have to do top or bottom padding or borders only on the MenuItem 
				or a child so we keep the entire submenu tiled with items.
				Setting this to 0 avoids "dead spots" for hovering. */
}
#PGMenuBar  .MenuItem {
	padding: 0px 24px 0px 40px; 
	background-color:#000066;	
	border-width:1px;
	border-color:  transparent ; 
	border-style: solid none solid none;
}
#PGMenuBar  .MenuItemFirst {
	border-style: solid none solid none;
}
#PGMenuBar .MenuItemLast {
	border-style: solid none solid none;
}

#PGMenuBar  .MenuItem  .MenuItemLabel{
	text-align:center;
	line-height:1.4em;
	color:#ffffff;
	background-color:#000066;
	padding: 6px 15px 6px 39px;
	width: 25%;
	width:auto; 
}
.SpryIsIE6 #PGMenuBar  .MenuItem  .MenuItemLabel{
	width:1em; /* Equivalent to min-width in modern browsers */
}

/* First level submenu items */
#PGMenuBar .SubMenu  .MenuItem {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	font-size: 16px;
	font-style: oblique;
	background-color:#000066;
	padding:0px 2px 0px 0px;
	border-width:1px;
	border-color: #ffffff #ffffff #ffffff #ffffff; 
	/* Border styles are overriden by first and last items */
	border-style: solid solid solid solid;
}
#PGMenuBar  .SubMenu .MenuItemFirst {
	border-style: solid solid solid solid;
}
#PGMenuBar  .SubMenu .MenuItemFirst .MenuItemLabel{
	padding-top: 6px; 
}
#PGMenuBar .SubMenu .MenuItemLast {
	border-style: solid solid solid solid;
}
#PGMenuBar .SubMenu .MenuItemLast .MenuItemLabel{
	padding-bottom: 6px; 
}
#PGMenuBar .SubMenu .MenuItem .MenuItemLabel{
	text-align:center;
	line-height:1em;	
	background-color:#0000cc;
	color:#ffffff;
	padding: 6px 12px 6px 5px; 
	width:auto;
	 
}

/* Hover states for containers, items and labels */
#PGMenuBar .MenuItemHover {

}

#PGMenuBar .MenuItemWithSubMenu.MenuItemHover .MenuItemLabel{
	 /* consider exposing this prop separately*/
	color: #ff6600;
}
#PGMenuBar .MenuItemHover .MenuItemLabel{
	
	color: #ff6600;
}
#PGMenuBar .SubMenu .MenuItemHover {
	 
	 
}

#PGMenuBar .SubMenu .MenuItemHover .MenuItemLabel{

	color: #ff6600;
}
/* Submenu properties -- First level of submenus */
#PGMenuBar .SubMenuVisible {
	background-color: #000066;
	min-width:5%;  /* This keeps the menu from being skinnier than the parent MenuItemContainer - nice to have but not available on ie6 */
	border-color: #ffffff #ffffff #ffffff #ffffff; 
	border-width:1px;
	border-style: solid solid solid solid;
}
#PGMenuBar.MenuBar .SubMenuVisible {/* For Horizontal menubar only */
	top: 100%;	/* 100% is at the bottom of parent menuItemContainer */
	left:5px; /* 'left' may need tuning depending upon borders or padding applied to menubar MenuItemContainer or MenuItem, 
					and your personal taste.
					0px will left align the dropdown with the content area of the MenuItemContainer. Assuming you keep the margins 0 
					on MenuItemContainer and MenuItem on the parent
					menubar, making this equal the sum of the MenuItemContainer & MenuItem padding-left will align 
					the dropdown with the left of the menu item label.*/
	z-index:10;
}
#PGMenuBar.MenuBarVertical .SubMenuVisible {
	top: 0px;	
	left:-100%;
	min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse */
}
/* Submenu properties -- Second level submenu and beyond - these are visible descendents of .MenuLevel1 */
#PGMenuBar .MenuLevel1 .SubMenuVisible {
	background-color: #000066;
	min-width:110px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse*/
	top: 0px;	/* If desired, you can move this down a smidge to separate top item''s submenu from menubar - 
				that is really only needed for submenu on first item of MenuLevel1, or you can make it negative to make submenu more
				vertically 'centered' on its invoking item */
	 left:100%;/* If you want to shift the submenu left to partially cover its invoking item, you can add a margin-left with a 
				negative value to this rule. Alternatively, if you use fixed-width items, you can change this left value
				to use px or ems to get the offset you want. */
}

.SpryIsIE6 #PGMenuBar .MenuBarView .MenuItemWithSubMenuHover .MenuItemLabel /* IE6 selector  */{
	/* consider exposing this prop separately*/
	color: #ff6600;
}
.SpryIsIE6 #PGMenuBar .MenuBarView .SubMenu .MenuItemWithSubMenuHover .MenuItemLabel/* IE6 selector  */{
	 /* consider exposing this prop separately*/
	color: #ff6600;
}
.SpryIsIE6 #PGMenuBar .SubMenu .SubMenu  /* IE6 selector  */{
	margin-left: -0px; /* Compensates for at least part of an IE6 "double padding" version of the "double margin" bug */
	
}
