/*======================== MENU DEFINITIONS ========================*/

.menu {
	position:relative;        /* establish a menu-relative positioning context */
	clear:both;
	margin:0;
	padding:0;
	border:0;
	width:970px;         
	font-size:12px;         
	height:28px; 
	background-color:#4783af;
	background-repeat:repeat-x;
	white-space:nowrap;

}


.menu img {
	vertical-align: top;      /* prevent images from being pushed down by text */
	border:0;
}

.menu ul {
	margin:0;
	padding:0;
	list-style-type:none;          
}
.menu ul ul {width:170px;}
.menu ul ul li {width:170px;}

.menu li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	height:28px;
}





/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

.menu ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
	z-index:1000;
}

.menu ul li a,
.menu ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	padding: 1px 10px 1px 10px;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	z-index:1000;
	height:26px;
	line-height:25px;
	text-shadow: 0 0 0 #000000;
}


.menu ul li:hover a,
.menu ul li a:hover {                        /* selected top-level menu items */
	color: #FFFF00;
}


/*======================== 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:28px;              /* place us just up underneath the top-level images */
	left:-1px;       /* left-align our drop-down to the previous button border */
	height:auto;      /* the drop-down height will be determiend by line count */
	color:black;                        /* this sets the unselected-text color */
	background:#4783af;         /* this sets our menu's effective "border" color */
}


.menu ul li:hover ul li a,
.menu ul li a:hover ul li a {                   /* 2nd level unselected items */
	border:0;
	margin:0;
	padding:0;
	height:auto;
	color:#ffffff;               /* this sets the unselected drop-down text color */
	background:#4783af;       /* this sets the drop-down menu background color */
	padding: 1px 10px 1px 10px;

}

.menu ul li:hover ul li:hover a,
.menu ul li a:hover ul li a:hover {                /* 2nd level selected item */
	color:#000000;
	background:#FFFFFF;
}




