/*  
3 level drop down category menu bar. 

Layout and browser compatibility hacks based on Ruthsarian's Skidoo Redux 
http://webhost.bridgew.edu/etribou/layouts/ - ruthsarian@gmail.com
*/


/******HACKS***************************************************/
.clear-columns
{ /* hide from IE/Mac \*/ padding-bottom: 1px; margin-bottom: -1px;	}
* html #page-container { /* \*/ height: 0.1%; position: relative; }
* html #middle-column, * html #left-column, * html #right-column, * html #source-order-container {	/* hide from IE/Mac \*/ overflow: visible; /* hide from IE/Mac \*/ position: relative; }
* html #middle-column {margin-right: -4px; margin-right/* */: 0; }
* html #middle-column .inside
{ margin-right: 14px; margin-right/* */: 10px;}
* html #masthead, * html #footer { /* hide from IE/Mac \*/ height: 0.1%; height/**/: auto;	 }
* html #masthead .inside, * html #footer .inside {	margin-top: 0; margin-bottom: 0; margin/* */: 10px; }
* html .inside {margin: 10px 0.75em; margin/* */: 10px; }
* html #inner-column-container {display: block; }
* html #source-order-container {margin-right: -100%; /* \*/ margin-right: -1px; }
#left-column, #right-column {position: relative; }
/******************************************************************************/

/**********Credits: Dynamic Drive CSS Library *********************/
/*URL: http://www.dynamicdrive.com/style/ */
/**** Highlight current subpage *******/
li.current_page_item a:link, li.current_page_item a:active, li.current_page_item a:visited, li.current_page_item a:hover { color: black; font-weight: bold; }
/***********************************/


/******************clearfix********************/
.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix {min-width: 0; display: inline-block; /* \*/	display: block; }
* html .clearfix {/* \*/  height: 1%;}
 
/*******************************************************************************
 * Extended Menu Mechanics
 *
 * These rules exist only for specific menu types, such as horizontal or
 * vertical menus, right or left aligned menus.
 */


ul.rMenu-ver li{
	float: none;	/* clear this so vertical sub-menus that are
				   children of horizontal menus won't have
				   their LI widths set to auto. */
}

ul.rMenu-ver, ul.rMenu-ver ul{
	width: 10em;		/* sub-menus need a defined width, especially
				   vertical sub-menus. salt to taste. */
}

ul.rMenu-wide{
	width: 100%;		/* apply this rule if you want the top-level
				   menu to go as wide as possible. this is 
				   something you might want if your top-level
				   is a vertical menu that spans the width
				   of a column which has its width 
				   pre-defined. IE/Win 5 seems to prefer
				   a value of 100% over auto. */
}

ul.rMenu-lFloat{
	float: left;		/* use this to float a vertical menu left. */
}

/*******************************************************************************
 * Extended Menu Mechanics - Center Horizontal Menu
 */

div.rMenu-center ul.rMenu{
	float: left;
	position: relative;
	left: 50%;
}

div.rMenu-center ul.rMenu li{
	position: relative;
	left: -50%;
}

div.rMenu-center ul.rMenu li li{
	left: auto;
}


/*******************************************************************************
 * DROP POSITIONS
 */

ul.rMenu-ver ul{
	left: 60%;
	right: auto;
	top: auto;
	margin-top: -3em;	/* i prefer top: 80% but this creates a problem
					   in iCab so negative top margin must be used.
				   salt to taste. */
}

ul.rMenu-vRight ul, ul.rMenu-hRight ul.rMenu-ver ul{
	left: -60%;
	right: auto;
	top: auto;
	margin-top: -0.5em;	/* i prefer top: 80% but this creates a problem
					   in iCab so negative top margin must be used.
				   salt to taste. */
}

ul.rMenu-hRight ul{
	left: auto;
	right: 0;		/* this doesn't work in Opera 7.23 but 7.5 and
					   beyond work fine. this means right-aligned
				   horizontal menus break in Opera 7.23 and
				   earlier. no workaround has been found. */
	top: auto;
	margin-top: -1px;	/* so the top border of the dropdown menu 
				   overlaps the bottom border of its parent
				   horizontal menu. */
}


