.video_popup .vp_flex {
	display: grid;
}
.video_popup .vp_flex .vp_container {
	overflow: hidden;
	position: relative;
	display: block;
	z-index: 0;
	width: 100%;
}
.video_popup .vp_flex .vp_container img {
	object-fit: cover;
	display: block;
	width: 100%;
	transition: transform 0.3s ease;
}
.video_popup .vp_flex .vp_container:hover img {
	transform: scale(1.01);
}
.video_popup .vp_flex .vp_wrapper a.vp_video_btn {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	justify-content: center;
	transition: 0.9s;
}
.video_popup .vp_flex .vp_wrapper a.vp_video_btn:hover{
	transform: translate(-50%,-50%) scale(1.25);
	transition: 0.9s;
}
.video_popup .vp_flex .vp_container .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}
.video_popup .vp_flex a.vp_video_btn .vp_btn_bg::before,
.video_popup .vp_flex a.vp_video_btn .vp_btn_bg::after {
	border: 8px solid;
}
.video_popup .vp_flex a.vp_video_btn .vp_btn_bg::after {
	align-items: center;
	animation-delay: 0s;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-name: ripple;
	animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
	bottom: 0;
	content: "";
	display: flex;
	flex-direction: row;
	height: 100%;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: -1;
}
.video_popup .vp_flex a.vp_video_btn .vp_btn_bg::before {
	align-items: center;
	animation-delay: 0.5s;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-name: ripple;
	animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
	bottom: 0;
	content: "";
	display: flex;
	flex-direction: row;
	height: 100%;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: -1;
}
@keyframes ripple {
	from {
		opacity: 1;
		transform: scale3d(0.75, 0.75, 1);
	}
	to {
		opacity: 0;
		transform: scale3d(1.5, 1.5, 1);
	}
}
{# Title Style CSS #}
.video_popup .vp_wrapper {
	display: flex;
}
.video_popup .vp_wrapper a.vp_video_btn {
	align-items: center;
	display: flex;
	flex-direction: row;
}
.video_popup .vp_wrapper a.vp_video_btn .vp_btn_bg {
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.9s;
}
.video_popup .vp_single a.vp_video_btn .vp_btn_bg:hover{
	transform: scale(1.25);
}

.video_popup .vp_wrapper a.vp_video_btn .vp_btn_bg svg {
	height: auto;
}
.video_popup .vp_wrapper a.vp_video_btn .vp_txt .vp_title {
	margin: 0;
}
.video_popup .vp_wrapper a.vp_video_btn .vp_txt .vp_title:before {
	content: "|";
	margin: 0 10px;
	vertical-align: text-top;
}
@media (max-width: 1024px) {
	.video_popup .vp_flex.vp_grid.cols-4 {
		grid-template-columns: repeat(3, 1fr) !important;	
	}
}
@media (max-width: 900px) {
	.video_popup .vp_flex.vp_grid.cols-4,
	.video_popup .vp_flex.vp_grid.cols-3 {
		grid-template-columns: repeat(2, 1fr) !important;	
	}
}
@media (max-width: 767px) {
	.video_popup .vp_flex.vp_grid.cols-4,
	.video_popup .vp_flex.vp_grid.cols-3,
	.video_popup .vp_flex.vp_grid.cols-2 {
		grid-template-columns: 1fr !important;
	}
	.video_popup .vp_wrapper a.vp_video_btn {
		flex-direction: column;
		gap: 10px;
	}
	.video_popup .vp_wrapper a.vp_video_btn .vp_txt .vp_title:before {
		content: " ";
		margin: 0;
	}
	.video_popup .vp_flex .vp_container img {
		max-height: 100% !important;
		min-height: 100% !important;
	}
}
{# Simple fade transition #}
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.2s ease; 
	-moz-transition: all 0.2s ease; 
	transition: all 0.2s ease;
}
.mfp-fade.mfp-bg.mfp-ready {
	transform: scale(1); 
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	transform: scale(0.8); 
	opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.2s ease-out; 
	-moz-transition: all 0.2s ease-out; 
	transition: all 0.2s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}
.mfp-content button.mfp-close:hover {
	background: transparent;
	color: #FFFFFF;
}
