/* The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/hover_drop_1.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html was modified by Willem
arrow:  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #900000;
=================================================================== */
.table {
	display: table; 
	margin-top:1px;
	margin-bottom:0;
	margin-left:auto;
	margin-right:auto;
}
/* the above is to center the menu (in my webpage table cell) . */

#menu {list-style-type:none; padding:0; margin:0 0 0 0;} 
#menu ul {list-style-type:none; padding:0; margin:0;}
#menu li {float:left; background:#EDDFB7; margin:-1px 0 0 -1px; border:1px solid #800000; width:90px; height:20px;} 
/* #menu li.sub {background:#E3C177;} this gives the menu heading with a sub a different bg color */

/* for IE5.5 and IE6 only */

#menu li a {display:block; color:#900000; height:20px; font-family:arial; font-size:11px; line-height:19px; width:90px; text-decoration:none; text-align:center;}
#menu li a table {position:absolute; left:0; top:-1px; border-collapse:collapse; width:0; height:0;}

#menu :hover {color:#fff; background:#E3c177; position:relative;}
#menu :hover > a {color:#fff; background:#E3c177;}

#menu ul, 
#menu :hover ul ul,
#menu :hover ul :hover ul ul,
#menu :hover ul :hover ul ul.left {visibility:hidden; height:0; overflow:hidden;}

#menu :hover ul {visibility:visible; overflow:visible; position:absolute; height:auto; left:-1px;top:21px; background:url(pixel.gif);} /* the background image is for IE7 */

#menu :hover ul :hover ul,
#menu :hover ul :hover ul :hover ul {visibility:visible; overflow:visible; height:auto; padding:0px 3px; left:110px; top:2px;}

#menu li li {width:120px;}
#menu li li a {width:110px; text-align: left; padding-left: 10px;}

#menu li li li {width:120px; background:#F0E7D0;}
#menu li li li a {width:110px; text-align: left; padding-left: 10px;}


/*bottom part added by Stu Nichols on 11 Jan2016 so that the top menu dropdown does not disappear behind the second TNG menu*/
#tngnav a.here {
    position: relative;
    z-index: 1;
}
