/*Ye olde catch-all*/
html,
body,
div,
h1,h2,h3,h4,h5,h6,
a,
abbr,
address,
article,
aside,
audio,
b,
blockquote,
caption,
cite,
code,
dd,
del,
details,
dfn,
dl,
dt,
em,
fieldset,
figcaption,
figure,
footer,
form,
header,
hgroup,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
p,
pre,
q,
samp,
section,
small,
span,
strong,
sub,
sup,
table,
thead,
tbody,
tfoot,
tr,
th,
td,
time,
ul,
var,
video {
  background: transparent;
  border: 0;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

/*HTML 5 block elements*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {display: block;}

audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/*Prevent audio element without controls from showing*/
audio:not([controls]) {
  display: none;
}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before,
blockquote:after,
q:before,
q:after {content: ''; content: none;}

del {text-decoration: line-through;}

acronym[title],
abbr[title],
dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well,
actually) */
  word-wrap: break-word; /* IE */
}

/* Hand cursor on clickable elements */
button,
label,
input[type="button"],
input[type="file"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
}

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

/* Make sure the input fields all have the same size and border */
input[type="text"],
input[type="password"],
input[type="search"],
textarea { width: 140px; height: 16px; border: 1px solid #aaa; padding: 0; }

textarea {height: 40px; resize: none; overflow-y: scroll;}
select {width: 146px;}


/* Make the searchbar less special in webkit */
input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {font-size: inherit; font: 100%;}

/* Accessible focus treatment
  people.opera.com/patrickl/experiments/keyboard/test */
a:focus {outline: thin dotted;}
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;}

/* Make sure sup and sub don't screw with your line-heights
  gist.github.com/413930 */
sub, sup {font-size: 0.75em; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre,
code,
kbd,
samp {font-family: 'Monaco', 'Andale Mono', 'Courier New', monospace, sans-serif;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button,
input,
select,
textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {
  filter: expression(document.execCommand("BackgroundImageCache",false,true));
}

/* 62.5% default size so that 1.2 em = 12px etc */
/*html {font: 62.5% "Lucida Grande", Tahoma, Verdana, Arial, Helmet, Freesans, sans-serif;}*/
html {font: 62.5% "Helvetica Neue", "Helvetica", "Arial", "Freesans", sans-serif;}


body {font-size: 1.2em;}

/* dark grey text rather than fully black*/
body, select, input, textarea {color: #333;}

a {color: #03f;}

/* Don't do focus styling on links that go nowhere (for JavaScript) */
a[href=""]:focus {outline: none; background: none;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection {
  background: #9bb6bd;
  background: hsl(192,18%,74%);
  background: hsla(192,18%,74%,0.75);
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #9bb6bd;
  background: hsl(192,18%,74%);
  background: hsla(192,18%,74%,0.75);
  color: #fff;
  text-shadow: none;
}

/* Make selection in inactive window grey (webkit only) */
::selection:window-inactive {
  background: #acb9bd;
  background: hsl(194,9%,74%);
  background: hsla(194,9%,74%,0.75);
  color: #fff;
  text-shadow: none;
}

/*  j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;}

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}
