.z-lightbox {
	position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}
.z-lightbox-background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translateZ(0);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.z-imgs-type {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}
/* Destaque */
.z-lightbox-imgs-emphasis {
  position: absolute;
  top: 45%;
  left: 45%;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.z-lightbox-imgs-emphasis img {
  width: auto !important;       
  height: auto !important;      
  max-width: none !important;   
  max-height: none !important;
  object-fit: initial;          
  flex: 0 0 auto;             
  transform: none;             
}
.z-imgs-type:hover .z-lightbox-imgs-emphasis {
  opacity: 1;
}
.z-lightbox-imgs {

}
/* Grade */
.z-lightbox-imgs-grid-row {
  display: -ms-flexbox; /* IE 10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE 10 */
  flex-wrap: wrap;
  padding: 0 4px;
}
.z-lightbox-imgs-grid-col {
  text-align: center;
}
.z-lightbox-imgs-grid-col img {
  vertical-align: middle;
  width: 100%;
  cursor: pointer;
} 
/* Linha */
.z-lightbox-imgs-width-row {
  width: 100%;
}
.z-lightbox-imgs-width-col {
    float: left;
    text-align: center;
}
.z-lightbox-imgs-width-col img {
  vertical-align: middle;
  width: 100%;
  cursor: pointer;
}
/* Modal */
.z-lightbox-modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  z-index: 9999;
  pointer-events: auto;
  animation: pop-in;
  animation-duration: 0.5s;
  -webkit-animation: pop-in 0.5s;
  -moz-animation: pop-in 0.5s;
  -ms-animation: pop-in 0.5s;
}
.z-lightbox-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
}
.z-lightbox-modal-title{
  width: 100%;
}
.z-lightbox-modal-imgs {
  width: 100%;
  height: 100%;
}
.z-lightbox-modal-imgs span {
  position: fixed;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.z-lightbox-modal-open { }

.z-lightbox-modal-close,
.z-lightbox-modal-prev, 
.z-lightbox-modal-next {
  cursor: pointer;
  position: fixed;
  z-index: 9999;
  border-radius: 50%;
}
.z-lightbox-modal-close {
  top: 1%;
  right: 1%;
}
.z-lightbox-modal-prev {
  top: 50%;
  left: 1%;
}
.z-lightbox-modal-next {
  top: 50%;
  right: 1%; 
}
.z-lightbox-modal-clear{
  clear: both;
}
@media only screen and (max-width: 768px) {
  .z-lightbox-backgroung-img {
    background-size: cover !important;
    background-position: center !important;
  }
}

.active{
  display: block !important;
}