/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/pro_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.
=================================================================== */
#multi-level {height:30px; position:relative; z-index:100; }
#multi-level .pad {float:left;}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family:arial, sans-serif;}

/* Set up the top level list items and float left to place inline */
.menu li.top {display:block; float:left; position:relative;}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default top link link styling */
.menu li.top a.top_link {display:block; float:left; height:33px;}
.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:10px;} /* move the link text off screen */

/* pre-load the hover images into the lists */
.menu li.p1 {width:161px; background:url(../images/nav/main_nav_01.gif) no-repeat;}
.menu li.p2 {width:192px; background:url(../images/nav/main_nav_02.gif) no-repeat;}
.menu li.p3 {width:112px; background:url(../images/nav/main_nav_03.gif) no-repeat;}
.menu li.p4 {width:175px; background:url(../images/nav/main_nav_04.gif) no-repeat;}
.menu li.p5 {width:103px; background:url(../images/nav/main_nav_05.gif) no-repeat;}


/* set up the normal unhovered images in the links */
.menu li a#home {width:161px; background:url(../images/nav/main_nav_off_01.gif) no-repeat;}
.menu li a#procedures {width:192px; background:url(../images/nav/main_nav_off_02.gif) no-repeat;}
.menu li a#test {width:112px; background:url(../images/nav/main_nav_off_03.gif) no-repeat;}
.menu li a#appt {width:175px; background:url(../images/nav/main_nav_off_04.gif) no-repeat;}
.menu li a#contact {width:103px; background:url(../images/nav/main_nav_off_05.gif) no-repeat;}


/* set up the normal active images in the links */
.menu li a#home1 {width:161px; background:url(../images/nav/main_nav_01.gif) no-repeat;}
.menu li a#procedures1 {width:192px; background:url(../images/nav/main_nav_02.gif) no-repeat;}
.menu li a#test1 {width:112px; background:url(../images/nav/main_nav_03.gif) no-repeat;}
.menu li a#appt1 {width:175px; background:url(../images/nav/main_nav_04.gif) no-repeat;}
.menu li a#contact1 {width:103px; background:url(../images/nav/main_nav_05.gif) no-repeat;}

/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {visibility:visible;} /* for IE6 */
.menu li:hover { position:relative; z-index:200;} /* for IE7 */

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu li a#home:hover, .menu li:hover a#home,
.menu li a#procedures:hover, .menu li:hover a#procedures,
.menu li a#test:hover, .menu li:hover a#test,
.menu li a#appt:hover, .menu li:hover a#appt,
.menu li a#contact:hover, .menu li:hover a#contact {background:transparent; }

/* keep the 'next' level invisible by placing it off screen. */
.menu ul, 
.menu :hover ul ul, 
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}


/* set up the first drop down sub level */
.menu :hover ul.sub {left:0; top:33px; background: #d7f5e8; padding:0px 0; border:1px solid #9ae2c2; white-space:nowrap; width:148px; height:auto; margin: 0px 0px 0px 6px}
.menu :hover ul.sub li {display:block; height:28px; position:relative; float:left; width:148px; border-bottom: 1px solid #FFFFFF; }
.menu :hover ul.sub li a {display:block; font-size:11px; height:28px; width:148px; line-height:25px; color:#373737; text-decoration:none; font-weight: bold; padding: 0px 0px 0px 0px; }

.menu :hover ul.sub li a:hover {background:url(../images/nav/hover_bg1.gif) no-repeat;  color:#1963c7; font-weight: bold; }

.menu :hover ul.sub li.pipe {
	height: 1px;
	width: 148px;
	background-color:#FFFFFF;
	display: inline;
}


/* set up the second drop down sub level */
.menu :hover ul.sub2 {left:0; top:33px; background: #d7f5e8; border:1px solid #9ae2c2; white-space:nowrap; width:180px; height:auto; margin: 0px 0px 0px 5px; }
.menu :hover ul.sub2 li {display:block; height:28px; position:relative; float:left; width:180px; border-bottom: 1px solid #FFFFFF; padding: 0px 0px 0px 0px;}
.menu :hover ul.sub2 li a {display:block; font-size:11px; height:28px; width:180px; line-height:25px;   color:#373737; text-decoration:none; font-weight: bold; padding: 0px 0px 0px 0px; }

.menu :hover ul.sub2 li a:hover {background:url(../images/nav/hover_bg2.gif) no-repeat; color:#1963c7; font-weight: bold; padding: 0px 0px 0px 0px; margin:0px;}

.menu :hover ul.sub2 li.pipe {
	height: 1px;
	background-color:#FFF;
}