/*------------------------------------------------------------------
[ Reset ]
-------------------------------------------------------------------*/

/** 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 ]
-------------------------------------------------------------------*/
*										{ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

html                                    { font-size: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body                                    { margin: 0 }

button,
input,
select,
textarea                                { font-family: inherit; }


/*------------------------------------------------------------------
[ 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 0 0.67em; }

h2                                      { font-size: 1.5em; margin: 0 0 0.83em; }

h3                                      { font-size: 1.17em; margin: 0 0 1em; }

h4                                      { font-size: 1em; margin: 0 0 1.33em; }

h5                                      { font-size: 0.83em; margin: 0 0 1.67em; }

h6                                      { font-size: 0.67em; margin: 0 0 2.33em; }

/** 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:0 40px 1em }

/** 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: 0 0 1em }

/** 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: 0 0 1em}

dd                                      { margin: 0 0 0 40px }

/** Address paddings set differently in IE 6/7. **/
menu,
ol,
ul                                      { padding: 0 }

/** Correct list images handled incorrectly in IE 7. **/
nav ul,
nav ol                                  { list-style: none; list-style-image: none; }

/*------------------------------------------------------------------
[ Embedded content ]
-------------------------------------------------------------------*/

/** Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. Improve image quality when scaled in IE 7. **/
img                                     { border: 0; -ms-interpolation-mode: bicubic; }

/** 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; }

/** Correct color not being inherited in IE 6/7/8/9. Correct text not wrapping in Firefox 3. Correct alignment displayed oddly in IE 6/7. **/
legend                                  { border: 0; padding: 0; white-space: normal; *margin-left: -7px; }

/** Correct font size not being inherited in all browsers. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, and Chrome. Improve appearance and consistency in all browsers. **/
button,
input,
select,
textarea                                { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/** Address Firefox 3+ setting `line-height` on `input` using `!important` in the UA stylesheet. **/
button,
input                                   { line-height: normal }

button,
select                                  { text-transform: none }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"]                    { -webkit-appearance: button; cursor: pointer; *overflow: visible; }

/** Re-set default cursor for disabled elements. **/
button[disabled],
html input[disabled]                    { cursor: default }

input[type="checkbox"],
input[type="radio"]                     { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; }


input[type="search"]                    { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; 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; }

/** Remove default vertical scrollbar in IE 6/7/8/9. Improve readability and alignment in all browsers. **/
textarea                                { overflow: auto; vertical-align: top; }

/*------------------------------------------------------------------
[ Tables ]
-------------------------------------------------------------------*/

/** Remove most spacing between table cells. **/
table                                   { border-collapse: collapse; border-spacing: 0; }