/* 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,
main, 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, main, 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;
}body {
  margin: 0;
  padding: 1em;
  max-width: 50%;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  -webkit-font-feature-settings: 'liga' 1, 'dlig' 1, 'onum' 1;
          font-feature-settings: 'liga' 1, 'dlig' 1, 'onum' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media print {
  body {
    /* max-width: none; */
    max-width: 62.5%;
    font-size: 8px;
  }

  nav,
  body::before {
    display: none;
  }
}

a {
  color: black;
  cursor: pointer;
  text-decoration: none;
}

#fontsize::before,
a:not(#larger):not(#smaller)::before {
  content: "\2192   ";
  visibility: hidden;
}

body a[href="/"]::after {
  content: "KCAW!";
}

body:not([data-forecast="none"]) a[href="/"]::after {
  content: "Clear Data";
}

a:not(#larger):not(#smaller):hover::before {
  visibility: visible;
}

.loading:not(:only-child) {
  display: none;
}

body:not(.loaded)::before,
body.error::before {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 1em;
  margin: 0 1em;
  text-align: right;
  content: "Loading " attr(data-forecast);
  text-transform: uppercase;
}

body.error::before {
  color: red;
  content: "Failed To Load " attr(data-forecast);
}

nav {
  position: fixed;
  max-width: 50%;
  top: 0;
  right: 0;
  margin: 1em;
  padding: 0 1em;
}

nav h1 {
  margin-left: initial;
}

#out {
  text-transform: uppercase;
}

h1 {
  font-size: 200%;
  font-weight: bold;
  margin: 0 0 0.1rem 1rem;
  counter-reset: forecast;
}

h1 + section {
  margin-top: 1em;
}

section + h1 {
  margin: 1em 0 0.1rem 1rem;
}

h2,
section .locale {
  font-size: 150%;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
}

h2 .small {
  font-size: 50%;
  font-weight: normal;
  vertical-align: 4px;
}

h1.error {
  color: red;
}

h1.error + section:hover {
  background: red;
}

strong {
  display: block;
  font-weight: bold;
  font-style: inherit;
  margin: 1em;
}

section {
  padding: 1em;
}

section:hover {
  background: blue;
  color: white;
}

.timestamp,
section .locale,
section .day {
  display: block;
}

.locale::first-letter {
  text-transform: capitalize;
}

.timestamp {
  margin: 1em 0 0.1em 1em;
  font-family: 'Courier New', 'Courier', monospace;
}

section .day {
  margin: 0.5em 0;
}

section .day:first-child {
  margin-top: 0;
}

section[data-type="marine"] .day:nth-of-type(n+4) {
  display: none;
}

section .day:last-child,
section .day:last-child,
section .day:nth-of-type(3) {
  /* margin-bottom: 0; */
  padding-bottom: 0;
}

section[data-type="zone"] .day {
  padding-left: 1em;
  font-style: italic;
}

section[data-type="zone"] .day[data-name*="day" i],
section[data-type="zone"] .day[data-name*="night" i] {
  display: block;
  padding-left: initial;
  font-style: normal;
}

body[data-timestamp="PM"] section[data-type="zone"]:not([data-name*="sitka" i]) .day[data-index="3"],
body[data-after-eleven="true"] section[data-type="zone"]:not([data-name*="sitka" i]) .day[data-index="3"] {
  display: none;
}

/* Hide forecasts KCAW doesn't read */
section[data-type="zone"][data-name="kake" i] .day:not([data-name*="kake" i]):not([data-name*="day" i]):not([data-name*="night" i]),
section[data-type="zone"][data-name="yakutat town" i] .day:not([data-name*="yakutat" i]):not([data-name*="day" i]):not([data-name*="night" i]) {
  display: none;
}

section .day em {
  display: block;
  margin-bottom: 0.1rem;
  font-weight: bold;
  font-style: inherit;
}

.CLOCK {
  position: fixed;
  top: 0;
  right: 0;
  padding: 1em;
  font-weight: bold;
  -webkit-font-feature-settings: 'tnum' 1;
          font-feature-settings: 'tnum' 1;
}

/*# sourceMappingURL=main.43efcf48.css.map*/