/* common */
body {
  margin: 0;
  font: 14px/1.5 Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
}
ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a:link,
a:visited {
  text-decoration: none;
  color: #639bf1;
}
a:hover {
  text-decoration: underline;
  color: #639bf1;
}
kbd {
  display: inline-block;
  padding: 4px 6px;
  font: 11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
  line-height: 10px;
  vertical-align: middle;
  background-color: #f6f8fa;
  border: solid 1px rgba(174,185,193,.2);
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 rgba(174,185,193,.2);
}
#blogTitle,
#navigator,
#main {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/*导航*/
#header {
  width: 100%;
  background: #073984 url(https://images.cnblogs.com/cnblogs_com/nzbin/946334/o_blog-bg.png);
  height: 150px;
}
#blogTitle {
  display: none;
}
#Header1_HeaderTitle {
  color: #fff;
}
#Header1_HeaderTitle:hover {
  text-decoration: none;
}
#navigator {
  top: 55px;
  line-height: 45px;
  z-index: 3;
}
#navList {
  float: left;
  margin: 0 0 0 22px;
}
#navList li {
  float: left;
  margin-right: 25px;
}
#navList li a {
  position: relative;
  display: block;
  font-size: 16px;
  color: #fff;
  padding: 10px;
  transition: all 0.3s;
  line-height: 25px;
}
#navList li a:hover {
  text-decoration: none;
  color: #fff;
  opacity: 1;
}
.blogStats {
  display: none;
  color: #fff;
  font-size: 12px;
  text-align: right;
  float: right;
  margin-right: 22px;
}

/*主体*/
#mainContent {
  background: #fff;
  margin-right: 250px;
}
#sideBar {
  position: absolute;
  top: 20px;
  right: 0;
  width: 250px;
  color: #2d2d2d;
  background-color: #fff;
}
#sideBar a {
  white-space: nowrap;
}
#sideBarMain {
  padding: 0 16px 16px;
}
#blog-calendar {
  margin: 25px 0;
}
#sideBarMain h3 {
  font-weight: 700;
  margin: 15px 0;
  padding-bottom: 10px;
  color: #333;
  border-bottom: 1px dashed #d4d4d4;
}
#AjaxHolder_UpdatePanel1,
#blog-comments-placeholder,
#divRefreshComments {
  padding: 0 30px;
}
.commentform {
  padding: 0 30px 30px;
}
.post {
  padding: 50px;
  line-height: 1.8;
}
.blogpost-body {
  font-size: 16px;
}
.postBody blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 1px 20px;
  color: #666;
  background: #f4ffef;
  border: none;
  border-left: #d6e9c6 5px solid;
}
.PostList,
.entrylistItem {
  padding: 30px;
}
.PostListTitle,
.entrylistTitle {
  display: none;
}
.entrylistPosttitle,
.postTitl2,
.postTitle {
  font-size: 28px;
  font-weight: normal;
  margin: 0;
}
.entrylistPosttitle a,
.postTitl2 a,
.postTitle a {
  color: #333;
}
.entrylistPosttitle a:link,
.entrylistPosttitle a:visited,
.post-title a:visited,
.postTitl2 a:link,
.postTitl2 a:visited,
.postTitle a:link {
  color: #000;
}
.entrylistPosttitle a:hover,
.postTitl2 a:hover,
.postTitle a:hover {
  color: #39f;
  text-decoration: none;
}
.entrylistPostSummary,
.postBody,
.postCon {
  clear: both;
  margin-top: 26px;
}
.entrylistItemPostDesc,
.postDesc,
.postDesc2 {
  border-bottom: 1px dashed #e8e7d0;
  text-align: right;
  margin: 20px 0;
  padding: 5px 0;
}
.day {
  padding: 30px;
}
.dayTitle,
.postDesc {
  font-size: 12px;
  color: #999;
}
.dayTitle {
  position: relative;
  top: -20px;
  display: none;
  border: 1px solid #ddd;
  background: #f1f1f1;
}
.dayTitle a {
  color: #333;
}
.topicListFooter {
  padding: 30px;
}
.recent_comment_title,
#TopViewPostsBlock li,
#TopFeedbackPostsBlock li,
#TopDiggPostsBlock li {
  overflow: hidden;
  text-overflow: ellipsis;
}
#footer {
  padding: 10px 0 10px 0;
  color: #b1b1b1;
  font-size: 12px;
  text-align: center;
}

