.menuhoriz {
position:relative;
top:0px;
left:0px;
z-index:5000;         
background-image:url('images/buttonbg.jpg');
background-color:#990000;
background-repeat:repeat-x;         
}

/* remove all the bullets, borders and padding from the default list styling */
.menuhoriz ul {
padding:0;
margin:0;
list-style-type:none;
z-index:5000;   
        
}   
.menuhoriz ul a 
{
padding:9px;
padding-right:0px;
padding-left:0px;
}

.menuhoriz ul li
{
 width:130px;
 font-weight:normal;
}

.menuhoriz ul ul li
{
 width:130px;
 font-weight:normal;
}

.menuhoriz ul ul ul li
{
 width:180px;
 font-weight:normal;
}   

.menuhoriz ul ul {
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menuhoriz positon */
.menuhoriz li {
float:left;
position:relative;
}


/* style the links for the top level */
.menuhoriz a, .menuhoriz a:visited {
display:block;
    color:white; font-family: Arial Narrow;  font-size:16px; font-style: normal;
text-decoration:none; 
/*border:1px solid #fff; */
border-width:1px 1px 0 0; 
/*background:#758279;*/ 
padding-left:25px; 
line-height:20px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menuhoriz a, * html .menuhoriz a:visited {
}

/* style the third level background */
.menuhoriz ul ul a, .menuhoriz ul ul  a:visited {
border-bottom:1px solid #fff8b7;
background-image:url('images/buttonbg.jpg');
background-color:#990000; 
background-repeat:repeat-x; 
}

/* style the second level background */
.menuhoriz ul ul a.drop, .menuhoriz ul ul a.drop:visited {
background-image:url('images/buttonbg.jpg');
background-color:#990000; 
background-repeat:repeat-x; 
}
/* style the second level hover */
.menuhoriz ul ul a.drop:hover{
background:#c9ba65;

}
.menuhoriz ul ul :hover > a.drop {
background:#c9ba65;
}
/* style the third level background */
.menuhoriz ul ul ul a, .menuhoriz ul ul ul a:visited {
border-bottom:1px solid #fff8b7;
background-image:url('images/buttonbg.jpg');
background-color:#990000; 
background-repeat:repeat-x; 

}
/* style the third level hover */
.menuhoriz ul ul ul a:hover {
background-image:url('images/buttonoverbg.jpg');
background-color:#f9da7f;
background-repeat:repeat-x;
color:#ab0916;
font-weight:bold; 
 
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menuhoriz ul ul {
visibility:hidden;
position:absolute;
height:0;
top:37px;
left:0; 
}

.menuhoriz ul ul li {
text-align:left;
 width:100px;
/*border-bottom:1px solid #879fc5;*/
}

/* another hack for IE5.5 */
* html .menuhoriz ul ul {
top:36px;
t\op:37px;
}

/* position the third level flyout menuhoriz */
.menuhoriz ul ul ul{
left:149px; 
top:0;
width:130px;
}
/* position the third level flyout menuhoriz for a left flyout */
.menuhoriz ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menuhoriz table {position:absolute; top:0; left:0;}

/* style the second level links */
.menuhoriz ul ul a, .menuhoriz ul ul a:visited {
background-image:url('images/buttonbg.jpg');
background-color:#990000; 
background-repeat:repeat-x;  
color:white; 
height:auto; 
line-height:1em; 
padding:7px 10px; 
width:130px
/* yet another hack for IE5.5 */
}
* html .menuhoriz ul ul a{
width:130px;
w\idth:130px;
}


/* style the top level hover */
.menuhoriz a:hover, .menuhoriz ul ul a:hover{
display:block;
color:#ab0916;
font-weight:bold; 
background-image:url('images/buttonoverbg.jpg');
background-color:#f9da7f;
background-repeat:repeat-x;
}
.menuhoriz :hover > a, .menuhoriz ul ul :hover > a {
display:block;
color:#ab0916;
font-weight:bold; 
background-image:url('images/buttonoverbg.jpg');
background-color:#f9da7f;
background-repeat:repeat-x; 
}

.menuhoriz ul ul :hover > a, .menuhoriz ul ul ul :hover > a, .menuhoriz ul ul a:hover {
display:block;
color:#ab0916;
font-weight:bold; 
background-image:url('images/buttonoverbg.jpg');
background-color:#f9da7f;
background-repeat:repeat-x;
}

 .menuhoriz ul ul li a:hover {
background-image:url('images/buttonoverbg.jpg');
background-color:#f9da7f;
background-repeat:repeat-x;
color:#ab0916;
font-weight:bold; 
 }


/* make the second level visible when hover on first level list OR link */
.menuhoriz ul li:hover ul,
.menuhoriz ul a:hover ul{
visibility:visible; 

}
/* keep the third level hidden when you hover on first level list OR link */
.menuhoriz ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menuhoriz ul :hover ul :hover ul{ 
visibility:visible;
}