.hss-vm-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 12, 16, 0.82);
	z-index: 99998;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px 20px;
	overflow-y: auto;
	opacity: 0;
	transition: opacity .2s ease;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px); /* Safari still needs the prefix */
}

.hss-vm-overlay.is-open {
	display: flex;
	opacity: 1;
}

.hss-vm-modal-wrap {
	position: relative;
	width: min(1150px, 100%);
}

.hss-vm-modal {
	position: relative;
	background: #fff;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.hss-vm-content {
    padding: 40px 30px;
}

.hss-vm-close {
	position: absolute;
    top: -21px;
    right: -21px;
    width: 50px;
    height: 50px;
	border: none;
	border-radius: 50%;
	background: #001839;
	color: #fff !important;
	font-size: 48px !important;
	font-weight: 100 !important;
	font-family: 'Times New Roman', serif !important;
	line-height: 1;
	cursor: pointer;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.hss-vm-close:hover {
	background: #00aad2;
}

.hss-vm-close:active {
	background: #001839;
}

.hss-vm-close:focus {
	background: #001839 !important;
}

.hss-vm-loading,
.hss-vm-error {
	padding: 80px 40px;
	text-align: center;
	font-size: 16px;
	color: #555;
}

body.hss-vm-lock {
	overflow: hidden;
}

@media (max-width: 787px) {
	.hss-vm-overlay {
		padding: 20px 20px !important;
		align-items: flex-start !important;

	}

	.hss-vm-close {
	    top: 10px;
        right: 10px;
		font-size: 22px !important;
		width: 40px;
		height: 40px;
	}

	.hss-vm-modal {
		width: 100%;
		max-height: 100vh;
		border-radius: 10px;
		padding-top: 40px !important;
	}
}
