/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/flyoutt.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */


#nav {
	background: #fffdf3;
	border: 1px solid #9cd4e5;
	padding: 3px;
	-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    CCborderRadius: 10px;
    height: 1%;
    position: relative;
    width: 100%;
    margin-bottom: 2em;
}

#nav ul li a,  #nav ul li a:visited {
	text-decoration: none;
	font-size: 108%;
	padding: .6em 1em;
	display: block;
	color: #005370;
	border: 1px solid #fffdf3;
	border-bottom: 1px solid #cbeef1;
	z-index: -1;
	background: url(../images/arrow_small.gif) no-repeat center right;
	width: 145px;
	text-align: left;
}

#nav ul li:last-child a {
	border: 1px solid #fffdf3;
}

#nav ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

#nav ul li {
	float: left;
	margin-right: 1px;
	position: relative;
}

#nav ul li ul {
	display: none;
		z-index: 10;
	white-space: normal;
}

#nav ul li div {
	border: 1px solid #84c5d9;
	padding: 10px;
	width: 172px;
	background: #fff;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    CCborderRadius: 5px;
    overflow: hidden;
    height: 1%;
}

#nav ul li a:hover, #nav ul li:hover a {
	background: #fff;
}

#nav ul li a.hide:hover, #nav ul li:hover a.hide {
	background: #fff;
	border: 1px solid #84c5d9;
	border-right: 1px solid #fff;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    CCborderRadius: 5px;
}

/* specific to non IE browsers */

#nav ul li:hover ul {
	display: block;
	position: absolute;
	top: 0;
	left: 175px;
	z-index: 10;
	white-space: normal;
}

#nav ul li:hover ul li a {
	display: block;
	background: #fff;
	border: 1px solid #fff;
	border-bottom: 1px solid #cbeef1;
}

#nav ul li:hover ul li:last-child a {
	border: 1px solid #fff;
}

#nav ul li:hover ul li a:hover {
	background: #fff;
	color: #5b9338;
	text-decoration: underline;
}