.nav { float:left; margin:4px 0 0 0; padding:0px;}

#nav,#nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav {
    font-family: "Lucida Sans Unicode",Verdana,Arial,sans-serif;
    font-size: 13px;
    height: 36px;
	float:left;
    list-style: none outside none;
    margin: 0px auto;
    width: 999px;

    /* border radius */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    /* box shadow */
    -moz-box-shadow: 0px 3px 3px #cecece;
    -webkit-box-shadow: 0px 3px 3px #cecece;
    box-shadow: 0 3px 4px #8b8b8b;

    /* gradient */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#90c0d9), to(#ddebf3)); 
	background: -webkit-linear-gradient(top, #ddebf3, #90c0d9);
	background: -moz-linear-gradient(top, #ddebf3, #90c0d9); 
	background: -ms-linear-gradient(top, #ddebf3, #90c0d9); 
	background: -o-linear-gradient(top, #ddebf3, #90c0d9); 
}
#nav li {
    border-bottom: 1px solid #90c0d9;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top: 1px solid #ddebf3;
    display: block;
    float: left;
    height: 34px;
    position: relative;
    width: 139px;
}
#nav > li:first-child {
    border-left: 0 none;
    margin-left: 5px;
}
#nav ul {
    left: -9999px;
    position: absolute;
    top: -9999px;
    z-index: 2;
}
#nav ul li {
    background: none repeat scroll 0 0 #838383;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    width: 100%;
}
#nav li a {
    color: #000;
    display: block;
    line-height: 34px;
    outline: medium none;
    text-align: center;
    text-decoration: none;

    /* gradient */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#90c0d9), to(#ddebf3)); 
	background: -webkit-linear-gradient(top, #ddebf3, #90c0d9);
	background: -moz-linear-gradient(top, #ddebf3, #90c0d9); 
	background: -ms-linear-gradient(top, #ddebf3, #90c0d9); 
	background: -o-linear-gradient(top, #ddebf3, #90c0d9);
}

/* keyframes #animation */
@-webkit-keyframes animation {
    0% {
        -webkit-transform: scale(1);
    }
    30% {
        -webkit-transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1.1);
    }
}
@-moz-keyframes animation {
    0% {
        -moz-transform: scale(1);
    }
    30% {
        -moz-transform: scale(1.2);
    }
    100% {
        -moz-transform: scale(1.1);
    }
}
#nav li > a:hover {
    /* CSS3 animation */
    -webkit-animation-name: animation;
    -webkit-animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-direction: normal;
    -webkit-animation-delay: 0;
    -webkit-animation-play-state: running;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: animation;
    -moz-animation-duration: 0.3s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: 1;
    -moz-animation-direction: normal;
    -moz-animation-delay: 0;
    -moz-animation-play-state: running;
    -moz-animation-fill-mode: forwards;
	
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddebf3), to(#90c0d9)); 
	background: -webkit-linear-gradient(top, #90c0d9, #ddebf3);
	background: -moz-linear-gradient(top, #90c0d9, #ddebf3); 
	background: -ms-linear-gradient(top, #90c0d9, #ddebf3); 
	background: -o-linear-gradient(top, #90c0d9, #ddebf3);
}
#nav li:hover ul {
    left: 0;
    top: 34px;
    width: 230px;
}