/* ------------------------------------
 * Typecho Default Theme
 *
 * @author  Typecho Team
 * @link  http: //typecho.org/
 * @update  2013-10-28
 * --------------------------------- */

/* ------------------
 * Global style
 * --------------- */
body {
  color: #000;
  font-family: "Droid Serif", Georgia, "Times New Roman", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "WenQuanYi Micro Hei","Microsoft Yahei", serif;
  font-size: 14px;
  background: #f7f7f7;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover, a:active {
  color: #333;
}
pre, code { 
  background: #F3F3F3;
  font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace;
  font-size: .92857em;
}
code { padding: 2px 4px; color: #B94A48; }
pre {
  padding: 8px;
  overflow: auto;
  max-height: 400px;
}
pre code {
  padding: 3px;
  color: #000;
}

blockquote {
  margin: 1em 0;
  padding-left: 1.5em;
  border-left: 4px solid #eee;
  color: #000;
}

table {
  border: 1px solid #ddd;
  width: 100%;
}
table th,
table td {
  padding: 5px 10px;
  border: 1px solid #eee;
}
table th {
  background: #f3f3f3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei","Microsoft Yahei", sans-serif;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
  padding: 5px 5px;
  border: 1px solid #999999;
  width: 100%;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
textarea {
  resize: vertical;
}


/* Special link style */
.fl{float:left;}
.fr{float:right;}
.clearfix{zoom: 1; }
.clearfix:before, .clearfix:after {content: " ";display: table; }
.clearfix:after { clear: both; }


.wrap{margin: 30px auto;-webkit-box-shadow: 0 0 5px 1px #a8a8a8;-moz-box-shadow: 0 0 5px 1px #a8a8a8;box-shadow: 0 0 5px 1px #a8a8a8;background: #fff;}
.post-meta a,
.post-content a,
.widget a,
.comment-content a {
  border-bottom-color: transparent;
}

.post-meta a:hover,
.post-content a:hover,
.widget a:hover,
.comment-content a:hover {
  border-bottom: 1px solid #5e5e5e;
}

/* ------------------
 * Header
 * --------------- */

#header {
    display: block;
    position: relative;
}
.site-name,.site-search{
  margin-top: 30px;
}
.site-search{margin-right: 15px;}

#logo {
  color: #000;
  font-size: 2.5em;
  margin-left: 15px;
}
#logo img {
    max-height: 64px;
}

.description {
  margin: 10px 10px 10px 20px;
  color: #000;
}

/* Navigation menu */
#nav-menu {
  margin: 20px 0 10px;
  padding: 0;
  background: #000;
  overflow: hidden;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
}

#nav-menu a {
  display: block;
  margin-right: 0px;
  padding: 12px 10px;
  color: #fff;
  float: left;
  font-weight: 800;
  border-bottom: 0;
  font-size: 15px;
  white-space: nowrap;
}
#nav-menu a:hover,
#nav-menu .current {
  background: #333;
  color: #fff;
}

/* Search */
#search {
  position: relative;
  margin-top: 15px;
}
#search input {
  padding: 10px 10px;
  border: 2px solid #000000;
  width: 100%;
  border-radius: 30px;
}
#search button {
  position: absolute;
  right: 5px;
  top: 7px;
  border: none;
  padding: 0;
  width: 25px;
  height: 25px;
  background: transparent url(img/icon-search.png) no-repeat center center;
  direction: ltr; /* fix RTL language */
  text-indent: -9999em;
}

@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) {
  #search button {
    background-image: url(img/icon-search@2x.png);
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    -o-background-size: 24px 24px;
    background-size: 24px 24px;
  }
}


/* ------------------
 * Main
 * --------------- */