/*******************************************************************************

* General Menu Mechanics/*

ul.rMenu, ul.rMenu ul, ul.rMenu li, ul.rMenu a{
	display: block;	/* make these objects blocks so they're easier
				   to deal with */
	margin: 0;
	padding: 0; 
	/* get rid of padding/margin values that these
				   elements may have by default */
}

ul.rMenu, ul.rMenu li, ul.rMenu ul{
	list-style: none; 
}

ul.rMenu ul{
	display: none;		/* hide the sub-menus until needed */
}

ul.rMenu li
{
	position: relative;	/* so sub-menus position relative to their 
				   parent LI element */
	z-index: 1;
}
ul.rMenu li:hover
{
	z-index: 999;	/* make sure this and any sub-menus that pop 
				   appear above everything else on the page */
}
ul.rMenu li:hover > ul/* hide from IE5.0 because it gets confused by this selector */
{
	display: block; 		/* show the sub-menu */
	position: absolute;	/* remove the sub-menus from the flow of the
				   layout so when they pop they don't cause any
				   disfiguration of the layout.
				*/
}
 


/*******************************************************************************
 * HACKS : General
 */
* html ul.rMenu
{
	display: inline-block;	/* this is for IE/Mac. it forces IE/Mac to 
				   expand the element's dimensions to contain 
				   its floating child elements without a 
				   clearing element. */
	/* \*/ display: block;	/* override above rule for every other 
				   browser using IE/Mac backslash hack */
	position: relative;	/* IE 5.0/Mac needs this or it may clip the
				   dropdown menus */
	/* \*/ position: static;/* reset position attribute for IE/Win as it
				   causes z-index problems */
}
* html ul.rMenu ul
{
	float: left;		/* IE/Mac 5.0 needs this, otherwise hidden 
				   menus are not completely removed from the
				   flow of the document. */
	/* \*/ float: none;	/* reset the rule for non-Macs */
}
ul.rMenu ul
{
	background-color: #f0e7de;	/* IE/Win (including 7) needs this on an object 
				   that hasLayout so that it doesn't "look through"
				   the menu and let any object (text) below the 
				   menu to gain focus, causing the menu to 
				   disappear. application of this rule does not
				   cause any rendering problems with other browsers
				   as the background color is covered by the
				   menu itself. */
}
* html ul.rMenu-ver li,
* html ul.rMenu-hor li ul.rMenu-ver li
{
				/* the second selector above is there 
				   because of problems IE/Mac has with 
				   inheritance and what rules should take
				   precedence. and to serve as a reminder on
				   how to work around the issue if it's 
				   encountered again down the road. */
	width: 100%;
	float: left;
	clear: left;		/* IE likes to stick space below any LI
				   in :hover state with a sub-menu. floating
				   the LIs seems to work around this issue. But
				   note that this also triggers hasLayout 
				   because we need a width of 100% on floats. */
}
*:first-child+html ul.rMenu-ver > li/* hide from IE5.0 because it gets confused by this selector */
{
	width: 100%;
	float: left;
	clear: left;		/* same as previous rule set except this is
				   for IE7 and the direct child selector 
				   make inheritence much easier and obvious */
}
ul.rMenu li a
{
	position: relative;	/* trigger hasLayout for IE on anchor 
				   elements. without hasLayout on anchors
				   they would not expand the full width 
				   of the menu. this rule may not trigger
				   hasLayour in later versions of IE and
				   if you find this system broken in new
				   versions of IE, this is probably the
				   source. */
	min-width: 0;		/* triggers hasLayout for IE 7 */
}
* html ul.rMenu-hor li
{
	width: 6em;		/* IE Mac doesn't do auto widths so specify a width 
				   for the sake of IE/Mac. Salt to taste. */
	/* \*/ width: auto;	/* now undo previous rule for non Macs by using 
				   the IE Mac backslash comment hack */
}
* html div.rMenu-center
{
	position: relative;
	z-index: 1;		/* IE 6 and earlier need a little help with
				   z-indexes on centered menus */
}

/*******************************************************************************
 * HACKS : Suckerfish w/Form Field Support (for IE 5.5 & 6.x)
 */
