/* 
	WordPress Menubar Plugin
	sf-blue.css stylesheet for the Suckerfish_41 template
	
	RC: Plugin does not seem to allow spec of a custom stylesheet name...
	...so edits are made to distribtion file with a copy being held in the same dir. 

	Credits:
	Son of Suckerfish Dropdowns
	By Patrick Griffiths and Dan Webb
	http://www.htmldog.com/articles/suckerfish/dropdowns/
*/
/*
RC: Remove 10px right and left margins - but replace RH margin with a single pixel to
avoid IE7 blowing up.
*/
.sf-blue {
	margin: 0px 1px 0 0;
	background: #1874CD;
	height: 26px;
	border-top: 1px solid #2EB0FF;
	padding: 0;
	text-align: left;
}
/* IE6 and below requires this to get it to respond to the high z-index for the drop down */
* html .sf-blue {
	position: relative;
	z-index: 100;
}
/* IE7 needs the same. */
*:first-child+html .sf-blue {
	position: relative;
	z-index: 100;
}

.sf-blue ul {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #1874CD;
	width: 100%;
	z-index: 9;
}

.sf-blue ul ul {
	top: 26px;
	position: absolute;
	left: -999em;
	width: 170px;
	margin: 0;
	padding: 0;
}
	
.sf-blue ul ul ul {
	margin: -26px 0 0 170px;
}

.sf-blue li {
	float: left;
	padding: 0;
	height: 26px;
	position: relative;
}

.sf-blue li li {
	float: left;
	padding: 0;
	width: 170px;
}
/*
RC: interaction of padding, letter-spacing and browser is unfathomable. So: keep to absolute pixel spec and set letter-spacing and padding to 
values that are spot on for IE8/9 (and acceptable for IE LT 8). Then get padding conditionally close for Firefox. WebKit needs different
spacing / padding (does it round up?) to avoid the menu wrapping because it is too long. This varies between Safari, Mobile Safari & Android.  
Opera (desktop only tested) is fine with IE values.
*/
.sf-blue a, 
.sf-blue a:visited, 
.sf-blue a:hover {
	text-transform: uppercase; 
	font-family: "Trebuchet MS", Tahoma, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif; 
	letter-spacing: 3.2px;
	font-size: 12px;
	font-weight: bold;
	float: left;
	color: white;
	text-decoration: none;
	display: block;
	height: 26px;
	line-height: 26px;
	padding: 0 11.7px;
	overflow: hidden;
}

/* WebKit */
@media all and (-webkit-device-pixel-ratio) {
 .sf-blue a, .sf-blue a:visited, .sf-blue a:hover  { letter-spacing: 3px; padding: 0 10px }
}

/*
 * WebKit, but also likely a desktop. 
 * This allows the default WebKit rule above, to specify padding at a level that does not push Android browsers to wrap the menu,
 * with the side-effect of a bigger space at the RH end of the menu on iPhone and iPad - which are perfect at 11.
 */
@media screen and (-webkit-device-pixel-ratio) and (min-device-width: 1024px) {
  .sf-blue a, .sf-blue a:visited, .sf-blue a:hover  { letter-spacing: 3px; padding: 0 11px }	
} 
/* Firefox */
.sf-blue a, .sf-blue a:visited, .sf-blue a:hover,  x:-moz-any-link  { letter-spacing: 3.2px; padding: 0 10.8px; }
/*
 
 */
RC: width reduced from 167 to more proportionate 130
*/
.sf-blue li li a, 
.sf-blue li li a:visited, 
.sf-blue li li a:hover {
	padding: 0;
	text-indent: 15px;
	width: 130px;
}

.sf-blue li:hover ul ul, 
.sf-blue li:hover ul ul ul,
.sf-blue li:hover ul ul ul ul,  
.sf-blue li.wpmhover ul ul, 
.sf-blue li.wpmhover ul ul ul, 
.sf-blue li.wpmhover ul ul ul ul {
	left: -999em;
}

.sf-blue li:hover ul, 
.sf-blue li li:hover ul, 
.sf-blue li li li:hover ul, 
.sf-blue li li li li:hover ul,
.sf-blue li.wpmhover ul, 
.sf-blue li li.wpmhover ul, 
.sf-blue li li li.wpmhover ul,
.sf-blue li li li li.wpmhover ul{
	left: 0;
}

.sf-blue li.selected, 
.sf-blue li.current-cat, 
.sf-blue li.current-cat-parent, 
.sf-blue li.current_page_item, 
.sf-blue li.current_page_parent,
.sf-blue li.current_page_ancestor  {
	background: #1C86EE;
}

.sf-blue li:hover, 
.sf-blue li.wpmhover {
	visibility: inherit;
	background: #1C86EE;
}

.sf-blue li {
	border-left: 1px solid #2EB0FF;
	border-right: 1px solid #104E8B;
}

.sf-blue li li {
	border-left: 0;
	border-right: 0;
	border-top: 1px solid #2EB0FF;
	border-bottom: 1px solid #104E8B;
}
/*
RC: Give high z-index to second level unordered list so dropdowns are not obscured by slide show on home page.
*/
.sf-blue ul ul {
	border-left: 1px solid #2EB0FF;
	border-right: 1px solid #104E8B;
	z-index: 99;
}

.sf-blue li.right {
	float: right;
}

.sf-blue form {
	margin: 0;
	padding: 4px 10px 0;
}

.sf-blue form input {
	border: 0;
}
/*
RC: Push bottom margin to 5px to give a gap before content.
As above, lose the 10px horizontal margins, replacing the
RH with 1px for IE8 on XP.
*/ 
.sf-blue-after {
	clear: both;
	margin: 0 1px 15px 0;
	background: url(shadow.png) repeat-x;
	height: 6px;
	border-top: 1px solid #104E8B;
}

li.sf-drop-indicator, li.sf-drop-indicator:hover, li.sf-drop-indicator.selected  {
	background-image: url('down-arrow-ffffff.gif');
	background-repeat: no-repeat;
	background-position: right center;
}

.sf-drop-indicator a, .sf-drop-indicator a:hover {
	margin-right: 7px;
}