@charset "utf-8";

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

a {
  background: transparent;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

a:hover {
  outline: 0;
}

a:focus {
  outline: thin dotted;
}

a:active {
  outline: 0;
}

.cnblogs-markdown code,
.cnblogs-post-body code {
  background-color: transparent !important;
  border: 0 none !important;
  font-size: 16px !important;
  overflow-x: auto;
}

.cnblogs-markdown pre code,
.cnblogs-post-body pre code {
  background-color: #f8f9fa !important;
  border: 0 none !important;
  color: #333 !important;
}

.cnblogs-markdown .hljs,
.cnblogs-post-body .hljs {
  font-family: Consolas,sans-serif !important;
  font-size: 16px !important;
  padding: 24px !important;
}

.hljs-comment,.hljs-quote,.hljs-variable {
    color: #0a8
}

.hljs-comment {
  color: #969896;
  font-size: 14px;
}

.hljs-keyword,.hljs-selector-tag,.hljs-built_in,.hljs-name,.hljs-tag {
    color: #46aaff
}

.hljs-string,.hljs-title,.hljs-section,.hljs-attribute,.hljs-literal,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-addition {
    color: #ba44ff
}

.hljs-deletion,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-meta {
    color: #2b91af
}

.hljs-doctag {
    color: #808080
}

.hljs-attr {
    color: #d14
}

.hljs-symbol,.hljs-bullet,.hljs-link {
    color: #00b0e8
}

.cnblogs-markdown pre {
  position: relative;
}

.language-html::before {
  content: "html";
}

.language-css::before {
  content: "css";
}

.language-js::before,
.language-javascript::before {
  content: "js";
}

.language-html::before,
.language-css::before,
.language-js::before,
.language-javascript::before {
  color: #aaa;
  font-size: 12px;
  position: absolute;
  right: 10px;
  text-transform: uppercase;
  top: 0;
}

#cnblogs_post_body p,
#cnblogs_post_body ul,
#cnblogs_post_body ol {
  font-size: 16px;
}

#cnblogs_post_body img,
.cnblogs-post-body img {
  box-shadow: 0 0 10px rgba(0,0,0,.3);
}

#cnblogs_post_body table img,
.cnblogs-post-body table img {
  box-shadow: none;
}

#cnblogs_post_body {
  counter-reset: heading;
}

#cnblogs_post_body h3 {
  font-family: "Helvetica Neue", Helvetica, "Microsoft Yahei", "\5FAE\8F6F\96C5\9ED1", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  margin: 20px 0 0;
}

#cnblogs_post_body h3:before {
  background: #4682ea;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  color: #fff;
  content: counter(heading);
  counter-increment: heading;
  float: left;
  font: 16px/20px serif;
  height: 20px;
  margin: 10px 10px 0 0;
  text-align: center;
  width: 21px;
}

@media (min-width: 768px) {
  .code-column {
    display: flex;
    margin-bottom: 10px;
  }

  .code-column > pre {
    background-color: #f8f9fa;
    flex-basis: 50%;
  }

  .code-column > pre + pre {
    border-left: 1px solid #eee;
  }
}

