#nav {
    border:1px solid #2e2e2e;
	padding-left:20px;

    
}
#nav, #nav ul {
    list-style:none;
    padding:0;
    width:180px;
}
#nav ul {
    position:relative;
    z-index:-1;
}
#nav li {
    position:relative;
    z-index:100;
}
#nav ul li {
    margin-top:-23px;
 -moz-transition:  0.4s linear 0.4s;
    -ms-transition: 0.4s linear 0.4s;
    -o-transition: 0.4s linear 0.4s;
    -webkit-transition: 0.4s linear 0.4s;
    transition: 0.4s linear 0.4s;
}
#nav li a {
	background-color:#1c1c1c;
	color:#888888;
	display:block;
	font-size:12px;
	font-weight:bold;
	line-height:28px;
	outline:0;
	padding-left:15px;
	text-decoration:none;
	font-family: Arial, Helvetica, sans-serif;
}
#nav li a.sub {
    background:#1c1c1c url("/images/down.gif") no-repeat;
}
#nav li a + img {
    cursor:pointer;
    display:none;
    height:28px;
    left:0;
    position:absolute;
    top:0;
    width:200px;
}
#nav li a img {
    border-width:0px;
    height:24px;
    line-height:28px;
    margin-right:8px;
    vertical-align:middle;
    width:24px;
}
#nav li a:hover {
    background-color:#202020;
}
#nav ul li a {
    background-color:#1d1d1d;
    color:#555555;
    font-size:11px;
    line-height:22px;
}
#nav ul li a:hover {
    background-color:#222222;
    color:#888888;
}
#nav ul li a img {
    background: url("/images/bulb.png") no-repeat;
    border-width:0px;
    height:16px;
    line-height:22px;
    margin-right:5px;
    vertical-align:middle;
    width:16px;
}
#nav ul li:nth-child(odd) a img {
    background:url("/images/bulb2.png") no-repeat;
}
#nav a.sub:focus {
    background:#1f1f1f;
	border-bottom:1px solid #2e2e2e;
    outline:0;
}
#nav a:focus ~ ul li {
    margin-top:0;

    -moz-transition:  0.4s linear;
    -ms-transition: 0.4s linear;
    -o-transition: 0.4s linears;
    -webkit-transition: 0.4s linears;
    transition: 0.4s linear;
}
#nav a:focus + img, #nav a:active + img {
    display:block;
}
#nav a.sub:active {
    background:#232323;
    outline:0;
}
#nav a:active ~ ul li {
    margin-top:10px;
}
#nav ul:hover li {
    margin-top:0;
}