 .menu {
	width: 100%;height:auto;
	display: block;
	float: left;
	padding-top: 0px;padding-right:0px;padding-bottom:0px;padding-left:0px;
	font-family: "Century Gothic", Arial, Helvetica, sans-serif;
	font-size: 16px;
	position: relative;
	z-index: 330;
	background-image: url(h_menusor.png); 	background-repeat:repeat-x;	background-position: bottom left;
}

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

 .menu li {
/*	fix helyen vannak az almen?k */
/*	position: relative;	*/	
	display:block;
	float: left;
	background-image: url(h_menu.png); 	background-repeat:no-repeat;	background-position: 0 0;
	height: 34px;
	padding: 0px 0px 0px 0px;
	z-index: 332;
}

 .menu a,  .menu a:hover {
	display: block;
	height: 20px;
	text-decoration: none;
	font-weight: bold;
	color: black;
	padding: 7px 10px 7px 10px;
	z-index: 333;
	white-space: nowrap;
	background:none;
	float:left;
}

 .menu a:hover {
	color: white;
	background-color:#ff0000;
}


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



 li.sw_s1_mi_first {
	background-image: url(h_menu_first.png); 	background-repeat:no-repeat;	background-position: 0 0;
}

 li.sw_s1_mi_first_act {
	background-image: url(h_menu_first.png); 	background-repeat:no-repeat;	background-position: 0 0;
}

 li.sw_s1_mi_first_act a,  li.sw_s1_mi_first_act a:hover {
	background-color:#fffbfb;
	color:black;
}





 li.sw_s1_mi_last,  li.sw_s1_mi_last_after_act,  li.sw_s1_mi_last_act {
	background-image: url(h_menu_last.png); 	background-repeat:no-repeat;	background-position: 0 0;
	
}

 li.sw_s1_mi_last a,  li.sw_s1_mi_last a:hover,  li.sw_s1_mi_last_after_act a,  li.sw_s1_mi_last_after_act a:hover,  li.sw_s1_mi_last_act a,  li.sw_s1_mi_last_act a:hover {
	/*background-image: url(h_menu.png); 	background-repeat:no-repeat;	background-position: 0 0;*/
/*	width:168px;*/
width: auto;
	
}

 li.sw_s1_mi_last_act {
	background-image: url(h_menu_last.png); 	background-repeat:no-repeat;	background-position: right 0;
	
}


 li.sw_s1_mi_last_after_act a,  li.sw_s1_mi_last_after_act a:hover {
	background-image: url(h_menu.png); 	background-repeat:no-repeat;	background-position: 0 0;/* h_menu_last_after_active.png */
	
}

 li.sw_s1_mi_last_act a,  li.sw_s1_mi_last_act a:hover {
	background-image: url(h_menu.png); 	background-repeat:no-repeat;	background-position: 0 0;
	
}




 li.sw_s1_mi_first_last_act {
	background-image: url(h_menu_last.png); 	background-repeat:no-repeat;	background-position: right 0;
	
}

 li.sw_s1_mi_first_last_act a,  li.sw_s1_mi_first_last_act a:hover {
	background-image: url(h_menu_first.png); 	background-repeat:no-repeat;	background-position: 0 0;
	
}


 li.sw_s1_mi_first_last {
	background-image: url(h_menu_last.png); 	background-repeat:no-repeat;	background-position: right 0;
	
}
 li.sw_s1_mi_first_last a,  li.sw_s1_mi_first_last a:hover {
	background-image: url(h_menu_firstlast.png); 	background-repeat:no-repeat;	background-position: 0 0;
	
}



 li.sw_s1_mi_act {
	background-image: url(h_menu.png); 	background-repeat:no-repeat;	background-position: 0 0;
}

 li.sw_s1_mi_after_act {
	background-image: url(h_menu.png); 	background-repeat:no-repeat;	background-position: 0 0;
}

 li.sw_s1_mi_first_act a,  li.sw_s1_mi_first_act a:hover,  li.sw_s1_mi_act a,  li.sw_s1_mi_act a:hover,  li.sw_s1_mi_last_act a,  li.sw_s1_mi_last_act a:hover,  li.sw_s1_mi_first_last_act a,  li.sw_s1_mi_first_last_act a:hover {
	background-color:#fffbfb;
	color:black;
}





/* 2. szint */


