/* Tumbnail Gallery Standard */



.thumb .imgContainer tr td { 	
	/* 150px + 10px */ 
	height: 160px;
	width: 160px;
	}
.thumb img { 
	max-height: 150px;
	height:expression(this.height>this.width && this.height>150?150:true); /* sets max-height for IE */
	max-width: 150px;	
	width:expression(this.width>this.height && this.width>150?150:true); /* sets max-width for IE */
	}
span.thumb label {
	/* bug fix for IE - width from above minus the horizontal padding of label (in this case Left:3px and Right:3px = 6px) */ width:154px;
	}	

a.thumb,
a:link.thumb,
a:visited.thumb { 
	padding: 0;
	margin:0 15px 15px 0; 
	float: left;
	text-decoration: none;
	text-shadow: #000000; 
	color: #666;
	}



span.thumb {
	background: #fff;
	display: block;
	cursor: pointer;
	}
	
.thumb .imgContainer {
}

.thumb .imgContainer,
.thumb .imgContainer tr {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border-style: none;
	}

.thumb .imgContainer tr td {
	text-align: center;
	overflow: hidden;
	vertical-align: bottom;
	padding: 0 auto;
	margin: 0;
	}
	
.thumb img { 
	border: 5px solid #CCC;
	cursor: pointer;
	margin: 0 auto;
	padding: 0;
	}
	
a:hover.thumb img,
a:active.thumb img { 
	border-color: #79d600;
	cursor: pointer;
	}
	
.thumb label {
	clear: both;
	display: block;
	text-decoration: none;
	font-size: .8em;
	padding: 5px 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	cursor: pointer;
	text-align: center;
	}