#nav,#nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav {
    background: url('menu_bg.png') no-repeat scroll 0 0 transparent;
    font-size: 15px;
    height: 28px;
    position: relative;
    width: auto;
}
#nav ul {
    background-color: #222;
    border:1px solid #222;
    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;
    height: auto;
    width: auto;

    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);

}
#nav li {
    background: url('menu_line.png') no-repeat scroll right 5px transparent;
    float: right;
    position: relative;
    height: 9000px;
    height: auto;
    width: auto;
    
}
#nav li a {
    color: #FFFFFF;
    display: block;
    float: center;
    font-weight: normal;
    height: 30px;
    padding: 23px 20px 10px;
    position: relative;
    text-decoration: none;
    text-shadow: 1px 1px 1px #121212;
}
#nav li:hover > a {
    color: #c0c0c0;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
    background: none repeat scroll 0 0#121212;
    outline: 0 none;
}
#nav li:hover ul.subs {
    left: 0;
    top: 53px;
    width: 180px;

    -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;
}
#nav ul li:hover > a {
    background-color: #121212;
    color: #c0c0c0;
}