/* Menu
-------------------------------------------- */
#menu {
    background: url(../images/menu.png) repeat-x;
    height: 44px;
    position: relative;
    z-index: 999;
}

#menu a {
    background: url(../images/menu.png) repeat-x;
    color: #34393e;
    display: block;
    font-weight: bold;
    line-height: 44px;
    height: 44px;
    padding: 0 20px;
    text-decoration: none;
    float: left;
}

#menu a:hover, #menu .hover a, #menu .current a, #menu .section a {
    background: url(../images/menu.png) 0 -44px repeat-x;
    color: #f1f8ff;
}

#menu li li a, #menu .hover li a, #menu .current li a, #menu .section li a {
    background: #dde4e7;
    color: #34393e;
    width: 200px;
}

#menu li li a:hover, #menu .hover li a:hover {
    background: #3d3f3f;
    color: #f1f8ff;
}

#menu .login, #menu .logout {
    float: right;
    padding: 3px 0 0;
}

#menu .login a {
    background: #309908;
    height: 41px;
    line-height: 41px;
    padding: 0 20px;
}

#menu .logout a {
    background: #fc0003;
    height: 36px;
    line-height: normal;
    padding: 5px 10px 0 10px;
    text-align: center;
}

#menu ul {
	position: absolute;
	top: -999em;
	width: 250px; /* left offset of submenus need to match (see below) */
}

#menu ul li {
	width: 100%;
}

#menu li {
	float: left;
	position: relative;
}

#menu li:hover ul,
#menu li.hover ul {
	left: 0;
	top: 44px; /* match top ul list item height */
	z-index: 99;
}

ul#menu li:hover li ul,
ul#menu li.hover li ul {
	top: -999em;
}

ul#menu li li:hover ul,
ul#menu li li.hover ul {
	left: 250px; /* match ul width */
	top: 0;
}

ul#menu li li:hover li ul,
ul#menu li li.hover li ul {
	top: -999em;
}

ul#menu li li li:hover ul,
ul#menu li li li.hover ul {
	left: 250px; /* match ul width */
	top: 0;
}


/* Arrows
-------------------------------------------- */
#menu a.sf-with-ul {
	padding-right: 2.25em;
	min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
}

.sf-sub-indicator {
	position: absolute;
	display: block;
	right: .75em;
	top: 17px; /* IE6 only */
	width: 10px;
	height:	10px;
	text-indent: -999em;
	overflow: hidden;
	background:	url(../images/arrows.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}

a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top: 17px;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

/* apply hovers to modern browsers */
.current .sf-sub-indicator,
.section .sf-sub-indicator,
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.hover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
#menu ul .sf-sub-indicator { background-position: -10px 0; }
#menu ul a > .sf-sub-indicator { background-position: 0 0; }

/* apply hovers to modern browsers */
#menu ul a:focus > .sf-sub-indicator,
#menu ul a:hover > .sf-sub-indicator,
#menu ul a:active > .sf-sub-indicator,
#menu ul li:hover > a > .sf-sub-indicator,
#menu ul li.hover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}


/* Shadows for all but IE6
-------------------------------------------- */
.sf-shadow ul {
	background:	url(../images/shadow.png) no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}

.sf-shadow ul.sf-shadow-off {
	background: transparent;
}