ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav,
ul#nav {
    list-style: none;
    background: #01466e;
    height: 35px;
    border-bottom: 1px solid #fff;
    padding-left: 90px;
}

#nav li { /* all list items */
    float: left;
    position: relative;
	width: auto;
    line-height: 1.0;
    z-index: 5;
}

#nav li ul {
    width: 150px;
}

#nav li ul { /* second-level lists */
	position: absolute;
    top: 35px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
    background: #0d5e8d;
    padding: 5px 15px 10px 10px;
	width: 180px;
	height: auto;
	z-index: 100;
}

#nav li ul ul { /* third-and-above-level lists */
    background: #0d5e8d;
	margin-left: 165px;
    top: -5px;
}

#nav li li {
	display: block;
	padding: 2px;
	width: 100%;
    padding: 2px;
    font-size: 10px;
    border-bottom: 1px solid #016CAA;
}

#nav li:hover ul ul,
#nav li.hover ul ul {
	left: -999em;
}

#nav li:hover ul,
#nav li li:hover ul,
#nav li.hover ul,
#nav li li.hover ul { /* lists nested under hovered list items */
	left: 0;
}

#nav li a {
	float: left;
    height: 35px;
	text-align: left;
	text-indent: -999em;
	padding: 0;
	text-decoration: none;
}

#nav li ul a {
    float: none;
    display: block;
    background: url(../images/bg/li_square.gif) no-repeat 0 4px;
	padding-left: 15px;
	width: 100%;
	height: 15px;
    text-align: left;
    text-indent: 0;
    color:  #fff;
}

#nav li ul a:hover {
    background: url(../images/bg/li_square.gif) no-repeat 0 -21px;
    text-decoration: underline;
}

#nav a {
    float: left;
    height: 35px;
    width: 75px;
    text-decoration: none;
    text-align: left;
    text-indent: -999em;
	outline: none;
}

a#btn-1 {
    background: url(../images/btn/btn1.gif) no-repeat 10px -7px;
}

a#btn-1:hover,
#nav li.hover a#btn-1 {
    background: #0D5E8D url(../images/btn/btn1.gif) no-repeat 10px -7px;
}

a#btn-2 {
    width: 90px;
    background: url(../images/btn/btn2.gif) no-repeat 10px -7px;
}

a#btn-2:hover,
#nav li.hover a#btn-2 {
    background: #0D5E8D url(../images/btn/btn2.gif) no-repeat 10px -7px;
}

a#btn-3 {
    width: 85px;
    background: url(../images/btn/btn3.gif) no-repeat 5px -7px;
}

a#btn-3:hover,
#nav li.hover a#btn-3 {
    background: #0D5E8D url(../images/btn/btn3.gif) no-repeat 5px -7px;
}

a#btn-4 {
    width: 95px;
    background: url(../images/btn/btn4.gif) no-repeat 6px -7px;
}

a#btn-4:hover,
#nav li.hover a#btn-4 {
    background: #0D5E8D url(../images/btn/btn4.gif) no-repeat 6px -7px;
}

a#btn-5 {
    width: 75px;
    background: url(../images/btn/btn5.gif) no-repeat 6px -7px;
}

a#btn-5:hover,
#nav li.hover a#btn-5 {
    background: #0D5E8D url(../images/btn/btn5.gif) no-repeat 6px -7px;
}

a#btn-6 {
    width: 95px;
    background: url(../images/btn/btn6.gif) no-repeat 8px -7px;
}

a#btn-6:hover,
#nav li.hover a#btn-6 {
    background: #0D5E8D url(../images/btn/btn6.gif) no-repeat 8px -7px;
}

a#btn-7 {
    width: 95px;
    background: url(../images/btn/btn7.gif) no-repeat 5px -7px;
}

a#btn-7:hover,
#nav li.hover a#btn-7 {
    background: #0D5E8D  url(../images/btn/btn7.gif) no-repeat 5px -7px;
}

#nav ul li ul li a {
    display: block;
}