﻿.menu {
z-index:1000;
font-size:11px !important;
padding: 0;
text-align: right !important;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
background: transparent;
list-style: none !important;
list-style-type:none !important;
list-style-image: none !important;
}
/* hack for IE5.5 */
* html .menu ul {margin-left:-16px; ma\rgin-left:0;}
/* position relative so that you can position the sub levels */
.menu li {
position:relative;
background:#3c58b9;
height:165%;
margin: 0;
list-style: none !important;
list-style-type:none !important;
list-style-image: none !important;
}

.menu li ul {

border-top: #000;
border-left: #000;
border-bottom: #000;
border-right: #000;
text-align: center;
background: #3c58b9;
}

/* get rid of the table */
.menu table {
position:absolute; 
border-collapse:collapse; 
bottom:0; 
left:0; 
z-index:100; 
font-size: 1em;
}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none;
height:164%;
line-height:164%;
width:130px;
color:#000;
text-indent:2px;
font-size:10px;
margin: 0;
margin-left:5px;
margin-right:5px;
}

/* hack for IE5.5 */
* html .menu a, * html .menu a:visited 
{
width:130px; w\idth:130px;
}

/* style the link hover */
* html .menu a:hover {
	font-size: 10px;
	color: #000;
	background: #3c58b9;
	margin: 0;
}

.menu :hover > a {
color:#000;
font-size:10px;

}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
bottom:0;
left:130px; 
}

/* make the second level visible when hover on first level list OR link */
.menu ul :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;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover 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;
}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}


* + html .menu li.sub {margin-bottom:-2px;}
