/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}/* Variables */
:root {
    --font-mono: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono,
        monospace;
}

/* Fonts */
@font-face {
    font-family: equity_a;
    font-style: normal;
    font-weight: normal;
    src: url("equity-a-r.woff2") format("woff2");
}
@font-face {
    font-family: equity_a;
    font-style: italic;
    font-weight: normal;
    src: url("equity-a-i.woff2") format("woff2");
}
@font-face {
    font-family: equity_a;
    font-style: normal;
    font-weight: bold;
    src: url("equity-a-b.woff2") format("woff2");
}
@font-face {
    font-family: equity_a;
    font-style: italic;
    font-weight: bold;
    src: url("equity-a-bi.woff2") format("woff2");
}

body {
    font-family: equity_a, ui-serif, serif;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 auto;
    max-width: 40em;
    padding: 0 16px 16px 16px;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern", "onum";
    /* Do not increase the font size when changing to landscape */
    -webkit-text-size-adjust: 100%;
}

footer {
    margin-right: 1em;
    color: rgba(0, 0, 0, 0.6);
}

input,
textarea,
pre,
code {
    font-family: var(--font-mono);
    font-size: 15px;
    font-feature-settings: normal;
}

h1 {
    font-size: 125%;
    font-weight: bold;
    margin-top: 1.4em;
    margin-bottom: 1.2em;
}
h2 {
    font-size: 110%;
    font-weight: bold;
    margin-top: 1.4em;
    margin-bottom: 1em;
}
h3,
h4,
h5,
h6 {
    font-size: 105%;
    font-weight: bold;
    margin-top: 1.4em;
    margin-bottom: 1em;
}

a {
    color: inherit;
}
p,
pre {
    margin-bottom: 1em;
}
em {
    font-style: italic;
}
strong {
    font-weight: bold;
    font-size: 0.98em;
}

/* Lists */
ul,
ol {
    margin: 1.5em 0;
}
li {
    font-size: 95%;
    margin-bottom: 0.7em;
}
ol {
    list-style: decimal outside none;
    margin-left: 1em;
}
ul {
    font-feature-settings: "ss08";
    list-style: none outside none;
    position: relative;
}
ul li {
    margin-left: 1.5em;
}
ul li::before {
    content: "→";
    color: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
}

/* Forms */
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
textarea,
select {
    border-radius: 0.25rem;
    border: 2px solid rgba(0, 0, 0, 0.12);
    height: 16px;
    margin-bottom: 16px;
    max-width: 20em;
    padding: 9px 14px;
    width: 100%;
}
input[type="submit"],
button,
.button,
a.button {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    border: none;
    color: #fff;
    display: inline-flex;
    font-weight: bold;
    height: 36px;
    justify-content: center;
    margin-bottom: 16px;
    min-width: 64px;
    padding: 0 16px;
    text-decoration: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
input[type="submit"]:hover,
button:hover,
.button:hover {
    cursor: pointer;
}

form > div {
    margin-bottom: 0.5em;
}

#flash {
    margin: 0 auto 2em;
    width: fit-content;
}

#flash .notice {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 1em 1.4em;
}

#flash .alert {
    background: #b3261e;
    color: #ffffff;
    padding: 1em 1.4em;
}

#masthead,
#masthead a {
    margin: 1em 0;
    text-decoration: none;
    font-feature-settings: "smcp";
    font-size: 25px;
}
