/*! normalize.css v2.1.0 | mit license | git.io/normalize */

/* ==========================================================================
   html5 display definitions
   ========================================================================== */

/**
 * correct `block` display not defined in ie 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * correct `inline-block` display not defined in ie 8/9.
 */

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

/**
 * prevent modern browsers from displaying `audio` without controls.
 * remove excess height in ios 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * address styling not present in ie 8/9.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   base
   ========================================================================== */

/**
 * 1. set default font family to sans-serif.
 * 2. prevent ios text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * remove default margin.
 */

body {
    margin: 0;
}

/* ==========================================================================
   links
   ========================================================================== */

/**
 * address `outline` inconsistency between chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   typography
   ========================================================================== */

/**
 * address variable `h1` font-size and margin within `section` and `article`
 * contexts in firefox 4 , safari 5, and chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/**
 * address styling not present in ie 8/9, safari 5, and chrome.
 */

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

/**
 * address style set to `bolder` in firefox 4 , safari 5, and chrome.
 */

b,
strong {
    font-weight: bold;
}

/**
 * address styling not present in safari 5 and chrome.
 */

dfn {
    font-style: italic;
}

/**
 * address differences between firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * address styling not present in ie 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * correct font family set oddly in safari 5 and chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/**
 * improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre-wrap;
}

/**
 * set consistent quote types.
 */

q {
    quotes: "\201c" "\201d" "\2018" "\2019";
}

/**
 * address inconsistent and variable font size in all browsers.
 */

small,small a{
    font-size: 1rem;
    font-weight: 300;
}

/**
 * prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   embedded content
   ========================================================================== */

/**
 * remove border when inside `a` element in ie 8/9.
 */

img {
    border: 0;
}

/**
 * correct overflow displayed oddly in ie 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   figures
   ========================================================================== */

/**
 * address margin not present in ie 8/9 and safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   forms
   ========================================================================== */

/**
 * define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. correct `color` not being inherited in ie 8/9.
 * 2. remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. correct font family not being inherited in all browsers.
 * 2. correct font size not being inherited in all browsers.
 * 3. address margins set differently in firefox 4 , safari 5, and chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}

/**
 * address firefox 4  setting `line-height` on `input` using `!important` in
 * the ua stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * address inconsistent `text-transform` inheritance for `button` and `select`.
 * all other form control elements do not inherit `text-transform` values.
 * correct `button` style inheritance in chrome, safari 5 , and ie 8 .
 * correct `select` style inheritance in firefox 4  and opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. avoid the webkit bug in android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. correct inability to style clickable `input` types in ios.
 * 3. improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

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

/**
 * re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. address box sizing set to `content-box` in ie 8/9.
 * 2. remove excess padding in ie 8/9.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. address `appearance` set to `searchfield` in safari 5 and chrome.
 * 2. address `box-sizing` set to `border-box` in safari 5 and chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * remove inner padding and search cancel button in safari 5 and chrome
 * on os x.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * remove inner padding and border in firefox 4 .
 */

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

/**
 * 1. remove default vertical scrollbar in ie 8/9.
 * 2. improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   tables
   ========================================================================== */

/**
 * remove most spacing between table cells.
 */

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