#body{margin: 0px 0 0;overflow: hidden;}
#main{padding: 0px 15px 0px 15px;width: calc(100% - 360px);min-width: 360px;}
.post {
  padding: 15px 0 15px;
  border-bottom: 1px solid #EEE;
  display: block;
  overflow: hidden;
}
.post .fm{
  width: 140px;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 4 / 2.5;
  border: 1px solid #c1c1c1;
  position: relative;
  margin-right: 15px;
  float: left;
}
.post .fm img{
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.post-title {
  margin: 0px 0 5px;
  font-size: 18px;
  font-weight: bold;
  line-height: 25px;
}
h1.post-title{
  font-size: 22px;
}

.post-title a{
  border-bottom-color: transparent;
}
.post-title a:hover{border-bottom: 1px solid #5e5e5e;color: #5e5e5e;}

.post-meta {
  padding: 5px 0;
  color: #777;
  font-size: 13px;
  border-bottom: 1px solid #dcdcdc;
  margin: 0;
}
.post-meta li {
  display: inline-block;
  margin: 0 8px 0 0;
  padding-left: 12px;
  border-left: 1px solid #EEE;
}
.post-meta li:first-child {
  margin-left: 0;
  padding-left: 0;
  border: none;
}
.post-meta a{
  color: #777;
}
.post-content {
  line-height: 1.5;
}
.post .tags {
  clear: both;
}

.post-near {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  color: #000;
}
.post-near li {
  margin: 10px 0;
}


.archive-title {
  margin: 1em 0 -1em;
  padding-top: 20px;
  color: #000;
  font-size: 1em;
}
.more {
  text-align: center;
}
.more a {
  border: none;
}
.protected .text {
  width: 50%;
}

.relative{
    margin:20px 0;
}

/* Page nav */

.page-navigator {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}
.page-navigator li {
  display: inline-block;
  margin: 0;
  background: #000;
}
.page-navigator a {
  display: inline-block;
  padding: 0px 15px;
  height: 35px;
  line-height: 35px;
  font-weight: bold;
  color: #fff;
  font-family: Microsoft Yahei;
}
.page-navigator a:hover {
  background: #5e5e5e;
  text-decoration: none;
}

.page-navigator .current a {
  color: #fff;
  background: #5e5e5e;
}

/* ------------------
 * Comment list
 * --------------- */
#comments {
  padding-top: 15px;
}
.comment-list, .comment-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list li {
  padding: 14px;
  margin-top: 10px;
  border: 1px solid #EEE;
}
.comment-list li.comment-level-odd {
  background: #F6F6F3;
}
.comment-list li.comment-level-even {
  background: #FFF;
}
.comment-list li.comment-by-author {
  background: #FFF9E8;
}
.comment-list li .comment-reply {
  text-align: right;
  font-size: .92857em;
}
.comment-meta a {
  color: #000;
  font-size: .92857em;
}
.comment-author {
  display: block;
  margin-bottom: 3px;
  color: #000;
}
.comment-author .avatar {
  float: left;
  margin-right: 10px;
}
.comment-author cite {
  font-weight: bold;
  font-style: normal;
}

/* Comment reply */
.comment-list .respond {
  margin-top: 15px;
  border-top: 1px solid #EEE;
}
.respond .cancel-comment-reply {
  float: right;
  margin-top: 15px;
  font-size: .92857em;
}
#comment-form label {
  display: block;
  margin-bottom: .5em;
  font-weight: bold;
}
#comment-form .required:after {
  content: " *";
  color: #C00;
}

/* ------------------
 * secondary
 * --------------- */
#secondary {
  padding: 15px;
  word-wrap: break-word;
  width: 300px;
}
.widget {
  margin-bottom: 30px;
}
.widget-title,.relative-title{
  text-transform: uppercase;
  position: relative;
  margin: 0;
  font-size: 18px;
}
.widget-title:before,.relative-title:before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #dcdcdc;
    z-index: 1;
}
.widget-title span,.relative-title span {
    display: inline-block;
    padding: 0px 5px 0 0;
    position: relative;
    z-index: 2;
    background: #fff;
}
.widget-list {
  list-style: none;
  padding: 0;
  margin: 5px 0;
}
.widget-list li {
  margin: 5px 0;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
  padding: 5px 0;
}

.widget-list li ul {
  margin-left: 15px;
}

.widget.sidecmt a,.widget.sidecate a{
  font-weight: bold;
}

/* ------------------
 * Footer 
 * --------------- */
#footer {
}
.copyright{
  padding: 8px 15px;
  background: #2a2a2a;
  border-top: 3px solid #999;
  color: #999;
}
.copyright a{
  color: #999;
}


/* -----------------
 * Error page
 * -------------- */
.error-page {
  margin-top: 100px;
  margin-bottom: 100px;
}


/* -----------------
 * Content format
 *--------------- */
.post-content, .comment-content {
  line-height: 1.5;
  word-wrap: break-word;
}
.post-content h2, .comment-content h2 {
  font-size: 1.28571em;
}
.post-content img, .comment-content img,
.post-content video, .comment-content video {
  max-width: 100%;
}
.post-content a img,
.comment-content a img {
  background: #FFF;
  position: relative;
  bottom: -4px;  /* hidden img parent link border  */
}
.post-content hr, .comment-content hr {
  margin: 2em auto;
  width: 100px;
  border: 1px solid #E9E9E9;
  border-width: 2px 0 0 0;
}


/* -----------------
 * Misc
 *--------------- */
.aligncenter, div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
}
.alignright {
  float: right;
}
img.alignleft {
  margin: 0 15px 0 0;
}
img.alignright {
  margin: 0 0 0 15px;
}


/* -----------------
 * Responsive
 *--------------- */
@media (max-width: 767px) {
  body {
  }
  .wrap{
    margin: 0;
    box-shadow: none;
  }
  #main{width:100%;box-sizing: border-box;}
  #secondary{float:none;width:100%;box-sizing: border-box;display: inline-block;}
  #nav-menu a {
    float: none;
    display: inline-block;
    margin: 0 0px;
  }
}

@media (max-width: 768px) {
  #header,
  .post-title,
  .post-meta {
  }
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
  .container {
    max-width: 952px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/
.hidden {
  display: none !important;
  visibility: hidden; }

/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/
.sr-only {
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

/*
* Extends the .sr-only class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

/*
* Hide visually and from screenreaders, but maintain layout
*/
.invisible {
  visib