/*文章内容*/
#cnblogs_post_body p {
  margin: 25px 0;
}
#cnblogs_post_body img {
  display: block;
  margin: 0 auto;
}
#cnblogs_post_body blockquote p {
  margin: 10px 0;
}
#cnblogs_post_body h1 {
  font-size: 32px;
  margin: 25px 0;
}
#cnblogs_post_body h2 {
  font-size: 26px;
  margin: 25px 0;
}
#cnblogs_post_body h3 {
  font-size: 20px;
  margin: 25px 0;
}
#cnblogs_post_body h4 {
  font-size: 16px;
  margin: 25px 0;
}
#cnblogs_post_body h5 {
  font-size: 14px;
  margin: 25px 0;
}
#cnblogs_post_body h6 {
  font-size: 12px;
  margin: 25px 0;
}
#cnblogs_post_body ul,
#cnblogs_post_body ol {
  margin: 16px 0;
  padding: 0;
  line-height: 2;
}
#cnblogs_post_body > ul li,
#cnblogs_post_body > ol li {
  list-style-type: disc;
  max-width: 85%;
  margin: 0 auto;
}
#cnblogs_post_body .author_avatar img {
  margin: 0 5px 0 0;
}
#cnblogs_post_body .article-series {
  background: #f4ffef;
  padding: 1rem 2rem;
  counter-reset: article-series-counter;
}
#cnblogs_post_body .article-series > ol {
  list-style: none;
  margin: 0;
}
#cnblogs_post_body .article-series > ol li {
  counter-increment: article-series-counter;
  list-style: none;
}
#cnblogs_post_body .article-series > ol li::before {
  content: 'Part ' counter(article-series-counter) ':';
}
#cnblogs_post_body table {
  word-break: initial;
  width: 100%;
  max-width: 100%;
}
#cnblogs_post_body table th,
#cnblogs_post_body table td {
  border: 2px solid white;
  padding: 0.5rem 1rem;
}
#cnblogs_post_body table th {
  text-align: left;
  background: #333334;
  color: white;
}
#cnblogs_post_body table tr:nth-child(2n) {
  background: #f4f0e5;
}
#cnblogs_post_body table tr:nth-child(2n + 1) {
  background: #f8f6f6;
}
.overflow-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cnblogs_code {
  border-radius: 3px;
  margin: 25px 0;
}
.cnblogs_code img {
  margin: 0;
  float: left;
}
.cnblogs_code_toolbar {
  margin-top: 0;
}
.code {
  padding: 0 10px;
}
.topicListFooter {
  margin-top: 0;
  margin-right: 0;
}

/*侧边栏搜索框*/
.div_my_zzk {
  position: relative;
  margin-top: 10px;
  width: 162px;
  height: 30px;
}
#widget_my_zzk .btn_my_zzk {
  background: url(../../skins/SimpleMemory/images/blog_search.png) no-repeat 5px 5px;
}
#widget_my_google .btn_my_zzk {
  background: url(../../skins/SimpleMemory/images/google_search.png) no-repeat 5px 5px;
}
.input_my_zzk {
  padding-right: 30px;
  padding-left: 5px;
  width: 100%;
  height: 25px;
  outline: 0;
  border: 1px solid #ccc;
}
.btn_my_zzk {
  position: absolute;
  top: 1px;
  right: -35px;
  width: 25px;
  height: 25px;
  border: 0;
  border-style: none;
  color: transparent;
  font-size: 12px;
  cursor: pointer;
}
.input_my_zzk:hover {
  border: 1px solid #0063a6;
  transition: all 0.4s linear 0s;
}
.input_my_zzk:focus {
  border: 1px solid #0063a6;
}

