/*-----MENU----*/

#main_menu{
	padding:0;
	overflow:visible;
}

/* 
	Define the width of the menu on a certain level.
	Define the lmenu variant too --> add a left: -1*width + horizontal border widths
	Define colors of certain levels.
*/

/* ---- HMENU ---- */
.hmenu li{
	padding:5px;
}
.hmenu>ul
{
	position:relative;	
	height:20px;
	background:transparent;
}
.hmenu>ul>li.last
{
	margin-right:0 !important;
	float:left;
	height:20px;
	background:transparent;
}
.hmenu>ul>li{
	height:20px;
	padding:0;
}
.hmenu>ul>li>a {
	text-decoration:none;
	background:transparent;
	padding:0 10px;
	line-height:20px;
}

.hmenu>ul>li>a>span {
	text-align:center;
	display:block;	
}

.hmenu > ul ul li a {
	text-decoration:none;
	text-align:center;
}

.hmenu > ul ul li a span{
	text-decoration:none;
}

.hmenu > ul ul{


/*------- 2nd level -------*/
.hmenu > ul >li > ul{
	top:36px; /* Shift down with the height of the 1st level */
	margin-left:0px; /* This is the padding + border of the ul-li the ul is in. */
}

.hmenu > ul >li > ul.lmenu{
	right:0; /* lmenu on the second level is special in a hmenu*/
}

/*------- 3rd+ level -------*/
.hmenu ul ul ul{
	left:100px; /* This value is the same as the width of the ul one level up*/
	margin-top:-6px;
}

.hmenu > ul > li > ul > li ul.lmenu{
	left:-102px; /* Width + border on the two sides */
}

/* ---- VMENU ---- */
.vmenu li{
	padding:3px;
}

.vmenu > ul ul{
	width:140px;
}

/*------- 2nd+ level -------*/

.vmenu > ul > li > ul{
	left:238px;
	margin-top:-3px;
}

.vmenu > ul > li > ul.lmenu{
	left:-142px;
}

/*------- 3nd+ level -------*/
.vmenu ul ul ul{
	left:140px;
	margin-top:-4px;
}

.vmenu > ul > li > ul > li ul.lmenu{
	left:-142px; /* Width + border on the two sides */
}


.hmenu > ul > li > a
{
	text-decoration:none;
}

.hmenu > ul > li
{
}

.hmenu > ul > li:hover
{
}

.hmenu > ul > li:hover > a > span
{
}

.hmenu > ul > li > ul > li:hover > a > span
{
}

.hmenu > ul > li.selected
{
}
