.eksp-overlay{
	position:fixed;
	inset:0;
	z-index:999999;
	display:flex;
	background:var(--eksp-overlay);
	opacity:0;
	visibility:hidden;
	pointer-events:none;
	overflow-y:auto;
	box-sizing:border-box;
	padding:24px;
	transition:opacity var(--eksp-duration) ease,visibility var(--eksp-duration) ease;
}
.eksp-overlay.eksp-v-top{align-items:flex-start;padding-top:var(--eksp-v-offset)}
.eksp-overlay.eksp-v-center{align-items:center}
.eksp-overlay.eksp-v-bottom{align-items:flex-end;padding-bottom:var(--eksp-v-offset)}
.eksp-overlay.eksp-h-left{justify-content:flex-start;padding-left:var(--eksp-h-offset)}
.eksp-overlay.eksp-h-center{justify-content:center}
.eksp-overlay.eksp-h-right{justify-content:flex-end;padding-right:var(--eksp-h-offset)}
.eksp-overlay.is-open{
	opacity:1;
	visibility:visible;
	pointer-events:auto;
}
.eksp-dialog{
	position:relative;
	width:var(--eksp-width);
	max-width:var(--eksp-max-width);
	background:var(--eksp-bg);
	border-radius:var(--eksp-radius);
	box-shadow:var(--eksp-shadow);
	padding:var(--eksp-pt) var(--eksp-pr) var(--eksp-pb) var(--eksp-pl);
	box-sizing:border-box;
	opacity:0;
	transition:
		transform var(--eksp-duration) cubic-bezier(.22,.61,.36,1),
		opacity var(--eksp-duration) ease;
}
.eksp-overlay.is-open .eksp-dialog{opacity:1;transform:none}
.eksp-anim-fade .eksp-dialog{transform:none}
.eksp-anim-fade-up .eksp-dialog{transform:translateY(28px)}
.eksp-anim-zoom .eksp-dialog{transform:scale(.94)}
.eksp-anim-slide-down .eksp-dialog{transform:translateY(-42px)}
.eksp-anim-slide-up .eksp-dialog{transform:translateY(42px)}

.eksp-title{
	margin:0 48px 0 0;
	font-family:var(--eksp-title-family);
	font-size:var(--eksp-title-size);
	font-weight:var(--eksp-title-weight);
	line-height:var(--eksp-title-lh);
	color:var(--eksp-title-color);
}
.eksp-subtitle{
	margin-top:var(--eksp-gap);
	font-family:var(--eksp-sub-family);
	font-size:var(--eksp-sub-size);
	font-weight:var(--eksp-sub-weight);
	line-height:var(--eksp-sub-lh);
	color:var(--eksp-sub-color);
}
.eksp-content{margin-top:var(--eksp-gap)}
.eksp-empty{font-family:var(--eksp-sub-family);color:var(--eksp-sub-color)}

button.eksp-close{
	position:absolute!important;
	top:var(--eksp-close-top)!important;
	right:var(--eksp-close-right)!important;
	left:auto!important;
	bottom:auto!important;

	width:calc(var(--eksp-close-size) + 14px)!important;
	height:calc(var(--eksp-close-size) + 14px)!important;
	min-width:0!important;
	min-height:0!important;
	max-width:none!important;

	display:flex!important;
	align-items:center!important;
	justify-content:center!important;

	margin:0!important;
	padding:0!important;
	border:0!important;
	outline:0;
	box-shadow:none!important;
	background:var(--eksp-close-bg)!important;
	color:var(--eksp-close-color)!important;
	border-radius:var(--eksp-close-radius)!important;

	font-size:0!important;
	line-height:1!important;
	text-decoration:none!important;
	appearance:none!important;
	-webkit-appearance:none!important;
	cursor:pointer!important;
	z-index:5;
	overflow:visible;
	transition:background-color .2s ease,transform .2s ease,opacity .2s ease;
}

button.eksp-close:hover{
	color:var(--eksp-close-color)!important;
	background:var(--eksp-close-bg)!important;
	transform:scale(1.06);
	opacity:.85;
}

button.eksp-close:active{
	transform:scale(.96);
}

button.eksp-close .eksp-close-icon{
	display:block!important;
	width:var(--eksp-close-size)!important;
	height:var(--eksp-close-size)!important;
	min-width:var(--eksp-close-size)!important;
	min-height:var(--eksp-close-size)!important;
	margin:0!important;
	padding:0!important;
	overflow:visible;
	fill:none!important;
	stroke:currentColor!important;
	stroke-width:2.25!important;
	stroke-linecap:round!important;
	stroke-linejoin:round!important;
	pointer-events:none;
}

button.eksp-close:focus-visible{
	outline:2px solid var(--eksp-close-color)!important;
	outline-offset:3px!important;
}

.eksp-content .wpcf7,
.eksp-content form{width:100%}
.eksp-content .wpcf7 p{margin:0 0 var(--eksp-field-gap)}
.eksp-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.eksp-content textarea,
.eksp-content select{
	width:100%;
	box-sizing:border-box;
	font-family:var(--eksp-field-family);
	font-size:var(--eksp-field-size);
	color:var(--eksp-field-color);
	background:var(--eksp-field-bg);
	border:var(--eksp-field-border-width) solid var(--eksp-field-border);
	border-bottom-width:var(--eksp-field-border-bottom);
	border-radius:var(--eksp-field-radius);
	padding:var(--eksp-field-py) var(--eksp-field-px);
	box-shadow:none;
	outline:none;
}
.eksp-content textarea{min-height:110px;resize:vertical}
.eksp-content input::placeholder,
.eksp-content textarea::placeholder{color:var(--eksp-placeholder);opacity:1}
.eksp-content input:focus,
.eksp-content textarea:focus,
.eksp-content select:focus{border-color:var(--eksp-btn-bg)}

.eksp-content input[type="submit"],
.eksp-content button[type="submit"]{
	width:100%;
	border:0;
	cursor:pointer;
	background:var(--eksp-btn-bg);
	color:var(--eksp-btn-color);
	font-family:var(--eksp-field-family);
	font-size:var(--eksp-btn-size);
	font-weight:var(--eksp-btn-weight);
	border-radius:var(--eksp-btn-radius);
	padding:var(--eksp-btn-py) var(--eksp-btn-px);
	transition:transform .2s ease,filter .2s ease;
}
.eksp-content input[type="submit"]:hover,
.eksp-content button[type="submit"]:hover{
	filter:brightness(.96);
	transform:translateY(-1px);
}

body.eksp-scroll-locked{
	overflow:hidden!important;
	touch-action:none;
}

@media(max-width:767px){
	.eksp-overlay{
		padding:18px;
		align-items:center!important;
		justify-content:center!important;
	}
	.eksp-dialog{
		width:var(--eksp-mobile-width);
		max-width:var(--eksp-mobile-width);
		padding:var(--eksp-mobile-padding);
	}
	.eksp-title{font-size:var(--eksp-mobile-title)}
	.eksp-subtitle{font-size:var(--eksp-mobile-sub)}
	button.eksp-close .eksp-close-icon{
		width:var(--eksp-mobile-close)!important;
		height:var(--eksp-mobile-close)!important;
		min-width:var(--eksp-mobile-close)!important;
		min-height:var(--eksp-mobile-close)!important;
	}
}

@media(prefers-reduced-motion:reduce){
	.eksp-overlay,
	.eksp-dialog{transition:none!important}
}
