#header .menu {
	width: 705px;
	display: block;
	float: left;
	padding: 15px 0 0 0;
	font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
	font-size: 1em;
	position: relative;
	z-index: 200;
}

#header .menu ul, #header .menu li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	z-index: 201;
}

#header .menu li {
/*	fix helyen vannak az almenük */
/*	position: relative;	*/	
	float: left;
	background: url(menu_bg.png) no-repeat 0 0;
	height: 35px;
	padding: 0 0 0 20px;
	z-index: 202;
}

#header .menu a, #header .menu a:hover {
	display: block;
	height: 20px;
	text-decoration: none;
	font-weight: normal;
	color: #eff3f8;
	padding: 10px 0px 5px 0px;
	z-index: 203;
	white-space: nowrap;
}

#header .menu a:hover {
	color: White;
}


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



#header li.sw_s1_mi_first {
	background: url(menu_bg_first.png) no-repeat 0 0;
}

#header li.sw_s1_mi_first_act {
	background: url(menu_bg_first_active.png) no-repeat 0 0;
}

#header li.sw_s1_mi_first_act a, #header li.sw_s1_mi_first_act a:hover {
	padding-bottom: 0;
}





#header li.sw_s1_mi_last, #header li.sw_s1_mi_last_after_act, #header li.sw_s1_mi_last_act {
	background: url(menu_bg_last.png) no-repeat right 0;
	padding: 0 20px 0 0;
}

#header li.sw_s1_mi_last a, #header li.sw_s1_mi_last a:hover, #header li.sw_s1_mi_last_after_act a, #header li.sw_s1_mi_last_after_act a:hover, #header li.sw_s1_mi_last_act a, #header li.sw_s1_mi_last_act a:hover {
	background: url(menu_bg.png) no-repeat 0 0;
	padding: 10px 0 5px 20px;
}

#header li.sw_s1_mi_last_act {
	background: url(menu_bg_last_active.png) no-repeat right 0;
}

#header li.sw_s1_mi_last_after_act a, #header li.sw_s1_mi_last_after_act a:hover {
	background: url(menu_bg_after_active.png) no-repeat 0 0;	/* menu_bg_last_after_active.png */
}

#header li.sw_s1_mi_last_act a, #header li.sw_s1_mi_last_act a:hover {
	background: url(menu_bg_active.png) no-repeat 0 0;
}




#header li.sw_s1_mi_first_last_act {
	background: url(menu_bg_last_active.png) no-repeat right 0;
	padding: 0 16px 0 0;
}
#header li.sw_s1_mi_first_last_act a, #header li.sw_s1_mi_first_last_act a:hover {
	background: url(menu_bg_first_active.png) no-repeat 0 0;
	padding: 10px 0px 5px 20px;
}


#header li.sw_s1_mi_first_last {
	background: url(menu_bg_last.png) no-repeat right 0;
	padding: 0 16px 0 0;
}
#header li.sw_s1_mi_first_last a, #header li.sw_s1_mi_first_last a:hover {
	background: url(menu_bg_first.png) no-repeat 0 0;
	padding: 10px 0px 5px 20px;
}



#header li.sw_s1_mi_act {
	background: url(menu_bg_active.png) no-repeat 0 0;
}

#header li.sw_s1_mi_after_act {
	background: url(menu_bg_after_active.png) no-repeat 0 0;
}

#header li.sw_s1_mi_first_act a, #header li.sw_s1_mi_first_act a:hover, #header li.sw_s1_mi_act a, #header li.sw_s1_mi_act a:hover, #header li.sw_s1_mi_last_act a, #header li.sw_s1_mi_last_act a:hover, #header li.sw_s1_mi_first_last_act a, #header li.sw_s1_mi_first_last_act a:hover {
	color: Black;
}





/* 2. szint */



/* hide the sub levels and give them a positon absolute so that they take up no room */
#header .menu ul ul {
	visibility: hidden;
	position: absolute;
	width: 555px;
/*	height: 0;	*/
	top: 49px;
	left: 0px; 
	z-index: 211;
}

#header .menu ul ul li {
	background: url(menu_2_bg.png) no-repeat 0 8px;
	z-index: 212;
	padding: 0 0 0 16px;
}

#header .menu ul ul a, #header .menu ul ul a:hover {
	height: 20px;	
	z-index: 213;
	color: #0e1733;
	padding: 13px 0 1px 0;
	margin: 0;
}

#header .menu ul ul a:hover {
	color: Black;
}

#header .menu ul ul li table {
	z-index: 214;
}

/* make the second level visible when hover on first level list OR link */
#header .menu ul li:hover ul,
#header .menu ul a:hover ul{
	visibility: visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
#header .menu ul :hover ul ul{
	visibility: hidden;
}

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


#header .menu .sw_s1_mi_act ul, #header .menu .sw_s1_mi_first_act ul, #header .menu .sw_s1_mi_last_act ul, #header .menu .sw_s1_mi_first_last_act ul {
	visibility: visible;
	z-index: 50;
}

#header .menu .sw_s1_mi_act ul li, #header .menu .sw_s1_mi_first_act ul li, #header .menu .sw_s1_mi_last_act ul li, #header .menu .sw_s1_mi_first_last_act ul li {
	z-index: 51;
}

