/* CSS Document */

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
#menu_container {
	position:relative;
	width:1000px; /* overall menu width */
	height:25px; /* overall menu height */
	margin: 4px 1px;
	z-index:900; /* forward index so that menus appear above other items on the page */
/*	top: 1px;
	color:#FC0;  button text color */
}

/* Get rid of the margin, padding and bullets in the unordered lists */
#pmenu, #pmenu ul {padding:0; margin:0; list-style-type: none;}

/* Set up the button size, color and borders */
#pmenu a, #pmenu a:visited {
	display:block;
	width:166px; /* individual button width */
	height:25px; /* button height */
	font-family: Arial, Helvetica, sans-serif; /* button font */
	font-size:11px; /* button text size */
	color:#FFF; /* button text color */
	line-height:25px; /* text line height */
	text-decoration:none;
	text-indent:5px;
	background-color: #891225;  /* button background color from left panel */
	font-weight: bold;
}

#pmenu a:hover {
	display:block;
	color: #FFF;
	background-color: #333;  /* cpk changed from bkgrnd image to-light green  */
}

/* Set up the sub level borders */
#pmenu li ul li a, #pmenu li ul li a:visited {
	width:auto; /* set drop-down menu to same width as background */
	z-index: 399;	/* border-style: solid; */
}

#pmenu li ul li a:hover {
	width:auto; /* set drop-down menu to same width as background */
	/* border-style: solid; */
}

/* #pmenu li a.enclose, #pmenu li a.enclose:visited {border-width:1px;} */

/* Set up the list items */
#pmenu li {
	float:left;
	text-align: center;
	/* background-color: #1A3A67; */
}

#pmenu li ul li {
	float:left;
	text-align:left;
	/* background-color: #1A3A67; */
	text-indent: 20px;
}

/* For Non-IE browsers and IE7 */
#pmenu li:hover {
	position:relative;
	background-color: #FFF;  /* white for Poorvu */
}
/* Make the hovered list color persist */
#pmenu li:hover > a {
	/* background:#1A3A67; /* button background color */
	color:#FFF; /* button text hover color --- cpk changed to white for poorvu*/
}

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#pmenu li ul {
	display:none;
}
/* For Non-IE and IE7 make the sub-menus visible on list hover. This is all it needs */
#pmenu li:hover > ul {
	display:block; 
	position:absolute; 
	top:-5px; /* position of sub-drop-down menu relative to the top of a drop-down menu item */
	left:150px; /* position of a sub-drop-down relative to the left edge of a drop-down menu item */
	padding:5px 5px 5px 5px; /* padding around menus and sub-menus */
}

/* Position a menu beneath a button */
#pmenu > li:hover > ul {
	left:-5px; /* position of drop-down relative to the button left edge (must account for left padding on the menu) */
	top:20px; /* position of the drop-down relative to the top of the button */
}

/* Get rid of the table */
#pmenu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:400; font-size:1em;}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #pmenu li a:hover {
	position:relative;
	color:#FF0000;  /*  Cliff changed this to red for IE6 only */
}

/* For accessibility of the top level menu when tabbing */
#pmenu li a:active, #pmenu li a:focus {
	color:#FF0; /* color for last item selected Cliff changed to yellow for Poorvu*/	
	/* background-color: #1A3A67; */
}

/* Set up the sub level menu width */
#pmenu li ul li.narrow {
	width:175px;
}

#pmenu li ul li.medium {
	width:225px;
}

#pmenu li ul li.wide {
	width:275px;
}

#pmenu li ul li.extra-wide {
	width:325px;
}

/* Set up the fly-out menu width */
#pmenu li.fly-right-narrow {
	background: center;
	/* background-color: #1A3A67;
	background-image: url(../Nav/fly_right.gif); */
	background-repeat: no-repeat;
	background-position: right;
	width:175px;
}

#pmenu li.fly-left-narrow {
	background: center;
	/* background-color: #1A3A67;
	background-image: url(../Nav/fly_right.gif); */
	background-repeat: no-repeat;
	background-position: left;
	width:175px;
}

