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

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

/**
 * correct `block` display not defined in ie 6/7/8/9 and firefox 3.
 */

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

/**
 * correct `inline-block` display not defined in ie 6/7/8/9 and firefox 3.
 */

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

/**
 * 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 7/8/9, firefox 3, and safari 4.
 * known issue: no ie 6 support.
 */

[hidden] {
    display: none;
}

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

/**
 * 1. correct text resizing oddly in ie 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. prevent ios text size adjust after orientation change, without disabling
 *    user zoom.
 */

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

/**
 * address `font-family` inconsistency between `textarea` and other form
 * elements.
 */

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

/**
 * address margins handled incorrectly in ie 6/7.
 */

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 font sizes and margins set differently in ie 6/7.
 * address font sizes within `section` and `article` in firefox 4 , safari 5,
 * and chrome.
 */

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

h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}

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

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

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

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

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

dfn {
    font-style: italic;
}

/**
 * address differences between firefox and other browsers.
 * known issue: no ie 6/7 normalization.
 */

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

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

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

/**
 * address margins set differently in ie 6/7.
 */

p,
pre {
    margin: 1em 0;
}

/**
 * correct font family set oddly in ie 6, safari 4/5, and chrome.
 */

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

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

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

/**
 * address css quotes not supported in ie 6/7.
 */

q {
    quotes: none;
}

/**
 * address `quotes` property not supported in safari 4.
 */

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

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

small {
    font-size: 80%;
}

/**
 * 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;
}

/* ==========================================================================
   lists
   ========================================================================== */

/**
 * address margins set differently in ie 6/7.
 */

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

/**
 * address paddings set differently in ie 6/7.
 */

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

/**
 * correct list images handled incorrectly in ie 7.
 */

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

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

/**
 * 1. remove border when inside `a` element in ie 6/7/8/9 and firefox 3.
 * 2. improve image quality when scaled in ie 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

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

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

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

/**
 * address margin not present in ie 6/7/8/9, safari 5, and opera 11.
 */

figure {
    margin: 0;
}

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

/**
 * correct margin displayed oddly in ie 6/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. correct color not being inherited in ie 6/7/8/9.
 * 2. correct text not wrapping in firefox 3.
 * 3. correct alignment displayed oddly in ie 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. correct font size not being inherited in all browsers.
 * 2. address margins set differently in ie 6/7, firefox 3 , safari 5,
 *    and chrome.
 * 3. improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * address firefox 3  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 6 .
 * 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.
 * 4. remove inner spacing in ie 7 without affecting normal text inputs.
 *    known issue: inner spacing remains in ie 6.
 */

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

/**
 * 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.
 * 3. remove excess padding in ie 7.
 *    known issue: excess padding remains in ie 6.
 */

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

/**
 * 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 3 .
 */

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

/**
 * 1. remove default vertical scrollbar in ie 6/7/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;
}