.caption {
    padding: 0;
    overflow: hidden;
    text-align: center;
    position: relative;
    float: left;
    margin: 10px;
    #background: #000;
    cursor: pointer;
}
.caption img {
    opacity: 1;
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    object-fit: contain; /* fits, but may leave empty space */
    position: relative;
    display: block;
}
.caption .itemCaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.itemCaption h3 {
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: #484c61;
    -webkit-transition: -webkit-transform 0.35s, color 0.35s;
    transition: transform 0.35s, color 0.35s;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    margin: 0;
    padding: 0 30px;
}
.capContent {
    padding-top: 15%;
    opacity: 0;
    margin-top: 25px;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}
.capPreview {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 3px;
    padding: 8px 10px;
    margin-top: 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1em;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
    -webkit-transition: opacity 0.1s, -webkit-transform 0.1s;
    transition: opacity 0.1s, transform 0.1s;
}
.caption:hover .capContent {
    opacity: 1;
    padding-top: 20%;
}
.post-title a {
    text-decoration: none;
    color: #fff !important;
    text-align: center;
    font-family: Raleway;
    font-weight: 700;
}
.post-footer,
.post-related {
    display: none;
}
.body {
    background: #f5f5f5;
}
