﻿img { border-width: 0px; }

.menu {
	width: 79px;
	position:relative;
	font-family: Arial, Verdana, Tahoma, Sans-Serif;
	height: 35px;
}

#menu_top { background: url(images/drop_top.gif); background-repeat: no-repeat;padding: 5px 0px 0px 0px; margin: 0px 0px 0px -3px; }
#menu_bottom { background: url(images/drop_bot.gif); background-repeat: no-repeat; background-position: bottom left; padding: 0px 0px 7px 0px; margin: 0px;}

#menu_topChild { background: url(images/drop_top.gif); left:-7px;background-repeat: no-repeat;padding: 9px 0px 0px 0px; margin: 0px 0px 0px 7px; }
*html #menu_topChild { background: url(images/drop_top.gif); left:-14px;background-repeat: no-repeat;padding: 9px 0px 0px 0px; margin: 0px 0px 0px 7px; }

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

}
.menu ul ul {
width:79px;
}

/* 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:79px;
position:relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:10px;
	text-decoration:none;
	color: #ffffff;
	width:79px;
	height:35px;
	line-height:50px;
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding: 0;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width:79px;
	w\idth:79px;
	height:35px;
	h\ight:35px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#cccccc;


}
/* style the second level hover */
.menu ul ul a.drop:hover{
background: #cccccc;
}
.menu ul ul :hover > a.drop {
background:#cccccc ;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#cccccc;
left:400px;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#cccccc;
}


/* 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:30px;
left:0px; 
width:79px;
height:35px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:30px;
t\op:30px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:-145px; 
top:0;
width:145px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-145px;
}

/* 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;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#e22c2c;
color:#fff; 
height:auto; 
line-height:1em; 
border-width: 1px 1px 0px 1px;
border-style: solid;
border-color: #a2a2a2;
padding:5px 10px; 
width:150px 

/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:150px;
w\idth:150px;
}


/* style the top level hover */
.menu a:hover { color:#e22c2c; background-color:#eddbdb; }
.menu ul ul a:hover { color:#e22c2c; background-color:#eddbdb; }
.menu :hover > a { color:#e22c2c; background-color:#eddbdb; }
.menu ul ul :hover > a { color:#e22c2c; background-color:#eddbdb; }

/* 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; }
