/* LightBox Style */
/* -------- the object that calls the function  */
.lightbox {
  cursor: pointer;
}
/* -------- the LightBox  */
#AI_lightbox {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  opacity: 0;
  display: none;
  /* -------- the image in LightBox */
}
#AI_lightbox span {
  position: absolute;
  cursor: pointer;
  z-index: 110;
  text-align: center;
  text-shadow: 0px 0px 5px #000000;
}
#AI_lightbox span i {
  font-size: 6em;
  color: #FFF;
  line-height: 100px;
  width: 100px;
}
#AI_lightbox .close {
  top: 0px;
  right: 0px;
}
#AI_lightbox .next {
  top: 50%;
  right: 10px;
  transform: translate(0px, -50%);
}
#AI_lightbox .prev {
  top: 50%;
  left: 10px;
  transform: translate(0px, -50%);
}
#AI_lightbox img {
  /* -------- If you like the edges around the picture just change a max-width and max-height to 90vw */
  max-width: 100vw;
  max-height: 100vh;
  position: absolute;
  /* -------- Set image to center */
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
/* -------- here is just style for display preloader */
* {
  margin: 0px;
  padding: 0px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

.AI_lightbox_grid .block {
  float: left;
  width: 33.3vw;
  height: 33.3vw;
  overflow: hidden;
}
.AI_lightbox_grid .block img {
  height: 100%;
  left: 50%;
  transform: translate(-50%, 0px);
}
.follow {
  display: block;
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 50px;
  margin: 0px;
  padding: 0px;
  background: rgba(0, 0, 0, 0.1);
  text-align: left;
}
.follow a {
  display: inline-block;
  line-height: 50px;
  padding: 0px 10px;
  color: #000;
  cursor: pointer;
}
.follow a i {
  display: inline-block;
  line-height: 50px;
  pointer-events: none;
}
