/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
    font-family: XHei;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block
}

.post article {
    margin-bottom: 4em;
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

a {
    background-color: transparent
}

a:active, a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
	text-align:center
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td, th {
    padding: 0
}

::-moz-selection {
    color: #FFFFFF;
    background-color: #42b983
}

::selection {
    color: #FFFFFF;
    background-color: #42b983
}

html, body {
    width: 100%;
    height: 100%
}

body {
    margin: 0;
    color: #34495e;
    font-size: 15px;
    line-height: 1.6;
    background-color: #fff;
    font-family: 'XHei';
}

ul.nav, ul.post-list {
    margin: 0;
    list-style-type: none
}

ul {
    margin: 1rem 0;
    padding-inline-start: 0;

}

a, a:active {
    color: #2c3e50;
    text-decoration: none
}

a.nav-list-link.active, a.nav-list-link:hover, a.post-title-link:hover {
    border-bottom: 2px solid #42b983
}

hr {
    border: 0
}

code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', XHei;
    margin: 0 2px;
    padding: 3px 5px;
    color: #c13;
    border-radius: 2px;
    white-space: inherit
}

pre code {
	margin: 0;
    padding: 0px;
    color: #34495e;
}

pre {
    padding: 1em;
    margin: .5em 0;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

iframe, video {
    width: 100%;
//    height: 100%;
    margin: 1rem auto;
    display: block
}

table {
    width: 100%;
    margin: 1em auto
}

table thead {
    background-color: #ddd
}

table thead th {
    padding: 5px;
    min-width: 20px
}

table tbody tr:nth-child(2n) {
    background-color: #eee
}

table tbody td {
    padding: 5px;
    vertical-align: text-top
}

header {
    min-height: 60px
}

header .logo-link {
    float: left
}

header .nav {
    float: right;
    left: 80px
}

header .logo-link img {
    height: 60px
}

header .nav-list-item {
    display: inline-block;
    padding: 19px 30px
}

header .nav-list-item a {
    font-size: 15px;
    line-height: 1.4
}

.home.post-list {
    margin: 2em 0
}

.home.post-list .post-list-item {
    padding: 0.5em 0 2em;
    border-bottom: 1px solid #ddd
}

.home.post-list .post-list-item:last-child {
    border-bottom: 0px
}

.home.post-list .post-content h2:before, .home.post-list .post-content h3:before, .home.post-list .post-content h4:before, .home.post-list .post-content h5:before, .home.post-list .post-content h6:before {
    content: ''
}

.home.post-list .post-content > ul {
    list-style: initial
}

.home.post-list .post-content {
    margin-bottom: 10px;
}

.home.post-list .read-more {
    color: #42b983
}

.archive {
    max-width: 500px;
    margin: 5em auto
}

.archive .post-item {
    padding: 2px 0 0 50px
}

.archive .post-time, .archive .post-title-link {
    font-size: 1rem
}

.archive .post-title-link {
    display: block;
    margin-left: 125px;
    color: #42b983;
    word-break: break-all
}

.archive .post-title-link:hover {
    border-bottom: 0;
    color: #267B54
}

.archive .post-info {
    float: left;
    width: 125px;
    color: #7f8c8d
}

.post {
    padding-top: 0em
}

.post-block .post-title {
   // font-size: 40px;
    margin: 0.2em 0;
    color: #2c3e50;
	text-align:center
}

.post-block .post-info {
    color: #7f8c8d;
    font-size: small;
    //margin: 1.2em 0;
    margin-top: 0em;
    margin-right: 0px;
    margin-bottom: 2em;
    margin-left: 0px;
	text-align:center
}

.post-block .post-info span {
    margin-left: 0.5rem
}

.post-block .post-info a.post-from {
    margin-left: 0.5rem;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 12px;
    color: white;
    background-color: #E36B6B
}

.post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    position: relative;
    margin: 1em 0
}

.post-content h2:before, .post-content h3:before, .post-content h4:before, .post-content h5:before, .post-content h6:before {
    color: #42b983;
    /* position: absolute; */
    left: -0.7em;
    top: -4px;
    font-size: 1.2em;
    font-weight: bold
}

.post .post-content h3:before {
    content:"[";
    margin-right:5px;
    color:#42b983;
    font-size:20px
}
.post .post-content h3:after {
    content:"]";
    margin-left:5px;
    color:#42b983;
    font-size:20px
}

