/* --- Container configuration ---------------------------------------------------------- */
.viewport {
	border: 2px solid #eee;
	float: left;
	height: 187px;
	overflow: hidden;
	position: relative;
	width: 260px;
	margin-top: 0;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

/* This is so that the 2nd thumbnail in each row fits snugly. You will want to add a similar
   class to the last thumbnail in each row to get rid of the margin-right. */
.no-margin {
    margin-right: 0;
}

/* --- Link configuration that contains the image and label ----------------------------- */
.viewport a {
    display: block;
    position: relative;
}

.viewport a img {
	height: 213px;
	left: -20px;
	position: relative;
	top: -20px;
	width: 320px;
}

/* --- Label configuration -------------------------------------------------------------- */
.viewport a span {
	display: none;
	font-size: 2.5em;
	font-weight: bold;
	height: 100%;
	padding-top: 80px;
	position: absolute;
	text-align: center;
	text-decoration: none;
	width: 100%;
	z-index: 100;
}
    .viewport a span em {
        display: block;
        font-size: 0.45em;
        font-weight: normal;
    }

/* --- Dark hover background ------------------------------------------------------------ */
.dark-background {
    background-color: rgba(15, 15, 15, 0.6);
    color: #fff;
    text-shadow: #000 0px 0px 20px;
}
    .dark-background em {
        color: #ccc;
    }

/**
 * You could create multiple hover background classes for different looks depending on the
 * image type. Use your imagination!
 */
