#fh5co-image-grid {
  margin-top: 15px;
  padding-bottom: 15px;
  float: left;
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#fh5co-image-grid .grid {
  position: relative;
}
#fh5co-image-grid .item {
  position: relative;
}
#fh5co-image-grid .item a {
  position: relative;
  float: left;
  width: 100%;
}
#fh5co-image-grid .item a .img-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#fh5co-image-grid .item a .img-wrap img {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#fh5co-image-grid .item a .text-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  vertical-align: middle;
  background: rgba(211, 56, 123, 0.67);
  background: -moz-linear-gradient(left, rgba(211, 56, 123, 0.77) 0%, rgba(134, 40, 205, 0.77) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(211, 56, 123, 0.77)), color-stop(100%, rgba(134, 40, 205, 0.77)));
  background: -webkit-linear-gradient(left, rgba(211, 56, 123, 0.77) 0%, rgba(134, 40, 205, 0.77) 100%);
  background: -o-linear-gradient(left, rgba(211, 56, 123, 0.77) 0%, rgba(134, 40, 205, 0.77) 100%);
  background: -ms-linear-gradient(left, rgba(211, 56, 123, 0.77) 0%, rgba(134, 40, 205, 0.77) 100%);
  background: linear-gradient(to right, rgba(211, 56, 123, 0.77) 0%, rgba(134, 40, 205, 0.77) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3387b', endColorstr='#8628cd', GradientType=1 );
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#fh5co-image-grid .item a .text-wrap .text-inner {
  width: 100%;
  height: 100%;
  display: table;
}
#fh5co-image-grid .item a .text-wrap .text-inner:before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f064";
  font-size: 20px;
  color: #fff;
}
#fh5co-image-grid .item a .text-wrap .text-inner.popup:before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f002";
  font-size: 20px;
  color: #fff;
}
#fh5co-image-grid .item a .text-wrap .text-inner > div {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
#fh5co-image-grid .item a .text-wrap .text-inner > div h2 {
  font-size: 18px;
  margin: 0;
  color: #fff;
  display: inline-block;
}
@media screen and (max-width: 480px) {
  #fh5co-image-grid .item a .text-wrap .text-inner > div h2 {
    font-size: 15px;
  }
}
#fh5co-image-grid .item a .text-wrap .text-inner > div span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
#fh5co-image-grid .item a:hover .img-wrap img {
  transform: scale(1.2);
}
#fh5co-image-grid .item a:hover .text-wrap {
  opacity: 1;
  visibility: visible;
}

.fh5co-social a {
  font-size: 26px;
  margin-right: 20px;
  margin-bottom: 10px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.fh5co-social a:hover {
  text-decoration: none;
  color: #fff;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */
.grid-sizer,
.grid-item {
  width: 25%;
}
@media screen and (max-width: 1200px) {
  .grid-sizer,
  .grid-item {
    width: 33.333%;
  }
}
@media screen and (max-width: 992px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
  }
}
@media screen and (max-width: 480px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
  }
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

.js .animate-box {
  opacity: 0;
}