/*!
 * Grizzle 1.0.1 (//jq.qq.com/?_wv=1027&k=555hND5)
 * Copyright 2015-01-28 [-] 2024-05-18 沉冰浮水
 * 一款灰色单栏主题
 */

label {
  max-width: 95%;
  margin-bottom: 5px;
  font-weight: bold;
}
input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.form-control {
  display: block;
  width: 95%;
  padding: 6px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999;
}
.form-control::-webkit-input-placeholder {
  color: #999;
}
textarea.form-control {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: none;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input[type="date"],
  input[type="month"] {
    line-height: 34px;
  }
}
.form-group {
  margin-bottom: 12px;
}
.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn:focus,
.btn:active:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus {
  color: #333;
  text-decoration: none;
}
.btn:active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.btn-default:active {
  background-image: none;
}
.media {
  margin-top: 15px;
}
.media:first-child {
  margin-top: 0;
}
.media,
.media-body {
  zoom: 1;
  overflow: hidden;
}
.media-body {
  width: 10000px;
}

.media > .pull-right {
  padding-left: 10px;
}
/* .media-left,
.media > .pull-left {
  padding-right: 10px;
} */

.media-body {
  display: table-cell;
  vertical-align: top;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}
.hidden {
  display: none !important;
  visibility: hidden !important;
}
@-ms-viewport {
  width: device-width;
}
body {
  background-color: #585c62;
  color: #333;
  font-family: "Microsoft Yahei", Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 180%;
  text-align: center;
}
h1,
h2,
h3 {
  font-weight: 400;
  margin: 0 auto;
}
a {
  color: #555;
  text-decoration: none;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: transparent;
  transition: all 0.5s ease;
}
a:hover {
  color: #40aa52;
  border-bottom-color: currentColor;
  transition: all 0.5s ease;
}
img {
  height: auto;
  max-width: 96.5%;
}
form {
  display: inline;
  margin: 0;
  padding: 0;
}
ol,
ul,
li {
  list-style: outside none none;
}
div,
form,
img,
ul,
ol,
li {
  text-align: left;
}
blockquote {
  background: url("img/quote.png") no-repeat scroll right bottom #eae9e4;
  border-radius: 3px;
  color: #555;
  margin: 15px 0 10px;
  padding: 5px 15px;
  text-shadow: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body a:hover,
body #header #blog_title h1 a,
body .date .day,
body .post h2 a,
body .post h2,
body .post h3,
body .post .con p a,
body .post .con strong a,
body .prev_and_next a {
  color: #40aa52;
}
#wrap {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9);
  border-radius: 1em;
  display: inline-block;
  margin: 10px auto;
  min-height: 300px;
  padding: 0 10px;
  position: relative;
  table-layout: fixed;
  width: 940px;
  word-break: break-all;
}
#header {
  border-bottom: 1px solid #ddd;
  height: 46px;
  margin: 30px 20px 0;
  padding: 0 0 20px;
  position: relative;
}
#header #blog_title {
  float: left;
}
#header #blog_title h1 a {
  display: block;
  font-family: impact, "Microsoft Yahei";
  font-size: 52px;
  height: 55px;
  line-height: 52px;
  overflow: hidden;
}
#search {
  position: absolute;
  right: 5px;
  top: -1em;
}
#search form {
  display: flex;
  align-items: center;
}
#search form input[type="search"] {
  background: url("img/sb.png") no-repeat scroll 10px center #f7f7f7;
  border: 1px solid #cbcbcb;
  border-radius: 1em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
  padding: 5px 5px 5px 30px;
  transition: all 0.5s ease 0s;
  width: 206px;
}
#search form input[type="search"]:hover,
#search form input[type="search"]:focus {
  background-color: #fff;
  box-shadow: 0 0 5px rgba(64, 170, 80, 0.5);
  width: 300px;
  outline: none;
}
#menu {
  color: black;
  float: right;
  margin-top: 12px;
  overflow: hidden;
  text-shadow: none;
}
#menu ul {
  float: left;
  overflow: hidden;
}
#menu ul li {
  float: left;
}
#menu ul li ul {
  display: none;
}
#menu ul li a {
  color: black;
  display: block;
  height: 12px;
  margin-top: 5px;
  padding: 5px 21px 20px;
  position: relative;
  text-transform: uppercase;
  z-index: 3;
}
#menu ul li a:hover {
  border-bottom-color: transparent;
}
#menu ul li.back {
  border-top: 5px solid #40aa52;
  position: absolute;
  z-index: 2;
}
#content {
  margin-top: 25px;
  padding: 0 20px;
}
.post {
  clear: both;
  position: relative;
}
.post header.hr-bottom {
  padding-bottom: 15px;
}
.post .date {
  border-right: 1px solid #ddd;
  color: #333;
  float: left;
  font-family: Georgia, serif;
  font-weight: normal;
  height: 30px;
  margin: 4px 10px 0 0;
  padding: 0 10px 0 0;
  text-shadow: 1px 1px 0 #ddd;
  text-transform: uppercase;
  width: 80px;
}
.post .date .day {
  float: left;
  font-size: 30px;
  font-weight: 800;
  line-height: 56px;
  margin-top: -14px;
}
.post .date .year {
  float: right;
  position: relative;
  top: -12px;
}
.post .date .month {
  float: right;
  position: relative;
  top: -4px;
  width: 35px;
}
.post .info {
  color: #666;
  float: right;
  line-height: 22px;
  padding: 10px 0 0 10px;
  text-transform: uppercase;
}
.post h2 {
  font-size: 18px;
  font-weight: normal;
  text-decoration: none;
}
.post h2 {
  padding: 7px 0 0;
}
.post .con {
  line-height: 1.8;
  color: #555;
  font-family: "Microsoft Yahei", Verdana, Arial, Helvetica, sans-serif;
}
.post .con h3 {
  border-left: 5px solid #40aa52;
  padding-left: 5px;
}
.post .con p {
  text-indent: 2em;
}
.post .con p:not(:last-child) {
  margin-bottom: 12px;
}
.post .con ul,
.post .con p {
  text-align: justify;
  word-wrap: break-word;
}
.post-meta {
  margin: 0;
}
.post-meta.tags {
  text-align: right;
}
.post-meta.tags .tag:not(:last-child) {
  margin-right: 7px;
}
.post-meta.tags .tag + .c-help {
  display: none;
}
/* 评论列表 */
.media {
  overflow: visible;
  position: relative;
}
.msgavatar {
  background: none repeat scroll 0 0 #eee;
  border-radius: 46px;
  box-shadow: -1px 0 1px rgba(0, 0, 0, 0.15) inset;
  height: 36px;
  left: -14px;
  padding: 5px;
  position: absolute;
  top: 26px;
  width: 36px;
}
.msgavatar {
  top: 16px;
  left: -20px;
}
.msgavatar img {
  border-radius: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  height: 32px !important;
  transition: all 0.4s ease-in-out 0s;
  width: 32px !important;
}
.media:hover .msgavatar img {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  transform: rotateZ(360deg);
}
.msgavatar img {
  height: 35px !important;
  width: 35px !important;
}
.media-body {
  background: none repeat scroll 0 0 #eee;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
  padding: 15px 15px 12px 32px;
}
.msgtime,
.revertcomment a {
  color: #999;
}
/* 评论表单 */
.posttop {
  font-size: 17px;
  margin-bottom: 8px;
  margin-top: 15px;
}
#frmSumbit input {
  max-width: 300px;
}
#txaArticle {
  margin-bottom: 5px;
  max-width: 98%;
}
.postbottom {
  margin: 0;
  padding: 6px 3px;
}
/* 分页 */
.page-navigator {
  color: #666;
  font-family: "Lucida Grande", Verdana, "Bitstream Vera Sans", Arial, sans-serif;
  line-height: 30px;
  margin: -10px auto 0;
  text-align: center;
}
.page-navigator a,
.page-navigator .now-page {
  display: inline-block;
  margin-right: 3px;
  padding: 3px 9px;
}
.page-navigator .now-page,
.page-navigator a:hover {
  border-bottom: 3px solid #40aa52;
}
#footer {
  padding: 5px 15px 25px;
}
#footer .foot {
  border-top: 1px solid #e3e3e3;
  padding-top: 5px;
  font-size: 12px;
}
@media screen and (max-width: 1024px) {
  #wrap,
  .page {
    width: 95%;
  }
  #search,
  #menu,
  .post .info,
  .post .date {
    display: none;
  }
  #header #blog_title h1 a {
    font-size: 32px;
    height: 35px;
    line-height: 32px;
  }
  #header {
    text-align: center;
  }
}
a.a-ccc,
.a-ccc a {
  color: #aaa;
  border-bottom-color: #aaa;
}
a.a-ccc:hover,
.a-ccc a:hover {
  color: #666;
  border-bottom-color: #666;
}
.hr-bottom {
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 6px;
}