
/* main menu styles */
#nav,#nav ul {
    list-style:none;
    margin:0;
    padding:0;
}
#nav {
    position: relative;
    border-width: 0px;
    margin: 0px;
    padding: 0px;
}
#nav ul {
    display:none;
    position:absolute;
    top:37px;
    width:auto;
    z-index:1000;
    opacity:0.9;
}
#nav ul ul {
    display:none;
    position:absolute;
    top:0;
    width:auto;
}
#nav li {
    float:right;
    margin-right:5px;
    position:relative;
}
#nav li a {
    color:#4D4D4D;
    display:block;
    float:left;
    font-size:14px;
    padding:8px 10px;
    text-decoration:none;
}
#nav > li > a {
    padding:9px 20px;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    -o-border-radius:6px;
    border-radius:6px;

    overflow:hidden;
}
#nav li a.fly {
    background:url(../../images/arrow.gif) no-repeat left center;
    padding-left:15px;
}
#nav ul li {
    margin:0;
}
#nav ul li a {
    width:120px;
    background-color:#fff;
}
#nav ul li a.fly {
    padding-left:10px;
    background-color:#fff;
}

/*hover styles*/
#nav li:hover > a {
    color:#ef3f3e;
}

/*focus styles*/
    #nav li a:focus {
    outline-width:0;
}

/*popups*/
#nav li a:active + ul.dd,#nav li a:hover + ul.dd,#nav li ul.dd:hover {
    right:0;
    display:block;
}
#nav ul.dd li a:active + ul,#nav ul.dd li a:hover + ul,#nav ul.dd li ul:hover {
    display:block;
    right:140px;
}