.popup_wrapper {
	display: none;
}

.popup_wrapper.active {
	display: block;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
}

.popup_overlay {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: var(--dark-blue);
}

.popup {
	background-color: white;
	position: absolute;
	width: 405px;
	margin: auto;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 2px solid var(--primary);
	border-radius: 4px;
	max-height: calc(100% - 80px);
	max-width: calc(100% - 80px);
	display: flex;
	flex-direction: column;
}

.content_popup {
	overflow: auto;
	flex-grow: 1;
	padding: 30px 37px;
}

.title_popup {
	font-size: 20px;
	line-height: 1.25;
	font-weight: bold;
	margin-bottom: 13px;
}

.description_popup {
	font-size: 14px;
	line-height: 1.29;
	color: var(--primary);
}

.popup input[type=email],
.popup input[type=text],
.popup input[type=password],
.popup button {
	width: 100%;
	margin-bottom: 8px;
}

.popup_wrapper form {
	padding-top: 20px;
}

.popup_wrapper form button {
	margin-top: 15px;
	position: relative;
}

.wp-admin .popup_wrapper {
	display: block;
}

.wp-admin .sign_up_popup {
	display: block;
}

.wp-admin .sign_up_popup {
	display: block;
	position: static;
	transform: none;
}

.wp-admin .popup_overlay {
	display: none;
}

.popup_header {
	border-bottom: 1px solid var(--dark-blue);
	margin-bottom: 17px;
	padding-bottom: 12px;
	overflow: hidden;
}

.popup_title {
	font-size: 20px;
	line-height: 1.25;
	font-weight: bold;
}

.popup_description {
	line-height: 1.8125;
	margin-bottom: 20px;
}

.close_popup {
	width: 24px;
	height: 24px;
	cursor: pointer;
	position: absolute;
	top: -31px;
	right: -36px;
	background-image: url(../img/close-popup-white.svg);
	background-repeat: no-repeat;
	background-size: 24px;
	z-index: 1;
}

.popup_subtitle {
	font-size: 14px;
	font-weight: normal;
}

.no-scroll {
	overflow: hidden;
	position: fixed;
	width: 100%;
	height: 100%;
}

.no-scroll #wpadminbar {
	display: none;
}

.popup_description p {
	margin-bottom: 20px;
}

@media (max-width: 767px) {
	.popup {
		width: 100%;
		max-width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.content_popup {
		padding: 25px 30px;
	}

	.popup_description {
		font-size: 14px;
	}

	.close_popup {
		background-image: url(../img/close-popup-blue.svg);
		top: 25px;
		right: 25px;
		background-color: white;
	}

	.popup_title {
		padding-right: 25px;
	}
}