/* Elrejtjuk az aktuális oldal almenüjét, ha a főmenü fölött van az egér  */
#header .menu ul:hover .sw_s1_mi_act ul, #header .menu ul:hover .sw_s1_mi_first_act ul, #header .menu ul:hover .sw_s1_mi_last_act ul, #header .menu ul:hover .sw_s1_mi_first_last_act ul {
	visibility: hidden;
}

/* Mégsem rejtjuk el az aktuális oldal almenüjét, ha a főmenü fölött van az egér és pont az aktuális oldal főmenüpontja fölött */
#header .menu ul:hover .sw_s1_mi_act:hover ul, #header .menu ul:hover .sw_s1_mi_first_act:hover ul, #header .menu ul:hover .sw_s1_mi_last_act:hover ul, #header .menu ul:hover .sw_s1_mi_first_last_act:hover ul {
	visibility: visible;
}

#header .menu ul ul li.sw_s1_mi_first {
	background: url(menu_2_bg_first.png) no-repeat 0 8px;
}

#header .menu ul ul li.sw_s1_mi_first_act {
	background: url(menu_2_bg_first_active.png) no-repeat 0 8px;
}

#header .menu ul ul li.sw_s1_mi_first_act a, #header .menu ul ul li.sw_s1_mi_first_act a:hover {
	padding-bottom: 0;
}





#header .menu ul ul li.sw_s1_mi_last, #header .menu ul ul li.sw_s1_mi_last_after_act, #header .menu ul ul li.sw_s1_mi_last_act {
	background: url(menu_2_bg_last.png) no-repeat right 8px;
	padding: 0 15px 0 0;
}

#header .menu ul ul li.sw_s1_mi_last a, #header .menu ul ul li.sw_s1_mi_last a:hover, #header .menu ul ul li.sw_s1_mi_last_after_act a, #header .menu ul ul li.sw_s1_mi_last_after_act a:hover, #header .menu ul ul li.sw_s1_mi_last_act a, #header .menu ul ul li.sw_s1_mi_last_act a:hover {
	background: url(menu_2_bg.png) no-repeat 0 8px;
	padding: 13px 0 5px 15px;
}

#header .menu ul ul li.sw_s1_mi_last_act {
	background: url(menu_2_bg_last_active.png) no-repeat right 8px;
}

#header .menu ul ul li.sw_s1_mi_last_after_act a, #header .menu ul ul li.sw_s1_mi_last_after_act a:hover {
	background: url(menu_2_bg_after_active.png) no-repeat 0 8px; /*	menu_2_bg_last_after_active.png */
}

#header .menu ul ul li.sw_s1_mi_last_act a, #header .menu ul ul li.sw_s1_mi_last_act a:hover {
	background: url(menu_2_bg_active.png) no-repeat 0 8px;
}




#header .menu ul ul li.sw_s1_mi_first_last_act {
	background: url(menu_2_bg_last_active.png) no-repeat right 8px;
	padding: 0 15px 0 0;
}
#header .menu ul ul li.sw_s1_mi_first_last_act a, #header .menu ul ul li.sw_s1_mi_first_last_act a:hover {
	background: url(menu_2_bg_first_active.png) no-repeat 0 8px;
	padding: 14px 4px 5px 19px;
}


#header .menu ul ul li.sw_s1_mi_first_last {
	background: url(menu_2_bg_last.png) no-repeat right 8px;
	padding: 0 15px 0 0;
}
#header .menu ul ul li.sw_s1_mi_first_last a, #header .menu ul ul li.sw_s1_mi_first_last a:hover {
	background: url(menu_2_bg_first.png) no-repeat 0 8px;
	padding: 14px 4px 5px 19px;
}



#header .menu ul ul li.sw_s1_mi_act {
	background: url(menu_2_bg_active.png) no-repeat 0 8px;
}

#header .menu ul ul li.sw_s1_mi_after_act {
	background: url(menu_2_bg_after_active.png) no-repeat 0 8px;
}

#header .menu ul ul li.sw_s1_mi_first_act a, #header .menu ul ul li.sw_s1_mi_first_act a:hover, #header .menu ul ul li.sw_s1_mi_act a, #header .menu ul ul li.sw_s1_mi_act a:hover, #header .menu ul ul li.sw_s1_mi_last_act a, #header .menu ul ul li.sw_s1_mi_last_act a:hover, #header .menu ul ul li.sw_s1_mi_first_last_act a, #header .menu ul ul li.sw_s1_mi_first_last_act a:hover {
	/*	color: Black;	*/
}


/* ---- Oldalso menu ---- */

#side_content .menu {
	padding: 28px 0 0 0;	
}

#side_content .menu ul, #side_content .menu li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	z-index: 201;
	width: 212px;
	font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
	font-size: 1em;
}

#side_content .menu li {
	display: block;
	width: 212px;
	height: 30px;
	margin: 0 0 2px 0;
	background: url(sidemenu_bg.png) no-repeat 6px 0;
}

#side_content .menu a, #side_content .menu a:hover {
	display: block;
	width: 184px;
	height: 18px;
	margin: 0;
	padding: 6px 14px 6px 14px;
	text-decoration: none;
	font-weight: normal;
	color: White;
}

#side_content .menu a:hover {
	color: #e6f7d0;
	background: url(sidemenu_bg_over.png) no-repeat 6px 0;
}