.wh-video-popup-widget {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wh-video-popup-button {
	--wh-video-size: 210px;
	position: relative;
	width: var(--wh-video-size);
	height: var(--wh-video-size);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent !important;
	cursor: pointer;
	outline: none !important;
}

.wh-video-popup-button:disabled {
	cursor: default;
	opacity: 0.8;
}

.wh-video-popup-text {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: infiniterotate-schedule 20s infinite linear;
	transform-origin: center;
}

.wh-video-popup-text text {
	fill: #ffffff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}

.wh-video-popup-ring {
	width: 70%;
	height: 70%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 8px solid #ffffff;
	border-radius: 50%;
}

.wh-video-popup-center {
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #5d5d5d;
	border-radius: 50%;
	transition: transform 0.28s ease, background 0.28s ease;
}

.wh-video-popup-button:hover .wh-video-popup-center,
.wh-video-popup-button:focus .wh-video-popup-center {
	transform: scale(0.96);
}

.wh-video-popup-play {
	width: 0;
	height: 0;
	margin-left: 10px;
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent;
	border-left: 46px solid #ffffff;
}

.wh-video-popup-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.82);
}

.wh-video-popup-modal.is-open {
	display: flex;
}

.wh-video-popup-dialog {
	position: relative;
	width: min(960px, 100%);
	aspect-ratio: 16 / 9;
	background: #000000;
}

.wh-video-popup-frame {
	width: 100%;
	height: 100%;
}

.wh-video-popup-dialog iframe,
.wh-video-popup-dialog video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.wh-video-popup-close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: transparent !important;
	color: #ffffff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 0px !important;
}

@keyframes infiniterotate-schedule {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 767px) {
	.wh-video-popup-button {
		--wh-video-size: 170px;
	}

	.wh-video-popup-text text {
		font-size: 14px;
	}

	.wh-video-popup-play {
		margin-left: 7px;
		border-top-width: 24px;
		border-bottom-width: 24px;
		border-left-width: 38px;
	}
}