/* Dimensions */
/* Colors */
/* Fonts */
/* --- Responsive --- */
/* Touchscreen */
.gallery {
  margin: -0.1rem;
  overflow: visible;
}
.gallery:after {
  content: "";
  clear: both;
  display: table;
  margin-bottom: 1rem;
}
.gallery > a {
  overflow: visible;
}
.gallery img {
  float: left;
  overflow: hidden;
  width: calc(100% / 4 - 0.2rem);
  height: auto;
  padding: 0;
  margin: 0.1rem;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.gallery img:hover {
  opacity: 0.7;
}
@media screen and (min-width: 576px) {
  .gallery img {
    width: calc(100% / 5 - 0.2rem);
  }
}
@media screen and (min-width: 768px) {
  .gallery img {
    width: calc(100% / 5 - 0.2rem);
  }
}
