div#gallery a {
	text-decoration:none;
}

div#gallery a:hover {
	background-color:transparent;
}

div#gallery a img {
	border:0.125em solid #ca0800; /*Border around thumbnail*/
	margin:0.5em 1em 0.5em 0; /*Margin around thumbnail*/
}

div#gallery a:hover img {
	border-color:blue; /*Border around viewed thumb - use link color?*/	
}

div#gallery a span {
	position:absolute;
	display:block;
	z-index:2;
	left:-200em;
	top:0;
}

div#gallery a:hover span {
	position:absolute;
	left:auto;
	right:1.8em;
	border:0.125em solid black; /*Border around the container*/
	padding:0.75em; /*Container size around the image*/
	background-color:white;	/*container color*/
}

div#gallery a:hover span img {
	margin:0;
	border:0.063em solid black; /*Border around image mat*/
	padding:0; /*Image mat size*/
	background-color:white; /*Image mat color*/
}
