
/* ================================================================ 
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/final_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.
=================================================================== */

.menu {width:780px; font-family:arial,verdana,sans-serif;height:40px; font-size:0.85em; position:relative; top:0px;left:0px; z-index:1000;margin:auto;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:780px; w\idth:780px;}

.menu ul li a:hover .menu ul li a{border-bottom:3px #205DB8;}/**/

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none; font-family:arial,verdana,sans-serif;}

.menu ul ul {width:170px;position:relative;left:0px;top:0px;}
/* 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:71px;/**/ position:relative;padding:0px;padding-top:0px;padding-bottom:0px;}
.menu li {background-image: url(../images/nav_background.jpg);border-right:solid 1px #814D25;}

.menu li img{vertical-align:middle;border:0px;margin-top:14px;}

/* specifiy width for dropdowns*/
.menu ul ul {width:170px;border:solid 1px #205DB8;border-width:3px 0px 3px 0px;}
.menu li ul li {width:170px;padding:0px;border:none;}

.menu li ul #anImage{ padding:0px;margin:0px;background:transparent;}


/* style the links for the top level */
.menu a, .menu a:visited {display:block;text-align:center;font-size:12px;text-decoration:none;font-weight:bold; color:#fff; width:71px;height:37px;vertical-align:middle;  border-width:1px 0 1px 1px;/**/ background:transparent;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:71px; w\idth:71px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:transparent url(../images/right_arrow.gif) bottom right no-repeat;border:1px solid #000;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#c9ba65 url(../images/right_arrow.gif) bottom right no-repeat;border:none;}
.menu ul ul :hover > a.drop {background:#442222 url(../images/right_arrow.gif) bottom right no-repeat;}



/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#000000;border:1px solid #000;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#efefef;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;top:40px;left:0px; width:170px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:40px;t\op:40px;}

/* position the third level flyout menu */
.menu ul ul ul{left:170px; top:-1px; width:149px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* 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 {text-align:left;background:#FFF; color:#000; height:auto; line-height:1em; padding:5px 10px; width:144px;border:solid;border-color:#205DB8;border-width:0 3px 1px 3px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:144px;w\idth:144px;}

/* style the top level hover */
.menu a:hover {color:#fff;background:url(../images/spacer.gif) #AB6F3B; border-bottom:solid 3px #205DB8; }
.menu ul ul a:hover{color:#000;background: #E8DEB4;border-bottom:solid #205DB8 1px; }
.menu :hover > a {color:#f000;background:transparent;}
 .menu ul ul :hover > a {color:#000;background:#E8DEB4;}



/* 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;top:40px;}
/* .menu ul li:hover .menu li a, .menu ul a:hover .menu li a{border-bottom:3px #205DB8;} */
/* 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;}