/* RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: 100%; font: inherit; vertical-align: baseline; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;  }

:root {
--text-xs: 13px;
--text-s: 14px;
--text-default: 15px;
--text-m: 17px;
--text-l: 20px;
--text-xl: 24px;
--text-xxl: 28px;
--text-xxxl: 36px;
--text-lightest: #FFF;
--text-lighter: #777;
--text-dark: #333;
--teal: #58d3b4;
--brown: #9f6a5c;
--grey: #434b4c;
}
@media screen and (min-width: 768px) {
:root {
--text-xs: 13px;
--text-s: 15px;
--text-default: 17px;
--text-m: 20px;
--text-l: 24px;
--text-xl: 30px;
--text-xxl: 42px;
--text-xxxl: 64px;
}
}


/* GENERAL STUFF */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: var(--text-default); color: #000; line-height: 1.5; background: #FEFEFE; }

h1,h2,h3,h4,h5,h6 { font-weight: 800; line-height: 1.25; margin: 1rem 0; }
p,dl,table,figure { margin: 1.5rem 0; }
ul,ol { margin: 1.5rem 0 1.5rem 2rem; }
ul li, ol li { margin-bottom: 0.5rem; }
dt { font-weight: 700; margin-bottom: 1rem; }

h1 { font-size: var(--text-xxxl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-l); margin-bottom: 0; }
h4,h5,h6 { font-size: var(--text-m); margin-bottom: 0; }
pre { background: #E7E7E7; margin: 2rem 0; }
figure img { display: block; margin: 0 auto; }
figcaption { font-size: var(--text-xs); color: var(--text-lighter); text-align: center; padding: 0.5rem; }
blockquote { position: relative; font-size: var(--text-m); color: var(--brown); padding: 0 1.5rem 0 3rem; margin: 2rem 1rem; }
blockquote::before { content: "\275D"; position: absolute; top: -1rem; left: 0; font-size: 3rem; }
img { max-width: 100%; height: auto; }
small { font-size: var(--text-xs); color: var(--text-lighter); }
b,strong { font-weight: 700; }
em,i { font-style: italic; }
code { font-family: monospace; font-size: var(--text-s); padding: 2px; background: #E7E7E7; }
pre code { display: block; padding: 1rem; background: #E7E7E7; }

a { color: var(--brown); text-decoration: underline; transition: 0.25s; }
a.link { color: var(--brown); }
a:visited { color: var(--brown); }
a.hover { color: var(--teal); }
a.focus { color: var(--teal); }
a.active { color: var(--teal); }

/* FORMS */
.contact-form { padding: 1rem 0; }
form ul { list-style: none; }
fieldset { margin: 1.5em 0; }
legend { font-size: var(--text-l); font-weight: 700; margin-bottom: 1.5rem;  }
input,select,textarea,button { font-family: sans-serif; font-size: var(--text-default); }
input[type=text],input[type=email],input[type=password],input[type=date] { width: 100%; height: 42px; text-indent: 1rem; border: 1px solid var(--brown); border-radius: 7px; }
select {}
textarea { width: calc(100% - 2rem); max-width: 100%; height: 160px; padding: 1rem; border: 1px solid var(--brown); border-radius: 7px; }

button { height: 42px; font-weight: 600; padding: 0 2rem; border: 0; border-radius: 0px; }

button { color: #FFF; background: var(--brown); box-shadow: 4px 4px #000; }

/* LAYOUT */
.announcement { text-align: center; padding: 0.5rem 5%; background: var(--teal); margin-bottom: 0.5rem; }
.nav { display: flex; justify-content: space-between; max-width: 1440px; padding: 1.5rem 5%; margin: 0 auto; }
.header { max-width: 1440px; padding: 5%; margin: 0 auto; }
.section { max-width: 1440px; padding: 0 5% 5% 5%; margin: 0 auto; }
.footer { max-width: 1440px; padding: 2rem 5%; margin: 0 auto; }

.article .section { max-width: 960px; margin: 0 auto; }
.article h2 { margin-top: 3rem; }

.logo img { display: block; width: auto; height: 40px; }

.menu { font-size: var(--text-s); line-height: 40px; list-style: none; padding: 0; margin: 0; transition: 0.25s; }
.menu li { margin: 0; }
.menu a { display: block; font-weight: 800; color: #000; text-decoration: none; }
.menu a.highlighted { position: relative; font-size: var(--text-s); line-height: 36px; padding: 0 0.75rem; background: #F4D46F; box-shadow: 4px 4px #000; }
.menu a.highlighted:active { top: 1px; left: 1px; }

.menu { position: absolute; top: -600px; }
.menu-checkbox { display: none; }
.menu-label { display: block; width: 40px; height: 40px;  }
.menu-label svg { width: 30px; }
.menu-checkbox:checked + .menu { top: calc(40px + 3rem); width: 90%; line-height: 40px; padding: 0 0; background: white; border-bottom: 4px solid #000; z-index: 999; }
.menu-checkbox:checked + .menu li { margin-bottom: 0.5rem; }
.menu-checkbox:checked + .menu a { padding: 0 1rem; background: #F4D46F; }

.header-text { max-width: 960px; text-align: center; margin: 0 auto; }
.header-image { width: 100%; text-align: center; padding: 2rem 0 0 0; margin: 0 auto; }
.header-image img { display: block; border-radius: 7px; }
.header-strapline { font-size: var(--text-m); } 
.header-cta { display: flex; justify-content: center; list-style: none; padding-top: 1rem; margin: 1rem 0; }
.header-cta li { margin: 0 0.5rem; }


.preheader { font-size: var(--text-s); font-weight: 700; color: var(--text-lighter); text-transform: uppercase; }
.preheader + * { margin-top: 0.5rem; }
.section-header { max-width: 960px; text-align: center; margin: 0 auto; }
.section-heading { font-size: var(--text-xxl); }
.section-intro { font-size: var(--text-m); }
.section-cta { display: flex; justify-content: center; list-style: none; padding-top: 1rem; margin: 1rem 0; }
.section-cta li { margin: 0 0.5rem; }

.grid { display: grid; grid-gap: 1rem; grid-template-columns: 1fr); padding: 1rem 0; }
.grid-item { position: relative; }
.grid + .grid { padding-top: 3rem; }
.grid-single-column { grid-row-gap: 1.5rem; grid-template-columns: 1fr; max-width: 768px; padding: 1rem 0; margin: 0 auto; }
.grid-single-column .grid-item-order2 { order: 1; }
.grid + .grid-single-column { padding-top: 3rem; }

.card-thumb { text-align: center; }
.card-icon img { width: 64px; height: 64px; }
.card-heading { font-size: var(--text-m); }
.card-heading + * { margin-top: 0.75rem; }

.footer {  }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; font-size: var(--text-s); list-style: none; margin-left: 0; }
.footer-links li { margin: 0 0.5rem 0.5rem 0.5rem; }
.footer a {  }
.footer-legal { max-width: 768px; text-align: center; line-height: 1.25; margin: 0 auto; }
.footer-legal img { width: 160px; height: auto; }

.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

a.link { position: relative; display: inline-block; font-weight: 800; text-decoration: none; box-shadow: 4px 4px #000; white-space: nowrap; }
a.link-pri { color: #FFF; background: var(--brown); }
a.link-sec { color: #000; background: var(--teal); }
a.link-l { font-size: var(--text-s); padding: 0.85rem 2rem; }
a.link-m { padding: 0.55rem 1.5rem; }
a.link:hover, a.link:focus { color: #FFF; background: var(--grey); }
a.link:active { top: 1px; left: 1px; }

.video object,
.video embed,
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

@media screen and (min-width: 768px) {
.grid { grid-column-gap: 2rem; grid-template-columns: 1fr 1fr; }
.grid .grid-item-order2 { order: 2; }

}

@media screen and (min-width: 1024px) {
.menu-label { display: none; }
.menu { display: flex; position: relative; top: 0; right: 0;  }
.menu li { margin: 0 0 0 1.5rem; }
.grid { grid-column-gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(256px, 1fr)); }
}

.consent { padding: 1rem; background: var(--teal); }
.consent-form { max-width: 1280px; margin: 0 auto; }
.consent-message { font-size: var(--text-s); font-weight: 700; margin: 0 0 1rem 0; }
.consent-list { display: flex; flex-wrap: wrap; font-size: var(--text-s); list-style: none; margin: 0; }
.consent-list li { margin: 0 1rem 0.5rem 0; }
button.consent-button { height: 30px; font-size: var(--text-s); box-shadow: 0 0; }

.clock { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40%; z-index: -1; }
.clock svg { fill: #F7F7F7; }

.swatch { position: fixed; bottom: 0; left: 0; display: flex; }
.swatch div { width: 140px; height: 40px; }
.s1 { background: var(--teal); }
.s2 { background: var(--brown);}
.s3 { background: var(--grey);}
.admin { position: fixed; bottom: 0; right: 0; font-size: 11px; text-align: center; padding: 10px 0; background: #CCC; }
