.video-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-modal__bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 1;
	cursor: pointer;
}

.video-modal__inner {
	position: relative;
	width: 100%;
	max-width: 900px;
	padding: 0 16px;
	box-sizing: border-box;
}

.video-modal__box {
	position: relative;
	top: 0;
	opacity: 1;
	outline: none;
}

.video-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 12px;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
	appearance: none;
}

.video-modal__close {
	outline: none;
}

.video-modal__close:focus-visible {
	outline: 2px solid #8bcf24;
	outline-offset: 2px;
}

.video-modal__player {
	position: relative;
	width: 100%;
	padding-top: 0;
	background: #000;
}

.video-modal__player::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}

.video-modal__player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-modal__player .addtoany_shortcode {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 0;
	padding: 12px 0 0;
	display: block;
}

.video-modal__player .addtoany_shortcode .a2a_kit {
	display: block;
}

body.video-modal-open {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	overflow: hidden;
}

@media (max-width: 600px) {
	.video-modal__inner {
		padding: 0;
		max-width: none;
	}

	.video-modal__close {
		top: -40px;
		right: 8px;
		font-size: 14px;
	}

	.video-modal__player .addtoany_shortcode {
		padding-left: 12px;
		padding-right: 12px;
	}
}
