/* common styling */
/* set up the overall width of the menu div and the margins with a relative position*/

.menu2 {
font-family: verdana, arial, sans-serif; 
width:480px;
margin:0; 
position:relative;
z-index:1;
height:515px;
border-bottom:1px solid #666;
border-right:1px solid #666;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
background:#f0f0f0;
}
/* remove the bullets and set the margin and padding to zero for the unordered list */
.menu2 ul {
padding:0; 
margin:0;
list-style-type: none;
}
.menu2 ul li a.hider, .menu2 ul li a:visited.hider {
display:none;
}
/* float the list so that the items are in a line */
.menu2 ul li {
float:left; 

}
/* style the links to be 95px wide by 30px high with a top and right border 1px solid white. Set the background color and the font size. */
.menu2 ul li a, .menu2 ul li a:visited {
display:block; 
float:left;
text-align:center; 
text-decoration:none; 
width:95px; 
height:30px; 
color:#000; 
background:#f0f0f0; 
line-height:30px; 
font-size:11px;
margin: 0 1px 0 0;
z-index:3;
}

/* make the dropdown ul invisible */
.menu2 ul li ul {
display: none;
}
.menu2 ul li ul.single {
display: block;
}
/* specific to non IE browsers */
/* set the background and foreground color of the main menu li on hover */
.menu2 ul li:hover a{
color:#000; 
background:#fff;
border-bottom:1px solid #fff;
}
/* make the sub menu ul visible and position it beneath the first list item */
.menu2 ul li:hover ul,.menu2 ul li ul.single{
text-align:left;
display:block; 
position:absolute; 
top:31px; 
left:0;
z-index:0; 
}
/* make the sub menu ul li the full width with padding and border. */
.menu2 ul li:hover ul li,.menu2 ul li ul.single li{
width:420px;
height:365px;
background:#fff; 
color:#000;
position:relative;
padding:59px 0px 59px 60px;
}

/* style the initial image size 100px x 75px no border and 5pixel padding */
.menu2 ul li:hover ul li a img,.menu2 ul li ul.single li a img{
width:75px; height:75px;
border:0; margin:5px;
}

/* style the size, background color, border and margin of the submenu links */
.menu2 ul li:hover ul li a,.menu2 ul li ul.single li a{
float:left;
width:85px;
height:85px;
background:#fff;
border-bottom:1px solid #666;
border-right:1px solid #666;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
margin:1px;
}

/* style position of the links on hover */
.menu2 ul li:hover ul li a:hover,.menu2 ul li ul.single li a:hover{
position:relative;
}

/* style the 2x size image on hover with an absolute position to place it centrally over the original image */
.menu2 ul li:hover li a:hover img{
width:150px; height:150px;
position:absolute;
left:-37px; top:-38px;
border-bottom:1px solid #666;
border-right:1px solid #666;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
padding:5px;
background:#fff;
}