#pmenu li.fly-right-medium {
	background: center;
	/* background-color: #1A3A67;
	background-image: url(../Nav/fly_right.gif); */
	background-repeat: no-repeat;
	background-position: right;
	width:225px;
}

#pmenu li.fly-right-wide {
	background: center;
	/* background-color: #1A3A67;
	background-image: url(../Nav/fly_right.gif); */
	background-repeat: no-repeat;
	background-position: right;
	width:275px;
}

#pmenu li.drop {
	/* background-image: url(drop.gif); */
	background-repeat: no-repeat;
	background-position: right;
}

/* Set up the fly-out menu arrows */
#pmenu li ul li.fly-right-narrow span.right {
	background-image:url(../Nav/fly_right.gif);
	background-repeat: no-repeat;
}

#pmenu li ul li.fly-left-narrow span.left {
	background-image:url(../Nav/fly_left.gif);
	background-repeat: no-repeat;
}

#pmenu li ul li.fly-right-medium span.right {
	background-image:url(../Nav/fly_right.gif);
	background-repeat: no-repeat;
}

#pmenu li ul li.fly-right-wide span.right {
	background-image:url(../Nav/fly_right.gif);
	background-repeat: no-repeat;
}

/**************************************************************************************/
/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */
/**************************************************************************************/

/* change the drop down levels from display:none; to visibility:hidden; */
* html #pmenu li ul {
	visibility:hidden;
	display:block;
	position:absolute;
	top:-5px; /* position of sub-drop-down menu relative to the top of a drop-down menu item */
	left:150px; /* position of a sub-drop-down relative to the left edge of a drop-down menu item */
	padding:5px 5px 5px 5px; /* padding around menus and sub-menus */
}

/* keep the third level+ hidden when you hover on first level link */
#pmenu li a:hover ul ul{
	visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
#pmenu li a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
#pmenu li a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the sixth level hidden when you hover on fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul ul {
visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
#pmenu li a:hover ul {
	visibility:visible; 
	left:-5px; /* position of drop-down relative to the button (must account for left padding on the menu) */
	top:20px; /* position of the drop-down relative to the top of the button (must account for top padding on the menu) */
	lef\t:-5px; 
	to\p:20px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
#pmenu li a:hover ul a:hover ul{ 
	visibility:visible; 
	top:-5px;  /* position of sub-drop-down menu relative to the top of a drop-down menu item (must account for top padding on the menu) */
	left:150px; /* position of a sub-drop-down relative to the left edge of a drop-down menu item */
}

/* make the fourth level visible when you hover over third level link */
#pmenu li a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the sixth level visible when you hover over fifth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* ==========================================================================
   Media Queries for Responsive Design -- Common resolutions include:
  		320px portrait width of smartphones
  		768px portrait width of tablets
  		1024px landscape width of tablets (and netbook/desktop monitors)
   ========================================================================== */
@media screen and (max-width: 960px) {
	#menu_container {
	position:relative;
	width:802px; /* overall menu width */
}
#pmenu a, #pmenu a:visited {
	display:block;
	width:133px; /* individual button width */
	font-size:11px; /* button text size */
}
}
@media screen and (max-width: 758px) {
	#wrapper {width: 568px; }
	#menu_container {
	position:relative;
	width:566px; /* overall menu width */
}
#pmenu a, #pmenu a:visited {
	display:block;
	width:94px; /* individual button width */
	font-size:10.5px; /* button text size */
}
   }
@media screen and (max-width: 555px) {
	#wrapper {width: 480px; }
	#menu_container {
	position:relative;
	width:478px; /* overall menu width */
}
#pmenu a, #pmenu a:visited {
	display:block;
	width:79px; /* individual button width */
	font-size:11px; /* button text size */
}
}
@media screen and (max-width: 397px) {
	#wrapper {width: 324px; }
	#menu_container {
	position:relative;
	width:324px; /* overall menu width */
}
#pmenu a, #pmenu a:visited {
	display:block;
	width:53px; /* individual button width */
	font-size:10px; /* button text size */
}	
}
