.el-justified-gallery-item{
	position: relative;
	opacity: 1;
	-webkit-transition: all .15s ease-in;
	-o-transition: all .15s ease-in;
	transition: all .15s ease-in;
}
.el-justified-gallery-container .el-justified-gallery-item.dge-hidden-item{
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}
.el-justified-gallery-item figure{
	position: relative;
}
.el-justified-gallery-item figure, 
.el-justified-gallery-item figcaption{
	overflow: hidden;
	border: 0 solid transparent;
	height: 100%;
}
.el-justified-gallery-item figure img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Overlay. */
.el-justified-gallery-item-overlay{
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: hsla(0, 0%, 100%, .9);
	padding: 1.5em;
	z-index: -1;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
	border: 0 solid #e5e5e5;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
}
.el-justified-gallery-item:hover .el-justified-gallery-item-overlay{
	opacity: 1;
	z-index: 3;
}
.el-justified-gallery-item-overlay .et_pb_icon_wrap{
	display: block;
	margin-bottom: 10px;
}
.el_justified_gallery .dge-overlay-icon-wrap{
	pointer-events: all;
}
.el_justified_gallery .el-item-content{
	width: 100%;
}
.el_justified_gallery .el-item-content + .dge-overlay-icon-wrap{
	margin-top: 5px;
}
.el_justified_gallery .dge-overlay-icon-wrap .et-pb-icon{
	font-size: 16px;
	font-family: FontAwesome;
	font-weight: 900;
	padding: 5px;
	margin: 3px;
	cursor: pointer;
	line-height: 1;
	text-decoration: none;
}

/* Filter. */
.el-justified-gallery-wrap .dge-justified-gallery-filter{
	padding: 0;
	list-style: none;
	text-align: center;
	margin-bottom: 20px;
}
.dge-justified-gallery-filter li{
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 15px;
}
.dge-justified-gallery-filter li a{
	padding: 10px 15px;
	color: #fff;
	border: 0 solid transparent;
	display: block;
	line-height: normal;
	text-decoration: none;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
.dge-justified-gallery-filter li.active a{
	color: #000;
}

/* Load More. */
.el-justified-gallery-wrap .et_pb_button_wrapper{
	text-align: center;
	margin-top: 30px;
}
.el-justified-gallery-wrap .el-justified-gallery-load-more{
	text-decoration: none;
	cursor: pointer
}

/* Lightbox. */
.el_justified_gallery_lightbox .mfp-img {
	padding: 0;
}
.el_justified_gallery_lightbox .mfp-bottom-bar{
	position: absolute;
	top: auto;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	margin-top: 0;
	padding: 10px;
}
.el_justified_gallery_lightbox .mfp-title{
	color: #fff;
	padding-right: 0;
}
.el_justified_gallery_lightbox .mfp-title .el-item-title{
	color: inherit;
}
.el_justified_gallery_lightbox.mfp-bg {
	opacity: 1 !important;
	filter: alpha(opacity=100) !important;
}

/* Pagination. */
.el_masonry_gallery_pagination_wrapper{
	position: relative;
	width: 100%;
	margin-top: 20px;
	text-align: center;
}
.el_masonry_gallery_pagination_wrapper .el_masonry_gallery_pagination{
	list-style: none;
	padding: 0;
	line-height: normal;
}
.el_masonry_gallery_pagination li{
	display: inline-block;
	margin-right: 10px;
}
.el_masonry_gallery_pagination li.disabled{
	display: none;
	opacity: 0.2;
}
.el_masonry_gallery_pagination li a{
	display: block;
	padding: 4px 10px;
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	background-color: #f7f7f7;
	color: #000;
}
.el_masonry_gallery_pagination li.active a{
	cursor: default;
	background-color: #000;
	color: #fff;
}

