/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.75);
	text-align: center;
}

.blocker:before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	width: 100%;
	max-width: 50%;
	padding: 30px;
	text-align: left;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	background-color: var(--color-accent1);
  background-attachment: fixed;
  background-image: var(--accent-bg);
  background-blend-mode: multiply;
  color: var(--color-main3);
  box-sizing: border-box;
  outline: 1px solid var(--color-opac-border);
	outline-offset:15px;
}
.modal form {
	display: flex;
	gap: var(--base-gap);
	flex-direction: column;
}
.modal .select2-container {
	width: 100%;
	background: none;
}
.modal .select2-default {
	color: var(--secondary) !important;
}
.modal .select2-choices {
	border: 1px solid var(--darker-medium) !important;
}
.modal .select2-container * {
	width: 100%;
	background: none !important;
}
.modal input,
.modal textarea,
.modal select {
	width: 100%;
	margin-top: 5px;
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background: url(../../../images/close.png) no-repeat 0 0;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
}

/** Modal End **/