.el-grid-gallery__items_wrap{
	display: grid;
}
/* Item. */
.el-grid-gallery-item__inner{
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}
.el-grid-gallery-item__layer{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transition: transform 0.8s cubic-bezier(.4, .2, .2, 1);
}
.el-grid-gallery-item__img-wrap{
	width: 100%;
	height: 100%;
}
.el-grid-gallery-item__img-wrap img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Overlay Style. */
.el-grid-gallery-item .el_layer_overlay{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	gap: 7px;
	pointer-events: none;
	background-color: hsla( 0, 0%, 100%, .8 );
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
}
.el-grid-gallery-item .el_layer_overlay .el-grid-gallery-item__zoom_n_link{
	pointer-events: auto;
}
.el_overlay_style_fade .el_layer_overlay{
	opacity: 0;
	transition: all .3s ease-in-out;
}
.el_overlay_style_slide-right .el_layer_overlay{
	transform: translateX(-100%);
}
.el_overlay_style_slide-left .el_layer_overlay{
	transform: translateX(100%);
}
.el_overlay_style_slide-top .el_layer_overlay{
	transform: translateY(100%);
}
.el_overlay_style_slide-bottom .el_layer_overlay{
	transform: translateY(-100%);
}
.el-grid-gallery-item:hover .el_layer_overlay{
	transform: translateX(0);
	opacity: 1;
}

/* Overlay Icon. */
.el-grid-gallery-item__layer.el_layer_overlay .et-pb-icon{
	line-height: 0;
}
.el-grid-gallery-item__layer.el_layer_overlay .et-pb-icon::after{
	line-height: 1;
	vertical-align: middle;
}
.el-grid-gallery-item__layer.el_layer_overlay .dge-overlay-lightbox,
.el-grid-gallery-item__layer.el_layer_overlay .dge-overlay-link {
	display: inline-block;
	font-size: 16px;
	padding: 5px;
	margin: 3px;
	cursor: pointer;
	line-height: 1;
	text-decoration: none;
}

/* Filter. */
.el-grid-gallery__filter_wrap{
	margin-bottom: 20px;
}
.el-grid-gallery__filter_categories{
	list-style: none;
	padding: 0;
	text-align: center;
}
.el-grid-gallery__filter_categories li{
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 15px;
	padding: 0.8em 1.4em;
	line-height: normal;
	background-color: #000;
	color: #ffffff;
	border: 0 solid transparent;
	transition: all 300ms ease;
	cursor: pointer;
}
.el-grid-gallery__filter_categories .el-grid-gallery-active-cat{
	background-color: transparent;
	color: #000000;
}

/* Pagination. */
.el-grid-gallery__pagination_wrap{
	position: relative;
	width: 100%;
	margin-top: 20px;
	text-align: center;
}
.el-grid-gallery__pagination_wrap .el-grid-gallery__pagination_wrap{
	list-style: none;
	padding: 0;
	line-height: normal;
}
.el-grid-gallery__pagination_wrap li{
	display: inline-block;
	margin-right: 10px;
}
.el-grid-gallery__pagination_wrap li a{
	display: block;
	padding: 4px 10px;
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	background-color: #f7f7f7;
	color: #000;
}
.el-grid-gallery__pagination_wrap li.active a{
	cursor: default;
	background-color: #000000;
	color: #ffffff;
}
.el-grid-gallery-item.el-grid-gallery-item__hidden {
	display: none !important;
}
/* Lightbox. */
.el_grid_gallery_lightbox .mfp-img{
	padding: 0;
}
.el_grid_gallery_lightbox .mfp-figure:after{
	display: none;
}
.el_grid_gallery_lightbox .mfp-bottom-bar{
	position: absolute;
	background-color: rgba( 0, 0, 0, 0.8 );
	top: auto;
	bottom: 0;
	margin-top: 0;
}
.el_grid_gallery_lightbox .el-grid-gallery-item__title{ padding: 0; }
.el_grid_gallery_lightbox .el-grid-gallery-item__title + .el-grid-gallery-item__caption{
	margin-top: 7px;
}
.el_grid_gallery_lightbox .mfp-title{
	padding-right: 0;
}
.el-grid-gallery-action-zoom_n_link .el-grid-gallery-item{
	cursor: pointer;
	pointer-events: all;
}
.el_grid_gallery_lightbox .mfp-bottom-bar{
	position: absolute;
	padding: 10px;
	color: #ffffff;
	top: auto;
	bottom: 0;
	margin-top: 0;
}
.el_grid_gallery_lightbox .mfp-close:active{
	top: 0;
}
/* Lightbox - Zoom Effect. */
.el_grid_gallery_lightbox.dge_mfp_zoom .mfp-container,
.el_grid_gallery_lightbox.dge_mfp_zoom.mfp-bg{
	opacity: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: all 300ms ease-out;
}
.el_grid_gallery_lightbox.dge_mfp_zoom.mfp-ready.mfp-bg{
	opacity: 0.8;
}
.el_grid_gallery_lightbox.dge_mfp_zoom.mfp-ready .mfp-container{
	opacity: 1;
}
.el_grid_gallery_lightbox.dge_mfp_zoom.mfp-removing .mfp-container,
.el_grid_gallery_lightbox.dge_mfp_zoom.mfp-removing.mfp-bg{
	opacity: 0;
}
/* Lightbox - Fade Effect. */
.el_grid_gallery_lightbox.dge_mfp_fade .mfp-container,
.el_grid_gallery_lightbox.dge_mfp_fade.mfp-bg{
	opacity: 0;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}
.el_grid_gallery_lightbox.dge_mfp_fade.mfp-bg.mfp-ready{
	opacity: 0.8;
}
.el_grid_gallery_lightbox.dge_mfp_fade.mfp-ready .mfp-container{
	opacity: 1;
}
.el_grid_gallery_lightbox.dge_mfp_fade.mfp-bg.mfp-removing{
	opacity: 0;
}
.el_grid_gallery_lightbox.dge_mfp_fade.mfp-wrap .mfp-content{
	opacity: 0;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}
.el_grid_gallery_lightbox.dge_mfp_fade.mfp-wrap.mfp-ready .mfp-content{
	opacity: 1;
}
.el_grid_gallery_lightbox.dge_mfp_fade.mfp-wrap.mfp-removing .mfp-content{
	opacity: 0;
}
.el_grid_gallery_lightbox .mfp-close,
.el_grid_gallery_lightbox .mfp-arrow{
	opacity: 1;
	filter: alpha(opacity=100);
}
