#nav,#nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav {
    background:url(../images/menu_bck.jpg);
	repeat:no-repeat;
	scroll: scroll 0 0 transparent;
    clear: both;
	font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    height: 47px;
    padding: 0 0 0 207px;
    position: absolute;
    width:795px;
}


/*this is the backgroung of drop dn*/
#nav ul {
    background-color:#ff9933;
    border:1px solid #ffffff;
    border-radius: 0 5px 5px 5px;
    border-width: 0 1px 1px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
    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('../images/menu_line.png') no-repeat scroll right 5px transparent;
    float: left;
    position: relative;
	
}
#nav li a {
    color:#000000;
    display: block;
    float: left;
    font-weight: normal;
    height: 20px;
    padding: 23px 17px 0;
    position: relative;
    text-decoration: none;
    
}
/*this is the css of button text main link*/
#nav li:hover > a {
    color:#333333;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
    background: none repeat scroll 0 0 #ff9933;
    outline: 0 none;
}
#nav li:hover ul.subs {
    left: 0;
    top: 43px;
    width: 150px;

    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}
#nav ul li {
    background: none;
    width: 100%;
}
#nav ul li a {
    float: none;
}
/*this is the css of sub menu text and bg hover link*/
#nav ul li:hover > a {
    background-color:#cc6633;
    color: #ffffff;
}
#lavalamp {
    background: url('../images/lavalamp.png') no-repeat scroll 0 0 transparent;
    height: 16px;
    left: 210px;
    position: absolute;
    top: 0px;
    width: 64px;
 -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
  
}
#lavalamp:hover {
 
    -moz-transition-duration: 3000s;
    -ms-transition-duration: 3000s;
    -o-transition-duration: 3000s;
    -webkit-transition-duration: 3000s;
    transition-duration: 3000s;
}
#nav li:nth-child(1):hover ~ #lavalamp {
    left: 210px;
}
#nav li:nth-child(2):hover ~ #lavalamp {
    left: 294px;
}
#nav li:nth-child(3):hover ~ #lavalamp {
    left: 380px;
}
#nav li:nth-child(4):hover ~ #lavalamp {
    left: 460px;
}
#nav li:nth-child(5):hover ~ #lavalamp {
    left: 560px;
}
#nav li:nth-child(6):hover ~ #lavalamp {
    left: 660px;
}
#nav li:nth-child(7):hover ~ #lavalamp {
    left: 780px;
}
#nav li:nth-child(8):hover ~ #lavalamp {
    left: 875px;
}*/