:root {
	--ef-nav-height: 60px;
	--ef-footer-title-height: 60px;
	--ef-green: #005953;
	--ef-green-light: #69a3a2;
	--ef-border-radius: 6px;
}

* {
	box-sizing: border-box;
}
html {
	background: #333;
	color: #fff;
}
.uk-modal,
.uk-modal h1,
.uk-modal h2,
.uk-modal h3,
.uk-modal h4,
.uk-modal h5,
.uk-modal h6 {
	color: #333;
}

nav a[href^="http"]:not(.hide-ext, .uk-icon-button):after,
main a[href^="http"]:not(.hide-ext, .uk-icon-button):after {
    display: inline-block;
    width: 14px;
    height: 10px;
    position: relative;
	left: 4px;
	content: " ";
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQo8cGF0aCBpZD0iUmVubm11dHplbCIgZD0ibTUuODgwNDc3LDQuODE0MTg3bC01LjE0Mjc2MSwwbDAsOC4xMjAxNDlsOC4xMjAxNTEsMGwwLC01LjE0Mjc2bS0yLjcwNjcxNywtNy4wMzc0NjRsMCwxLjM1MzM1OGwxLjM1MzM1OCwxLjM1MzM1OGwtNC4wNjAwNzUsNC4wNjAwNzVsMi43MDY3MTcsMi43MDY3MTZsNC4wNjAwNzUsLTQuMDYwMDc0bDEuMzUzMzU5LDEuMzUzMzU4bDEuMzUzMzU3LDBsMCwtNi43NjY3OTFsLTYuNzY2NzkxLDB6IiBzdHJva2U9IiM2NjYiIGZpbGw9InRyYW5zcGFyZW50Ii8+DQo8L3N2Zz4=);
    mask-repeat: no-repeat;
	mask-size: contain;
	background-color: var(--ef-green);
}


header, main, footer {
	margin: 20px auto;
	max-width: var(--uk-breakpoint-l, 1200px);
}

.ef-background {
	background-color: var(--ef-green);
}

/* header */
header {
	z-index: 7;
}

header h1 {
	margin-top: 0;
	font-size: 4em;
	letter-spacing: 2px;
	overflow: hidden;
}
.ef-menubutton {
	display: inline-block;
	position: relative;
	top: 2px;
	width: 0.8em;
	height: 0.8em;
	margin: 0 8px;
	background: url(../img/logo.png) no-repeat;
	background-size: contain;
}

/* navigation */
nav {
	display: flex;
	position: relative;
	z-index: 8;
	height: var(--ef-nav-height);
	margin: 20px auto;
	background: var(--ef-green);
	/* background: linear-gradient(
		69deg,
		rgba(229, 0, 0, 0.4) 0%,
		rgba(255, 141, 0, 0.4) 25%,
		rgba(2, 129, 33, 0.4) 45%,
		rgba(255, 238, 0, 0.4) 60%,
		rgba(0, 76, 255, 0.4) 75%,
		rgba(119, 0, 136, 0.4) 100%
	); */
	border-radius: var(--ef-border-radius);
}
nav > div#ef-nav-home a {
	display: block;
	position: relative;
	left: 10px;
	width: var(--ef-nav-height);
	height: var(--ef-nav-height);
	background-image: url(../img/IMG_5904.PNG);
	background-size: 80%;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .66;
	cursor: pointer;
}
nav > div#ef-nav-home a:hover {
	opacity: 1;
}
nav > div:nth-of-type(2) {
	flex: 1;
}
#nav-toggle {
	display: none;
}

