#pad {height:140px;}
/* ================================================================ 
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.cssmenus.co.uk
Copyright (c) 2009- Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#menu {padding:0; margin:0; 	margin-bottom: 20px; list-style:none; height:30px; position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
#menu li {float:left; margin-right:1px;}


/* non drop menu items */
#menu li a {display:block; float:left; height:30px; line-height:30px; background:#000; color:orange; text-decoration:none; font-size:13px; font-weight:bold; padding:0 30px 0 20px;}

#menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default link styling */
/* Style the list OR link hover. Depends on which browser is used */

/* this is being picked up on sub pages e.g. iditarod */
#menu li a:hover {z-index:200; position:relative;color:orange; background-color:green;}

#menu li:hover {position:relative; z-index:200;}

/* This changes the text and background colours when the button is hovered over for non drop down menu item */

/* the ">" character is a combinator - need to understand difference between children and descendents
 
A descendent of element A is any element contained within A. For example, anything on this blog is a descendent of the <body> element
A child of element A is an element that is directly contained by A. 

It has to look like this: 

<div class=”A”><div class=”B”>stuff</div></div>    — B is a child of A

If you want any descendent of A to have a certain style, you can use this syntax:
	.A .B {whatever}

If you want only children of A to have that style, you use:
    .A>.B {whatever}

If you want any element that is preceded by A to have a style, you can use:
    .A~.B

But if you want an element that is immediately preceded by A to be styled, you have to use:
    .A+.B
*/

#menu li:hover > a {color:#000; background:orange;}


/* 1st list drop down hover colours */
#menu li:hover > a.sub {color:#000; background-color:blue;}
#menu li:hover > a.top {color:#000; background-color:orange;}

/* no effect */
#menu li.current a {color:orange; background:green;}


/* new */
#menu li:current :hover {color:#000; background:orange;}

/* 1st level drop down non hover (with class = sub) */
#menu li a.sub {background:yellow url(down-arrow.gif) no-repeat right center;}
#menu li a.top {background:#000 url(down-arrow.gif) no-repeat right center;}

/* background here is for a menu with a dropdown */
#menu li.current a.sub {color:orange; background:#000 url(down-arrow.gif) no-repeat right center;;}
#menu li.current a.top {color:orange; background:#000 url(down-arrow.gif) no-repeat right center;;}

/* top controls submene distance from top menu */
#menu :hover ul {left:0; top:30px; width:190px; background:#000;}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, 
#menu :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#menu :hover ul :hover ul {left:120px; top:-1px; background:orange; white-space:nowrap; width:100px; z-index:200; height:auto;}

#menu :hover ul li {margin:0; border-top:1px solid #666;}

/* 2nd level list */
#menu :hover ul li a {width:120px; padding:0; text-indent:10px; background:#000; color:orange; height:30px; line-height:30px;}
#menu :hover ul li a.fly {background:#000 url(right-arrow.gif) no-repeat right center;}

/* 2nd level list single item */
#menu :hover ul :hover {background-color:orange; color:#000;}
#menu :hover ul :hover a.fly {background-color:orange; color:#000;}

/* Not sure why we would want current sub !! */
#menu :hover ul li.currentsub a {background:#000; color:orange;}
#menu :hover ul li.currentsub a.fly {background:#000 url(right-arrow.gif) no-repeat right center; color:orange;}


/* this is the 3rd level list e.g. adventure/biking/idita*/
#menu :hover ul :hover ul li a {width:180px; padding:0; text-indent:10px; background:#000; color:orange;}
#menu :hover ul :hover ul :hover {background-color:orange; color:#000;}


/* Not sure why we would want currentfly !! */
#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:orange; color:#000;}
