#top .avia-gallery .av-gallery-video-poster {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: var(--av-gallery-poster-ratio, 495 / 400);
}

#top .avia-gallery .av-gallery-video-poster img,
#top .avia-gallery .av-gallery-video-poster video {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	object-fit: cover;
}

#top .avia-gallery .av-gallery-video-preview {
	display: block;
	width: 100%;
	object-fit: cover;
	background-color: var(--enfold-main-color-bg, #fff);
	color: var(--enfold-main-color-color, #444);
	border-color: var(--enfold-main-color-border, #e1e1e1);
	border-style: solid;
	border-width: 1px;
	padding: 7px;
	box-sizing: border-box;
}

#top div .avia-gallery .avia-gallery-big .av-gallery-video-preview {
	padding: 0;
	border: none;
}

#top div .avia-gallery .avia-gallery-big .av-gallery-video-poster img {
	padding: 0;
	border: none;
}

@media only screen and (max-width: 767px) {
	.responsive #top .avia-gallery .avia-gallery-thumb .av-gallery-video-preview {
		padding: 3px;
	}
}

#top .avia-gallery .av-gallery-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.68);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

#top .avia-gallery .av-gallery-play:after {
	content: "";
	position: absolute;
	top: 17px;
	left: 22px;
	width: 0;
	height: 0;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 16px solid #fff;
}

#top .avia-gallery .avia-gallery-thumb .av-gallery-play {
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
}

#top .avia-gallery .avia-gallery-thumb .av-gallery-play:after {
	top: 10px;
	left: 14px;
	border-top-width: 7px;
	border-bottom-width: 7px;
	border-left-width: 10px;
}

.av-gallery-video-lightboxes {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.av-gallery-video-inline.mfp-hide {
	display: none !important;
}

.av-gallery-video-inline {
	position: relative;
	width: min(1100px, 90vw);
	margin: 0 auto;
}

.av-gallery-video-inline video {
	display: block;
	width: 100%;
	max-height: 82vh;
	background: #000;
}
