a.popup {
	text-decoration:none;
}

a.popup:hover {
	background-color:transparent;
}

a.popup img {
	border: 1px solid black; /*Border around thumbnail*/
	margin: 0 2em; /*Margin around thumbnail*/
	padding: 0; /*Mat size around the thumbnail*/
	background-color:black; /*Mat color around thumbnail*/
}

a.popup:hover img {
	border:1px solid #AFBECF; /*Border around viewed thumb - use link color?*/	
}

a.popup span {
	position:absolute;
	visibility:hidden;
	left:-300em;
	top:0;
}

a.popup:hover span {
	position:absolute;
	visibility:visible;
	z-index:2;
	border:1px solid white; /*Border around the container*/
	padding:2em; /*Container size around the image*/
	background-color:black;	/*container color*/
}

a.popup:hover span img {
	margin:0;
	border:1px solid black; /*Border around image mat*/
	padding:0; /*Image mat size*/
	background-color:white; /*Image mat color*/
}