/*-----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;	
	float:left;
	height:35px;
	background:#3d0400;
}
.hmenu>ul>li.last
{
	margin-right:0 !important;
	float:left;
	height:35px;
}
.hmenu>ul>li{
	
	border-left:1px solid #240301;
	height:35px;
	padding:0;
}
.hmenu>ul>li>a {
	font-weight:bold;
	text-decoration:none;
	padding:0 10px 0 10px;
	line-height:35px;
}

.hmenu>ul>li>a>span {
	color:white;
	display:block;	
}

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

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

.hmenu > ul ul{
	width:160px;
	background-color:#ffd706 !important;
}

/*------- 2nd level -------*/
.hmenu > ul >li > ul{
	top:35px; /* 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 */
}
