
/*----------------------------------------------------------------------------------- */
/*  Gallery icon with Captions */
/*----------------------------------------------------------------------------------- */

.game-icon {
    width: 100%;
    height: auto;
}
.gallery-icon-grid {
    width: 100%;
    height: auto;
    list-style: none;
    padding: 0;
    margin: 0; }
.gallery-icon-grid li {
    float: left;
    width: 16.6%;
    height: auto;
    padding: 10px;
    position: relative; }

.gallery-icon-grid li figure {
    margin: 0;
    position: relative;
    overflow: hidden; }


.gallery-icon-grid li img {
    max-width: 100%;
    display: block;
    position: relative;
    top: 0;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s;
}


.gallery-icon-grid li .caption-icon {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: -50px;
    left: 0px;
    padding: 15px 20px 20px;
    background: black;
    color: white;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s; }
.gallery-icon-grid li .caption-icon h3 {
    margin: 0;
    padding: 0;
    color: white;
    font-weight: 100; }
.gallery-icon-grid li .caption-icon span {
    margin-top: 5px;
    display: inline-block; }
.gallery-icon-grid li .caption a {
    margin: 0 0 0 15px;
    border: 1px solid white; }
.gallery-icon-grid li:hover figure img {
    top: -50px; }
.gallery-icon-grid li:hover .caption-icon {
    bottom: 0px; }

@media (max-width: 1200px) {
    .gallery-icon-grid li {
        width: 16.66%; } }
@media (max-width: 900px) {
    .gallery-icon-grid li {
        width: 25%; } }
@media (max-width: 600px) {
    .gallery-icon-grid li {
        width: 33.33%;
        margin: 0 0 15px; } }
