/* ================================================================ 
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/flyout_4level.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.
=================================================================== */
.menu {
	height: 300px;
	/*font-size: 0.9em;*/
	margin: 10px 0 40px 0px; /* this page only */
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	position:relative;
	z-index:500;
	padding:0;
	margin:0;
	list-style-type:none;
	width:170px;
	text-transform: capitalize;
}
/* style the list items */
.menu li {
	/*background:#d4d8bd url(/image/design/shade.gif);*/
	height:26px;
	/* for IE7 */
	float:left;
}
/* +++ added for flyout background without top a level background +++ */
.menu li ul li,
.menu li ul li ul li,
.menu li ul li ul li ul li, {
	background:#006f7a;
}
.menu li.sub {/*background:#d4d8bd url(/images/design/sub.gif) no-repeat right center;*/} 

/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.menu a, .menu a:visited {
	display:block; 
	text-decoration: none;
	height:25px;
	line-height:25px;
	width:169px;
	color: #d9c997;
	font-weight: bold;
	text-indent: 20px;
	/*text-align: right;
	border:1px solid #fff;
	border-width:0 1px 1px 1px;*/
}
.menu .indent a{padding-left: 10px;width:160px}
/* +++ added for sub background without top level background +++ */
.menu li.fly a, .menu li.fly a:visited {
	border:1px solid #d9c997;
	border-width:1px 1px 1px 1px;
	background: #004f5a;
}
.menu li.fly a:active, .menu li.fly a:focus { background:#006f7a url(/images/design/icon_pawprint.gif) no-repeat 5px 8px;}
.menu li.fly:hover > a { background:#006f7a url(/images/design/icon_pawprint.gif) no-repeat 5px 8px; }

/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:170px; w\idth:169px;}
/* style the link hover */
* html .menu a:hover {color:#ffffff; background:#006f7a url(/images/design/icon_pawprint.gif) no-repeat 5px 8px; position:relative; text-decoration: underline;}

.menu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#ffffff; background:#006f7a url(/images/design/icon_pawprint.gif) no-repeat 5px 8px; text-decoration: underline;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu li:hover > a {
	color:#ffffff; 
	background: #006f7a url(/images/design/icon_pawprint.gif) no-repeat 5px 8px; 
	text-decoration: underline; 
	/*background: url(/images/design/icon_pawprint.gif);
	background-repeat: no-repeat;
	background-position: 5px 8px;*/
}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu li ul {
	visibility:hidden;
	position:absolute;
	top:-30px;
	/* set up the overlap (minus the overrun) */
	left:100px;
	/* set up the overrun area */
	padding:30px;
	/* this is for IE to make it interpret the overrrun padding */
	background:transparent url(transparent.gif);
}

/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
.menu ul a:hover ul ul{
	visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.menu ul a:hover ul a:hover ul ul{
	visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.menu ul a:hover ul a:hover ul a:hover ul ul{
	visibility:hidden;
}

/* make the second level visible when hover on first level link */
.menu ul a:hover ul {
	visibility:visible;
}
/* make the third level visible when you hover over second level link */
.menu ul a:hover ul a:hover ul{ 
	visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
.menu ul a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.menu ul a:hover ul a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}

/*you-are-here*/
/*home*/
#home .menu a#current_home,
#home .menu a#current_home:link,
#home .menu a#current_home:visited {
	visibility: hidden;
}
/*about*/
#about .menu a#current_about,
#about .menu a#current_about:link,
#about .menu a#current_about:visited,
/*adopt*/  
#adopt .menu a#current_adopt,
#adopt .menu a#current_adopt:link,
#adopt .menu a#current_adopt:visited,
/*dogs*/  
#dogs .menu a#current_dogs,
#dogs .menu a#current_dogs:link,
#dogs .menu a#current_dogs:visited,
/*cats*/  
#cats .menu a#current_cats,
#cats .menu a#current_cats:link,
#cats .menu a#current_cats:visited,
/*donate*/  
#donate .menu a#current_donate,
#donate .menu a#current_donate:link,
#donate .menu a#current_donate:visited,
/*volunteer*/  
#volunteer .menu a#current_volunteer,
#volunteer .menu a#current_volunteer:link,
#volunteer .menu a#current_volunteer:visited,
/*programs*/  
#programs .menu a#current_programs,
#programs .menu a#current_programs:link,
#programs .menu a#current_programs:visited,
/*news*/
#news .menu a#current_news,
#news .menu a#current_news:link,
#news .menu a#current_news:visited,
/*events*/
#events .menu a#current_events,
#events .menu a#current_events:link,
#events .menu a#current_events:visited,
/*resources*/
#resources .menu a#current_resources,
#resources .menu a#current_resources:link,
#resources .menu a#current_resources:visited,
/*contact*/
#contact .menu a#current_contact,
#contact .menu a#current_contact:link,
#contact .menu a#current_contact:visited  {
	/*font-weight: bold;*/
	background: url(/images/design/icon_pawprint.gif);
	background-repeat: no-repeat;
	background-position: 5px 8px;
	color: #ffffff;
}
