/* Inline styles of legacy view component/2/popup-list-2025.cshtml, copied verbatim. */
.popup
{
	z-index:9999;
	display:flex;
	align-items:center;
	justify-content:center;
	position:fixed;
	top:0px;
	left:0px;
	padding:20px;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.2);
}

.popup > *
{
	position:relative;
}

.popup > *::after
{
	cursor:pointer;
	position:absolute;
	content:'x';
	top:-20px;
	display:block;
	right:-20px;
	width:26px;
	height:26px;
	line-height:26px;
	font-weight:700;
	color:#000;
	text-align:center;
	background:#fff;
	border-radius:50%;
}

.popup img
{
	max-height:calc(100dvh - 40px) !important;
	max-width:calc(100dvw - 40px) !important;
	border-radius:20px;
	object-fit:contain;
}

@media screen and (min-width:992px)
{
	.popup .popup-mobile
	{
		display:none;
	}
}

@media screen and (max-width:991.98px)
{
	.popup .popup-desktop
	{
		display:none;
	}
}