* html ul.rMenu ul
{
	display: block;
	position: absolute;	/* ovewrite original functionality of hiding
				   element so we can hide these off screen */
}
* html ul.rMenu ul,
* html ul.rMenu-hor ul,
* html ul.rMenu-ver ul,
* html ul.rMenu-vRight ul, 
* html ul.rMenu-hRight ul.rMenu-ver ul,
* html ul.rMenu-hRight ul
{
	left: -10000px;		/* move menus off screen. note we're ovewriting
				   the dropdown position rules that use the 
				   LEFT property, thus all the selectors. */
}
* html ul.rMenu li.sfhover
{
	z-index: 999;		/* not totally needed, but keep the menu 
				   that pops above all other elements within
				   it's parent menu system */
}
* html ul.rMenu li.sfhover ul
{
	left: auto;		/* pull the menus that were off-screen back 
				   onto the screen */
}
* html ul.rMenu li.sfhover ul ul, 
* html ul.rMenu li.sfhover ul ul ul
{ 
	display: none;		/* IE/Suckerfish alternative for browsers that
				   don't support :hover state on LI elements */

}
* html ul.rMenu li.sfhover ul, 
* html ul.rMenu li li.sfhover ul, 
* html ul.rMenu li li li.sfhover ul
{
	display: block;		/* ^ ditto ^ */
}


* html ul.rMenu-ver li.sfhover ul
{
	left: 60%;		/* dropdown positioning uses the left attribute
				   for horizontal positioning. however we can't
				   use this property until the menu is being
				   displayed.

				   note that all ULs beneath the menu item 
				   currently in the hover state will get this
				   value through inheritance. however all sub-
				   menus still won't display because
				   two rule sets up we're setting the 
				   DISPLAY property to none.
				 */
}
* html ul.rMenu-vRight li.sfhover ul, 
* html ul.rMenu-hRight ul.rMenu-ver li.sfhover ul
{
	left: -60%;		/* ^ ditto ^ */
}
* html ul.rMenu iframe
{

	filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;		/* this is the IFRAME that's placed behind
				   dropdown menus so that form elements don't
				   show through the menus.

				   these values can be assigned programatically
				   via the javascript used to create this
				   element, but that creates lag in the display
				   of the dropdown menus. */
}

/*******************************************************************************
 * HACKS : Clearfix
 */
.clearfix:after
{
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix
{
	min-width: 0;		/* trigger hasLayout for IE7 */
	display: inline-block;
	/* \*/	display: block;	/* Hide from IE Mac */
}
* html .clearfix
{
	/* \*/  height: 1%;	/* Hide from IE Mac */ 
}

/******************************************************************************/


#test{background-color:#ccc;}






.main2 .maincol .block .menu div div{
	width:212px;
	background:url(images/menu-botbg.gif) no-repeat 0 100%;
}

.main2 .maincol .block #nav{
	width:202px;
}

.main2 .maincol .block #nav li{
	padding-left:10px;
	width:202px;
	height:26px;
	float:left;
	background:url(images/menu-separator.gif) no-repeat;
}
.main2 .maincol .block #nav li:first-child {background: none;}
* html .main2 .maincol .block #nav li {
	background-image: expression( (this===this.parentNode.childNodes[0]) ? "none" : "auto");
}

* html .main2 .maincol .block #nav li{float:left;}


.main2 .maincol .block #nav li a{
	display:block;
	padding-right:15px;
	width:109px;
	height:26px;
	font:10px/23px Arial, Helvetica, sans-serif;
	color:#594023;
	text-decoration:none;
	overflow:hidden;
}

.main2 .maincol .block #nav li a:hover{
	text-decoration:underline;
}


.main2 .maincol .block #nav li.hover a.linkholder,
.main2 .maincol .block #nav li:hover a.linkholder,
.main2 .maincol .block #nav li a.linkholder:hover,
.main2 .maincol .block #nav li.hover li.hover a.linkholder,
.main2 .maincol .block #nav li:hover li:hover a.linkholder{
	background:url(images/menu-arrow.gif) no-repeat 100% 8px;
}