nav a {
	color: #fff;
	text-decoration: none;
}
nav a:hover {
	color: #fff;
	text-shadow: 0 0 2px white;
	text-decoration: none;
}
nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
nav > div > ul {
	display: flex;
	text-align: center;
}
nav > div > ul > li {
	position: relative;
	min-width: calc(100% / 5);
	height: var(--ef-nav-height);
}
nav > div > ul > li > a,
nav > div > ul > li > label {
	display: inline-block;
	width: 100%;
	height: 100%;
	padding-top: calc(var(--ef-nav-height) / 2 - .8rem);
	cursor: pointer;
}
/* nav > div > ul > li:first-child > a,
nav > div > ul > li:first-child > label {
	padding-left: 50px;
}
nav > div > ul > li:last-child > a,
nav > div > ul > li:last-child > label {
	padding-right: 50px;
} */
nav > div > ul > li > label:after {
	content: " ▼";
	font-size: .67em;
}
input[id="nav-ctl"],
input[name="subnav-ctl"] {
	position: fixed;
	top: -100vh;
	opacity: 0;
}
nav > div > ul > li:hover > ul,
nav > div > ul > li > ul:hover,
nav input[name="subnav-ctl"]:checked ~ ul {
	max-height: 100vh;
	padding-top: 4px;
}
nav > div > ul ul {
	position: absolute;
	top: calc(100% - 4px);
	width: 100%;
	max-height: 0;
	padding-top: 0;
	overflow: hidden;
	background-color: var(--ef-green);
	border-radius: 0 0 var(--ef-border-radius) var(--ef-border-radius);
	transition: max-height .25s, padding-top .15s ease;
}
nav > div > ul ul a {
	display: inline-block;
	width: 100%;
	padding: 5px 10px;
}
nav > div > ul ul a:after {
	background-color: #fff !important;
}
nav > div > ul ul a:hover {
	background-color: #fff;
	color: var(--ef-green);
	text-decoration: none;
}
nav a[href^="http"]:not(.hide-ext, .uk-icon-button):hover:after {
	background-color: var(--ef-green) !important;
}

/* body area */
main {
	position: relative;
}
#content {
	padding: 20px;
	min-height: calc(100vh - 520px);
}
[class^="uk-card-media-"] a:hover img,
[uk-lightbox] a:hover img,
[uk-toggle]:hover {
	filter: brightness(0.75);
	cursor: pointer;
}
.ef-table-borders th, .ef-table-borders td {
	border: 1px solid #666;
}

/* landing page */
#ef-home-banner {
	height: 300px;
	color: #fff;
	border-radius: var(--ef-border-radius);
	background-repeat: no-repeat;
	background-size: cover;
}
#ef-home-banner > div {
	position: absolute;
	right: 20px;
	top: 40px;
	margin: 20px 25px;
	border-radius: var(--ef-border-radius);
	padding: 20px;
	width: min(50%, 480px, 100%);
	font-weight: 600;
	background-color: rgba(0, 0, 0, 0.6);
}

#ef-home-countdown {
	border-radius: var(--ef-border-radius);
}
#ef-home-countdown h2 {
	margin: 0;
	padding-top: .5rem;
	font-size: 1.5rem;
}

#ef-home-intro-text {
	border-radius: var(--ef-border-radius);
	padding: 20px;
	font-weight: 600;
	background-color: rgba(255, 255, 255, .9);
	color: #000;
	text-transform: uppercase;
}

#ef-home-photos {
	border-radius: var(--ef-border-radius);
	overflow: hidden;
}

#ef-home-goh {
	border-radius: var(--ef-border-radius);
	height: 200px;
}

#ef-home-charity {
	border-radius: var(--ef-border-radius);
	height: 200px;
}

#ef-home-flavor-text {
	overflow: scroll;
	border-radius: var(--ef-border-radius);
	background: rgba(255, 255, 255, .67);
	color: #000;
	font-family: Georgia, 'Times New Roman', Times, serif;
}
#ef-home-flavor-text > p:first-child:first-letter {
	font-weight: 600;
	float: left;
	font-size: 3.34rem;
	line-height: 3.34rem;
	padding-top: .34rem;
	padding-right: .34rem;
	padding-left: .34rem;
}

/* content */
main #content > section {
	margin: 20px 0 0;
	padding: 20px 20px;
	border-radius: var(--ef-border-radius);
}

/* consent cover */

.consent-cover {
	background-color: rgba(0, 0, 0, .3);
	color: #000;
	font-size: 1.33em;
	line-height: 1.33em;
	font-weight: 600;
	text-align: center;
	min-height: 800px;
	padding-top: 150px;
	border-radius: 6px;
	cursor: pointer;
}
.consent-cover:hover {
	background-color: rgba(0, 0, 0, .2);
}