/*!
 * @author xyzhanjiang
 * @email xyzhanjiang@qq.com
 * @update 2015.06.23


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

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  background: #fff;
  color: #444;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

img {
  border: 0 none;
  -ms-interpolation: bicubic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
  font-weight: 400;
  margin: 0 0 20px;
}

h1 {
  font-size: 36px;
  line-height: 40px;
}

h2 {
  font-size: 30px;
  line-height: 40px;
}

h3 {
  font-size: 24px;
  line-height: 40px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
  margin: 0;
}

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

b,
strong {
  font-weight: 700;
}

blockquote {
  margin: 1em 40px;
}

dfn {
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
}

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

p {
  margin: 0 0 20px;
}

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

code {
  border: 1px solid #444;
  border-radius: 4px;
  color: #000;
  padding: 2px 4px;
  white-space: nowrap;
}

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

q {
  quotes: none;
}

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

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

dl,
menu,
ol,
ul {
  margin: 0 0 20px;
}

ol ol,
ol ul,
ul ol,
ul ul {
  margin-bottom: 0;
}

dd {
  margin: 0 0 0 40px;
}

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

form {
  margin: 0;
}

fieldset {
  border: 0 none;
  margin: 0;
  padding: 0;
}

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

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  margin: 0;
}

button,
input {
  line-height: normal;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

button[disabled],
html input[disabled] {
  cursor: default;
}

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

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

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

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

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

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

optgroup {
  font-weight: 700;
}

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

td,
th {
  padding: 0;
}

#EntryTag {
  font-size: 12px;
}

#EntryTag a {
  background-color: #599cc7;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  line-height: 16px;
  padding: 0 2px;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
  white-space: nowrap;
}

#EntryTag a:nth-child(even) {
  background-color: #6eb056;
}

#EntryTag a:nth-child(3n+1) {
  background-color: #9086bd;
}

#divRefreshComments {
    font-size: 12px;
    margin-bottom: 5px;
    margin-right: 10px;
    text-align: right;
}

.topicListFooter {
    margin-right: 10px;
    margin-top: 10px;
    text-align: right;
}

#header {
  background: #f9f9f9;
}

#mainContent {
  border-right: 1px solid #ccc;
  margin-right: 338px;
}

#sideBar {
  border-left: 1px solid #ccc;
  border-top-width: 0;
  overflow: hidden;
  padding: 0 8px 20px 30px;
  position: absolute;
  right: 0;
  top: 120px;
  width: 300px;
}

.forFlow {
  margin: 0 50px;
}

#footer {
  text-align: center;
}

#lnkBlogLogo {
    display: none;
}

#blogTitle {
  padding: 16px;
}

#blogTitle h1 {
  font-size: 17pt;
}

#blogTitle h2 {
  color: #999;
  font-size: 10.5pt;
}

#blogTitle .title {
  display: inline-block;
  *display: inline;
  font-size: 30px;
  line-height: 30px;
  *zoom: 1;
}

#blogTitle .subtitle {
  color: #cf3e2c;
  display: inline-block;
  *display: inline;
  font-size: 14px;
  *zoom: 1;
}

#navigator {
  background: #f6f6f6;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-width: 1px;
  color: #999;
  line-height: 40px;
  padding-left: 15px;
  padding-right: 5px;
  *zoom: 1;
}

#navigator:before,
#navigator:after {
  content: " ";
  display: table;
}

#navigator:after {
  clear: both;
}

#navigator img {
  display: none;
}

.blogStats {
  color: #999;
  float: right;
  line-height: 44px;
}

#navList {
  list-style: none;
  margin: 0;
}

#navList li {
  float: left;
  font-size: 14px;
  margin-right: 40px;
}

#navList li a {
  border-top: 2px solid #f6f6f6;
  border-bottom: 2px solid #f6f6f6;
  display: block;
  text-decoration: none;
}

#navList li a:hover {
  border-bottom-color: #4581e9;
  line-height: 40px;
}

#sideBar ul {
  list-style: none;
  padding: 0;
}

#sideBar h3 {
  border-bottom: 1px solid #e3e3e3;
  font-family: "Microsoft Yahei", "\5FAE\8F6F\96C5\9ED1", sans-serif;
  font-size: 14px;
  position: relative;
  text-shadow: 2px 2px 0 #e3e3e8;
}

#sideBar h3:before {
  background-color: #4682ea;
  bottom: -12px;
  content: "\00a0";
  height: 2px;
  margin: 0 0 10px;
  position: absolute;
  width: 30px;
}

.divRecentCommentAticle {
    margin-left: 1.5em;
    text-indent: -1.5em;
}

#MyIng .ing_title {
    font-size: 14px;
    margin: 16px 0 0;
    text-align: left;
}

.catListLink li {
  border-bottom: 1px dashed #e0e0e0;
  line-height: 24px;
  margin-left: 0;
  text-indent: 1em;
}

.catListLink li a {
  border-left: 2px solid #fff;
  display: block;
}

.catListLink li a:hover {
  background-color: #f5f5f5;
  border-color: #4581e9;
}

.catListTag li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

#calendar {
    margin-top: 16px;
    text-align: center;
}

#calendar table {
  margin: 0 auto;
  width: 90%;
}

#blogCalendar {
  background-image: -webkit-linear-gradient(top, #abe5ef, #83d8e7 25%);
  background-image:         linear-gradient(to bottom, #abe5ef, #83d8e7 25%);
  border: 1px solid #d5d5d5;
  line-height: 26px;
}

#blogCalendar > tbody > tr:nth-child(n+3) {
  background: #fff;
}

#blogCalendar > tbody > tr:nth-child(-n+2) {
  color: #fff;
}

.CalNextPrev {
  width: 18px;
}

.CalNextPrev a {
  background-color: #83d8e6;
  background-image: -webkit-linear-gradient(top, #83d8e6, #b1e6f0);
  background-image:         linear-gradient(to bottom, #83d8e6, #b1e6f0);
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  height: 18px;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  width: 18px;
}

#calendar .CalOtherMonthDay {
    color: #999;
}
#sideBar .divRecentComment {
    color: #666;
    margin: 0 0 8px 8px;
}
#sideBar .recent_comment_body {
    color: #666;
    margin: 5px 0 8px 18px;
    text-indent: 0;
}
.ing_title a:link, .ing_title a:visited, .ing_title a:hover, .ing_title a:active {
    font-weight: bold;
}
div.commentform textarea {
    height: 300px;
    width: 450px;
}
.dayTitle {
    display: none;
}
.entrylistTitle, .thumbTitle, .PostListTitle, .forFlow h3 div, .galleryTitle {
    font-size: 14px;
    font-weight: 700;
    margin-top: 20px;
    text-align: left;
}
.entrylistDescription, .thumbDescription {
    margin-left: 16px;
}
.postTitle, .entrylistPosttitle, .feedback_area_title {
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-weight: 700;
    margin: 20px 0 10px;
}

.postBody {
  color: #333;
  font-size: 14px;
  line-height: 1.8;
}

.postBody h5 {
    font-size: 10pt;
}
.postCon {
    overflow: hidden;
}
.postCon a, .postBody a, .feedbackCon a {
    color: #06c;
    text-decoration: none;
}
.postCon a:hover, .postBody a:hover, .feedbackCon a:hover {
    text-decoration: underline;
}
.postDesc, .entrylistItemPostDesc {
    border-bottom: 0 dotted #999;
    color: #666;
    padding-bottom: 5px;
    text-align: right;
    vertical-align: middle;
}
.postDesc a:link, .postDesc a:active, .postDesc a:visited {
    color: #666;
    text-decoration: none;
}
.postDesc a:hover {
    text-decoration: underline;
}
.PostList {
    border-bottom: 1px dotted #ccc;
    clear: both;
    float: none;
    margin: auto;
    overflow: hidden;
    padding: 6px 0;
    text-align: right;
    width: 96%;
}
.postTitl2 {
    float: left;
}
.postText2 {
    color: #666;
    text-align: left;
}
.feedbackItem {
    border-bottom: 1px dotted #ccc;
    padding: 8px;
}
.feedbackManage {
    float: right;
}
.feedbackCon {
    color: #666;
    line-height: 1.5;
    margin-left: 1em;
}
.commentform td div span {
    margin-left: 12px;
}
.gallery img {
    margin: 8px;
}
#taglist {
    margin: 20px auto;
}
.pfl_feedback_area_title {
    font-size: 16px;
    font-weight: bold;
    margin: 16px 0;
}
.pfl_feedback_area_title a {
    color: #999;
    font-size: 12px;
    font-weight: normal;
}
.pfl_feedbacksubtitle {
    height: 30px;
}
.pfl_feedbackname, .pfl_feedbackManage {
    float: left;
    margin: 10px 20px 0 0;
}
.pfl_feedbackCon, .pfl_feedbackAnswer {
    clear: both;
    margin-left: 12px;
}
.btn_my_zzk {
    border: 0 none;
}
#sideBarMain {
    padding-left: 0;
}
#MyIng {
    padding-left: 10px;
}
div#sideBar div#side_ing_block ul li {
    margin-left: 0;
    text-indent: 0;
}
#side_ing_block {
    line-height: 180%;
}
#EntryTag {
    margin-top: 10px;
}
#blog_ad_google h3 {
    margin-bottom: 10px;
}

#digg_block a:link,
#digg_block a:visited,
#digg_block a:active,
#digg_block,
span.diggnum,
span.burynum {
  color: #015fb6;
}

.newsItem p a:link, .newsItem p a:visited {
    color: #06c;
}
.newsItem p a:hover, .newsItem p a:active {
    color: #f00;
}

.headermaintitle,
.postTitle2 {
  color: #3669c9;
  font-family: "Microsoft Yahei", "\5FAE\8F6F\96C5\9ED1", sans-serif;
  text-decoration: none;
}

.headermaintitle:hover,
.postTitle2:hover {
  color: #4581e9;
}

.headermaintitle {
  text-shadow: 0 1px 0 #fff, 0 2px 0 #ddd, 0 3px 0 #ddd, 0 4px 0 #ddd;
}

.postTitle2 {
  color: #111;
  font-size: 18px;
  line-height: 40px;
}

.input_my_zzk {
  background-color: #fff;
  border: 1px solid;
  border-color: #c1c1c1 #dcdcdc #dcdcdc;
}

.input_my_zzk:focus {
  border-color: #5193fb;
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
          box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}

.btn_my_zzk {
  background-color: #efefef;
  color: #666;
  cursor: pointer;
}

.btn_my_zzk:hover {
  background-color: #3a7ee5;
  background-image: -webkit-linear-gradient(top, #5091f9, #3a7ee5);
  background-image:         linear-gradient(to bottom, #5091f9, #3a7ee5);
  color: #fff;
}

.comment_btn {
  background-color: #b6d44d;
  background-image: -webkit-linear-gradient(top, #c5de68, #acce42);
  background-image:         linear-gradient(to bottom, #c5de68, #acce42);
  border: 0 none;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 -2px 0 #6e9916, 0 2px 2px rgba(0,0,0,.2);
          box-shadow: inset 0 -2px 0 #6e9916, 0 2px 2px rgba(0,0,0,.2);
  color: #374e03;
  cursor: pointer;
  height: 32px;
  line-height: 32px;
}

.comment_btn:hover {
  background-color: #3d8915;
  background-image: -webkit-linear-gradient(top, #419217, #398213);
  background-image:         linear-gradient(to bottom, #419217, #398213);
  color: #fff;
}

.comment_btn:active {
  background: #398013;
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
          box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}

#cnblogs_post_body {
  counter-reset: heading;
}

#cnblogs_post_body h3 {
  font-family: "Helvetica Neue", Helvetica, "Microsoft Yahei", "\5FAE\8F6F\96C5\9ED1", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  margin: 20px 0 0;
}

#cnblogs_post_body h3:before {
  background: #4682ea;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  color: #fff;
  content: counter(heading);
  counter-increment: heading;
  float: left;
  font: 16px/20px serif;
  height: 20px;
  margin: 10px 10px 0 0;
  text-align: center;
  width: 21px;
}

.tips-important {
  background: #fcf0f0;
  border-top: 2px solid #e2d0d0;
  border-bottom: 2px solid #e2d0d0;
  color: #b94a48;
  padding: 5px;
}

.cnblogs_code {
  border: none;
}

.code-comments,
.code-css-comments,
.code-js-comments {
  color: #708090;
}

.code-html-property {
  color: #690;
}

.code-css-selector,
.code-css-s {
  color: #0a8;
}

.code-css-str {
  color: #060;
}

.code-html-element {
  color: #905;
}

.code-css-property,
.code-css-p {
  color: #069;
}

.code-css-value,
.code-css-v {
  color: #f60;
}

.code-html-value {
  color: #07a;
}

.code-sass-selector {
  color: #458;
}

.code-sass-property {
  color: #900;
}

.code-sass-value {
  color: #008080;
}

.code-sass-keyword {
  color: #000;
}

.code-less-s {
  color: #458;
}

.code-less-str {
  color: #d14;
}

.code-less-p {
  color: #008080;
}

.code-js-k {
  color: #008;
}

.code-js-s {
  color: #080;
}

.cnblogs-markdown .hljs {
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  margin: 0 -50px;
  padding: 5px 50px !important;
}

.hljs-keyword,
.hljs-id,
.hljs-built_in,
.css .smalltalk .hljs-class,
.hljs-winutils,
.bash .hljs-variable,
.tex .hljs-command,
.hljs-request,
.hljs-status,
.nginx .hljs-title,
.xml .hljs-tag,
.xml .hljs-tag .hljs-value {
  color: #069;
}

.hljs-string,
.hljs-title,
.hljs-parent,
.hljs-tag .hljs-value,
.hljs-rules .hljs-value,
.ruby .hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.hljs-template_tag,
.django .hljs-variable,
.hljs-addition,
.hljs-flow,
.hljs-stream,
.apache .hljs-tag,
.hljs-date,
.tex .hljs-formula,
.coffeescript .hljs-attribute {
  color: #0a8;
}

.hljs-comment,
.hljs-annotation,
.hljs-template_comment,
.diff .hljs-header,
.hljs-chunk,
.apache .hljs-cbracket {
  color: #999;
}

.img-responsive {
  display: block;
  height: auto;
  max-width: 100%
}

@media (max-width: 480px) {
  #mainContent {
    margin-right: 0;
  }

  #sideBar {
    position: static;
    width: auto;
  }

  .forFlow {
    margin: 0 10px;
  }
}
*/
/* Markdown */
/*
#cnblogs_post_body table,
.cnblogs-post-body table {
  width: 100%;
}*/
