/*
 * open-data-theme / style.css - RECONSTRUCTED
 *
 * Open Data Catalogue (opengovt.org.nz/cat/), 2009.
 *
 * WHY THIS FILE EXISTS
 * The original WordPress theme "open-data-theme" was never captured by the
 * Wayback Machine - not one CSS, JS or image file, on either opengovt.org.nz
 * or the open.org.nz host the site later redirected to. This was verified with
 * host-wide CDX mimetype sweeps plus direct path probes (with an encoded
 * positive control to prove the query form works). The design is unrecoverable.
 *
 * This reconstruction is written against the selectors the restored 2009 HTML
 * actually uses: #wrapper, #header, #logo, #nav, #blurb, #content, #sidebar,
 * #footer, .post, .entry, .postmetadata, .navigation, .block, .textwidget,
 * .dl_col, .widecolumn. It injects no markup, so every archived document stays
 * byte-identical to its capture - only the presentation layer is restored.
 *
 * Period cues: fixed 960px column, Lucida/Verdana stack, restrained blue-grey
 * palette, 1px borders - conventional for a 2009 NZ government-data site.
 */

body {
  background: #eef0f2;
  color: #333;
  font: 13px/1.6 "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
}

a { color: #1a5c93; text-decoration: none; }
a:hover { text-decoration: underline; }

#wrapper {
  width: 960px;
  margin: 0 auto;
  background: #fff;
  border-left: 1px solid #d4d9de;
  border-right: 1px solid #d4d9de;
}

/* ---------- header ---------- */

#header {
  background: #2c5f86;
  border-bottom: 4px solid #1d425e;
  padding: 18px 24px 14px;
  overflow: hidden;
}

#logo h1 { font-size: 26px; font-weight: bold; letter-spacing: -0.5px; }
#logo h1 a { color: #fff; }
#logo h1 a:hover { text-decoration: none; color: #cfe2f1; }
#logo h2 {
  font-size: 12px;
  font-weight: normal;
  color: #a8c6dd;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#nav { margin-top: 12px; }
#nav ul { overflow: hidden; }
#nav li { float: left; }
#nav li:empty { display: none; }
#nav li a {
  display: block;
  color: #d8e7f2;
  padding: 4px 14px 4px 0;
  font-size: 12px;
}
#nav li a:hover { color: #fff; text-decoration: none; }

/* ---------- blurb strip ---------- */

#blurb {
  background: #f6f7f8;
  border-bottom: 1px solid #dfe3e7;
  padding: 12px 24px;
  color: #555;
  font-size: 13px;
}

/* ---------- layout ---------- */

#content {
  float: left;
  width: 620px;
  padding: 24px;
}

#wide_content, .widecolumn {
  padding: 24px;
  overflow: hidden;
}

#sidebar {
  float: right;
  width: 250px;
  padding: 24px 24px 24px 0;
  font-size: 12px;
}

#footer {
  clear: both;
  background: #f6f7f8;
  border-top: 1px solid #dfe3e7;
  padding: 16px 24px;
  color: #777;
  font-size: 11px;
}

/* ---------- posts / dataset entries ---------- */

.post { margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid #e8ebee; }
.post:last-child { border-bottom: 0; }

.post h1, .post h2 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 6px;
  font-weight: bold;
}
.post h1 a, .post h2 a { color: #1d425e; }

.entry p, .post p { margin-bottom: 12px; }
.entry ul, .entry ol { margin: 0 0 12px 22px; }
.entry ul li { list-style: disc; margin-bottom: 4px; }
.entry ol li { list-style: decimal; margin-bottom: 4px; }
.entry h3 { font-size: 15px; font-weight: bold; margin: 16px 0 8px; color: #1d425e; }
.entry blockquote {
  margin: 0 0 12px 0;
  padding: 8px 14px;
  border-left: 3px solid #c8d4dd;
  color: #555;
  background: #f8f9fa;
}
.entry code, .entry pre {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  background: #f4f5f6;
}
.entry pre { padding: 10px; overflow: auto; border: 1px solid #e4e7ea; margin-bottom: 12px; }

.postmetadata {
  font-size: 11px;
  color: #888;
  padding-top: 8px;
  border-top: 1px dotted #e0e4e8;
}
.postmetadata a { color: #4a7ba3; }

/* ---------- dataset download columns ---------- */

.dl_col {
  display: inline-block;
  vertical-align: top;
  margin: 0 14px 10px 0;
  font-size: 12px;
}
.dl_col img { vertical-align: middle; margin-right: 4px; }

/* ---------- sidebar widgets ---------- */

.block { margin-bottom: 24px; }
.block h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2c5f86;
  border-bottom: 2px solid #e2e7eb;
  padding-bottom: 5px;
  margin-bottom: 8px;
  font-weight: bold;
}
.block ul li { padding: 3px 0; border-bottom: 1px solid #f0f2f4; }
.block ul li:last-child { border-bottom: 0; }
.textwidget { color: #555; }

.tag_cloud a, .widget_tag_cloud a { line-height: 1.9; margin-right: 4px; }

/* ---------- navigation / pagination ---------- */

.navigation { overflow: hidden; padding: 10px 0; font-size: 12px; }
.alignleft { float: left; }
.alignright { float: right; }
.center { text-align: center; }

/* ---------- comment form (inert on the restored static site) ---------- */

#comments h3 { font-size: 15px; margin: 20px 0 10px; color: #1d425e; }
.formlist { margin-bottom: 10px; }
#commentform input[type="text"], #commentform textarea {
  border: 1px solid #ccd3d9;
  padding: 5px;
  font: 13px/1.5 Verdana, Arial, sans-serif;
  width: 320px;
}
#commentform textarea { width: 96%; }
.submitbutton, #submit {
  background: #2c5f86;
  color: #fff;
  border: 0;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 12px;
}

/* ---------- misc ---------- */

img { max-width: 100%; height: auto; }
.alt { background: #fafbfc; }
