﻿/* common styling */
/* set up the overall width of the menu div, the font and the margins with a relative position*/

.menu2 {
font-family: verdana, arial, sans-serif; 
width:490px; 
margin:0; 
position:relative;
z-index:90;
height: 600px
}
/* 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; list-style-type:none
}
/* style the links to be 249px 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; 
text-align:center; 
text-decoration:none; 
width:121px; 
height:30px; 
color:#000; 
border:1px solid #fff;
border-width:1px 1px 0 0;
background:#E9E9E2; 
line-height:30px; 
font-size:11px;
}
/* make the dropdown ul invisible */
.menu2 ul li ul {
display: none;list-style-type: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:#C9C9C1;
}
/* make the sub menu ul visible and position it beneath the first list item */
.menu2 ul li:hover ul {
text-align:center;
display:block; 
position:absolute; 
top:30px; 
left:0; 
text-align:left;
}
/* make the sub menu ul li the full width with padding and border. Add an auto scroll bar */
.menu2 ul li:hover ul li {
background:#fff; 
color:#000;
padding:5px;
width:457px;
border:8px solid #C9C9C1;
}
/*float the image left with padding and no border */
.menu2 ul li:hover ul li img {
padding:0; 
border:0;
}
/* style the paragraph font height */
.menu2 ul li:hover ul li p {
font-size:0.9em;
}
/* style the background and foreground color of the submenu links */
.menu2 ul li:hover ul li a {
display:inline;
background:#eee;
color:#c00;
text-decoration:underline;
border:0;
}
/* style the background and forground colors of the links on hover */
.menu2 ul li:hover ul li a:hover {
text-decoration:none; 
color:#000;
}