/* footer */
footer {
	padding: 20px;
	background-color: var(--ef-green);
	border-radius: var(--ef-border-radius);
}
footer .uk-button-group {
	display: inline-flex;
	vertical-align: middle;
	position: relative;
}
footer .uk-button-group a ~ a {
	margin-left: 3.5px; 
}
footer #ef-footer-title {
	position: relative;
	background-image: url(../img/IMG_5904.PNG);
	background-size: var(--ef-footer-title-height);
	background-repeat: no-repeat;
	min-height: var(--ef-footer-title-height);
	padding-left: calc(var(--ef-footer-title-height) + .2em);
}
footer h2 img {
	width: 1.2em;
	height: 1.2em;
}
footer h2 .uk-text-meta {
	position: absolute;
	top: 2.75em;
	color: #fff;
}
.page-rating-stars {
	display: inline-flex;
	font-size: 1.5em;
	letter-spacing: .1em;
}
.page-rating-stars > *.glowing {
	filter: unset;
	color: gold;
}
.page-rating-stars:hover {
	text-decoration: none;
}
.ef-page-rating {
	border: none;
	font-size: 1.5rem;
	color: darkgray;
	background: unset;
	cursor: pointer;
}

/* uikit overrides */
span.uk-icon {
	margin-right: 0.25em;
}
span.ef-uk-icon-lift {
	position: relative;
	top: -2px;
}
[class*="uk-column-"] > * {
	break-inside: avoid-column;
}
[class^="uk-"][class$="primary"] {
	background-color: var(--ef-green);
}
[class^="uk-"][class$="primary"]:hover {
	background-color: var(--ef-green-light);
}
.uk-countdown-number,
.uk-countdown-separator,
.uk-countdown-label {
	color: #fff;
	font-size: 3rem;
}
.uk-countdown-label,
.uk-countdown-separator {
	position: relative;
	top: -1rem;
	font-size: 1rem;
}
.uk-modal-dialog,
.uk-modal-header,
.uk-modal-footer,
.uk-input,
.uk-textarea,
.uk-button,
.uk-card,
.rounded,
.uk-tooltip,
.uk-notification-message,
iframe {
  border-radius: var(--ef-border-radius);
}

/* convention links */
#links {
	display: block;
	width: 200px;
	height: 80px;
}

/* apps */
.ef-app-badge img {
	height: 36px;
}

/* js-disabled */
.js-disabled {
	font-family: monospace;
	padding: 3px 8px;
	font-weight: 600;
	background-color: #000;
	color: white;
}

/* ef-badger */
.ef-new::after {
	content: "new";
	display: inline-block;
	height: .9em;
	line-height: .6em;
	font-size: .8em;
	font-weight: bold;
	padding: 0 4px;
	margin-left: 3px;
	background-color: #f00;
	color: #fff;
	border-radius: 3px;
}
#ef-badger a[href^="https://chrome.google.com"]::before,
#ef-badger a[href^="https://addons.mozilla.org"]::before {
	display: inline-block;
	position: relative;
	top: 2px;
	content: " ";
	width: 1em;
	height: 1em;
	background-size: contain;
	margin: 0 3px;
}
#ef-badger a[href^="https://chrome.google.com"]::before {
	background-image: url(../img/chrome.png);
}
#ef-badger a[href^="https://addons.mozilla.org"]::before {
	background-image: url(../img/firefox.png);
}

/* administrative */
.debug {
	display: block;
	position: relative;
	padding: 8px;
	font-family: monospace;
	border: 1px solid orange;
	color: #fff;
	background: transparent;
	font-size: 0.75em;
	line-height: 1em;
	overflow: visible;
}
.debug > h3 {
	font-size: 1em;
	position: absolute;
	right: 8px;
	margin-top: 0;
}
.debug:before {
	content: "debug";
	color: #000;
	background: orange;
	position: absolute;
	top: -.75em;
	left: 6px;
	padding: 1px 4px;
	border-radius: 2px;
}
#EFWebCoreAutoExport {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9;
	padding: 10px;
	background: #000;
	color: #fff;
}
