.aaseo-pi-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba( 0, 0, 0, 0.5 );
	z-index: 100000;
	align-items: center;
	justify-content: center;
}

body.aaseo-pi-no-scroll {
	overflow: hidden;
}

.aaseo-pi-modal {
	background: #fff;
	width: 500px;
	max-width: calc( 100% - 30px );
	max-height: calc( 100vh - 60px );
	overflow-y: auto;
	border-radius: 6px;
	padding: 28px 24px;
	position: relative;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.2 );
}

.aaseo-pi-heading {
	margin: 0 0 16px;
	padding-right: 24px;
	font-size: 20px;
}

.aaseo-pi-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #444;
}

.aaseo-pi-close:focus,
.aaseo-pi-submit:focus,
.aaseo-pi-modal input:focus,
.aaseo-pi-modal textarea:focus {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}

.aaseo-pi-row {
	margin-bottom: 14px;
}

.aaseo-pi-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.aaseo-pi-row .req {
	color: #d63638;
}

.aaseo-pi-modal input[type="text"],
.aaseo-pi-modal input[type="email"],
.aaseo-pi-modal textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.aaseo-pi-status {
	min-height: 20px;
	font-size: 14px;
}

.aaseo-pi-status.aaseo-pi-error {
	color: #d63638;
}

.aaseo-pi-status.aaseo-pi-success {
	color: #237a3d;
}

.aaseo-pi-actions {
	text-align: right;
}

@media ( max-width: 480px ) {
	.aaseo-pi-modal {
		width: calc( 100% - 30px );
		padding: 20px 16px;
	}
}
