/* ================================================================ 
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/padding.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/* style the outer div to give it width */
.menu {font-size:0.85em; padding-bottom:0px; width:780px; font-family: Arial, Helvetica, sans-serif;}
#index.menu {font-size:0.85em; padding-bottom:0px; width:700px; font-family: Arial, Helvetica, sans-serif;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none; height:30px; background:transparent;}

/* style the sub-level lists */
.menu ul ul {width:15em;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {float:left;height:30px;line-height:29px; display:block;}

/* style the sub level list items */
.menu ul ul li {display:block;width:200px;height:auto; line-height:1em;}

/* style the links for the top level */
.menu a, .menu a:visited {display:block;float:left;height:30px; font-size:1em;text-decoration:none;}

.menu a.home:link, .menu a.home:visited {width:80px; background-image: url(../images/home.gif); background-position: top left; }
.menu a.first:link, .menu a.first:visited {width:160px; background-image: url(../images/practiceareas.gif); background-position: top left; }
#index.menu a.first:link, #index.menu a.first:visited {width:160px; background-image: url(../images/practiceareas_index.gif); background-position: top left; }
.menu a.second:link, .menu a.second:visited {width:160px; background-image: url(../images/about.gif); background-position: top left; }
.menu a.third:link, .menu a.third:visited {width:120px; background-image: url(../images/resources.gif); background-position: top left; }
.menu a.fourth:link, .menu a.fourth:visited {width:130px; background-image: url(../images/contact.gif); background-position: top left; }
.menu a.fifth:link, .menu a.fifth:visited {width:130px; background-image: url(../images/directions.gif); background-position: top left; }

.menu a.home:hover, .menu a.home:active {background-position: bottom left;}
.menu :hover > a.home {background-position: bottom left;}
.menu a.first:hover, .menu a.first:active {background-position: bottom left;}
.menu :hover > a.first {background-position: bottom left;}
#index.menu a.first:hover, #index.menu a.first:active {background-position: bottom left;}
#index.menu :hover > a.first {background-position: bottom left;}
.menu a.second:hover, .menu a.second:active {background-position: bottom left;}
.menu :hover > a.second {background-position: bottom left;}
.menu a.third:hover, .menu a.third:active {background-position: bottom left;}
.menu :hover > a.third {background-position: bottom left;}
.menu a.fourth:hover, .menu a.fourth:active {background-position: bottom left;}
.menu :hover > a.fourth {background-position: bottom left;}
.menu a.fifth:hover, .menu a.fifth:active {background-position: bottom left;}
.menu :hover > a.fifth {background-position: bottom left;}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {display:block;background:#fff; color:#000;width:190px;height:100%;line-height:1em; padding:5px 15px; border-bottom: 1px solid #ccc;}
* html .menu ul ul a, * html .menu ul ul a:visited  {width:220px; w\idth:190px;}


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {border-collapse:collapse; padding:0; margin:-1px; width:0; height:0; font-size:1em; z-index:1;}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#dfc820;}



/* style the level hovers */
/* first */
* html .menu a:hover {position:relative; z-index:100;}
.menu li:hover {position:relative;}
/* second */
* html .menu ul ul a:hover{color:#fff;background:#dfc820; position:relative; z-index:110;}
.menu ul ul li:hover {position:relative;}
.menu ul ul :hover > a {color:#fff;background:#dfc820;}
/* third */
* html .menu ul ul ul a:hover {background:#dfc820; position:relative; z-index:120;}
.menu ul ul ul :hover > a {background:#dfc820;}


/* hide the sub levels and give them a position absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:30px; left:0; width:220px;}

/* position the third level flyout menu */
.menu ul ul ul{left:0px;top:0;width:220px;}


/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{visibility:visible; height:auto; padding:0px; background:transparent url(../images/transparent.gif); left:0px;}
/* 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; left:220px;}