.gallery { 
margin: 0; 
padding: 0; 
}
.gallery img{ 
margin: 0; 
padding: 0;
border: none;
}
.gallery ul { 
margin: 0; 
padding: 0; 
list-style: none; 
position: relative; 
height: 60px;
}
.gallery ul li {
margin-right: 20px;
float: left; 
color: #000; 
width: 100px;
height: 75px;
 }
.gallery ul li a { 
border: 1px solid #9e9e9e;
background-color: #ddecfc;
margin: 10px;
padding: 4px;
width: 100px;
height: 75px;
float: left;
color:#fff; 
text-decoration:none; 
}
.gallery ul li a:hover { 
border: 1px solid #9e9e9e;
background-color: #ddecfc;
margin: 10px;
padding: 4px;
width: 100px;
height: 75px;
float: left;
color:#fff; 
text-decoration:none; 
}
.gallery ul li.first{ 
width: 100px;
height: 75px;
}
.gallery ul li ul { 
display:none;
position:absolute;
top:54px; 
left:40px;
width:90%;
background: #fff;
height:auto; 
border-bottom: 1px solid Gray; 
border-top:1px solid Gray; 
border-left:1px solid Gray; 
border-right:1px solid Gray; 
padding: 10px 10px 10px 10px;
 }
.gallery ul li:hover ul,
.gallery ul li.over ul { 
display:block; 
}
.gallery ul li ul li { 
display:inline; 
float:none; 
background-image:none; 
height:auto; 
}
.gallery ul li ul li a { 
background-image:none; 
margin: 10px;
padding: 0px; 
position:relative; 
float:left;
width: 75px; 
height: 50px; 
background-color: #fff; 
}
.gallery ul li ul li a:hover { 
background-image:none; 
width: 75px; 
height: 50px; 
padding: 0px; 
z-index:2; 
}
.gallery ul li ul li a img { 
position:absolute;
width: 75px; 
height: 50px; 
-moz-opacity:0.50; 
filter:alpha(opacity=50);
opacity:.50;
border:0; 
margin:0; 
padding: 0px; 
}
.gallery ul li ul li a:hover img,
.gallery ul li ul li a:active img,
.gallery ul li ul li a:focus img { 
-moz-opacity:0.99; 
filter:alpha(opacity=99);
opacity:.99;
border:0; 
margin:0; 
padding: 0px; 
left: 0px; 
top: 0px; 
z-index:1; 
}
.gallery ul li.overview { 
display:block; 
clear:both; 
}
#gallery1 ul { z-index:2; }
#gallery2 ul { z-index:1; }

