﻿* {
    margin: 0;
    padding: 0;
}


div.gallery {
    border: 1px solid #ccc;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    font-size: 0.8em;
    padding: 5px 5px 10px 5px;
    text-align: center;
    border: 0px solid green;
}
/*
* {
    box-sizing: border-box;
}
*/
div {
    box-sizing: border-box;
}

img.galfront {
    width: 242;
    height: 161;
}

.responsive {
    padding: 3px 3px 26px 3px;
    float: left;
    width: 24.99999%;
    width: 24.95%;
    height: 16.5em;
    border: 0px solid red;
}

@media only screen and (max-width: 1000px){
    .responsive {
        height: 14em;
    }
}

@media only screen and (max-width: 900px){
    .responsive {
        height: 13em;
    }
}

@media only screen and (max-width: 800px){
    .responsive {
        height: 12em;
    }
}

@media only screen and (max-width: 700px){
    .responsive {
        width: 49.99999%;
        width: 49%;
        margin: 6px 0;
        height: 17.25em;
    }
}

@media only screen and (max-width: 600px){
    .responsive {
        height: 15em;
    }
}

@media only screen and (max-width: 500px){
    .responsive {
        width: 100%;
        height: 100%;
        margin:0;
        padding:5px;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.cocoa {
    box-sizing: content-box;
}
