.v4menu {
height: auto;
font-size:100%;
display: inline-block;
}

/* 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; /* flyout width */
}
/* style the list items */
.v4menu li {
background:#9C7D50;
height:auto;
/* for IE7 */
float:left;
}
.v4menu li.sub {background:#9C7D50 url(x.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:140px; /* flyout width -1 */
color:#FFFFFF;
padding:3px;
padding-right: 20px;
border:1px solid #9c7d50;
border-width:0 1px 1px 1px;
}
/* hack for IE5.5 */
* html .v4menu a, * html .v4menu a:visited {width:150px; width:149px; text-decoration:none;} /* flyout width , flyout width - 1 */
/* style the link hover */
* html .v4menu a:hover {color:#FFFFFF; background:#4e3e27; position:relative; text-decoration:none;}

.v4menu li:hover {position:relative;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.v4menu li:hover > a {color:#FFFFFF; background:#4e3e27; text-decoration:none;}
 
/* 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;
}

.clearboth { clear: both }

.v4menuheader {
padding: 5px;
border: 1px solid #4e3e27;
text-align: left;
text-transform: none;
color: #FFFFFF;
font-weight: bold;
background-color: #4E3E27;
}
