/* 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:783px;
	/* min-width hack for ie6 */
		min-height: 25px;
		height: auto !important;
		height: 25px;
	z-index:100;
	text-align:left;
	font-size:75%;
	background-color:#88A76C;
	white-space:nowrap;
	clear:both;
}


/* Get rid of the margin, padding and bullets in the unordered lists */

#pmenu, #pmenu ul, #pmenu li {
	font-size:100%;
	padding:0; 
	margin:0; 
	list-style-type: none;
}
/* Set up the link size, color and borders */
#pmenu a, #pmenu a:visited {
	display:block;
	width:auto; 
	font-weight:normal;
	color:#FFF; 
	text-decoration:none; 
	text-indent:0px; 
	padding: 0px;
	border:none;
}
#pmenu {
	padding-left:15px;
}

/* Set up the sub level borders */
#pmenu li.topmenu ul li a, #pmenu li.topmenu ul li a:visited {
	border:1px solid #88A76C; 
	border-width: 0px 1px 2px 1px;
	text-indent:0px; 
}
/* fix for the top menu items not being encl*/
#pmenu li a.enclose, #pmenu li a.enclose:visited {
	border-width:1px;
}


/* Set up the list items */
#pmenu li.topmenu {
	float:left;
	background-color:#578138;
	padding:0px;
	margin:7px 0px 0px 0px;
}


#pmenu li.topmenu ul li {
	background-color:#578138;
	padding:0px;
	margin:0px;
}

#pmenu li.topmenu ul li a{
	padding: 3px;
}

/* For Non-IE browsers and IE7 */
#pmenu li:hover {
	position:relative;
}
/* Make the hovered list color persist */
#pmenu li.topmenu ul li:hover > a {
	background-color:#004834;
	color:#FFF;
}



#pmenu li.topmenu {
	background:none;
	color:#FFF;
	padding: 0px;
}
#pmenu li.topmenu:hover > a, #pmenu li.topmenu a.on {
	background:none;
	background-color:none;
	color:#004834;
}

/* Secondary Menu Width is Static */
#pmenu li ul li{
	/* min-width hack for ie6 */
	min-width: 180px;
	width: auto !important;
	width: 180px;
}





/* 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 sublevels visible on list hover. This is all it needs */
#pmenu li:hover > ul {
	display:block; 
	position:absolute; 
	top:-11px; /**/
	left:80px; 
	padding:5px 30px 30px 25px; 
	/* min-width hack for ie6 */
		min-width: 180px;
		width: auto !important;
		width: 180px;
}
/* Position the first sub level beneath the top level liinks */
#pmenu > li:hover > ul {
	left:-30px; 
	top:10px; /* distance between top level and second level */
}

/* get rid of the table */
#pmenu table {
	position:absolute; 
	border-collapse:collapse; 
	top:0; 
	left:0; 
	z-index:100; 
}

/* 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 ul{
	font-size:70%;
}
* html #pmenu li.topmenu a:hover {
	position:relative;
	background-color:none;
	background-image:none;
	color:#004834;
}
* html #pmenu li.topmenu ul {
	background-image: url(../images/base/blank.gif);
	background-repeat: repeat;
}
* html #pmenu li.topmenu ul li a:hover {
	position:relative;
	background-color:#FFF;
	background-image:none;
	color:#FFF;
}





/* For accessibility of the top level menu when tabbing */
#pmenu li a:active, #pmenu li a:focus {
	background-color:#88A76C;
	color:#FFF;
}

/* This block 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:-11px; 
	left:80px; 
	padding:10px 30px 30px 20px; 
}

/* make the second level visible when hover on first level link and position it */
#pmenu li a:hover ul {
	visibility:visible; 
	top:19px; /* distance between top level and second level */
	left:-31px; 
}

/* Light Industries classes */
div.liMenuWrap
{
	padding-top: 6px;
	padding-left: 15px; 
}
.tdMenuOff, .tdMenuOn
{
	font-size: 8pt;	
}
.tdMenuOff, .tdMenuOff a, .tdMenuOff a:active, .tdMenuOff a:visited
{
	color: #ffffff;
	text-decoration: none;
}

.xxtdMenuOff a:hover
{
	color: #004834;	
	text-decoration: none;
}

.tdMenuOn, .tdMenuOn a, .tdMenuOn a:active, .tdMenuOn a:visited,  .tdMenuOn a:hover
{
	color: #004834;
	text-decoration: none;
}

.MenuFlyout
{
	background-color: #578138;
	border-left: 1px #88A76C solid;
	border-right: 1px #88A76C solid;
	border-bottom: 1px #88A76C solid;
	display: none;
	position: fixed;
	padding: 0px 2px 0px 2px;
	width: 200px;
	z-index: 20000;
}

.MenuFlyout, .MenuFlyout div, .MenuFlyout div a, .MenuFlyout div a:active, .MenuFlyout div a:link, .MenuFlyout div a:hover
{
	color: #ffffff;
}
.MenuFlyout div
{
	background-color: #578138;
	border-top: 1px #88A76C solid;	
	padding: 2px 2px 2px 4px;
	width: 98%;
	font-size: 8pt;;
	
}

.MenuFlyout div:hover
{
	background-color: #004834;
	color: #ffffff;
}


