.lightbox,
.lightbox .backdrop {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.lightbox {
  position: fixed;
  z-index: 999;
  display: none;
  opacity: 0;
  -webkit-transition: opacity .2s linear;
  transition: opacity .2s linear;
}
.lightbox .backdrop,
.lightbox .content {
  position: absolute;
}
.lightbox .backdrop {
  z-index: 1;
  background: #000;
  opacity: 0.9;
  cursor: pointer;
}
.lightbox .content {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 70%;
  z-index: 2;
  margin: auto;
  -webkit-box-shadow: 1px 1px 5px #000;
  box-shadow: 1px 1px 5px #000;
}
.lightbox .body,
.lightbox iframe {
  width: 100%;
  height: 100%;
}
.lightbox iframe {
  border: 0;
  display: block;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
}
.lightbox video {
  max-width: 100%;
  max-height: 100%;
}
.lightbox .close {
  color: #fff;
  font-size: 18px;
  position: absolute;
  top: -15px;
  right: 0;
  z-index: 3;
  padding: 1px 5px 2px 5px;
  cursor: pointer;
  -webkit-box-shadow: 2px 2px 5px #000;
  box-shadow: 2px 2px 5px #000;
  width: 35px;
  height: 35px;
  opacity: 0.7;
  background-color: rgba(0, 0, 0, 0.32);
}
.lightbox .close svg {
  width: 18px;
  height: auto;
  display: block;
  overflow: hidden;
  fill: #fff;
}
.lightbox.show {
  display: block;
}
.lightbox.open {
  opacity: 1;
}
