.content .ce-gallery figure,
.jcarousel div.img {
  position: relative;
}
.content .ce-gallery figure a:before {
  margin: -30px 0 0 -18px;
  position: absolute;
  left: 50%;
  top: 50%;
  /*width: 100%;
    height: 100%;*/
  z-index: 2;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  transition: all 0.3s ease 0s;
  color: #fff;
  font-size: 36px;
  text-align: center;
  /*padding: 45% 0 0;*/
  opacity: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 60px;
  -webkit-transition: opacity 0.3s ease 0s;
  -moz-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
  text-decoration: none;
}
.content .ce-gallery figure a:before {
  content: "\f0c1";
}
.content .ce-gallery figure a.magnificpopup:before {
  content: "\f00e";
}
.content .ce-gallery figure a:after,
.jcarousel div.img a:after {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(156, 156, 156, 0.5);
  content: '';
  -webkit-transition: opacity 0.3s ease 0s;
  -moz-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
/*.content .ce-gallery figure a:hover:before,*/
.content .ce-gallery figure a.magnificpopup:hover:before,
.jcarousel div.img a:hover:before,
.zw_textimage_image:hover:after {
  opacity: 1;
}
.content .ce-gallery figure a.magnificpopup:hover:after,
.content .ce-gallery figure a:hover:after {
  opacity: 1;
}
