

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 *
 * 淇鍦� IE 8/9 涓湭瀹氫箟鐨� 'inline-block' 鍏冪礌銆�
 */

audio,
canvas,
video {
    display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 *
 * 闃绘鐜板湪娴忚鍣ㄦ樉绀烘湭瀹氫箟 control 鎾斁鎺т欢鐨� 'audio' 澹伴煶鍏冪礌銆�
 * 鍒犻櫎 IOS 5 璁惧涓樉绀虹殑澶氫綑鐨勯珮搴︺€�
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 *
 * 澶勭悊 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.
 *
 * 1. 璁剧疆榛樿瀛椾綋绫诲瀷涓� sans-serif.
 * 2. 褰撶敤鎴锋斁澶ф垨缂╁皬椤甸潰鏃朵笉鏀瑰彉瀛椾綋澶у皬銆�
 */

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 *
 * 鍒犻櫎榛樿杈硅窛銆�
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links

   閾炬帴
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 *
 * 澶勭悊 Chrome 涓庡叾瀹冩祻瑙堝櫒涓叧浜� 'outline' 鐨勪笉涓€鑷存€с€�
 */

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' 瀛椾綋澶у皬鍙婂叾鍦� Firefox 4+, Safari 5, 鍙� Chrome鏃舵祻瑙堝櫒涓殑 
 * 'section' 涓庛€€'article' 鍏冪礌涓殑杈硅窛銆�
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 *
 * 澶勭悊鍦� IE 8/9, Safari 5, 鍙� Chrome 娌℃湁鐨勬牱寮忋€�
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 *
 * 澶勭悊 Firefox 4+, Safari 5, 鍙� Chrome 涓粯璁ょ殑 'bolder' 鏍峰紡涓恒€€'bold'.
 */

b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 *
 * 澶勭悊鍦� Safari 5 鍜� Chrome 娌℃湁鐨勬牱寮忋€�
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 *
 * 澶勭悊銆€Firefox銆€涓庡叾瀹冩祻瑙堝櫒鐨勫樊寮傘€�
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 *
 * 澶勭悊鍦� IE 8/9 涓病鏈夌殑鏍峰紡銆�
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 *
 * 淇纭� Safari 5 鍜� 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 {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 *
 * 闃绘鎵€鏈夋祻瑙堝櫒涓� 'sub' 鍜� 'sup' 鍏冪礌褰卞搷 'line-height'. 
 * [璇戣€呮敞锛氬氨鏄笉璁╀笂鏍囦笌涓嬫爣褰卞搷琛岄珮銆俔
 */

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.
 *
 * 鍒犻櫎 IE 8/9 涓綋鍐呭浣嶄簬 'a' 涓嚭鐜扮殑杈规銆�
 */

img {
    border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 *
 * 淇 IE 9 涓樉绀哄彜鎬殑婧㈠嚭鍐呭銆�
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures

   Figure 鍥惧儚/鍥捐〃/浠ｇ爜绛�
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 *
 * 澶勭悊鍦� IE 8/9 鍜� 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.
 * 1. 淇鍦ㄣ€€IE 8/9 涓病鏈夌户鎵跨殑 'color'. 
 *
 *    [璇戣€呮敞锛氳鏄慨姝ｉ鑹插槢锛屽彲涓嬮潰娌℃湁鍏充簬棰滆壊鐨勫憖锛岃繖涔熻锛熸眰澶х瑙ｉ噴锛乚
 * 2. 鍘绘帀鍐呰竟璺濓紝閬垮厤褰撶敤鎴锋竻绌鸿〃鍗曠粍鏃惰涓哄嚭閿欎簡銆�
 */

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.
 *
 * 1. 淇鎵€鏈夋祻瑙堝櫒涓湭琚户鎵跨殑瀛椾綋绫诲瀷銆�
 * 2. 淇鎵€鏈夋祻瑙堝櫒涓湭琚户鎵跨殑瀛椾綋澶у皬銆�
 * 3. 澶勭悊 Firefox 4+, Safari 5, 鍙� 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.
 *
 * 澶勭悊 Firefox 4+ 涓殑瀹㈡埛绔牱寮忚〃閲屼娇鐢� '!important' 璁剧疆鐨� 'line-height'.
 */

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' 缁ф壙鐨勪笉涓€鑷存€с€�
 * 鎵€鏈夊叾瀹冭〃鍗曟帶浠跺厓绱犱笉缁ф壙 'text-transform' 鐨勫€笺€�
 * 淇 Chrome, Safari 5+, 鍙� IE 8+ 涓� 'button' 鐨勭户鎵挎牱寮忋€�
 * 淇 Firefox 4+ 鍜� Opera 涓� 'select' 鐨勭户鎵挎牱寮忋€�
 */

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.
 *
 * 1. 閬垮厤 Android 4.0.* 涓� WebKit 鐨勪竴涓猙ug, 闃叉 'audio' 涓� 'video' 鐨勬挱鏀炬帶浠跺け鏁堛€�
 * 2. 淇 iOS 涓笉鍙偣鍑荤殑 'input' 鏍峰紡銆�
 * 3. 鏀瑰杽鍥剧墖绫诲瀷鐨� 'input' 绛夊厜鏍囨牱寮忕殑鍙敤鎬т笌涓€鑷存€с€�
 */

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.
 *
 * 1. 澶勭悊 IE 8/9 涓缃负 'content-box' 鐨勭洅瀛愭ā鍨嬨€�
 * 2. 鍒犻櫎 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).
 *
 * 1. 澶勭悊 Safari 5 鍜� Chrome 涓粯璁よ缃负 'appearance' 鐨� 'searchfield'.
 * 2. 澶勭悊 Safari 5 鍜� Chrome 涓粯璁よ缃负 'box-sizing' 鐨� 'border-box'
 *    (鍖呮嫭涓嶄細杩囨椂鐨� '-moz').
 */

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.
 *
 * 鍒犻櫎 Safari 5 鍜� OS X 涓婄殑 Chrome 涓殑杈撳叆妗嗕笂鐨勫唴杈硅窛鍜屾悳绱㈠彇娑堟寜閽€�
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 *
 * 鍒犻櫎 Firefox 4+ button 涓� input 涓婄殑鍐呰竟璺濄€�
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}



textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables

   琛ㄦ牸
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 *
 * 鍒犻櫎琛ㄦ牸閲屽崟鍏冩牸闂寸殑闂磋窛銆�
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}