@font-face {
    font-family: 'calafiaregular';
    src: url('/includes/public/fonts/calafia-regular-webfont.woff2') format('woff2'),
         url('/includes/public/fonts/calafia-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.enews-popup {
	display: none;
	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;
}
	.show-enews-popup .enews-popup {
		opacity: 1;
		pointer-events: all;
		transition: opacity 0.5s ease;
	}

	.enews-popup .shader {
		width: 100vw;
		height: 100vh;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: rgba(0, 0, 0, 0.55);
		cursor: pointer;
		z-index: 100001;
		transition: opacity 0.5s ease;
	}

	.enews-popup .alert {
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 610px;
		min-height: 300px;
		padding: 30px 25px;
		position: absolute;
		left: 50%;
		top: 60%;
		transform: translate(-50%, -50%);
		transition: all 0.5s ease;
		background: url(/includes/public/assets/images/misc/enews-popup-bg.png) no-repeat center center;
		z-index: 100002;
		box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.6);
		background-size: cover;
	}

		.show-enews-popup .enews-popup .alert {
			transition: all 0.5s ease;
			top: 45%;
		}

		.enews-popup .alert .closer {
			margin: 0;
			padding: 10px;
			position: absolute;
			top: -40px;
			right: -10px;
			background-color: transparent;
			border: 0;
			color: #e6e9ea;
			cursor: pointer;
			font-size: 30px;
			transform: rotate(45deg);
			z-index: 9999;
		}
			.enews-popup .alert .closer:hover {
				opacity: 0.8;
			}
	
	.enews-popup .alert .title {
		margin-bottom: 15px;
		text-align: center;
		font-family: 'calafiaregular';
		font-size: 54px;
		line-height: 1;
		color: #11727f;
		cursor: default;
		width: 100%;
	}

	.enews-popup .alert .inner-container {
		display: grid;
		grid-template-columns: max-content 1fr;
		grid-template-rows: 1fr;
		grid-auto-columns: 1fr;
		gap: 0px 0px;
		grid-auto-flow: row;
		grid-template-areas:
		"image body";
	}

	.enews-popup .alert .inner-container .image {
		grid-area: image;
	}

	.enews-popup .alert .inner-container .body {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr;
		gap: 0px 0px;
		grid-auto-flow: row;
		grid-template-areas:
		"description"
		"form";
		grid-area: body;
		padding-left: 37px;
		align-items: center;
		justify-items: center;
	}

	.enews-popup .alert .inner-container .body .description {
		grid-area: description;
		font-family: 'clarendon-text-pro';
		font-size: 18px;
		font-weight: 400;
		color: #de661e;
		text-align: center;
	}

	.enews-popup .alert .inner-container .body .form {
		grid-area: form;
	}

	.enews-popup form.newsletter-signup {
		display: flex;
		justify-content: space-evenly;
	}
		.enews-popup .newsletter-signup .email {
			height: 35px;
			max-width: 162px;
			margin-right: 15px;
			border: none;
			border-bottom: 2px solid #bc9c16;
			color: #231f20;
			font-family: sans-serif;
			font-size: 13px;
			text-align: left;
			padding: 0;
			background-color: transparent;
		}
		.enews-popup form.newsletter-signup .email::placeholder {
			color: #231f20;
			font-family: sans-serif;
			font-size: 13px;
			text-align: left;
		}
		.enews-popup .newsletter-signup .email:focus {
			background-color: transparent;
		}

		.enews-popup form.newsletter-signup .submit {
			display: inline-block;
			position: relative;
			z-index: 5;
			min-width: 93px;
			padding: 8px 10px;
			padding-bottom: 0px;
			background: #11727f;
			margin-top: 0;
			font-family: "clarendon-text-pro",sans-serif;
			font-size: 13px;
			text-transform: uppercase;
		}
		.enews-popup form.newsletter-signup .submit::before {
			content: '';
			position: absolute;
			top: 0px;
			left: -2px;
			z-index: -1;
			width: 10px;
			height: calc(100% + 9px);
			background: inherit;
			-moz-transform: skewY(5deg);
			-ms-transform: skewY(5deg);
			-webkit-transform: skewY(5deg);
			transform: skewX(5deg);
		}
		.enews-popup form.newsletter-signup .submit::after {
			content: '';
			position: absolute;
			bottom: -8px;
			left: 0;
			z-index: -2;
			width: 100%;
			height: 10px;
			background: inherit;
			-moz-transform: skewY(-2deg);
			-ms-transform: skewY(-2deg);
			-webkit-transform: skewY(-2deg);
			transform: skewY(-2deg);
		}

@media (min-width: 40em) {
	.enews-popup {
		display: block;
	}
}