/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

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

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

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

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

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

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

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

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

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

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

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

/**
 * Address styling not present in IE 8/9.
 */

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

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

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

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

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

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

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

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

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * 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 Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

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

/**
 * Remove inner padding and border in Firefox 4+.
 */

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

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

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

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

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

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

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

/**
 * 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/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

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

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

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

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

td,
th {
  padding: 0;
}

* {
    word-wrap: break-word;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    font-family: "Segoe UI", "Lucida Grande", Helvetica,
    "Microsoft YaHei", FreeSans, Arimo, "Droid Sans",
    "wenquanyi micro hei","Hiragino Sans GB", "Hiragino Sans GB W3", Arial, sans-serif;
}

*:before, *:after {
    box-sizing: border-box;
}

html {
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
}

::-moz-selection {
    color: #fff;
    background-color: #f79292;
}

::selection {
    color: #fff;
    background-color: #f79292;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: bolder;
    font-size: 100%;
    line-height: 1.2;
    font-family: "Open Sans", "Lato", "Helvetica Neue", "Arial", serif;
}

p {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

hr {
    display: block;
    padding: 0;
    border: 0;
    height: 0;
    border-top: 1px solid #E0E0E0;
    box-sizing: content-box;
}


table {
    max-width: 100%;
    width: 100%;
}

table caption {
    padding: 5px;
    color: #333;
    background-color: #e5e5e5;
}

table th, table td {
    text-align: left;
    padding: .6em;
    vertical-align: top;
}

table thead th {
    vertical-align: bottom;
    border-bottom: 1px solid #e5e5e5;
}

table tbody + tbody {
    border-top: 2px solid #e5e5e5;
}

table .table {
    background-color: #fff;
}

.table-bordered {
    border: 1px solid #e5e5e5;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f2f2f2;
}


img {
    vertical-align: bottom;
}

figure {
    margin: 0;
}

textarea {
    vertical-align: top;
    resize: vertical;
}

a {
    color: #F03838;
    text-decoration: none;
}

a:hover {
    color: #e41111;
}

em:lang(zh) {
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    -webkit-text-emphasis: filled circle;
    -moz-text-emphasis: filled circle;
    -ms-text-emphasis: filled circle;
    text-emphasis: filled circle;
    -webkit-text-emphasis-position: under;
    -moz-text-emphasis-position: under;
    -ms-text-emphasis-position: under;
    text-emphasis-position: under;
}

strong {
    font-weight: bold;
}

code {
    padding: 2px 4px;
    margin-left: 2px;
    margin-right: 2px;
    color: #c7254e;
    white-space: nowrap;
    border-radius: 0;
}

pre {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 3px;
}

ins, mark {
    background: #ffa;
    color: #333;
}

abbr, dfn {
    font-style: normal;
    border-bottom: 1px dotted;
}

small {
    font-size: 80%;
}

address {
    font-style: normal;
}

blockquote {
    margin: 6rem 2rem;
    padding-left: 15px;
    line-height: 1.4;
    border-left: 4px solid #F03838;
}

blockquote p {
    margin: 0 0 .7em 0;
}

blockquote small,
blockquote cite {
    display: block;
    font-size: 80%;
    color: #616161;
    margin-top: .5em;
}

blockquote cite:before {
    content: '- ';
}

blockquote p:last-of-type {
    margin-bottom: 0;
}

iframe {
    border: 0;
}

#page {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

#primary {
    max-width: 770px;
    width: 100%;
    padding: 80px 10px 10px;
    margin-left: auto;
    margin-right: auto;
}

body {
    background-color: #f7f7f7;
}

body #page {
    max-width: 1170px;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
}


body {
    font-family: "Open Sans", "Lato", "Helvetica Neue", "Arial", serif;
    font-size: 1.6rem;
    color: #424242;
    line-height: 1.8;
    background-color: #fff;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .article {
        padding: 8rem 0;
    }
}

@media (max-width: 768px) {
    #primary {
        padding-top: 20px;
    }
    .article {
        padding: 2.5rem 0 !important;
    }
}
.entry .gist {
  background: #eee;
  border: 1px solid #fff;
  margin: 15px 0px;
  padding: 7px 15px;
  border-radius: 2px;
  text-shadow: 0 0 1px #fff;
  line-height: 1.6;
  overflow: auto;
  color: #666;
}
.entry .gist .gist-file {
  border: none;
  font-family: inherit;
  margin: 0;
  font-size: 0.9em;
}
.entry .gist .gist-file .gist-data {
  background: none;
  border-bottom: none;
}
.entry .gist .gist-file .gist-data pre {
  padding: 0 !important;
  font-family: font-mono;
}
.entry .gist .gist-file .gist-meta {
  background: none;
  color: color-meta;
  margin-top: 5px;
  padding: 0;
  text-shadow: 0 0 1px #fff;
  font-size: 100%;
}
.entry .gist .gist-file .gist-meta a {
  color: color-link;
}
.entry .gist .gist-file .gist-meta a:visited {
  color: color-link;
}
figure.highlight {
  background: #eee;
  border: 1px solid color-border;
  margin-top: 15px;
  padding: 7px 15px;
  border-radius: 2px;
  text-shadow: 0 0 1px #fff;
  line-height: 1.6;
  overflow: auto;
  position: relative;
  font-size: 0.9em;
}
figure.highlight figcaption {
  color: color-meta;
  margin-bottom: 5px;
  text-shadow: 0 0 1px #fff;
}
figure.highlight figcaption a {
  position: absolute;
  right: 15px;
}
figure.highlight pre {
  border: none;
  padding: 0;
  margin: 0;
}
figure.highlight table {
  margin-top: 0;
  border-spacing: 0;
}
figure.highlight .gutter {
  color: color-meta;
  padding-right: 15px;
  border-right: 1px solid color-border;
  text-align: right;
}
figure.highlight .code {
  padding-left: 15px;
  border-left: 1px solid #fff;
  color: #666;
}
figure.highlight .line {
  height: 20px;
}
pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .pi,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}
pre .keyword,
pre .winutils,
pre .method,
pre .addition,
pre .css .tag,
pre .request,
pre .status,
pre .nginx .title {
  color: #859900;
}
pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}
pre .title,
pre .localvars,
pre .chunk,
pre .decorator,
pre .built_in,
pre .identifier,
pre .vhdl,
pre .literal,
pre .id {
  color: #268bd2;
}
pre .attribute,
pre .variable,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .type {
  color: #b58900;
}
pre .preprocessor,
pre .preprocessor .keyword,
pre .shebang,
pre .symbol,
pre .symbol .string,
pre .diff .change,
pre .special,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata,
pre .clojure .title {
  color: #cb4b16;
}
pre .deletion {
  color: #dc322f;
}
.gutter {
  width: 50px;
}
.pull-left {
    float: left;
}

.pull-right {
    float: right;
}
.site-branding {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    font-family: "Open Sans", arial, sans-serif;
    letter-spacing: 0.1em;
}

.site-branding .site-title {
    margin: 0;
    font-size: 1.4rem;
}

.site-branding .site-description {
    color: #9e9e9e;
    font-size: 1.3rem;
    margin: 1rem 0 0;
}

.site-branding a {
    display: inline-block;
    color: #fff !important;
    font-weight: bolder;
    background-color: #F03838;
    line-height: 3rem;
    height: 3rem;
    padding: 0 1rem;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.site-branding a:hover {
    color: #fff !important;
    padding: 0 1.5rem;
}

.main-navigation {
    text-align: center;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.6rem;
}

.main-navigation ul li {
    display: inline-block;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.main-navigation ul a {
    display: block;
    color: #F03838;
    font-size: 1.6rem;
    line-height: 2rem;
    padding: 0 1rem;
}


.site-footer {
    position: relative;
    text-align: center;
    padding-top: 1rem;
    color: #9e9e9e;
}

.site-footer .site-info {
    color: #9e9e9e;
    font-size: 1.3rem;
    margin: 0.5rem 0;
}
.archive-post {
    text-align: left;
    margin: 2em auto;
}

.archive-post .archive-title {
    font-size: 1.8em;
    line-height: 1;
}

.archive-post time {
    font-style: italic;
}

.archive-post time a {
    color: #9e9e9e;
}

.archive-post a:hover {
    color: #F03838;
}

.archive-post time a:before {
    content: '#';
}

.archive-title {
    position: relative;
    color: #212121;
    font-size: 2.4rem;
    line-height: 1.3;
    margin: 0;
}

.archive-title a {
    color: black;
}

.archive-title a:hover {
    color: #212121;
}

.archive-title a:hover span {
    box-shadow: inset 0 -2px 0 rgba(240, 56, 56, 0.4);
}

.archive-title a span {
    padding-bottom: 3px;
    -webkit-transition: 150ms;
    transition: 150ms;
    box-shadow: inset 0 -2px 0 rgba(240, 56, 56, 0);
}
.article {
    position: relative;
}

.article:not(:first-child):before {
    content: '';
    width: 150px;
    height: 1px;
    background-color: #e0e0e0;
    position: absolute;
    top: 0;
    left: calc(50% - 75px);
}

.article-title {
    position: relative;
    color: #212121;
    font-size: 2.4rem;
    line-height: 1.3;
    text-align: center;
    margin: 0;
    padding: 0 2rem;
}

.article-title a {
    display: block;
    color: #212121;
}

.article-title a:hover {
    color: #212121;
}

.article-title a:hover span {
    box-shadow: inset 0 -2px 0 rgba(240, 56, 56, 0.4);
}

.article-title a span {
    padding-bottom: 3px;
    -webkit-transition: 150ms;
    transition: 150ms;
    box-shadow: inset 0 -2px 0 rgba(240, 56, 56, 0);
}

.article-top-meta {
    position: relative;
    color: #9e9e9e;
    font-size: 1.3rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.article-top-meta > span {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.article-top-meta a {
    color: #9e9e9e;
}

.article-top-meta a:hover {
    color: #F03838;
}

.article-top-meta .post-edit-link {
    color: #F03838;
}

.article-top-meta .post-edit-link:hover {
    color: #e41111;
}

.article-top-meta time {
    font-style: italic;
}

.article-excerpt {
    margin: 4rem 0;
    font-size: 1.6rem;
    color: #616161;
}

.article-footer:before, .article-footer:after {
    content: " ";
    display: table;
}

.article-footer:after {
    clear: both;
}

.article-meta {
    font-size: 1.3rem;
    color: #9e9e9e;
}

.article-meta > span:not(:last-child) {
    margin-right: 3rem;
}

.article-meta > span {
    display: inline-block;
}

.article-meta > span > span {
    line-height: 1;
    vertical-align: middle;
}

.article-meta a {
    color: #9e9e9e;
}

.article-meta a:hover {
    color: #F03838;
}

.article-meta i {
    vertical-align: middle;
    color: #9e9e9e;
    margin-right: .5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.link-url {
    color: #616161;
    font-size: 75%;
    font-style: italic;
    font-weight: normal;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.sticky-mark {
    position: absolute;
    right: 0;
    top: .1em;
    display: block;
    width: 12px;
    height: 11px;
    background-color: #F03838;
}

.sticky-mark:before {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 0;
    border-color: #F03838 transparent transparent transparent;
}

.sticky-mark:after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 6px 0;
    border-color: transparent #F03838 transparent transparent;
}

.page-links {
    position: relative;
    text-align: center;
}

.page-links .page-links-title {
    margin-right: 5px;
}

.page-links a {
    margin-left: 5px;
    margin-right: 5px;
}

.posts-loop .article.format-quote .article-content > blockquote:first-child {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    color: #212121;
    font-size: 2.4rem;
    border-left: 0;
}

.posts-loop .article.format-quote .article-content > blockquote:first-child cite {
    font-size: 1.3rem;
}

.posts-loop .article.format-quote .article-content > blockquote:first-child cite:before {
    content: '- ';
}

.post-tags a {
    position: relative;
}

.post-tags a:before {
    content: '#';
}

.post-tags a:not(:last-of-type):after {
    padding-right: 5px;
}

.tags-list {
    text-align: center;
}

.tags-list a {
    display: inline-block;
    color: #616161;
    padding: 5px;
    margin: 5px 10px;
}

.tags-list a:before {
    content: '#';
}

.tags-list a:hover {
    color: #e41111;
}
.icon-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.icon-comments {
    display: inline-block;
    width: 18px;
    height: 19px;
    background: url(../../images/icon-bubble.svg) center top no-repeat;
    background-size: 18px 18px;
}

.icon-tags {
    display: inline-block;
    width: 19px;
    height: 16px;
    background: url(../../images/icon-tags.svg) center center no-repeat;
    background-size: 19px 16px;
}

.icon-categories {
    display: inline-block;
    width: 19px;
    height: 16px;
    background: url(../../images/icon-categories.svg) center center no-repeat;
    icon-categories: 19px 16px;
}
.pagination {
    position: relative;
    margin: 30px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: space-around;
    -ms-flex-pack: space-around;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.comment-navigation {
    position: relative;
    margin: 30px 0;
}

.comment-navigation:before, .comment-navigation:after {
    content: " ";
    display: table;
}

.comment-navigation:after {
    clear: both;
}

.comment-navigation .nav-previous {
    float: left;
    width: 50%;
    text-align: left;
}

.comment-navigation .nav-next {
    float: right;
    width: 50%;
    text-align: right;
}

.comment-navigation a {
    display: inline-block;
}

.comment-navigation a,
.pagination-prev,
.pagination-next {
    border: 1px solid #e0e0e0;
    line-height: 30px;
    height: 32px;
    padding: 0 20px;
    border-radius: 16px;
    -webkit-transition-duration: 400ms;
    transition-duration: 400ms;
}

.comment-navigation a:hover,
.pagination-prev:hover,
.pagination-next:hover {
    color: #fff;
    background-color: #F03838;
    border-color: #F03838;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-media {
    margin-bottom: 1.5rem;
}

.featured-media img {
    width: 100%;
    height: auto;
}
