#nav, #nav ul
{
	list-style: none outside none;
	margin: 0;
	padding: 0;
	font-family: Century Gothic, Verdana;
}
#nav
{
	background: url(../images/menubg.gif) no-repeat scroll 0 0 transparent;
	clear: both;
	font-size: 12px;
	height: 25px;
	padding: 0 0 0 9px;
	position: relative;
	width: 1000px;
}
#nav ul
{
	font-family: Century Gothic, Verdana;
	background-color: #222;
	border: 1px solid #222;
	border-radius: 0 5px 5px 5px;
	border-width: 0 1px 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	top: -9999px;
	z-index: 2;
	-moz-transform: scaleY(0);
	-ms-transform: scaleY(0);
	-o-transform: scaleY(0);
	-webkit-transform: scaleY(0);
	transform: scaleY(0); /*-moz-transform-origin: 0 0;     -ms-transform-origin: 0 0;     -o-transform-origin: 0 0;     -webkit-transform-origin: 0 0;     transform-origin: 0 0;     -moz-transition: -moz-transform 0.1s linear;     -ms-transition: -ms-transform 0.1s linear;     -o-transition: -o-transform 0.1s linear;     -webkit-transition: -webkit-transform 0.1s linear;     transition: transform 0.1s linear;*/
}
#nav li
{
	background: url('menu_line.png' ) no-repeat scroll right 5px transparent;
	float: left;
	position: relative;
	z-index: 9999;
}
.tempcolor
{
	color: #315274;
}
.tempcolor:hover
{
	color: #ffffff;
}
#nav li a
{
	color: #ffffff;
	display: block;
	float: left;
	font-weight: normal;
	height: 25px;
	padding: 9px 19px 0;
	position: relative;
	text-decoration: none;
}
#nav li:hover > a
{
	color: #ffffff;
	opacity: 1;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active
{
	background: none repeat scroll 0 0 #3e3f3f;
	opacity: 0.9;
	outline: 0 none;
}
#nav li:hover ul.subs
{
	left: 0;
	top: 30px;
	width: 180px;
	font-size: 11px;
	-moz-transform: scaleY(1);
	-ms-transform: scaleY(1);
	-o-transform: scaleY(1);
	-webkit-transform: scaleY(1);
	transform: scaleY(1);
	z-index: 99999999;
	text-align: left;
}
#nav ul li
{
	background: none;
	width: 100%;
}
#nav ul li a
{
	float: none;
}
#nav ul li:hover > a
{
	background-color: #121212;
	color: #ffffff;
	opacity: 1;
}

#nav li:nth-of-type(1):hover ~
#lavalamp
{
	left: 13px;
}
#nav li:nth-of-type(2):hover ~
#lavalamp
{
	left: 90px;
}
#nav li:nth-of-type(3):hover ~
#lavalamp
{
	left: 170px;
}
#nav li:nth-of-type(4):hover ~
#lavalamp
{
	left: 250px;
}
#nav li:nth-of-type(5):hover ~
#lavalamp
{
	left: 330px;
}
#nav li:nth-of-type(6):hover ~
#lavalamp
{
	left: 410px;
}
#nav li:nth-of-type(7):hover ~
#lavalamp
{
	left: 490px;
}
#nav li:nth-of-type(8):hover ~
#lavalamp
{
	left: 565px;
}
