/*
	Frameless			<http://framelessgrid.com/>
	by Joni Korpi 		<http://jonikorpi.com/>
	licensed under CC0	<http://creativecommons.org/publicdomain/zero/1.0/>
*/
/*
	Margin, padding, and border resets
	except for form elements
*/
body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section {
  margin: 0;
  padding: 0;
  border: 0; }

/*
	Consistency fixes
	adopted from http://necolas.github.com/normalize.css/
*/
article, aside, details, figcaption, figure,
footer, header, hgroup, nav, section, audio, canvas, video {
  display: block; }

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%; }

body {
  min-height: 100%;
  font-size: 100%; }

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word; }

b, strong {
  font-weight: bold; }

abbr[title] {
  border-bottom: 1px dotted; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

a img, img {
  -ms-interpolation-mode: bicubic;
  border: 0; }

input, textarea, button, select {
  margin: 0;
  font-size: 100%;
  line-height: normal;
  vertical-align: baseline; }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button; }

input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box; }

textarea {
  overflow: auto; }

/*
	These are easy to forget
*/
::selection {
  background: red;
  color: white; }

::-moz-selection {
  background: red;
  color: white; }

img::selection {
  background: transparent; }

img::-moz-selection {
  background: transparent; }

body {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0.62); }

/*
	Style overrides for IE6-8
	http://jonikorpi.com/leaving-old-IE-behind/
*/
/*
	An easy way to zoom your entire layout in or out (as long as it's set in ems).
	Just change the media queries to activate them.
	Assuming your base font-size is 16:
	- the first one zooms out by a factor of (16-2)/16 = 0.875
	- the second one zooms in by a factor of (16+2)/16 = 1.125  
*/
@media screen and (max-width: 1px) {
  body {
    font-size: 0.875em; } }
@media screen and (max-width: 1px) {
  body {
    font-size: 1.125em; } }
#content {
  margin: auto 24px;
  max-width: 490px; }

#logo {
  margin: 24px; }

body {
  font-size: 100%;
  /* stop ie being lame */
  line-height: 1.125em;
  font-family: helvetica, Arial, sans-serif; }

ul {
  padding-left: 24px; }

h1, h2, h3 {
  font-weight: normal; }

h1 {
  font-size: 1.375em;
  /* 16x1.375=22px */
  line-height: 1.636em;
  /* 16x1.636=36px */
  margin: 0; }

h2 {
  font-size: 1.125em;
  /* 16x1.125=18px */
  margin: 1em 0;
  /* 18x1=18px */ }

p, ul, dd, dt, dl {
  font-size: 0.875em;
  /* 16x0.875=14px */
  margin: 1.286em 0;
  /* 14x1.286=18px */ }

li {
  font-size: 0.875em;
  /* 16x0.875=14px */ }

th, td {
  text-align: left;
  padding: 0; }

th {
  width: 7.5em;
  font-weight: bold; }

td, th {
  font-size: 0.875em;
  /* 16x0.875=14px */
  margin: 1.286em 0;
  /* 14x1.286=18px */ }

tr {
  margin: 1.286em 0;
  /* 14x1.286=18px */ }
