#nav,#nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav {
    background: url(../images/menu_blue.png) repeat-x;
    clear: both;
    font-size: 14px;
    height: 44px;
    padding: 0 0 0 20px;
    position: relative;
    width: 980px;
    font-family:Calibri;
}
#nav ul {
   background-color: #7C7CE5;
    float:left;
    border:1px solid #2E52;
    border-width: 0 1px 1px;
    left: -9999px;
    overflow: hidden;
    text-align:center;
    position: absolute;
    top: -9999px;
    z-index: 2;

    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    -webkit-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 {
    
    float: left;
    position: relative;
}
#nav li a {
    position: relative;	
	float: left;
	display: inline-block;
	height: 25px;
	width: 107px;
	margin-right: 10px;
	text-align: center;
	padding: 23px 4px 0 0;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	color: #ffffff;	
	outline: none;
    top: 0px;
    left: 12px;
    
    
}
#nav li:hover > a {
    text-decoration:underline;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
    background: none repeat scroll 0 0;
    outline: 0 none;
}
#nav li:hover ul.subs {
    left: 0;
    top: 42px;
    font-size:14px;
    width: 160px;

    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    -webkit-transform: scaleY(1);
}
#nav ul li {
    
    width: 100%;
}
#nav ul li a {
    float: none;
}
#nav ul li:hover > a {
    
    color: #B6B554;
}
#lavalamp {
    background: url('lavalamp.png') no-repeat scroll 0 0 transparent;
    height: 16px;
    left: 0;
    position: relative;
    top: 0px;
    width: 64px;

    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
   
}
#lavalamp:hover {
    -moz-transition-duration: 3000s;
    -ms-transition-duration: 3000s;
    -o-transition-duration: 3000s;
    -webkit-transition-duration: 3000s;
    
}

#nav li:nth-of-type(1):hover ~ #lavalamp {
    left: 13px;
}
#nav li:nth-of-type(2):hover ~ #lavalamp {
    left: 100px;
}
#nav li:nth-of-type(3):hover ~ #lavalamp {
    left: 220px;
}
#nav li:nth-of-type(4):hover ~ #lavalamp {
    left: 322px;
}
#nav li:nth-of-type(5):hover ~ #lavalamp {
    left: 399px;
}
#nav li:nth-of-type(6):hover ~ #lavalamp {
    left: 489px;
}
#nav li:nth-of-type(7):hover ~ #lavalamp {
    left: 582px;
}
#nav li:nth-of-type(8):hover ~ #lavalamp {
    left: 662px;
}
#nav li:nth-of-type(9):hover ~ #lavalamp {
    left: 720px;
}



.clear {clear:both;}