.gallery {
	padding:0 4px 10px 0;
	background-repeat: no-repeat;
	background-position: right top;
}
.gallery ul {
	margin:0;
	padding:0;
	list-style:none;
	position:relative;
	height:36px;
	background-color: #000000;
	background-image: url(/portraits/images/bg_nav.jpg);
	background-repeat: repeat-x;
	background-position: left top;
}

.gallery ul li { display:block; width:auto; float:left; color:#fff; height:36px; }
.gallery ul li a {
	display:block;
	width:auto;
	color:#fff;
	text-decoration:none;
	padding:8px 1.3em 8px 1em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	background-repeat: no-repeat;
	background-position: right 0;
}
.gallery ul li a:hover {
	text-decoration:underline;
	font-family: Arial, Helvetica, sans-serif;
	background-repeat: no-repeat;
	background-position: right -36px;
}
.gallery ul li.first {
	background-repeat: no-repeat;
	background-position: left top;
}

.gallery ul li ul {
	display:none;
	position:absolute;
	top:34px;
	height:auto;
	border-bottom:6px solid #000000;
	border-left:1px solid #000000;
	border-right:1px solid #000000;
	width:95%;
	left:2%;
	padding:8px 5px 15px 5px;
	background-color: #fff;
	background-image: url(/portraits/images/bg_nav.jpg);
	background-repeat: repeat-x;
	background-position: left -34px;
}
.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:8px; padding:2px; position:relative; border:1px solid #000000; float:left; display:block; width:75px; height:50px; background-color:#fff; }
.gallery ul li ul li a:hover { background-image:none; z-index:2; }
.gallery ul li ul li a img { position:absolute; top:2px; width:75px; height:50px; border:0; margin:0; padding:0; }
.gallery ul li a:hover img,
.gallery ul li a:active img,
.gallery ul li a:focus img { width:100px; height:75px; left:-11px; top:-10px; z-index:1; border:1px solid #000; }
.gallery ul li.overview { display:block; clear:both; padding:5px 10px 0 10px; color:#000; }


#gallery1 ul { z-index:2; }
#gallery2 ul { z-index:1; }

