/**
 * Prestaworks AB
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the End User License Agreement(EULA)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://license.prestaworks.se/license.html
 *
 * @author    Prestaworks AB <info@prestaworks.se>
 * @copyright Copyright Prestaworks AB (https://www.prestaworks.se/)
 * @license   http://license.prestaworks.se/license.html
 */
#pw_rule_form {
	display: flex;
	align-items: center;
	flex-direction: column;
}
#pw_rule_popup {
	align-items: center;
	display: flex;
	justify-content: center;
	overflow-x: hidden;
	overflow-y: auto;

	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10001;
}
#pw_rule_popup_form {
	background-color: var(--pw_rule_popup_background, #ffffff);
	color: var(--pw_rule_popup_color, #333333);
	padding: 1.5rem;
	max-width: 550px;
	width: calc(100% - 1.5rem);

	position: relative;
	z-index: 2;
}
#pw_rule_popup_form h3 {
	color: var(--pw_rule_popup_color, #333333);
}
#pw_rule_popup_form_close {
	background-color: transparent;
	border: 0;
	color: var(--pw_rule_popup_color, #333333);
	height: 2.75rem;
	padding: 0.75rem;
	width: 2.75rem;

	position: absolute;
	top: 1rem;
	right: 1rem;
}
	#pw_rule_popup_form_close svg {
		display: block;
		height: 1.5rem;
		width: 1.5rem;
	}
#pw_rule_popup_form_overlay {
	background-color: var(--pw_rule_popup_overlay, rgba(0, 0, 0, 0.6));
	border-width: 0;
	display: block;
	height: 100%;
	padding: 0;
	width: 100%;

	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
#pw_rule_popup_form_close *,
#pw_rule_popup_form_overlay * {
	pointer-events: none !important;
}