﻿#hmenu, #hmenu ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1.85;
	z-index:200;
}

#hmenu a 
{
	display: inline-block;
    width: 162px;
	color : black;
	font-weight : bold;
	text-decoration : none;
	text-align:center;
	border-collapse:separate;
    background-color:#dadada;
    border-top:solid 1px #fafafa;
    border-left:solid 1px #fafafa;
    border-bottom: solid 1px #bababa;
    border-right:solid 1px #bababa;	 
}
#hmenu a:hover
{
    background-color:#bababa;
    border-top:solid 1px #dadada;
    border-left:solid 1px #dadada;
    border-bottom: solid 1px #999999;
    border-right:solid 1px #999999;	 
    }
#hmenu li { /* all list items */
	float: left;
	width: 164px; /* width needed or else Opera goes nuts */
}

#hmenu li ul { /* second-level lists */
	position: absolute;
	background: orange;
	width: 164px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#hmenu li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 164px;
}

#hmenu li:hover ul ul, #hmenu li:hover ul ul ul, #hmenu li.sfhover ul ul, #hmenu li.sfhover ul ul ul {
	left: -999em;
}

#hmenu li:hover ul, #hmenu li li:hover ul, #hmenu li li li:hover ul, #hmenu li.sfhover ul, #hmenu li li.sfhover ul, #hmenu li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}   
#vmenu, #vmenu ul { /* all lists */
	float : left;
text-align: left;
list-style: none;
padding: 0;
margin: 0 2em auto;
width: 162px;
z-index:999;	
}

#vmenu li { /* all list items */
	position : relative;
	float : left;
	margin-bottom : -1px;
width: 162px;	
display: block;
margin: 0;
padding: 0;	
}

#vmenu li ul { /* second-level lists */
	position : absolute;
	left: -999em;
	margin-left : 175px;
	margin-top : -26px;
}

#vmenu li ul ul { /* third-and-above-level lists */
	left: -999em;
}

#vmenu li a 
{
display: block;
width: 162px;
padding: 0.5em 0 0.5em 1em;
border-width: 1px;
border-color: #ffe #DBD9CD #DBD9CD #fff;
border-style: solid;
color: #794F1D;
text-decoration: none;
background: #F7F2E7;    
}

#vmenu li a:hover {
color: #000;
background: #FAF7F0;
border-color: #ffe #DBD9CD #DBD9CD #fff;
}

#vmenu li:hover ul ul, #vmenu li:hover ul ul ul, #vmenu li.sfhover ul ul, #vmenu li.sfhover ul ul ul {
	left: -999em;
}

#vmenu li:hover ul, #vmenu li li:hover ul, #vmenu li li li:hover ul, #vmenu li.sfhover ul, #vmenu li li.sfhover ul, #vmenu li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}		
.bottomlink
{
    margin-top:4px;
    display:inline-block;
    text-align:center;
    width:228px;
    }
#vmenuflat, #vmenuflat ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	float : left;
	width : 246px;
}

#vmenuflat li { /* all list items */
	position : relative;
	float : left;
	line-height : 1.75em;
    margin-bottom:0px;
	width: 246px;
}
#vmenuflat li ul { /* second-level lists */
	position : absolute;
}
#vmenuflat li a 
{
    margin-bottom:0px;
	width: 206px;
	display : block;
	color : black;
	font-weight : bold;
	text-decoration : none;
	border : 1px solid black;
	padding : 0 20px;
    background-color:#dadada;
    border-top:solid 1px #fafafa;
    border-left:solid 1px #fafafa;
    border-bottom: solid 1px #bababa;
    border-right:solid 1px #bababa;	 	
}

#vmenuflat li a:hover {
    background-color:#bababa;
    border-top:solid 1px #dadada;
    border-left:solid 1px #dadada;
    border-bottom: solid 1px #999999;
    border-right:solid 1px #999999;		
}

#vmenuflat li:hover ul ul, #vmenuflat li:hover ul ul ul, #vmenuflat li.sfhover ul ul, #vmenuflat li.sfhover ul ul ul {
}

#vmenuflat li:hover ul, #vmenuflat li li:hover ul, #vmenuflat li li li:hover ul, #vmenuflat li.sfhover ul, #vmenuflat li li.sfhover ul, #vmenuflat li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}	

#hmenuflatsimple, #hmenuflatsimple ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1.50;
	z-index:200;
}

#hmenuflatsimple a 
{
	display: inline-block;
    width: 160px;
	color : black;
	font-weight : bold;
	text-decoration : none;
	text-align:center;
  font-size :smaller;
}

#hmenuflatsimple a:hover
{

    }
#hmenuflatsimple li { /* all list items */
	float: left;
	width: 162px; /* width needed or else Opera goes nuts */
}

#vmenu
{
     z-index:999;}