.post-content h4:before, .post-content h5:before, .post-content h6:before {
    content: ""
}

.post-content h2, .post-content h3 {
    font-size: 21px
}

.post-content h4, .post-content h5, .post-content h6 {
    font-size: 18px
}

.post-content a {
    color: #42b983;
    word-break: break-all
}

.post-content blockquote {
    margin: 2em 0;
    padding-left: 20px;
    border-left: 4px solid #42b983
}

.post-content img {
    display: block;
    max-width: 100%;
    margin: 1em auto
}

.post-content > table, .post-content > figure.highlight {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.125)
}

.post-content .tip {
    position: relative;
    margin: 2em 0;
    padding: 12px 24px 12px 30px;
    border-left: 4px solid #f66;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    background-color: #cccccc
}

.post-content .tip br {
    display: none
}

.post-content .tip:before {
    position: absolute;
    top: 14px;
    left: -12px;
    content: "!";
    width: 20px;
    height: 20px;
    border-radius: 100%;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    text-align: center;
    background-color: #f66;
    font-family: 'Dosis', 'Source Sans Pro', 'XHei', Arial, sans-serif
}

#mask {
    position: fixed;
    overflow: scroll;
    width: 100%;
    height: 100%;
    padding: 1em 0;
    background-color: rgba(111, 0, 0, 0.5);
    z-index: 10
}

#mask #mask-image {
    max-width: 95%
}

code, pre {
    font-size: 0.9em;
    background-color: #f0f0f0
}

.paginator {
    margin: 1em 0;
    margin-top: 1em;
    text-align: center;
}

.paginator .prev, .paginator .next {
    display: inline-block;
    margin: 0 4px;
    padding: 4px 12px;
    border-radius: 4px;
    border-bottom: 4px solid #3aa373;
    font-size: 14px;
    color: #fff;
    background-color: #4fc08d
}

.paginator .prev:hover, .paginator .next:hover {
    background-color: #22bd77
}

.ds-thread, #disqus_thread {
    margin-bottom: 2em
}

section.container {
    margin: 2em 10px
}

@media screen and (min-width: 700px) {
    .wrap {
        width: 700px;
        margin: 0 auto
    }

    header {
        padding: 20px 50px
    }
}

@media screen and (max-width: 700px) {
    .wrap {
        width: 100%
    }

    header {
        padding: 0px 0
    }

    header a.logo-link, header ul.nav.nav-list {
        float: none;
        display: block;
        text-align: center;
		padding-top: 10px;
    }

    header li.nav-list-item {
        padding: 5px 20px
    }

    section.container, .home.post-list, .archive {
        margin-top: 0
    }

    .archive .post-item {
        padding-left: 20px
    }

    .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
        max-width: 600px;
    }

    .ds-thread, #disqus_thread {
        margin: 2em 10px
    }
}

footer {
    padding-bottom: 1px
}

footer .copyright {
    margin: 4em 0;
    border-top: 1px solid #ddd;
    text-align: center
}

footer .copyright p, footer .copyright a {
    color: #aaa;
    font-size: 10px;
    font-weight: 100
}

footer .copyright a:hover {
    color: #888
}

@font-face {
    font-family: 'XHei';
    src: url("../typecho-theme-apollo-master/font/XHei.woff2") format("woff2");
    font-weight: normal;
    font-style: normal
}


.paginator-doc {
    margin-bottom: 20px;
    color: grey;
    font-size: 14px;
}

#instantclick-bar {
    background: #4fc08d;
}

/* https://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+php+python */
/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */

code[class*="language-"],
pre[class*="language-"] {
    color: black;
    background: none;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', XHei;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;

    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;

    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
    text-shadow: none;
    background: #b3d4fc;
}

pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
    text-shadow: none;
    background: #b3d4fc;
}

@media print {
    code[class*="language-"],
    pre[class*="language-"] {
        text-shadow: none;
    }
}

/* Code blocks */
pre[class*="language-"] {
    padding: 1em;
    margin: .5em 0;
    overflow: auto;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
    background: #f0f0f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
    padding: .1em;
    border-radius: .3em;
    white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: slategray;
}

.token.punctuation {
    color: #999;
}

.namespace {
    opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #a67f59;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #07a;
}

