/*** ESSENTIAL STYLES ***/
#menubar, #menubar * {
	margin:			0;
	padding:		0;
	list-style:		none;
	font-family: american typewriter,verdana;
}
#menubar {
	line-height:	1.0;
	
	position:		relative;
}
#menubar ul {
	position:		absolute;
	top:			-999em;
}
#menubar ul li {
	width:			100%;
}
#menubar li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
#menubar li {
	float:			left;
	position:		static;
}
#menubar li ul {
	width:			44em; /*IE6 fails without this*/
	font-size:      0.75em;
}
#menubar li li {
	position:		relative;
}
#menubar a {
	display:		block;
	position:		relative;
}

#menubar li:hover ul,
#menubar li.sfHover ul {
	left:			0;
	top:			42px; /* match top ul list item height */
	z-index:		99;
}
ul#menubar li:hover li ul,
ul#menubar li.sfHover li ul {
	top:			-999em;
}
ul#menubar li li:hover ul,
ul#menubar li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul#menubar li li:hover li ul,
ul#menubar li li.sfHover li ul {
	top:			-999em;
}
ul#menubar li li li:hover ul,
ul#menubar li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** RUBY PR SKIN ***/
#menubar {
	float:			left;
	margin-bottom:	1em;
}
#menubar a {
	text-decoration:none;
}
#menubar li a { /* visited pseudo selector so IE6 applies text colour*/
	color:			#8c7083;
}
#menubar li.selected {
color: #ea2577;
}
#menubar li:hover,
#menubar li.sfHover,
#menubar li li.selected,
#menubar a:focus, #menubar a:hover, #menubar a:active {
color: #ea2577;
}

#menubar li ul li a {
color:          #ae99a7;
}

#menubar ul li:hover,
#menubar ul li.sfHover,
ul#menubar ul li:hover li,
ul#menubar ul li.sfHover li,
#menubar ul a:focus, #menubar ul a:hover, #menubar ul a:active {
	background:		#fff;
	color: #ea2577;
}
ul#menubar li li li:hover,
ul#menubar li li li.sfHover,
#menubar li li.selected li.selected,
#menubar ul li li a:focus, #menubar ul li li a:hover, #menubar ul li li a:active {
	background:		#fff;
	color: #ea2577;
}
ul#menubar .selected ul,
ul#menubar ul li:hover ul,
ul#menubar ul li.sfHover ul {
	left:			0;
	top:			40px; /* match top ul list item height */
}
ul#menubar .selected ul ul {
	top: 			-999em;
}

#menubar li li ul {
	width:			13em;
}
#menubar li li li {
	width:			100%;
}
#menubar ul li {
	width:			auto;
	float:			left;
}

ul#menubar .selected ul,
ul#menubar ul li:hover ul,
ul#menubar ul li.sfHover ul {
	left:			0;
	top:			40px; /* match top ul list item height */
}
ul#menubar .selected ul ul {
	top: 			-999em;
}



/*** shadows for all but IE6 ***/
#menubar.sf-shadow ul {
	background:	url('../layout-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;
}
#menubar.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

/*** remove shadow on first submenu ***/
#menubar.sf-shadow > li > ul {
	background: transparent;
	padding: 0;
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-left-radius: 0;
}

/* INDIVIDUAL MENU LINKS */
ul#menubar li span.text {
display: none;
}

ul#menubar li#about-ruby a {
width:145px;
height:40px;
background: #fff url(/media/layout-images/menu_about.jpg) 0 0 no-repeat;
}

ul#menubar li#about-ruby a:hover {
width:145px;
height:40px;
background: #fff url(/media/layout-images/menu_about.jpg) 0 -40px no-repeat;
}

ul#menubar li#services a {
width:135px;
height:40px;
background: #fff url(/media/layout-images/menu_services.jpg) 0 0 no-repeat;
}

ul#menubar li#services a:hover {
width:135px;
height:40px;
background: #fff url(/media/layout-images/menu_services.jpg) 0 -40px no-repeat;
}

ul#menubar li#sectors a {
width:100px;
height:20px;
background: #fff url(/media/layout-images/menu_sectors.jpg) 0 0 no-repeat;
}

ul#menubar li#sectors a:hover {
width:100px;
height:20px;
background: #fff url(/media/layout-images/menu_sectors.jpg) 0 -20px no-repeat;
}

ul#menubar li#events a {
width:115px;
height:40px;
background: #fff url(/media/layout-images/menu_events.jpg) 0 0 no-repeat;
}

ul#menubar li#events a:hover {
width:115px;
height:40px;
background: #fff url(/media/layout-images/menu_events.jpg) 0 -40px no-repeat;
}

ul#menubar li#whats-new a {
width:165px;
height:40px;
background: #fff url(/media/layout-images/menu_news.jpg) 0 0 no-repeat;
}

ul#menubar li#whats-new a:hover {
width:165px;
height:40px;
background: #fff url(/media/layout-images/menu_news.jpg) 0 -40px no-repeat;
}

ul#menubar li#charity a {
width:132px;
height:40px;
background: #fff url(/media/layout-images/menu_charity.jpg) 0 0 no-repeat;
}

ul#menubar li#charity a:hover {
width:132px;
height:40px;
background: #fff url(/media/layout-images/menu_charity.jpg) 0 -40px no-repeat;
}

ul#menubar li#clients a {
width:132px;
height:40px;
background: #fff url(/media/layout-images/menu_clients.jpg) 0 0 no-repeat;
}

ul#menubar li#clients a:hover {
width:132px;
height:40px;
background: #fff url(/media/layout-images/menu_clients.jpg) 0 -40px no-repeat;
}

ul#menubar li#gossip a {
width:123px;
height:40px;
background: #fff url(/media/layout-images/menu_gossip.jpg) 0 0 no-repeat;
}

ul#menubar li#gossip a:hover {
width:123px;
height:40px;
background: #fff url(/media/layout-images/menu_gossip.jpg) 0 -40px no-repeat;
}

ul#menubar li#get-in-touch a {
width:165px;
height:40px;
background: #fff url(/media/layout-images/menu_contact.jpg) 0 0 no-repeat;
}

ul#menubar li#get-in-touch a:hover {
width:165px;
height:40px;
background: #fff url(/media/layout-images/menu_contact.jpg) 0 -40px no-repeat;
}