﻿div.gallery {
    border: 1px solid #ccc;
    border-radius: 2%;
}

    div.gallery:hover {
        border: 1px solid #777;
        border-radius: 2%;
    }

    div.gallery img {
        width: 100%;
        height: 401px; /*auto*/
        border-radius: 2%;
    }

div.desc {
    padding: 15px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

.responsive {
    padding: 0px 6px;
    float: left;
    width: 24.99999%;
}

@media only screen and (max-width: 700px) {
    .responsive {
        width: 49.99999%;
        margin: 6px ;
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
        width: 100%;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
