#gallery-wrap {
  overflow: hidden;
}

.gallery {
  overflow: hidden;
  background-color: black;
  border: 4px solid black;
  width: 44%;
  height: 120px;
  position: relative;
  margin-right: 3%;
  margin-bottom: 2em;
}
@media (min-width: 64em) {
  .gallery {
    float: left;
    height: 160px;
  }
}

.gallery.end {
  margin-right: 0;
}

.gallery .thmb {
  overflow: hidden;
  height: 135px;
  background: #fff;
}

.gallery .thmb img {
  display: block;
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;
}

.gallery p.title {
  margin-top: 2px;
  background-color: #333;
  position: absolute;
  bottom: 0;
  margin-bottom: 0 !important;
  padding: 5px;
  border-top: 1px solid black;
  display: block;
  width: 100%;
}

.gallery .title a {
  color: #ccc;
  text-decoration: none;
}

.gallery .title a:hover {
  background-color: transparent;
  text-decoration: none;
  color: #fff;
}

.gallery-items {
  position: relative;
  z-index: 1000;
}

#album-nav {
  margin: 7px 0;
}

#album-nav a {
  margin-right: 5px;
}

/* =Override
---------------------------------------------------------------------
*/
#text .gallery a {
  color: #ffffff;
  text-decoration: none !important;
}

#text .gallery a:hover {
  opacity: .8;
}
