﻿#imageContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    border: 2px solid #e5e4e4;
    padding: 12px;
    padding-bottom: 28px;
}

    #imageContainer > div {
        flex-basis: 25%;
        text-align: center;
    }

        #imageContainer > div > a {
            position: absolute;
        }

            #imageContainer > div > a > img {
                width: 188px;
                height: 170px;
            }

div.caption {
    text-align: center;
}

    div.caption a {
        text-decoration: none;
        font-weight: bold;
    }

#imageContainer > div:hover > div.caption > a {
    color: #d4232d;
}
