.menu {width:85px; height:17px; font-size:0.85em; position:relative; z-index:500;border:0;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:86px; w\idth:85px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:85px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:85px;position:relative;}
/* style the links for the top level */
.menu a, .menu a:visited {display:block; font-family: helvetica, arial, sans-serif; font-size:11px;text-decoration:none; color:#fff; width:83px;  border:1px solid #9DB2C5; border-width:1px; background:#053D6F; padding-left:5px; line-height:18px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:85px; w\idth:85px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#053D6F url(/images/menu_right_arrow.gif) bottom right no-repeat;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#053D6F url(/images/menu_right_arrow.gif) bottom right no-repeat;}
.menu ul ul :hover > a.drop {background:#053D6F url(/images/menu_right_arrow.gif) bottom right no-repeat;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#DADC54; color:#053D6F;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#b2ab9b;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:19px;left:0; width:83px;border-top:1px solid #9DB2C5;}
/* another hack for IE5.5 */
* html .menu ul ul {top:18px;t\op:19px;}

/* position the third level flyout menu */
.menu ul ul ul{left:-89px; top:-1px; width:90px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-89px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {background:#053D6F; color:#FFF; height:auto; line-height:18px; padding: 0 0 0 5px; width:83px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:85px;w\idth:83px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:#fff; background:#52789A;}
.menu :hover > a, .menu ul ul :hover > a {color:#fff;background:#52789A;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}


/* ================================================================ 
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/menu2
s/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: 27px; position:relative; padding: 0; margin: 0; z-index:100; border: 0; background: url(/images/nav_search.gif) bottom left no-repeat; padding: 0 0 0 87px;}
#multi-level .pad {float:left;}

/* The menu2
 styling */
/* Remove the padding, margins and bullets from the lists */
.menu2, .menu2 ul {list-style-type:none; padding:0; margin:0; font-family: verdana, arial, helvetica, sans-serif; display: inline;}

/* Set up the top level list items and float left to place inline */
.menu2 li.top {display:block; float:left; position:relative; margin: 0;}

/* Style and position the table so it takes no part in the menu2
 function. The font size is necessary for IE5.5 */
.menu2 table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default top link link styling */
.menu2 li.top a.top_link {display:block; float:left; height:27px;}
.menu2 li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:9px;} /* move the link text off screen */

/* pre-load the hover images into the lists */
.menu2 li.p1 {width:96px; background:url(/images/nav_byAgent_over.gif) no-repeat;;}
.menu2 li.p2 {width:92px; background:url(/images/nav_listings_over.gif) no-repeat;;}
.menu2 li.p3 {width:110px; background:url(/images/nav_mlsSearch_over.gif) no-repeat;;}

/* set up the normal unhovered images in the links */
.menu2 li a#agent{width:96px; background:url(/images/nav_byAgent_off.gif) no-repeat;}
.menu2 li a#listings {width:92px; background:url(/images/nav_listings_off.gif) no-repeat;}
.menu2 li a#mls {width:110px; background:url(/images/nav_mlsSearch_off.gif) no-repeat;}


/* Style the list OR link hover. Depends on which browser is used */
.menu2 a:hover {visibility:visible;} /* for IE6 */
.menu2 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) */
.menu2 li a#agent:hover, .menu2 li:hover a#agent, .menu2 li a#listings:hover, .menu2 li:hover a#listings, .menu2 li a#mls:hover, .menu2 li:hover a#mls {background:transparent;}

/* keep the 'next' level invisible by placing it off screen. */
.menu2 ul, .menu2:hover ul ul, .menu2:hover ul :hover ul ul, .menu2:hover ul :hover ul :hover ul ul, .menu2
: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 */
.menu2 :hover ul.sub {left:0; top:27px; background: #D2E1F4; padding:1px 0 0 0; border:1px solid #000; white-space:nowrap; width:110px; height:auto;}
.menu2 :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:92px;}
.menu2 :hover ul.sub li a {display:block; font-size:9px; height:20px; width:110px; line-height:20px; text-indent:3px; color:#000; text-decoration:none; border:0;}
.menu2 :hover ul.sub li a.fly {background:#D2E1F4 url(/images/arrow.gif) 103px 7px no-repeat;}
.menu2 :hover ul.sub li a:hover {background:#003366; color:#fff;}
.menu2 :hover ul.sub li a.fly:hover {background:#003366 url(/images/arrow_over.gif) 103px 7px no-repeat; color:#fff;}
.menu2 :hover ul li:hover > a.fly {background:#003366 url(/images/arrow_over.gif) 103px 7px no-repeat; color:#fff;} 

/* set up the flyout levels when hovering */
.menu2 :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul :hover ul
{left:110px; top:-4px; background: #D2E1F4; padding:3px 0; border:1px solid #000; white-space:nowrap; width:110px; z-index:200; height:auto; z-index:300;}

