/**
 * @package    VirtueMart Essentials
 * @author     Abhishek Das <info@virtueplanet.com>
 * @copyright  Copyright (C) 2012-2024 VirtuePlanet Services LLP. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 * @link       https://www.virtueplanet.com
 */

.vme-modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1055;
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}
.vme-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1054;
	display: none;
	width: 100%;
	height: 100%;
	outline: 0;
	background: #000;
	opacity: 0.6;
}
.vme-modal-dialog {
	position: relative;
	width: auto;
	margin: 1.75rem auto;
	pointer-events: none;
}
.vme-modal.vme-fade .vme-modal-dialog {
	transition: transform .3s ease-out;
	transform: translate(0,-50px);
}
.vme-modal.vme-in .vme-modal-dialog {
	transform: none;
}
.vme-modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.175);
	border-radius: 0;
	outline: 0;
}
.vme-modal-body {
	position: relative;
	padding: 25px 15px 15px;
}
.vme-modal-close {
	position: absolute;
	top: 4px;
	right: 10px;
	color: #000;
	padding: 0;
	margin: 0;
	border: 0;
	text-decoration: none;
	background: 0 none;
	opacity: 0.6;
	line-height: 1;
	font-size: 28px;
	font-weight: bold;
}
.vme-modal-close:hover {
	color: #000;
	opacity: 1;
	text-decoration: none;
	border: 0;
	background: 0 none;
	font-weight: bold;
}
.vme-modal-iframe {
	display: block;
	width: 100%;
	border: 0 none;
	outline: 0 none;
	min-height: 350px;
}
.vme-modal-loader {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.6);
	background-image: url(../images/image-loader.gif);
	background-position: center center;
	background-repeat: no-repeat;
}
.vme-modal-loading .vme-modal-loader {
	display: block;
}
@media (min-width: 576px) {
	.vme-modal-dialog {
		max-width: 850px;
		margin-right: auto;
		margin-left: auto;
	}
}
