@font-face {
    font-family: 'Miso-webfont';
    src: url('miso-regular-webfont.eot');
    src: url('miso-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('miso-regular-webfont.woff') format('woff'),
         url('miso-regular-webfont.ttf') format('truetype'),
         url('miso-regular-webfont.svg#Miso-webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  background-color: #fff;
  color: #222;
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 18px;  
  line-height: 1.4em;
  text-align: center;
  margin-top: 5em;
}

.container {
  width: 40em;
  margin: 0 auto;
}

h1 {
  font-family: 'Miso-webfont', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 4em;
  margin-bottom: 0.7em;
}

p {
  margin-bottom: 1em;
}

form {
  margin: 2em 0 2em;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

a, a:visited {
  color: #222;
  text-decoration: none;
  border-bottom: 1px dotted #222;
}

a.red:hover, .footer a.red:hover {
  color: #f00;
  border-bottom: 0;
}

a.blue:hover, .footer a.blue:hover {
  color: #0cf;
  border-bottom: 0;
}

a.pink:hover, .footer a.pink:hover {
  color: #f09;
  border-bottom: 0;
}

.textbox {
  background-color: #222;
  width: 2em;
  padding: 0.2em 0 0.3em;
  margin-right: 0.4em;
  font-family: 'Miso-webfont', Helvetica, Arial, sans-serif;
  font-size: 2em;
  color: #fff;
  border: 0;
  -webkit-appearance: none;
  -webkit-border-radius:0;
  text-align: center;
}

.textbox:hover {
  background-color: #666;
}

.formtext {
  font-family: 'Miso-webfont', Helvetica, Arial, sans-serif;
  font-size: 2em;
  margin-right: 0.4em;
}

.check_dotgrid {
  display: none;
}

.check_dotgrid_label {
  background: #eee;
  width: 1em;
  padding: 0.2em 0.5em 0.3em;
  margin-right: 0.4em;
  font-family: 'Miso-webfont', Helvetica, Arial, sans-serif;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
}

.check_dotgrid_label:hover {
  background: #aaa;
}

.check_dotgrid:checked + .check_dotgrid_label {
  background: #3d3;
  color: #fff;
}

.check_dotgrid:checked + .check_dotgrid_label:hover {
  background: #3f3;
}

.button {
  background-color: #0cf;
  padding: 0.2em 1em 0.3em;
  border: 0;
  font-family: 'Miso-webfont', Helvetica, Arial, sans-serif;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-border-radius:0
}

.button:hover {
  background-color: #f09;
}

.footer {
  margin: 0 5em;
}

.footer, .footer a, .footer a:visited {
  color: #aaa;
}