/*评论框*/
.feedbackItem {
  padding: 5px;
  margin-bottom: 10px;
}
.blog_comment_body {
  color: #929292;
  padding-top: 10px;
}
#myposts .myposts_title {
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
}
#myposts .postTitl2 {
  border-left: none;
  padding-left: 0;
  padding-right: 0;
}
#myposts .postTitl2 a {
  font-size: 16px;
}
#myposts .postDesc2 {
  margin: 20px 0 20px 5px;
}
.author_avatar {
  margin-right: 15px;
}
#BlogPostCategory {
  display: none;
}

/*评论列表*/
.feedback_area_title {
  margin: 10px 0 30px;
  border-bottom: 1px solid #ddd;
  font: normal normal 16px/35px 'Microsoft YaHei';
}
.louzhu {
  padding-right: 16px;
  background: transparent url(/images/icoLouZhu.gif) no-repeat scroll right top;
}
.feedbackListSubtitle {
  color: #a8a8a8;
}
.feedbackListSubtitle a:active,
.feedbackListSubtitle a:link,
.feedbackListSubtitle a:visited {
  color: #0063a6;
  font-weight: 700;
}
.feedbackListSubtitle a:hover {
  color: #0063a6;
  text-decoration: underline;
}
.feedbackListSubtitle b {
  color: #0063a6;
}
.feedbackManage {
  float: right;
  width: 200px;
  text-align: right;
}
.feedbackCon {
  margin-bottom: 1em;
  padding: 10px 0;
  min-height: 35px;
  border-bottom: 1px solid #eee;
}
.comment_textarea {
  width: 100%;
}
div.commentform input.author,
div.commentform input.email,
div.commentform input.url {
  width: 100%;
  box-sizing: border-box;
}
div.commentbox_title,
div.commentform textarea {
  width: 100%;
  padding: 0;
}

/*博客底部信息区域*/
#blog_post_info_block {
  border-top: 5px solid #e3e3e3;
  padding-top: 20px;
  margin-top: 50px;
}
#green_channel {
  border: none;
  text-align: left;
}
#green_channel a {
  border-radius: 5px;
}

/*个人签名*/
#MySignature .signature-main {
  display: block;
  padding: 12px 16px;
  border-radius: 6px;
  background-color: #424242;
  color: #fff;
  border: 2px solid #101010;
}
#MySignature p {
  margin: 0;
}
#MySignature a {
  color: #a5a5a5;
}
#MySignature a:hover {
  color: #c3c3c3;
}
#MySignature hr {
  height: 1px;
  border: 0;
  background-color: #101010;
}

/*站点统计图标*/
.cnzz-stat-wrap {
  text-align: center;
}
.cnzz-stat-wrap a {
  vertical-align: middle;
  margin: 0 5px;
}

/*增加代码标题栏样式*/
.bt30 {
  position: relative;
  padding-top: 30px;
}
.language-title {
  position: absolute;
  top: 0;
  left: 8px;
  line-height: 30px;
  font-family: Arial, sans-serif;
  color: #999;
  font-weight: bold;
}

/*导航特效*/
#navList li a::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  content: '';
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
#navList li a:hover::after {
  opacity: 1;
  transform: translateY(-4px);
}

/*顶部展示区*/
.top-show {
  position: relative;
  overflow: hidden;
  height: 100px;
  background: #293e6a;
  display: none;
}
.top-show .scroll {
  background-image: url(https://images.cnblogs.com/cnblogs_com/nzbin/946334/o_blog-bg.png);
  background-position: center center;
  background-size: 500px;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 400%;
  width: 100%;
  z-index: 1;
  animation: scrollGood 10s linear infinite;
}
@keyframes scrollGood {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -320px, 0);
  }
}

