#CertasMenu2 {
}

/* remove all the bullets, borders and padding from the default list styling */
#CertasMenu2 ul {
position:relative;
z-index:500;
padding:0;
margin:0;
list-style-type:none;
width:189px;
xborder:1px solid red;
}
#CertasMenu2 ul ul{
border:1px solid #eaeceb;
border-width:1px 0 0 0;
}
/* style the list items */
#CertasMenu2 li {
background:#b7bcba;
height:22px;
list-style-type:none;
/* for IE7 */
float:left;
border:1px solid #eaeceb;
border-width:0 1px 1px 1px;
}
#xxxxCertasMenu2 li.haschild {background:#b7bcba url(sub.gif) no-repeat right center;} 

/* get rid of the table */
#CertasMenu2 table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
#CertasMenu2 a, #CertasMenu2 a:visited {
display:block; 
text-decoration:none;
height:22px;
line-height:22px;
width:188px;
color:#000;
text-indent:20px;
}
#CertasMenu2 a.iscurrent{
color:#ffffff;
}

/* hack for IE5.5 */
* html #CertasMenu2 a, * html #CertasMenu2 a:visited {width:189px; w\idth:188px;}
/* style the link hover */
* html #CertasMenu2 a:hover {color:#ffffff; background:#8fa9ba; position:relative;}

#CertasMenu2 li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
#CertasMenu2 a:active, #CertasMenu2 a:focus {color:#ffffff; background:#8fa9ba;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
#CertasMenu2 li:hover > a {color:#ffffff; background:#8fa9ba;}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
#CertasMenu2 li ul {
visibility:hidden;
position:absolute;
top:5px;
/* set up the overlap (minus the overrun) */
left:165px;
/* set up the overrun area */
padding:0px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url(transparent.gif);
}

/* for browsers that understand this is all you need for the flyouts */
#CertasMenu2 li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
#CertasMenu2 ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
#CertasMenu2 ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
#CertasMenu2 ul a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link */
#CertasMenu2 ul a:hover ul {
visibility:visible;
}
/* make the third level visible when you hover over second level link */
#CertasMenu2 ul a:hover ul a:hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
#CertasMenu2 ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
#CertasMenu2 ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}

