* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body { font-family: sans-serif; }

.gallery {
  display: none;
  background: #EEE;
  margin-left: 0px;
  float: none;
}
.gallery-cell {
  width: 100%;
  height: auto;
  margin-right: 10px;
  background:  #999;
  counter-increment: gallery-cell;
}
/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  line-height: 200px;
  font-size: 80px;
  color: white;
}

@media only screen and (min-width: 481px) {
.gallery {
  float: none;
  clear: both;
  display: block;
  height: auto;
  margin-top: 50px;
  margin-left: 60px;
}
}

/* Zwischen Layout: Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 600px) {
.gallery-cell {
  width: 80%;
  height: auto;
  margin-right: 10px;
  background:  #999;
  counter-increment: gallery-cell;
}
/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  line-height: 200px;
  font-size: 80px;
  color: white;
}
}
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 950px) {
.gallery-cell {
  width: 50%;
  height: auto;
  margin-right: 10px;
  background:  #999;
  counter-increment: gallery-cell;
}
/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  line-height: 200px;
  font-size: 80px;
  color: white;
}
}

/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 1450px) {
.gallery-cell {
  width: 33%;
  height: auto;
  margin-right: 10px;
  background:  #999;
  counter-increment: gallery-cell;
}
/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  line-height: 200px;
  font-size: 80px;
  color: white;
}
}
