﻿#wrap {
}

div.img {
    border: #ddd solid 1pt;
    height: 300px;
    margin: 1px;
}

    div.img:hover {
        /*  border: 1px solid #777; */
    }

    div.img img {
        width: 100%;
        height: auto;
        text-align: center;
        /*        display: block;
                margin-left: auto;
                margin-right: auto; */
    }

div.desc {
    padding: 8px;
    text-align: center;
    font-weight: bold;
    font-size: .9em;
}

* {
    box-sizing: border-box;
}

.responsive {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
}

@media only screen and (max-width: 700px) {
    .responsive {
        width: 49.99999%;
        margin: 6px 0;
        height: auto;
    }

    div.img {
        height: 340px;
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
        width: 100%;
    }

    div.img {
        height: auto;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
