.popup {
	display: block;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 100000;
	transition: opacity 0.5s ease;
}

.open .popup {
	opacity: 1;
	pointer-events: all;
	transition: opacity 0.5s ease;
}
  
.popup .shader {
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 248, 0.65);
	cursor: pointer;
	z-index: 100001;
	transition: opacity 0.5s ease;
}
  
.popup .alert {
	max-width: 450px;
	min-height: 300px;
	position: absolute;
	left: 50%;
	top: 10px;
	width: 85%;
	height: auto;
	transform: translate(-50%, 0);
	transition: all 0.5s ease;
	color: var(--light-charcoal);
	background-color: #fff;
	z-index: 100002;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
	padding: 45px 20px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: #18222E;
}

.popup .alert.image {
	top: 7%
}

.popup .alert .description {
	font-size: 15px;
	font-weight: 300;
	font-family: 'Raleway', sans-serif;
	padding: 1rem 0;
}

.popup .alert > * {
	z-index: 1;
}

.popup .alert .newsletter-signup {
	width: 95%;
}

.popup .alert .header {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 35px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	align-items: center;
	gap: 20px;
	width: 90%;
}

footer.gray .popup .header {
	background: none;
}

.popup .custom-button.align-center {
	justify-content: center;
}

.popup h2.title {
	font-size: 32px;
	line-height: 1.25;
	color: var(--dark-blue1)
}

.popup .alert form.form-basic input[type="email"].form-control {
	font-size: 16px;
	font-weight: 700;
	font-family: 'Raleway', sans-serif;
	text-transform: uppercase;
	border: none;
	padding: 25px;
	color: #333333b3;
	background-color: #F7F5E9;
	margin-left: 1px;
	border-radius: 25px 0 0 25px;
	font-size: 14px;
	letter-spacing: 2px;
}

.popup .alert form.form-basic button {
	font-size: 18px;
	line-height: 18px;
	padding: 25px 20px;
	background-color: #F7F5E9;
	border-radius: 0 25px 25px 0;
	color: #15b3bb;
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
}

.popup .alert form.form-basic .form-group {
	margin-top: 30px;
	display: grid;
	grid-template-columns: 4fr 1fr;
}

footer .footer-bottom .popup p.description {
	margin-left: 0;
}

.popup .background-image {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 100002;
}

.popup .background-image.desktop {
	display: none;
}

.popup .background-image.mobile {
	display: unset;
}

.popup .alert .xclose.subscriber-close {
    background: white;
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}
    

@media screen and (min-width: 27em) {
	.popup .background-image.mobile {
		display: none;
	}

	.popup .background-image.desktop {
		display: unset;
	}
}

@media screen and (min-width: 40em) {
	.popup .alert.image,
	.popup .alert {
		top: 45%;
		width: 85%;
		transform: translate(-50%, -50%);
		padding: 50px 30px 35px;
		text-align: center;
	}

	.popup .alert .header {
		margin-top: 20px;
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		align-items: center;
		gap: 40px;
	}

	.popup h2.title {
		font-size: 36px;
		line-height: 1em;
	}

	.popup .alert .header {
		margin-bottom: 20px;
	}

	.popup .background-image {
		top: 45%;
		transform: translate(-50%, -50%);
	}
}
