#nav {
    float:right;
	list-style:none;
	padding:0;
	margin:0;
	margin-top:40px;
	
}
#nav li {
    float:left;
	list-style:none;
	padding:0;
	margin:0;
    position: relative;
}
#nav a {
    background: none repeat scroll 0 0 Transparent;
    border-radius: 5px;
    color: #29166f;
    display: block;
    font-family: 'Calibri';
    font-size: 18px;
    line-height: 36px;
    letter-spacing: -1.2px;
    line-height: 36px;
    margin-right: 2px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    text-decoration: none;
    width: auto;
}
#nav a:hover, #nav .current a, #nav li:hover > a {
    background: #8c0000; /* Old browsers */
background: -moz-linear-gradient(top, #8c0000 0%, #770000 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8c0000), color-stop(100%,#770000)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #8c0000 0%,#770000 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #8c0000 0%,#770000 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #8c0000 0%,#770000 100%); /* IE10+ */
background: linear-gradient(to bottom, #8c0000 0%,#770000 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c0000', endColorstr='#770000',GradientType=0 ); /* IE6-9 */
    color: #fff;
}

#nav ul li:hover a, #nav li:hover li a {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    color: #666666;
}
#nav ul a:hover {
    background:#fff !important;
    color: #8b0000 !important;
}
#nav li:hover > ul {
    display: block;
}
#nav ul {
    background:#DDDDDD;
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: none;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 35px;
    width: 185px;
	z-index:2;
}
#nav ul li {
    float: none;
    margin: 0;
    padding: 0;
}
#nav ul a {
    font-weight: normal;
	text-align:left;
	padding-left:15px;
	letter-spacing:normal;
}
#nav ul ul {
    left: 181px;
    top: -3px;
}
#nav ul li:first-child > a {
}
#nav ul li:last-child > a {
}
#nav:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}
#nav {
    display: inline-block;
}
html[xmlns] #nav {
    display: block;
}
* html #nav {
    height: 1%;
}
