/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.cssHmenu {width:778px; height:25px; position:relative; z-index:100;}

/* hack to correct IE5.5 faulty box model */
* html .cssHmenu {width:778px; w\idth:778px;}

/* remove all the bullets, borders and padding from the default list styling */
.cssHmenu ul {padding:0; margin:0; list-style-type:none;}
.cssHmenu ul ul {width:147px;}

/* width of top level, float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon*/
.cssHmenu li {float:left; width:147px; position:relative;}

/* style the links for the top level */
.cssHmenu a, .cssHmenu a:visited {display:block; text-decoration:none; color:#FFE39E; width:147px; height:25px; border:0px solid #000; line-height:22px;}

/* width of top level, a hack so that IE5.5 faulty box model is corrected */
* html .cssHmenu a, * html .cssHmenu a:visited {width:120px; w\idth:120px;}

/* style the second level background */
.cssHmenu ul ul a.drop, .cssHmenu ul ul a.drop:visited {background:#341614 url(../templates/images/cssHmenu-submenubg.jpg);}

/* style the second level hover */
.cssHmenu ul ul a.drop:hover{background:#341614 url(../templates/images/cssHmenu-submenubg.jpg);}
.cssHmenu ul ul :hover > a.drop {background:#341614 url(../templates/images/cssHmenu-submenubg.jpg);}

/* style the third level background */
.cssHmenu ul ul ul a, .cssHmenu ul ul ul a:visited {background:#341614 url(../templates/images/cssHmenu-submenubg.jpg);}

/* style the third level hover */
.cssHmenu ul ul ul a:hover {background:#341614 url(../templates/images/cssHmenu-submenubg.jpg);}


/* margin of 1st and 2nd menu for IE7, hide the sub levels and give them a positon absolute so that they take up no room */
.cssHmenu ul ul {visibility:hidden; position:absolute; height:0; top:25px; left:0; width:147px; border-top:0px solid #000;}

/* another hack for IE5.5, margin of 1st and 2nd menu */
* html .cssHmenu ul ul {top:25px; t\op:25px;}

/* position the third level flyout menu */
.cssHmenu ul ul ul{left:168px; top:0px; width:147px;}

/* position the third level flyout menu for a left flyout */
.cssHmenu ul ul ul.left {left:-147px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.cssHmenu table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
.cssHmenu ul ul a, .cssHmenu ul ul a:visited {
	background-image: url(../templates/images/cssHmenu-submenubg.jpg);
	color:#FFE39E;
	height:auto;
	line-height:16px;
	padding:5px 10px;
	width:147px;
	border:1px solid #302112;
	text-align:left;
}

/* yet another hack for IE5.5, width of second level */
* html .cssHmenu ul ul a, * html .cssHmenu ul ul a:visited {width:147px; w\idth:147px;}

/* style the top level hover */
.cssHmenu a:hover, .cssHmenu ul ul a:hover, .cssHmenu ul ul ul a:hover{color:#FFFFFF; background:#341614; }
.cssHmenu :hover > a, .cssHmenu ul ul :hover > a, .cssHmenu ul ul ul :hover > a {color:#FFFFFFF; background:#341614;}


/* make the second level visible when hover on first level list OR link */
.cssHmenu ul li:hover ul,
.cssHmenu ul a:hover ul{visibility:visible; }

/* keep the third level hidden when you hover on first level list OR link */
.cssHmenu ul :hover ul ul{visibility:hidden;}

/* make the third level visible when you hover over second level list OR link */
.cssHmenu ul :hover ul :hover ul{ visibility:visible;}
.cssHmenu ul :hover ul :hover ul ul{ visibility:hidden;}

/* 4th */
.cssHmenu ul :hover ul :hover ul :hover ul { visibility:visible;}
.cssHmenu ul :hover ul :hover ul :hover ul ul{ visibility:hidden;}

/* 5th */
.cssHmenu ul :hover ul :hover ul :hover ul :hover ul{ visibility:visible;}
.cssHmenu ul :hover ul :hover ul :hover ul :hover ul ul{ visibility:hidden;}

/* 6th */
.cssHmenu ul :hover ul :hover ul :hover ul :hover ul :hover ul{ visibility:visible;}
.cssHmenu ul :hover ul :hover ul :hover ul :hover ul :hover ul ul{ visibility:hidden;}

/* 7th */
.cssHmenu ul :hover ul :hover ul :hover ul :hover ul :hover ul :hover ul{ visibility:visible;}
.cssHmenu ul :hover ul :hover ul :hover ul :hover ul :hover ul :hover ul ul{ visibility:hidden;}
