.header-photo {
  width: 100%;
  height: calc(55vh - 53px - 60px);
  background: url("/img/photos/header-bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  padding: 10px;
  text-align: center;
  color: #fff;
}

.header-photo h1 {
  width: 100%;
  font-size: 36px;
  opacity: 0.9;
  font-weight: 400;
  margin: auto;
  letter-spacing: 1px;
}

.photogallery {
  margin-top: 100px;
}

.photogallery .group {
  display: block;
  cursor: pointer;
  width: 310px;
  height: 200px;
  margin: auto;
  margin-bottom: 50px;
  overflow: hidden;
}

.photogallery .group ul {
  z-index: 999;
  font-size: 18px;
  position: relative;
  bottom: 5px;
  left: 15px;
  width: 100%;
  align-items: center;
  margin-top: -30px;
}

.photogallery .group ul .name {
  width: 230px;
  margin-right: 20px;
}

.photogallery .group ul .count {
  text-align: right;
  width: 30px;
}

.photogallery .group ul li {
  color: #fff;
}

.photogallery .group img {
  transition: 1s;
}

.photogallery .group-1 img,
.photogallery .group-3 img,
.photogallery .group-5 img {
  width: 100%;
}

.photogallery .group-6 img {
  width: 100%;
  height: 100%;
}

.photogallery .group-2 img,
.photogallery .group-4 img {
  height: 100%;
}

.filter {
  width: 310px;
  height: 200px;
  overflow: hidden;
}

.photogallery .group .filter:after{
  margin: 0 auto;
  width: 310px;
  height: 200px;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.5);
  opacity: 1;
}

.photogallery .group span {
  z-index: 999;
  color: #fff;
  position: absolute;
  bottom: 57px;
  left: 50px;
  font-size: 18px;
}

.photogallery .filter:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.photo-row {
  /* display: flex; */
  /* flex-wrap: nowrap; */
  width: 1080px;
  height: 160px;
  margin: 0 auto 20px auto;
  background: silver;
}

.gallery-photo {
  display: inline-block;
  /* width: 100px; */
  height: inherit;
  margin-right: 20px;
}

/* New */

.photo-rows {


  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  /* display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  align-items: left;
  justify-content: left;  */
}

.photo-thumb {
  margin: 5px;
  display: inline-block;

  cursor: pointer;
  border: 1px solid silver;
}
