#dwcphotogallery_container {
	overflow: auto;
	width: 100%
}

.dwcphotogallery {
	float:left;
    position: relative;
    width: 30%;
    padding-bottom : 10%; /* = width for a 1:1 aspect ratio */
    margin:1.66%;
    height:220px;
}

.dwcphotogallery img:hover {
	border-color: #000;
	background: #ddd;
}
.dwcphotogallery img {
	background: #fff;
	border: solid 1px #888;
	padding: 3px;
}
.dwcphotogallery em {
	color: #000;
	font-style: normal;
	font-weight:bold;
}

.dwcphotogallery a {
	text-decoration: none;
}
.dwcphotogallery a:hover em {
	color: #666;
}