/*代码*/
code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 3px;
}
.cnblogs-markdown .hljs,
.cnblogs-post-body .hljs,
.cnblogs-markdown pre code,
.cnblogs-post-body pre code {
  padding: 24px;
  font-family: 'Source Code Pro', Menlo, Consolas, Monaco, monospace;
  color: #abb2bf;
  background-color: #282c34;
  border-width: 0;
  border-radius: 8px;
}
.blogpost-body p code {
  display: inline;
  padding: 4px 6px;
  margin: 0;
  font-family: 'Source Code Pro', Menlo, Consolas, Monaco, monospace;
  line-height: 1;
  background-color: #f9f2f4;
  border-radius: 4px;
}
.cnblogs-markdown pre,
.cnblogs-markdown pre>code {
  position: relative;
  transition: none;
}
.cnblogs-markdown pre:before {
  content: attr(data-title);
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  color: #ff7a18;
  text-transform: uppercase;
  font-family: Helvetica, Sans-Serif;
  font-weight: 700;
  font-size: 10px;
}

.cnb-code-toolbar {
  z-index: 2;
}

/* highlight */
.hljs {
  color: #abb2bf;
  background: #282c34;
}
.hljs-comment,
.hljs-quote {
  color: #5c6370;
  font-style: italic;
}
.hljs-doctag,
.hljs-formula,
.hljs-keyword {
  color: #c678dd;
}
.hljs-deletion,
.hljs-name,
.hljs-section,
.hljs-selector-tag,
.hljs-subst {
  color: #e06c75;
}
.hljs-literal {
  color: #56b6c2;
}
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string,
.hljs-regexp,
.hljs-string {
  color: #98c379;
}
.hljs-attr,
.hljs-number,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-template-variable,
.hljs-type,
.hljs-variable {
  color: #d19a66 !important;
}
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-symbol,
.hljs-title {
  color: #61aeee;
}
.hljs-built_in,
.hljs-class .hljs-title,
.hljs-title.class_ {
  color: #e6c07b;
}
.hljs-emphasis {
  font-style: italic;
}
.hljs-strong {
  font-weight: 700;
}
.hljs-link {
  text-decoration: underline;
}
.hljs-punctuation, .hljs-tag {
  color: #abb2bf;
}
.hljs-tag .hljs-name {
  color: #e06c75;
}

/*小屏显示*/
@media screen and (max-width: 768px) {
  .top-show {
    display: block;
  }
  #header {
    height: 45px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 9;
    background: #273d6b;
    border-top: 4px solid #1c2e54;
  }
  #header #navigator {
    width: 100%;
    top: 0;
  }
  #navList {
    margin-left: 10px;
  }
  #navList li {
    margin-right: 20px;
  }
  #mainContent {
    margin: 0;
  }
  #sideBar {
    display: none;
  }
  #blog_post_info {
    overflow: hidden;
  }
  #green_channel a {
    margin-right: 7px;
  }
  .post {
    padding: 1rem;
  }
  .day {
    padding: 20px 10px 10px;
  }
  .dayTitle {
    top: -10px;
  }
  #AjaxHolder_UpdatePanel1,
  #blog-comments-placeholder,
  #divRefreshComments,
  .commentform {
    padding: 0 10px;
  }
  #cnblogs_post_body table {
    max-width: none;
    display: table;
  }
  .cnblogs-markdown pre {
    margin-left: -1rem;
    margin-right: -1rem;
  }
  .cnblogs-markdown .hljs,
  .cnblogs-post-body .hljs,
  .cnblogs-markdown pre code,
  .cnblogs-post-body pre code {
    padding: 16px;
  }
}

/*社交按钮*/
.social-icons img {
  border-radius: 999px;
}
