
.agegate-open {
	overflow-y: hidden;
}

body.agegate-open.tfe-agegate-blur > * {
	filter: blur(4px);
}

body.agegate-open.tfe-agegate-blur > .tfe-agegate, body.agegate-open.tfe-agegate-blur > #wpadminbar {
	filter: blur(0);
}

.tfe-agegate {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
	visibility: visible;
	transition: all .5s ease-in-out;
}

.tfe-agegate {
	display: flex;
	align-items: center;
	z-index: 999;
	background: rgba(230, 230, 230, .9);
}

.tfe-agegate.dark {
	background: rgba(25, 25, 25, .9);
}

.tfe-agegate-dialog {
	margin: 4em auto;
	background: #fff;
	width: 80%;
	max-width: 24em;
	padding: 3em;
	text-align: center;
	position: relative;
}

.tfe-agegate.tfe-agegate-hidden {
	visibility: hidden;
	opacity: 0;
}

.tfe-agegate p {
	position: relative;
	text-align: center;
}

.tfe-agegate-image {
	width: 50%;
	height: auto;
	display: block;
}

.tfe-agegate p, .tfe-agegate-image {
	margin: 0 auto 1em;
}

.tfe-enter {
	border: 0;
	color: #fff;
	background: #222;
}

.tfe-enter::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	cursor: pointer;
}

.tfe-enter:active, .tfe-enter:focus, .tfe-enter:hover {
	color: #222;
	background: #fff;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute !important;
}

@media screen and (min-width: 40em) {
	.tfe-agegate-dialog {
		min-width: 20em;
		max-width: 30em;
	}
	
	.tfe-agegate p, .tfe-enter {
		font-size: 1.5em;
	}
	
	.tfe-agegate p, .tfe-agegate-image {
		margin-bottom: 1.5em;
	}
}