/* hide the sub levels and give them a positon absolute so that they take up no room */
 .menu ul ul {
	visibility: hidden;
	position: absolute;
	width: 100%;
/*	height: 0;	*/
	top: 34px;
	left: 0px; 
	z-index: 341;
	font-size:13px;
	padding: 0px;margin:0px;
	background-image: url(h_menusor.png); background-repeat:repeat-x;	background-position: bottom left;
	background-color:transparent;
}

 .menu ul ul li {
	background-image: url(h_menu2.png); 	background-repeat:no-repeat;	background-position: 0 8px;
	z-index: 342;
	padding:0px;margin:0px;
	max-width:203px;height:auto;
	
}

 .menu ul ul a,  .menu ul ul a:hover {
	height: 20px;	
	z-index: 343;
	color: #666666;
	padding: 9px 7px 5px 7px;
	background-color: white;
	margin: 0;
}

 .menu ul ul a:hover {
	color: white;
	background-color:red;
}

 .menu ul ul li table {
	z-index: 344;
}

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

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


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

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

/* Elrejtjuk az aktu?lis oldal almen?j?t, ha a f?men? f?l?tt van az eg?r  */
 .menu ul:hover .sw_s1_mi_act ul,  .menu ul:hover .sw_s1_mi_first_act ul,  .menu ul:hover .sw_s1_mi_last_act ul,  .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 */
 .menu ul:hover .sw_s1_mi_act:hover ul,  .menu ul:hover .sw_s1_mi_first_act:hover ul,  .menu ul:hover .sw_s1_mi_last_act:hover ul,  .menu ul:hover .sw_s1_mi_first_last_act:hover ul {
	visibility: visible;
}

 .menu ul ul li.sw_s1_mi_first {
	background-image: url(h_menu2_first.png); 	background-repeat:no-repeat;	background-position: 0 8px;
		
}

 .menu ul ul li.sw_s1_mi_first_act {
	background-image: url(h_menu2_first.png); 	background-repeat:no-repeat;	background-position: 0 8px;
}

 .menu ul ul li.sw_s1_mi_first_act a,  .menu ul ul li.sw_s1_mi_first_act a:hover {
	
}





 .menu ul ul li.sw_s1_mi_last,  .menu ul ul li.sw_s1_mi_last_after_act,  .menu ul ul li.sw_s1_mi_last_act {
	background-image: url(h_menu2.png); 	background-repeat:no-repeat;	background-position: right 8px;
	
}

 .menu ul ul li.sw_s1_mi_last a,  .menu ul ul li.sw_s1_mi_last a:hover,  .menu ul ul li.sw_s1_mi_last_after_act a,  .menu ul ul li.sw_s1_mi_last_after_act a:hover,  .menu ul ul li.sw_s1_mi_last_act a,  .menu ul ul li.sw_s1_mi_last_act a:hover {
	background-image: url(h_menu2.png); background-repeat:no-repeat;	background-position: right 8px;
	
}

 .menu ul ul li.sw_s1_mi_last_act {
	background-image: url(h_menu2.png); background-repeat:no-repeat;	background-position: right 8px;
}

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

 .menu ul ul li.sw_s1_mi_last_act a,  .menu ul ul li.sw_s1_mi_last_act a:hover {
	background-image: url(h_menu2.png); background-repeat:no-repeat;	background-position: 0 8px;
}




 .menu ul ul li.sw_s1_mi_first_last_act {
	background-image: url(h_menu2_first.png); background-repeat:no-repeat;	background-position: right 8px;
	
}
 .menu ul ul li.sw_s1_mi_first_last_act a,  .menu ul ul li.sw_s1_mi_first_last_act a:hover {
	background-image: url(h_menu2_first.png); background-repeat:no-repeat;	background-position: 0 8px;
	
}


 .menu ul ul li.sw_s1_mi_first_last {
	background-image: url(h_menu2_first.png); background-repeat:no-repeat;	background-position: 0 8px;
	
	width:208px;
}
 .menu ul ul li.sw_s1_mi_first_last a,  .menu ul ul li.sw_s1_mi_first_last a:hover {
	background-image: url(h_menu2_first.png); background-repeat:no-repeat;	background-position: 0 8px;
	
	width:203px;
}



 .menu ul ul li.sw_s1_mi_act {
	background-image: url(h_menu2.png); background-repeat:no-repeat;	background-position: 0 8px;
}

 .menu ul ul li.sw_s1_mi_after_act {
	background-image: url(h_menu2.png); background-repeat:no-repeat;	background-position: 0 8px;
}

 .menu ul ul li.sw_s1_mi_first_act a,  .menu ul ul li.sw_s1_mi_first_act a:hover,  .menu ul ul li.sw_s1_mi_act a,  .menu ul ul li.sw_s1_mi_act a:hover,  .menu ul ul li.sw_s1_mi_last_act a,  .menu ul ul li.sw_s1_mi_last_act a:hover,  .menu ul ul li.sw_s1_mi_first_last_act a,  .menu ul ul li.sw_s1_mi_first_last_act a:hover {
		background-color:#FFE1E1;
		color: Black;	
}

