.packery-list {
    width: 100%;
}

.packery-list .packery-item {
    width: 32%;
    position: relative;
}

.packery-list .packery-item img {
    width: 100%;
    cursor: pointer;
    cursor: hand;
}

.packery-list .packery-item .caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.5);
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
}

.packery-list .packery-item:hover > .caption {
    background-color: rgba(0,0,0,0.8);
    color: rgba(255,255,255,0.8);
}


@media only screen and (min-width: 901px) {
    .packery-list .packery-item {
        width: 32%;
    }
}


@media only screen and (min-width: 601px) and (max-width: 900px) {
    .packery-list .packery-item {
        width: 49%;
    }
}

@media only screen and (max-width: 600px) {
    .packery-list .packery-item {
        width: 100%;
    }
    .packery-list .packery-item img {
        display: block;
        max-width: 300px;
        width: 100%;
        margin: 0px auto;
    }
    .packery-list .packery-item .caption {
        display: block;
        max-width: 300px;
        width: 100%;
        right: 50%;
        transform: translateX(50%);
    }
}

