﻿/* 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:500px;
margin:0 auto; 
position:relative;
z-index:1;
}
/* 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;
border:0;
}
/* float the list so that the items are in a line */
.menu2 ul li {
float:left; 
}
/* style the links to be 124px 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:124px; 
height:30px; 
color:#000; 
border:1px solid #000;
border-width:1px 1px 0 0;
background:#c9c9a7; 
line-height:30px; 
font-size:11px;
}
/* make the dropdown ul invisible */
.menu2 ul li ul {
	display: none;
}

/* specific to non IE browsers */
/* set the background and foreground color of the main menu li on hover */
.menu2 ul li:hover a{
color:#fff; 
background:#b3ab79;
}
/* make the sub menu ul visible and position it beneath the first list item */
.menu2 ul li:hover ul {
text-align:left;
display:block; 
position:absolute; 
top:31px; 
left:0; 
}
.menu2 ul li:active  ul {
text-align:left;
display:block; 
position:absolute; 
top:31px; 
left:0; 
}


/* make the sub menu ul li the full width with padding and border. */
.menu2 ul li:hover ul li {
width:464px;
height:365px;
border:20px solid #b3ab79;
background:#000; 
color:#fff;
position:relative;
padding:40px 60px;
}

/* style the initial image size 100px x 75px no border and 5pixel padding */
.menu2 ul li:hover ul li a img {
width:100px; 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 {
float:left;
width:110px;
height:85px;
background:#000;
border:1px solid #888;
margin:1px;
}

/* style position of the links on hover */
.menu2 ul li:hover ul 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:200px; height:150px;
position:absolute;
left:-50px; top:-38px;
border:0;
border:1px solid #888;
padding:5px;
background:#000;
}