/*==============================================================================

	GRC multi-level script-free pure-CSS menuing system stylesheet.
   This code is hereby placed into the public domain by its author
   Steve Gibson. It may be freely used for any purpose whatsoever.
   http://www.grc.com/menu2/invitro.htm

==============================================================================*/


.menu {
	position:relative;        /* establish a menu-relative positioning context */
	margin:0;
	padding:0;
	border:0;
	background: #BCBDC0 url(../images/gradient.gif) repeat-x top left;
	font-size: 0.9em;
	height: 27px;
	line-height: 25px;
}

.menu ul {
	padding:0;
	margin:0;
	border:0;
	list-style-type:none;          /* we don't want to view the list as a list */
	line-height:25px;           /* globally set the menu's item spacing. note */
}                               /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

.menu li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	margin: 0px 7px 0px 23px;
}


/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

.menu ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	padding:1px;                               /* this is our box border width */
}

.menu ul li a {                    /* unselected top-level menu items */
	display:block;
	float:left;
	color:#000;
	text-decoration: none;
	font-weight: bold;
	height:27px;
}

.menu ul li:hover a,
.menu ul li a:hover, .menu li a:active {                        /* selected top-level menu items */
	height:27px;
	text-decoration: underline;
}

/*======================== 2ND LEVEL MENU DEFINITIONS ========================*/

.menu ul li:hover ul,
.menu ul li a:hover ul {                           /* 2nd level drop-down box */
	display:block;
	position:absolute;
	margin:0;
	top:27px;              /* place us just up underneath the top-level images */
	left:-13px;       /* left-align our drop-down to the previous button border */
	height:auto;      /* the drop-down height will be determiend by line count */
	width:110px;
	color:#fff;                        /* this sets the unselected-text color */
	background:#5D5D60;         /* this sets our menu's effective "border" color */
}

.menu ul li:hover ul.leftbutton,
.menu ul li a:hover ul.leftbutton {/* our first dropdown should not be skewed */
	left:10px;
}

.menu ul li:hover ul li a,
.menu ul li a:hover ul li a {                   /* 2nd level unselected items */
	border:0;
	margin:0px 0px 0px 0px;
	padding:0;
	height:auto;
	width:110px;
	text-decoration: none;
}
.menu ul li ul li a{
	color: #fff;
	font-weight: normal;
	font-size: 0.9em;
	height: 27px;

}
.menu ul li ul li a:hover{
	text-decoration: underline;
}

/*======================== 3RD LEVEL MENU DEFINITIONS ========================*/

.menu ul li:hover ul li ul,
.menu ul li a:hover ul li a ul {             /* hide inactive 3rd-level menus */
	visibility:hidden;
}
     
.menu ul li:hover ul li:hover ul,
.menu ul li a:hover ul li a:hover ul {             /* 3rd level drop-down box */
	visibility:visible;
	position:absolute;
	margin-top:-1px;	      /* bring the top edge of the 3rd level menu up one */
	top:0;
	left:85px;
	width:110px;
	font-size: 0.7em;
}

.menu ul li:hover ul li:hover ul li a,
.menu ul li a:hover ul li a:hover ul li a {     /* 3rd level unselected items */
	width:110px;
	background:#5D5D60;
}

.menu ul li:hover ul li:hover ul li a:hover,
.menu ul li a:hover ul li a:hover ul li a:hover {    /* level3 selected items */
	width:110px;
	background:#5D5D60;
}