.main2 .maincol .block #nav li.hover li a.linkholder,
.main2 .maincol .block #nav li:hover li a.linkholder {
	background: none;
}


#nav li .sub{
	position:absolute;
	left:160px;
	top:0;
	padding:0;
	width:170px;
	background:url(images/submenu-bg.gif) repeat-y;
	display:none;
}
#nav li .sub .sub {
	left: 170px !important;
	top: 0 !important;
	display: none !important;
}
#nav li:hover li:hover .sub, #nav li.hover li.hover .sub {display: block !important;}
#nav li:hover,
#nav li.hover{position:relative;}

.main2 .maincol .block #nav li:hover .sub,
.main2 .maincol .block #nav li.hover .sub{display:block;}

.main2 .maincol .block #nav .sub div{
	padding:0;
	width:170px;
	background:url(images/submenu-botbg.gif) no-repeat 0 100%;
}

.main2 .maincol .block #nav .sub div ul{
	width:170px;
	background:url(images/submenu-topbg.gif) no-repeat;
	display: table;
}

.main2 .maincol .block #nav .sub div ul li{
	padding:0;
	width:170px;
	background:none;
}

.main2 .maincol .block #nav .sub div ul li a{padding:0 0 0 26px;}

.main2 .maincol .block #nav .sub div ul li a:hover{background:url(images/menu-arrow.gif) no-repeat 6px 8px;}



.main2 .maincol .block .menu{
	width:160px;
	float:left;
	background:url(images/menu-bg.gif) repeat-y;
}

.main2 .maincol .block .menu div{
	width:160px;
	float:left;
	background:url(images/menu-topbg.gif) no-repeat;
}

.main2 .maincol .block .menu div div{
	width:160px;

}

.main2 .maincol .block #nav{

	width:160px;


}

.main2 .maincol .block #nav li{
	padding-left:10px;

	width:147px;
	height:26px;
	float:left;
	background:url(images/menu-separator.gif) no-repeat;


}
.main2 .maincol .block #nav li:first-child {background: none;}
* html .main2 .maincol .block #nav li {
	background-image: expression( (this===this.parentNode.childNodes[0]) ? "none" : "auto");

padding-left:10px;
	width:147px;
	height:26px;
	float:left;
	background:url(images/menu-separator.gif) no-repeat;
background-color:#f0e7de;
overflow:hidden;


}

* html .main2 .maincol .block #nav li{float:left;}



.main2 .maincol .block #nav li a{
	display:block;
	padding-right:15px;
	width:147px;
	height:26px;
	font:10px/23px Arial, Helvetica, sans-serif;
	color:#594023;
	text-decoration:none;
	overflow:hidden;
}

.main2 .maincol .block #nav li a:hover{
	text-decoration:underline;

}















.main2 .maincol .block #nav li.hover a.linkholder,


.main2 .maincol .block #nav li:hover a.linkholder,
.main2 .maincol .block #nav li a.linkholder:hover{
	background:url(images/menu-arrow.gif) no-repeat 100% 8px;

}

#nav li .sub{
	position:absolute;
	left:160px;
	top:0;
	padding:0;
	width:185px;
	background:url(images/submenu-bg.gif) repeat-y;
	overflow:hidden;
	display:none;
}

#nav li:hover,
#nav li.hover{position:relative;}

.main2 .maincol .block #nav li:hover .sub,
.main2 .maincol .block #nav li.hover .sub{display:block;}

.main2 .maincol .block #nav .sub div{
	padding:0;
	width:185px;
	background:url(images/submenu-botbg.gif) no-repeat 0 100%;
	overflow:hidden;
}

.main2 .maincol .block #nav .sub div ul{
	width:185px;
	background:url(images/submenu-topbg.gif) no-repeat;
	overflow:hidden;
	position:relative;
}

.main2 .maincol .block #nav .sub div ul li{
	padding:0;
	width:185px;
	background:none;
}

.main2 .maincol .block #nav .sub div ul li a{padding:0 0 0 26px;}

.main2 .maincol .block #nav .sub div ul li a:hover{background:url(images/menu-arrow.gif) no-repeat 6px 8px;}