* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}



/* ---- the grid (where all images will be displayed) ---- */



/* clear fix */
#paintingImages:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

#paintingImages a/*>thumbInnerbox>a*/
{
  float: left;
  margin-bottom:75px;
  padding: 0;
  text-decoration: none;
}

#paintingImages>a>img
{
  width: 250px;
  border: 1px solid #fff;
  box-shadow: 0 0 3px rgba(88,88,88,0.68);
  bottom: 0;
  left: 0;
  position: relative;
  background: white;
}
@media screen and (min-width: 600px) {
#paintingImages>a>img {
   width: 400px;
  }
}
@media screen and (min-width: 800px) {
#paintingImages>a>img {
   width: 500px;
  }
}
#paintingImages>a>img:hover
{
  opacity: 0.5;
    -webkit-transition: all .50s ease;
       -moz-transition: all .50s ease;
        -ms-transition: all .50s ease;
         -o-transition: all .50s ease;
            transition: all .50s ease;
}