.v4menu {

height: auto;

font-size:100%;

}



/* remove all the bullets, borders and padding from the default list styling */

.v4menu ul {

position:relative;

z-index:1;

padding:0;

margin:0;

list-style-type:none;

width:150px;

}

/* style the list items */

.v4menu li {

background:#3F5D8A;

height:auto;

/* for IE7 */

float:left;

}

.v4menu li.sub {background:#3F5D8A url(sub.gif) no-repeat right center;} 



/* get rid of the table */

.v4menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}



/* style the links */

.v4menu a, .v4menu a:visited {

display:block; 

text-decoration:none;

height:auto;

line-height:auto;

width:149px;

color:#FFFFFF;

padding:3px;

border:1px solid #95ACCF;

border-width:0 1px 1px 1px;

}

/* hack for IE5.5 */

* html .v4menu a, * html .v4menu a:visited {width:150px; w\idth:149px;}

/* style the link hover */

* html .v4menu a:hover {color:#efa; background:#5C80B7; position:relative;}



.v4menu li:hover {position:relative;}



/* retain the hover colors for each sublevel IE7 and Firefox etc */

.v4menu li:hover > a {color:#FFFF99; background:#5C80B7;}

 

/* hide the sub levels and give them a positon absolute so that they take up no room */

.v4menu li ul {

visibility:hidden;

position:absolute;

top:-30px;

/* set up the overlap (minus the overrun) */

left:100px;

/* set up the overrun area */

padding:30px;

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

.v4menu 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 */

.v4menu ul a:hover ul ul{

visibility:hidden;

}

/* keep the fourth level+ hidden when you hover on second level link */

.v4menu ul a:hover ul a:hover ul ul{

visibility:hidden;

}



/* make the second level visible when hover on first level link */

.v4menu ul a:hover ul {

visibility:visible;

}

/* make the third level visible when you hover over second level link */

.v4menu ul a:hover ul a:hover ul{ 

visibility:visible;

}

/* make the fourth level visible when you hover over third level link */

.v4menu ul a:hover ul a:hover ul a:hover ul { 

visibility:visible;

}

