/* common styling */
/* set up the overall width of the menu div, the font and the margins */

.menu {
font-family: arial, sans-serif; 
width:816px; 
margin:0; 
padding:0;
position:relative;
z-index:100;
}
/* remove the bullets and set the margin and padding to zero for the unordered list */
.menu ul {
padding:0; 
margin:0;
list-style-type: none;
}


/* float the list so that the items are in a line and their position relative so that the drop down list will appear in the right place underneath each list item */
.menu ul li {
float:left; 
position:relative;
}


/* style the links to be 104px wide by 30px high with a top and right border 1px solid white. Set the background color and the font size. */
.menu ul li a, .menu ul li a:visited {
display:block; 
text-align:center; 
text-decoration:none; 
width:74px; 
height:31px; 
color:#fff; 
background:URL(http://www.allateledelgyartok.hu/assets/templates/allateledel/GFX/menu_1.jpg); 
line-height:22px; 
font-size:11px;
overflow:hidden;
}

/* make the dropdown ul invisible */
.menu ul li ul {
display: none;
}

/* specific to non IE browsers */
.menu ul li:hover a {
color:#fff; 
background:URL(http://www.allateledelgyartok.hu/assets/templates/allateledel/GFX/menu_2.jpg); 
}
.menu ul li:hover ul {display:block; position:absolute; top:26px; left:0; width:74px; height: 26px;}
.menu ul li:hover ul li a.hide {background:#50b459; color:#fff; line-height:26px;font-size:10px; height: 26px;}
.menu ul li:hover ul li:hover a.hide {background:#a42723; color:#fff; line-height:26px; font-size:10px; height: 26px;}
.menu ul li:hover ul li ul {display: none;}
.menu ul li:hover ul li a {display:block; background:#5271a2; color:#fff; line-height:26px; font-size:10px; height: 26px;}
.menu ul li:hover ul li a:hover {background:#a42723; color:#fff; line-height:26px; font-size:10px; height: 26px;}
.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:74px; top:0;}
.menu ul li:hover ul li:hover ul.left {left:-74px;}

