/**
 * Frontender v0.0.1 http://frontender.emelkay.com
 * Cautiously handcrafted by Matt Kingston
 */
 
/**
 * ---------------------------------------------------
 * :: Global Reset & normalization styles
 * ---------------------------------------------------
 */

/**
 * This file is a violent concoction of reset & normalization
 * stylesheets compiled by recognised front-end developers including,
 * but not limited to, E.Meyer, E.Marcotte, M.Paige, HTML5Doctor,
 * P.Irsh, F.Atez, N.Gallagher, T.Murtaugh to name a few...
 */
/* apply a natural box layout model to all elements */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-size-adjust: none;
  font-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}
/**
 * Pretty much specify every element that would be used on a page.
 */
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,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  vertical-align: baseline;
  background: transparent;
}
/**
 * Get the HTML5 elements to render correctly
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
  margin: 0;
}
/**
 * Pulled from N.Gallaghers' normalise.css contributions
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
/**
 * Prevents modern browsers from displaying 'audio' without controls
 */
audio:not([controls]) {
  display: none;
}
/**
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
 * Known issue: no IE6 support
 */
[hidden] {
  display: none;
}
/**
 * ---------------------------------------------------
 * :: Root and important elements
 * ---------------------------------------------------
 */
html {
  height: 100%;
  font-size: 100%;
  /* stops the page contents from jumping left & right */

  overflow-y: scroll;
  overflow-x: hidden;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */

  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
/**
 * Prevent BG image flicker upon hover
 */
* > html {
  filter: expression(document.execCommand("BackgroundImageCache", false, true));
}
/*
 * Addresses margins handled incorrectly in IE6/7
 */
body {
  margin: 0;
  font-family: Helmet, Freesans, sans-serif;
  min-height: 100%;
  font-size: 0.8125em;
  line-height: 1.5385em;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
/**
 * ---------------------------------------------------
 * :: Typography
 * ---------------------------------------------------
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  line-height: inherit;
  margin: 0;
}
ins {
  text-decoration: none;
}
mark {
  font-style: italic;
  font-weight: bold;
}
address,
cite,
code,
dfn,
var {
  font-size: inherit;
  font-style: normal;
  font-weight: normal;
}
/**
 * Stock standard stuff
 * Just a little law enforcing
 */
em,
dfn {
  font-style: italic;
}
strong,
b,
th {
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  cursor: help;
}
abbr,
acronym {
  border: 0;
  font-variant: normal;
  text-transform: uppercase;
}
/**
 * Prevents sub and sup affecting line-height in all browsers
 * gist.github.com/413930
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
/**
 * If used within a tag who's calculated font size
 * is 16px - 75% of that size is 12px
 */
small {
  font-size: 75%;
  line-height: inherit;
  display: inline;
  margin: 0;
}
/**
 * Give some monospaced text style to tags who are commonly
 * associated with computer type...
 * <pre> preformatted text
 * <code> computer code
 * <kbd> keyboard input
 * <samp> sample output
 */
pre,
code,
kbd,
samp {
  font-family: Monaco, Andale Mono, Courier New, monospace;
  font-size: 1em;
  line-height: inherit;
  white-space: pre;
}
/**
 * I encourage developers to read docs on this tag - It's
 * not intended to simply output a postal address of a business
 * on a company's contact page...
 *
 * Visit: w3.org/TR/html4/struct/global.html#h-7.5.6
 */
address {
  display: block;
  margin: 0;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
/**
 * ---------------------------------------------------
 * :: Links
 * ---------------------------------------------------
 */
a:link,
a:link * {
  cursor: pointer;
}
a:focus,
a:hover,
a:active {
  outline: none !important;
  outline: 0;
}
/**
 * ---------------------------------------------------
 * :: Embedded content
 * ---------------------------------------------------
 */
/**
 * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
 * 2. Improves image quality when scaled in IE7
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */
img {
  display: inline-block;
  border: 0;
  /* 1 */

  -ms-interpolation-mode: bicubic;
  /* 2 */

  vertical-align: top;
}
/**
 * Corrects overflow displayed oddly in IE9
 */
svg:not(:root) {
  overflow: hidden;
}
/**
 * Setting and image, object & embed element to fit
 * the contraints of its parent element - makes images within 
 * p tags scale great when viewed on smaller devices
 */
img,
object,
embed,
canvas {
  max-width: 100%;
}
/**
 * ---------------------------------------------------
 * :: Lists
 * ---------------------------------------------------
 */
ul,
ol {
  margin: 0 0 1.5385em 0.9375em;
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin-bottom: 0;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li {
  margin: 0 0 0 0.9375em;
  line-height: inherit;
}
dl {
  margin-bottom: 1.5385em;
}
dl dt,
dl dd {
  line-height: inherit;
}
dl dt {
  font-weight: bold;
}
dl dd {
  margin-left: 0.9375em;
}
hr {
  display: block;
  font-size: 1px;
  line-height: 1px;
  height: 0;
  border: 0;
  border-top: 1px solid #ccc;
  color: #ccc;
  margin: 0 0 -1px 0;
  padding: 0;
}
/**
 * ---------------------------------------------------
 * :: Forms
 * ---------------------------------------------------
 */
/**
 * Corrects margin displayed oddly in IE6/7
 */
form {
  margin: 0;
}
/*
 * Define consistent border, margin, and padding
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Corrects color not being inherited in IE6/7/8/9
 * 2. Corrects text not wrapping in FF3 
 * 3. Corrects alignment displayed oddly in IE6/7
 */
legend {
  border: 0;
  /* 1 */

  padding: 0;
  white-space: normal;
  /* 2 */

  *margin-left: -7px;
  /* 3 */

}
label {
  cursor: pointer;
}
button {
  outline: none !important;
  outline: 0;
  width: auto;
  overflow: visible;
}
/**
 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
 */
button,
input {
  line-height: normal;
  *overflow: visible;
}
/**
 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
 * 2. Corrects inability to style clickable 'input' types in iOS
 * 3. Removes inner spacing in IE7 without affecting normal text inputs
 *    Known issue: inner spacing remains in IE6
 */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  cursor: pointer;
  /* 1 */

  -webkit-appearance: button;
  /* 2 */

  *overflow: visible;
  /* 3 */

}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * 1. Addresses box sizing set to content-box in IE8/9
 * 2. Removes excess padding in IE8/9
 * 3. Removes excess padding in IE7
      Known issue: excess padding remains in IE6
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  /* 1 */

  padding: 0;
  /* 2 */

  *height: 13px;
  *width: 13px;
  /* 3 */

  position: relative;
  vertical-align: middle;
  top: -2px;
  *vertical-align: baseline;
}
/**
 * 1. Addresses appearance set to searchfield in S5, Chrome
 * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */

  -webkit-box-sizing: content-box;
  /* 2 */

  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
/**
 * Removes inner padding that is displayed in S5, Chrome on OS X
 */
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Removes search cancel button in S5, Chrome on OS X
 */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
/**
 * 1. Corrects font size not being inherited in all browsers
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
 * 3. Improves appearance and consistency in all browsers
 */
input,
textarea,
select,
button {
  font-size: 100%;
  /* 1 */

  font-family: inherit;
  margin: 0;
  /* 2 */

  outline: none !important;
  outline: 0;
  vertical-align: baseline;
  *vertical-align: middle;
  /* 3 */

}
input,
textarea,
select {
  font-weight: inherit;
  *font-size: 100%;
}
/**
 * 1. Removes default vertical scrollbar in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */
textarea {
  overflow: auto;
  /* 1 */

  vertical-align: top;
  /* 2 */

}
/**
 * Colors for form validity
 */
input:invalid,
textarea:invalid {
  background-color: #f0dddd;
}
/**
 * ---------------------------------------------------
 * :: Tables
 * ---------------------------------------------------
 */
/* 
 * 1. Remove most spacing between table cells
 */
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  /* 1 */

  font-size: inherit;
  font: 100%;
}
caption,
th {
  text-align: left;
}
thead th {
  text-align: center;
}
th {
  vertical-align: bottom;
}
td {
  font-weight: normal;
  vertical-align: top;
}
