/* ================================================================
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_drop2.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 */
#MainMenu {
width:auto;
background:transparent url(../pub/images/menu_mid.png) repeat-x 0 0;
height:40px;
float:left;
font-family: "arial", sans-serif; text-transform:uppercase;
font-size: 14px;
line-height: 18px;
letter-spacing:-1px;
}
/* remove all the bullets, borders and padding from the default list styling */
#MainMenu ul {
padding:0;
margin:0;
list-style-type:none;
}
#MainMenu ul ul {
min-width:50px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#MainMenu li {
float:left;
min-width:50px;
margin:0 10px;
position:relative;
}
/* style the links for the top level */
#MainMenu a, #MainMenu a:visited {
display:block;
text-decoration:none;
color:#41403d;
min-width:40px;
line-height:25px;

font-size:1.3em;
margin-top:7px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html #MainMenu a, * html #MainMenu a:visited {
width:50px;
w\idth:39px;
}

/* style the second level background */
#MainMenu ul ul a.drop, #MainMenu ul ul a.drop:visited {
}
/* style the second level hover */
#MainMenu ul ul a.drop:hover{
text-shadow: 0px 2px 3px #555;
}
#MainMenu ul ul :hover > a.drop {
text-shadow: 0px 2px 3px #555;
}
/* style the third level background */
#MainMenu ul ul ul a, #MainMenu ul ul ul a:visited {
}
/* style the third level hover */
#MainMenu ul ul ul a:hover {
text-shadow: 0px 2px 3px #555;
}
#MainMenu ul ul ul :hover > a {
text-shadow: 0px 2px 3px #555;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#MainMenu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:27px;
left:0;
width:150px;
}
/* another hack for IE5.5 */
* html #MainMenu ul ul {
top:30px;
t\op:31px;
}

/* position the third level flyout menu */
#MainMenu ul ul ul{
left:150px;
top:0;
width:150px;
}
/* position the third level flyout menu for a left flyout */
#MainMenu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
#MainMenu table {position:absolute; top:0; left:0;}

/* style the second level links */
#MainMenu ul ul a, 
#MainMenu ul ul a:visited {
color:#fff;
height:auto;
line-height:1em;
padding:5px 10px;
width:129px
/* yet another hack for IE5.5 */
}
* html #MainMenu ul ul a{
width:150px;
w\idth:129px;
}


/* style the top level hover */
#MainMenu a:hover, #MainMenu ul ul a:hover{
text-shadow: 0px 2px 3px #999;
}
#MainMenu :hover > a, #MainMenu ul ul :hover > a {
text-shadow: 0px 2px 3px #999;
}
#MainMenu a.current {
/*text-shadow: 0px 2px 3px #999;*/
}

/* make the second level visible when hover on first level list OR link */
#MainMenu ul li:hover ul,
#MainMenu ul a:hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
#MainMenu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
#MainMenu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
#MainMenu ul :hover ul :hover ul{
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
#MainMenu ul :hover ul :hover ul :hover ul {
visibility:visible;
}

#top_nav .menu_left{display:block; float:left; width:12px; height:40px; margin:0; padding:0; background:transparent url(../pub/images/menu_left.png) no-repeat 0 0;}

#top_nav .menu_right{display:block; float:left;  width:12px; height:40px; margin:0; padding:0; background:transparent url(../pub/images/menu_right.png) no-repeat 0 0;}
