.galleriesGroup {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.galleryItem-thumbnail {
  margin: 0 0 5px 0;
}
.galleryItem-thumbnail img {
  width: 350px;
}

.galleryItem {
  background-color: white;
  border: 1px solid #c5c5c5;
  margin: 10px;
  padding: 15px 15px 10px 15px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 29.99em) {
  .galleryItem {
    padding: 0 0 10px 0;
  }
}

.headline-galleries h2 {
  margin: 0;
}

.headline-galleries-group .galleryItem {
  background-color: inherit;
  border: none;
  color: white;
}

.headline-galleries-group .galleryItem-title a {
  color: white;
}

.galleryItem-title a {
  color: #2E2F30;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
}

.gallery {
  max-width: 866px;
  margin: 1em auto 2em auto;
}
.gallery h4 {
  text-transform: uppercase;
  margin: 5px 0 5px 0;
  padding: 0;
}

.galleryImage-image {
  margin: 5px;
}
@media (max-width: 29.99em) {
  .galleryImage-image {
    margin: 0;
  }
}

.gallery-subtitle {
  max-width: 866px;
  margin: 1em auto 2em auto;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: #666;
  line-height: 1.3;
}
@media (max-width: 46.24em) {
  .gallery-subtitle {
    margin: 1em 5px;
  }
}
@media (max-width: 29.99em) {
  .gallery-subtitle {
    font-size: 1.2rem;
  }
}

.galleryImage {
  display: inline-block;
  background-color: white;
  border: 1px solid #c5c5c5;
  margin: 10px;
  padding: 15px 15px 10px 15px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 29.99em) {
  .galleryImage {
    padding: 0 0 10px 0;
  }
}
.galleryImage img {
  width: auto;
  max-width: 100%;
}
