#portfolio {
  background: #fff;
  /*padding: 80px 0;*/
}

#portfolio .portfolio-thumbnail {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  /*height: 250px;*/
  width: 100%;
  display: table;
  overflow: hidden;
  margin-bottom: 0px;
}

#portfolio .portfolio-thumbnail .details {
  /*height: 260px;*/
  /*background: #fff;*/
  display: table-cell;
  vertical-align: middle;
  opacity: 0;
  transition: 0.3s;
  text-align: center;
  z-index: 10;
  /*position: absolute;*/
  /*content: '';*/
  /*align-items: center;*/
}

#portfolio .portfolio-thumbnail .details h4 {
  font-size: 16px;
  transition: transform 0.3s, opacity 0.3s;
  transform: translate3d(0, -15px, 0);
  font-weight: 700;
  color: #333333;
}

#portfolio .portfolio-thumbnail .details span {
  display: block;
  color: #666666;
  font-size: 13px;
  transition: transform 0.3s, opacity 0.3s;
  transform: translate3d(0, 15px, 0);
}

#portfolio .portfolio-thumbnail .details .icon {
  display: block;
  color: #666666;
  font-size: 13px;
  transition: transform 0.4s, opacity 0.3s;
  transform: translate3d(0, 30px, 0);
}

#portfolio .portfolio-thumbnail:hover .details {
  opacity: 0.8;
}

#portfolio .portfolio-thumbnail:hover .details h4 {
  transform: translate3d(0, 0, 0);
}

#portfolio .portfolio-thumbnail:hover .details span {
  transform: translate3d(0, 0, 0);
}

#portfolio .portfolio-thumbnail:hover .details .icon {
  transform: translate3d(0, 10px, 0);
}

