#maincontentFirst .tablewrapper div.gallery ul {
	margin: 0;
	padding: 0;
	overflow: hidden;
	}

#maincontentFirst .tablewrapper div.gallery span {
	display: block;
	text-align: right;
	padding: 0 0em 0em 0
}

#maincontentFirst .tablewrapper div.gallery ul li {
	list-style: none;
	float: left;
	background-color: #fff;
	padding: 0em 0em 0 0em;
	margin: 0 0em 0em 0em;
	width: 10.2em;
	border: 1px solid #ccc;
	height: 12em;
	_height: 17em;
	}

#maincontentFirst .tablewrapper div.gallery ul li.selected {
	background-color: #FFC;
	}

#maincontentFirst .tablewrapper div.gallery ul li div.imageholder {
}

#maincontentFirst .tablewrapper div.gallery ul li div.imageholder img {
	margin:0 auto;
	margin-left:-30px;
	margin-top:-6px;
	display: block;
	border: 0;
	}

#maincontentFirst .tablewrapper div.gallery ul li p {
	font-size: 0.8em;
	color: #5B6F7B;
	}

#maincontentFirst .tablewrapper div.gallery ul li div.buttongroup {
	padding-left: 0;
	}

#maincontentFirst .tablewrapper div.gallery ul li div.buttongroup input {
	font-size: 0.8em;
}

#maincontentFirst .tablewrapper div.gallery ul li h4 {
	font-size: 0.9em;
	_border-top: 10px solid #fff;
	display:none;
}

/* ---------------------------------- Gallery ------------------------- */

#maincontentFirst .tablewrapper div.gallery {
	width: 192px;
	margin-top: 4px;
	margin-left: -3px;	/*	offset left margins on li's	*/
}

#maincontentFirst .tablewrapper div.gallery .summary {
	display: none;
}

#maincontentFirst .tablewrapper div.gallery ul {
	padding: 0;
	margin: 0;
}

#maincontentFirst .tablewrapper div.gallery ul li {
	border: 1px solid #AAAAAA;
	display: block;
	float: left;
	height: 45px;
	margin: 0pt 0pt 3px 3px;
	overflow: hidden;
	padding: 0;
	width: 59px;
}

#maincontentFirst .tablewrapper div.gallery ul li a img {
	margin-left: -40px;		/*	counteract GD padding (may become redundant)	*/
}

#maincontentFirst .tablewrapper div.gallery div.controls
{
	clear: both;
	text-align: right;
	color: #666;
	font-size: 0.9em;
	margin:  0.5em 0;
}
