body {behavior:url('http://blog.hinckleyrugby.co.uk/csshover.htc');
}
* {margin:0; padding:0;}

#main { width:900px;
margin: 0 auto;
clear: left;

}


#header_hrfc { 

width:880px;
margin: 0 auto;

}

#logo_hrfc {width:880px;
margin: 0 auto;
text-align: left


}
body {text-align:center;
/*background:  url(images/serifbg.jpg);
background-repeat: repeat-y;*/
padding:0px;
background-color: #ecebdd;
font: 9pt Arial, Verdana, Helvetica;
color: #666666;
}

#backgroundColor {

background:  url('http://www.hinckleyrugby.co.uk/images/background.jpg') repeat-y;
}

#center_header_hrfc {
float: left;
}

#topCurve_hrfc{ 
height:30px;
background:  url('http://www.hinckleyrugby.co.uk/images/topCurve.jpg') no-repeat;

}

#bottomCurve_hrfc{ 
height:30px;
background:  url('http://www.hinckleyrugby.co.uk/images/bottomCurve.jpg') no-repeat bottom;
margin-bottom: 15px

}

#headerLeft_hrfc{ 
float:left;
background: url('http://www.hinckleyrugby.co.uk/images/header-images/leftheader.png');
width:9px;
height:47px
}

#headerMiddle_hrfc{ 
float: left;
text-align: left;
vertical-align: middle;
width:860px;
background:  url('http://www.hinckleyrugby.co.uk/images/header-images/mainheader.png');
height:47px
}

#headerRight_hrfc{
float: right;
background: url('http://www.hinckleyrugby.co.uk/images/header-images/rightheader.png');
width:11px;
height:47px
}


/* the horizontal menu starts here */
div#listmenu_hrfc {
	width: 860px; 	/* makes the div full width */
	float:left; /*makes the div enclose the list */
	font-family: arial, sans-serif;
	font-size:12px; 
	font-weight: bold;
	}
div#listmenu_hrfc ul {margin:0 0 0 0px;/* indents ul from edge of container */
	}
div#listmenu_hrfc li {
	float:left;	/* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	z-index:100;
	list-style-type:none;	/* removes the bullet off each list item */
	background-color:#ffffff; /*sets the background of the menu items */
	}

	div#listmenu_hrfc a {
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	padding:0px; /*creates space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color:#333;	/* sets the type color */
	}

	div#listmenu_hrfc a:hover { 
	text-decoration: underline;
	color:#fff; 
       	} 	
	
/* the horizontal menu ends here */

/* the drop-down starts here */
div#listmenu_hrfc ul li ul {
	margin:0; /* prevents the TEMP value inheriting from the horiz menu - OK to remove if you remove TEMP above */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	z-index:100;
	width:9.8em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:-1px; /*aligns the drop exactly under the menu */
			}
div#listmenu_hrfc ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:1px solid #999999; /*  three sides of each drop-down item */
	border-bottom:1px solid #999999;
	border-right:1px solid #999999;
	padding: 2px 0px 2px 2px;
	}

div#listmenu_hrfc ul li ul li:hover { 
	background-color:#b3ab79;  /* sets the background of the menu items */
	}
	
div#listmenu_hrfc ul li ul li:first-child {
	border-top:1px solid #999999; /*the top edge of the dropdown */
	}
/* make the drop-down display as the menu is rolled over */
div#listmenu_hrfc ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu_hrfc ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* pop-out starts here */
body div#listmenu_hrfc ul li ul li ul  {
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:9.7em; 
	
	}
div#listmenu_hrfc ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* another level of pop-outs */
div#listmenu_hrfc ul li ul li:hover ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu_hrfc ul li ul li ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* THE HACK ZONE - */

/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#listmenu_hrfc ul {
	float:left; /* makes the ul wrap the li's */
	border-left:0px solid #000; /* adds the rightmost menu vertical line to the ul */
	margin-left:0px; /* IE doubles the given value above - why? */
	}
/* add a top line to drops and pops in IE browsers - can't read :first-child */
	html  div#listmenu_hrfc ul li ul {
	border-top:1px solid #999999;
	border-left:0px; /* stops the drop inheriting the ul border */
	}
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */
* html  div#listmenu_hrfc ul li ul li ul { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:9.7em;
  }
/* and the "be nice to Opera" rule */
html>body div#listmenu_hrfc ul li ul li ul {
  top:-1px;
  left:10em;

  }

/* end of hack zone */



div.button_hrfc {top:0px; left: 0px; border: 0px #000 solid;}
a.club  {
			width:96px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/clubRoomHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.club:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.club:hover {background-position: 0px -48px; color:green;} 

a.rugby  {width:93px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/rugbyZoneHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.rugby:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.rugby:hover {background-position: 0px -48px; color:green;}

a.fixtures  {width:137px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/fixturesResultsHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.fixtures:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.fixtures:hover {background-position: 0px -48px; color:green;}

a.sponsor  {width:98px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/sponsorshipHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.sponsor:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.sponsor:hover {background-position: 0px -48px; color:green;}

a.shop  {width:94px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/shopSaveHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.shop:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.shop:hover {background-position: 0px -48px; color:green;}

a.news  {width:51px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/newsHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.news:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.news:hover {background-position: 0px -48px; color:green;}


a.say  {width:108px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/sayHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.say:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.say:hover {background-position: 0px -48px; color:green;}

a.contact  {width:108px; 
			height:47px; 
			background:  #000 url(http://www.hinckleyrugby.co.uk/images/HeaderImages/contactHeader.png) no-repeat 0px 0px;
			}
			div.button_hrfc a.contact:link {background-position: 0px 0px; color: black; text-decoration:none;}
			div.button_hrfc a.contact:hover {background-position: 0px -48px; color:green;}

/* END OF LIST-BASED MENU */



