
.viewport {
    border: 3px solid #aaa;
	flsoat:left;
	display:inline-block;
    height: 116px;
    margin: 0 10px 9px 0;
    overflow: hidden;
    position: relative;
    width: 290px;
}

/* 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: 116px;
    lseft: -20px;
    position: relative;
	border:0;
    tsop: -20px;
    width: 296px;
}

/* --- Label configuration -------------------------------------------------------------- */
.viewport a span {
    display: none;
    font-size: 19px;
    font-weight: bold;
    height: 100%;
    padding-top: 30px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    width: 100%;
    z-index: 100;
}
    .viewport a span em {
        display: block;
		font-size:19px;
    }

/* --- Dark hover background ------------------------------------------------------------ */
.dark-background {
    background-color: rgba(15, 15, 15, 0.9);
    color: #fff;
    text-shadow: #fff 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!
 */