/* CSS Document */
/* menus css adapted from http://www.cssplay.co.uk/menus/final_drop.html*/

.menu{
	border:none;
	letter-spacing: 0.05em;
	font-weight:bold;
	left:10px;
	position:absolute;
	top:88px;
	width:auto;
	z-index:100;
	font-size:1em;
}

.menu a:visited{
	font-weight:bold;
}/*how to fix font not bold unless visited?*/

* html .menu {
	font-size:0.97em;
	top:86px;
}


/* remove bullets, borders, padding from the default list styling */
.menu ul{
	list-style-type:none;
	margin:0;
	padding:0;
	
}

.menu ul ul{
	width:195px;
}

/* float list to make it horizontal and relative position to control the dropdown menu position - the width of the tabs here overrides all others*/
.menu li{
	float:left;
	position:relative;
	width:auto;	
}
.menu ul li{
    	background:url("../images/bluetabright.png") no-repeat right top;
    	margin: 0px 0px 0px 1px;

}
/* style the links for the top level */
.menu a{
	color:#065aae;
	display:block;
	line-height:15px;
	text-decoration:none ! important; 
}

.menu a.top, .menu a.top:visited, .menu a.top:hover{
	color:#fff;
    	display:block;
    	background:url("../images/bluetableft.png") no-repeat left top ! important;
    	margin: 0px 5px 0px 0px;
	padding:4px 1px 8px 5px;
	font-size:1em;
    }
.menu a.top:hover
{
    margin: 0px 5px 0px 0px;
	padding:3px 1px 8px 5px;
}

/* html .menu a, * html .menu a:visited{
	width:auto;
	w\idth:195px;
}*/

/*-----------------if removed the following section makes secondary <li>s show------*/
/* style the second level(where drop-outs come out the side) background */
.menu ul ul a.drop {
	background:#065aae bottom right no-repeat;
}

/* style the second level hover */
.menu ul ul a.drop:hover{
	background:#065aae  bottom right no-repeat;
}

/*not sure what this does - changing the color has no visible effect*/
.menu ul ul :hover > a.drop{
	background:#065aae bottom right no-repeat;
}

/* style the third level background */
.menu ul ul ul a{
	background:#065aae;
}

/* style the third level hover */
.menu ul ul ul a:hover{
	background:#065aae;
}

/* hide and style sub-levels and make absolute so that they take up no room */
.menu ul ul{
	/*adding transparent below fixes ie bug that makes all uls show*/
	background:transparent;
	height:0;
	left:-1px; 
	position:absolute;
	text-decoration: none;
	top:31px;
	visibility:hidden;
	white-space: normal;
	width:195px;
	z-index:101;
	color:#065aae;
}

/* another hack for IE5.5 */
* html .menu ul ul{
	top:30px;
	t\op:31px;
}
.menu ul ul li{
padding: 0px;
margin:0px;
top: 3px;
left:1px;
white-space:nowrap;
}
/* position the third level flyout menu */
.menu ul ul ul{
	left:195px; 
	top:0;
	width:195px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left{
	left:-195px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table{
	left:0;
	position:absolute;
	top:0; 
}

.menu ul ul{
	top:24px ! important;
}

/* style the second level links, top -1 make the background of the ul show up on the bottom a */
.menu ul ul a{
	background:#fff;
	color:#065aae;
	height:auto; 
	padding:5px; 
	position:relative;
	text-decoration:none; 
	top:-1px ! important;
	width:20em;	
}

/* yet another hack for IE5.5 */
* html .menu ul ul a{
	width:195px;
	w\idth:195px;
}


/* hover for the dropped down menus */
.menu :hover > a, .menu ul ul :hover > a{
	background: #065aae;
	color:#fff;
}


/* make second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{
	/*visibility:visible; */
}
.menu ul ul.dropdownmenu
{
	visibility:visible;
}


/* keep third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility:hidden;
}

/* make third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
	visibility:visible;
}

.menu ul ul a{
	color:#065aae;
}

.menu ul ul li a{
	border-top:solid 1px #065aae;
	border-left:solid 1px #065aae;
	border-right:solid 1px #065aae;
	color:#065aae;
}

.menu ul ul li {
	padding:0px;
}

.menu ul ul li{
	background:#065aae;
}