.gallery-list {
    margin: 0 0 50px
}

.gallery-list.gallery-hover .pic {
    overflow: hidden
}

.gallery-list.gallery-hover .link {
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 100%
}

.gallery-list.gallery-hover .link:hover .icon, .gallery-list.gallery-hover .link:hover .icon-loop {
    opacity: 1;
    background: rgba(0, 0, 0, .15)
}

.gallery-list.gallery-hover .link:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2)
}

.gallery-list.gallery-hover img {
    transition: all .4s ease-out
}

.gallery-list.gallery-hover .icon {
    display: block;
    opacity: 0;
    transition: all .2s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 6;
    font-size: 44px;
    color: #fff;
    text-align: center
}

.gallery-list.gallery-hover .icon:before {
    position: relative;
    top: 50%;
    display: block;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.gallery-list .gallery-auto, .gallery-list .row {
    margin-left: -4px;
    margin-right: -4px
}

.gallery-list img {
    margin: 0 auto;
    max-height: 216px
}

.gallery-list .item {
    padding: 4px;
    text-align: center
}

@media (min-width: 480px) and (max-width: 767px) {
    .gallery-list .item {
        width: 50%
    }

    .gallery-list .item:nth-of-type(2n+1) {
        clear: both
    }
}