.token.function {
    color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
    color: #e90;
}

.token.important,
.token.bold {
    font-weight: bold;
}

.token.italic {
    font-style: italic;
}

.token.entity {
    cursor: help;
}

pre {
    position: relative;
}

code[class*="language-"]:after {
    position: absolute;
    top: 0;
    right: 1;
    color: #000;
    text-align: right;
    font-size: 0.8em;
    font-family: 'XHei';
    padding: 4.5px 6px 4.5px;
    line-height: 15px;
    height: 15px;
    font-weight: normal;
}

code.language-php:after {
    content: 'PHP  ';
}

code.language-markup:after {
    content: 'Markup';
}

code.language-vim:after {
    content: 'Vim   ';
}

code.language-clike:after {
    content: 'Clike ';
}

code.language-javascript:after {
    content: 'Js    ';
}

code.language-python:after {
    content: 'Python';
}

code.language-css:after {
    content: 'CSS  ';
}

#comments {
    margin-top: 2em;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

#comments .page-navigator {
    float: inherit;
    margin: 1rem 0 0;
    text-align: center
}

.page-navigator li {
    float: none;
    display: inline-block;
    margin: .4rem
}

.page-navigator a {
    display: block;
    padding: .4rem .6rem
}

.page-navigator .current {
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #fff;
    background-color: #fff
}

.page-navigator .current:hover {
    border: 1px solid #2479cc
}

#comments a {
    color: #aaa;
}

#comments a:hover {
    color: #42b983;
    text-decoration: none
}

.comment-list {
    margin: 0;
    padding-left: 0;
    list-style-type: none
}

.comment-at {
    padding: 0 0 10px 0
}

.comment-close {
    margin: 0 auto;
    margin-top: 10px;
    width: 90%;
    text-align: center;
    padding: 30px;
    border: 1px dashed #eee;
    border-radius: 5px;
    color: #999
}

.avatar {
    float: left;
    display: block;
    margin: 1.4rem 1rem 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd
}

.response {
    font-size: .9rem
}

.comment-num,
.response {
    color: #999;
    font-weight: 400
}

.comment-num {
    font-size: 15px;
}

.comment-main {
    overflow: hidden;
    padding: 1rem 0;
    border-bottom: 1px dotted #e0e0e0
}

.comment-main p {
    font-size: 14px;
    margin: 0
}

.cancel-comment-reply,
.comment-meta {
    margin-top: 1rem;
    color: #aaa;
    font-size: .8rem
}

.comment-meta .comment-reply,
.comment-reply {
    float: right
}

.comment-main:hover .comment-reply {
    display: block
}

.cancel-reply {
    margin-left: 10px
}

.comment-author {
    padding: .1rem .25rem;
    border-radius: .25rem;
    background: #eee;
    font-size: .7rem
}

.comment-reply a:before,
.comment-time:before {
    margin: 0.5rem
}

.comment-parent > .comment-children {
    margin-left: 1rem;
    padding-left: 40px;
    border-left: 1px dotted #e0e0e0
}

.form-control {
    box-sizing: border-box;
    margin: 6px 0;
    padding: 6px 9pt;
    width: 33%;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff
}

.form-control,
output {
    /* display: block;  */
    color: #555;
    font-size: 13px;
    line-height: 20px;
}

.form-control:focus {
    outline: 0;
    border-color: #42b983;
}

textarea.form-control {
    width: 100%;
    height: 10rem;
    resize: none
}

.submit {
    font-size: 13px;
    display: block;
    /* margin: 0 auto; */
    padding: 0 25px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #999;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    -webkit-transition-duration: .4s;
    transition-duration: .4s
}

.submit:active,
.submit:active:focus,
.submit:focus,
.submit:hover {
    outline-style: none;
    border-color: #42b983;
    color: #42b983
}

.links {
    width: 100%; /*减去padding值以后的侧栏宽度，如果你的主题侧栏padding值为0，此值即为侧栏宽度*/
    display: block;
    overflow: auto; /*这句可以兼容IE6，如果你想kill IE6，那就不要加这句*/
}

.links p {
  display: inline;
}

.links ul li {
    //float: left;
    width: 250px; /*每列宽度*/
    display: block;
}


/* response */
@media screen and (max-width: 1024px) {
    .form-control {
        width: 100%;
    }
}

