
/* Body Section  */
.pp-category-filter a {
  display: inline-block;
  margin: 0 10px 6px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
}

.pp-gallery {
  min-height: 500px;
}

.pp-gallery .card-columns .card {
  border: none;
  margin-bottom: 0;
  border-radius: none;
}

@media (max-width: 992px) {
  .pp-gallery .card-columns {
    -webkit-column-count: 2;
            column-count: 2;
  }
}

@media (max-width: 576px) {
  .pp-gallery .card-columns {
    -webkit-column-count: 1;
            column-count: 1;
  }
}

.pp-gallery .card figure {
  position: relative;
  overflow: hidden;
  margin: 10px 1%;
  text-align: center;
}

.pp-gallery .card figure img {
  position: relative;
  display: block;
  max-width: 100%;
  opacity: 1;
}

.pp-gallery .card figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pp-gallery .card figure figcaption,
.pp-gallery .card figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pp-gallery .card figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.pp-gallery .card figure .h4 {
  word-spacing: -0.15em;
  font-weight: 600;
}

.pp-gallery .card figure .h4,
.pp-gallery .card figure p {
  margin: 0;
}

.pp-gallery .card figure p {
  letter-spacing: 1px;
  font-size: 60%;
}

.pp-gallery figure.pp-effect figcaption {
  padding: 12px;
}

.pp-gallery figure.pp-effect figcaption::before,
.pp-gallery figure.pp-effect figcaption::after {
  position: absolute;
  content: '';
  opacity: 0;
}

.pp-gallery figure.pp-effect figcaption::before {
  top: 50px;
  right: 30px;
  bottom: 50px;
  left: 30px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.pp-gallery figure.pp-effect figcaption::after {
  top: 30px;
  right: 50px;
  bottom: 30px;
  left: 50px;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

.pp-gallery figure.pp-effect .h4 {
  padding-top: 26%;
  -webkit-transition: -webkit-transform 0.35s;
  transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  transition: transform 0.35s, -webkit-transform 0.35s;
  opacity: 0;
}

.pp-gallery figure.pp-effect p {
  padding: 0.5em 2em;
  text-transform: none;
  opacity: 0;
  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0);
}

.pp-gallery figure.pp-effect img,
.pp-gallery figure.pp-effect .h4 {
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -25px, 0);
}

.pp-gallery figure.pp-effect img,
.pp-gallery figure.pp-effect figcaption::before,
.pp-gallery figure.pp-effect figcaption::after,
.pp-gallery figure.pp-effect p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s;
}

.pp-gallery figure.pp-effect:hover img {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.pp-gallery figure.pp-effect:hover figcaption::before,
.pp-gallery figure.pp-effect:hover figcaption::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.pp-gallery figure.pp-effect:hover figcaption:before {
  background: rgba(31, 30, 30, 0.5);
}

.pp-gallery figure.pp-effect:hover .h4,
.pp-gallery figure.pp-effect:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  color: #FFFFFF;
}

.pp-gallery figure.pp-effect:hover figcaption::after,
.pp-gallery figure.pp-effect:hover .h4,
.pp-gallery figure.pp-effect:hover p,
.pp-gallery figure.pp-effect:hover img {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

@media (max-width: 768px) and (min-width: 578px) {
  .pp-gallery figure.pp-effect:hover .h4 {
    padding-top: 20%;
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .pp-gallery figure.pp-effect:hover .h4 {
    padding-top: 20%;
    font-size: 16px;
  }
}

/* Footer sectiom */
.pp-footer {
  background: #f2f2f2;
}

.pp-footer a.credit {
  color: inherit;
  border-bottom: 1px dashed;
}

.pp-footer .fa {
  width: 18px;
}

.pp-footer .fa-2x {
  font-size: 22px;
}

.pp-footer i {
  color: #888;
}

.pp-footer .pp-facebook:hover i {
  color: #3b5998;
}

.pp-footer .pp-twitter:hover i {
  color: #1da1f2;
}

.pp-footer .pp-google-plus:hover i {
  color: #dd4b39;
}

.pp-footer .pp-instagram:hover i {
  color: #405de6;
}

/* About page */
.pp-about .pp-client-brand {
  text-align: center;
}

.pp-about .pp-client-brand img {
  opacity: 0.6;
  width: 90%;
}

.pp-about .pp-client-brand img:hover {
  opacity: 1;
}

.pp-about .pp-team .h5 {
  padding-top: 15px;
}

.pp-about .pp-team img {
  width: 80%;
}

@media (max-width: 768px) {
  .pp-about .pp-team p {
    margin-bottom: 2rem;
  }
}

/* Contact page */
.pp-contact textarea {
  min-height: 200px;
}

.pp-contact .pp-contact-message {
  padding-left: 5rem;
}

@media (max-width: 768px) {
  .pp-contact .h4 {
    padding-top: 4rem;
  }
  .pp-contact .pp-contact-message {
    padding-left: 0;
  }
}