* {
  box-sizing: border-box;
}

html {
  color: #555;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 80px 0 0;
  font: 14px/1.4 "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@font-face {
  font-family: "iconfont";
  src: url("/assets/fonts/iconfont.eot");
  src: url("/assets/fonts/iconfont.eot?#iefix") format("embedded-opentype"),
    url("/assets/fonts/iconfont.woff") format("woff"),
    url("/assets/fonts/iconfont.ttf") format("truetype"),
    url("/assets/fonts/iconfont.svg#iconfont") format("svg");
}

.fa {
  font-family: "iconfont" !important;
  font-size: 14px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: .2px;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #555;
  text-decoration: none;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, opacity .3s ease;
}

a:hover {
  color: #ff8676;
}

img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
}

button,
input {
  color: inherit;
  font: inherit;
}

.clearfix::before,
.clearfix::after,
.container::before,
.container::after {
  display: table;
  content: "";
}

.clearfix::after,
.container::after {
  clear: both;
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.header {
  position: fixed;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  height: 80px;
  border-bottom: 1px solid #eee;
  background: #fff;
  box-shadow: 1px 0 5px rgba(0, 0, 0, .06);
}

.logo {
  float: left;
  overflow: hidden;
  height: 40px;
  margin: 20px 70px 0 0;
  font-size: 1px;
  line-height: 40px;
}

.logo a {
  display: block;
}

.logo img {
  display: block;
  max-height: 40px;
}

.sitenav {
  float: left;
  font-size: 18px;
  line-height: 40px;
}

.sitenav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitenav li {
  float: left;
  margin-right: 15px;
}

.sitenav a {
  display: block;
  padding: 20px 0 18px;
  border-bottom: 2px solid transparent;
  color: #555;
}

.sitenav a:hover {
  color: #ff8676;
}

.sitenav ul li.active > a {
  color: #ff8676;
  border-bottom-color: #ff8676;
}

.sitenav-on,
.sitenav-mask,
.searchstart-on,
.searchstart-off {
  display: none;
}

.searchform {
  float: right;
  margin-top: 24px;
}

.searchform .sinput {
  float: left;
  width: 220px;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid #eee;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  outline: 0;
  color: #999;
}

.searchform .sinput:focus {
  border-color: #ff8676;
}

.searchform .sbtn {
  float: right;
  height: 32px;
  padding: 4px 10px;
  border: 0;
  border-radius: 0 2px 2px 0;
  background: #ff8676;
  color: #fff;
  cursor: pointer;
  opacity: .9;
  outline: 0;
}

.searchform .sbtn:hover {
  opacity: 1;
}

.crumbs {
  margin: 15px 0;
  padding-left: 18px;
  background: url("/assets/images/pos.png") no-repeat;
  background-size: 20px;
  color: #999;
}

.crumbs a {
  height: 20px;
  padding: 0 5px;
  color: #999;
  font-size: 15px;
  line-height: 20px;
}

.content {
  position: relative;
  float: left;
  width: 780px;
}

.sidebar {
  float: right;
  width: 360px;
  margin-top: 20px;
  padding: 0 15px;
  border-radius: 9px;
  box-shadow: 0 -1px 5px 0 rgba(7, 17, 17, .1);
}

.sidebar h3,
.content h3 {
  height: 18px;
  margin: 20px 0 10px -15px;
  padding-left: 15px;
  border-left: 4px solid #ff8676;
  font-size: 1.17em;
  line-height: 18px;
}

.content h3 {
  margin-left: 0;
}

.article-header {
  padding-bottom: 0;
  border-bottom: 1px dashed #eee;
}

.article-header h1 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.article-meta {
  margin-bottom: 10px;
  color: #999;
  text-align: center;
}

.article-meta span {
  display: inline-block;
  margin-right: 15px;
}

.article-content {
  overflow: hidden;
  word-wrap: break-word;
  font-size: 16px;
  line-height: 1.7;
}

.article-content p {
  margin: 1em 0;
}

.txlist {
  margin: 0 -.5% -1%;
}

.txlist .swipebox {
  position: relative;
  float: left;
  overflow: hidden;
  width: 24%;
  height: 0;
  margin: 0 .5% 1%;
  padding-bottom: 24%;
  cursor: zoom-in;
}

.txlist .swipebox img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.article-tags {
  margin: 10px 0;
}

.article-tags a {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 8px 10px 7px;
  border-radius: 2px;
  background: #eee;
  color: #999;
  font-size: 12px;
  line-height: 1;
}

.article-tags a:hover {
  background: #ff8676;
  color: #fff;
}

.article-actions {
  margin: 10px 0;
}

.article-actions .action-like {
  float: right;
  display: inline-block;
  min-width: 80px;
  height: 32px;
  margin: 22px 0 0 15px;
  padding: 0 15px;
  border-radius: 2px;
  background: #ff8676;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 31px;
  opacity: .8;
}

.article-actions .action-like:hover {
  color: #fff;
  opacity: 1;
}

.article-nav {
  clear: both;
  overflow: hidden;
  margin-bottom: 15px;
  color: #999;
  font-size: 12px;
}

.article-nav a {
  font-size: 14px;
}

.article-nav-prev {
  float: left;
  width: 50%;
}

.article-nav-next {
  float: right;
  width: 50%;
  text-align: right;
}

.txlist2 ul,
.txlist3 ul {
  overflow: hidden;
  margin: 0 -.5% -1%;
  padding: 0;
  list-style: none;
}

.txlist2 ul::after,
.txlist3 ul::after {
  display: block;
  clear: both;
  content: "";
}

.txlist2 li {
  float: left;
  overflow: hidden;
  width: 24%;
  margin: 0 .5% 1%;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.txlist2 .thumbnail,
.txlist3 .thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  height: 0;
  margin-bottom: 5px;
  padding-bottom: 100%;
  background: #f6f6f6;
}

.txlist2 img,
.txlist3 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txlist3 ul {
  margin: 0 -1% -2%;
}

.txlist3 li {
  float: left;
  overflow: hidden;
  width: 31.333%;
  height: 0;
  margin: 0 1% 2%;
  padding-bottom: 31.333%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.txlist3 li a {
  display: block;
  width: 100%;
  height: 100%;
  padding-bottom: 100%;
}

.txlist3 .thumbnail {
  margin: 0;
}

.txlist4 {
  padding-bottom: 1px;
}

.wzwrap {
  background: #fff;
}

.wzwrap a {
  display: block;
  overflow: hidden;
  width: 100%;
  margin-bottom: 5px;
  padding: 3px 5px 3px 0;
  color: #606160;
  white-space: nowrap;
}

.footer {
  clear: both;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  background: #faf9f9;
  color: #999;
  text-align: center;
  font-size: 14px;
}

.footer p {
  margin: 5px 0;
}

.footer a {
  color: #999;
}

.lightbox {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, .86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 96vw;
  max-height: 92vh;
}

.lightbox button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 42px;
}

@media (max-width: 799px) {
  body {
    margin-top: 0;
    padding-top: 3rem;
    transition-duration: 400ms;
  }

  .container {
    padding: 0 .75rem;
  }

  .header {
    height: 3rem;
  }

  .logo {
    float: none;
    height: 1.8rem;
    margin: .6rem auto;
    text-align: center;
    line-height: 1.8rem;
  }

  .logo img {
    height: 1.8rem;
    margin: 0 auto;
  }

  .sitenav {
    position: fixed;
    z-index: 999991;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 30%;
    padding: 3rem 0 0;
    background: #fff;
    font-size: .875rem;
  }

  .sitenav ul {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
  }

  .sitenav li {
    float: none;
    margin-right: 0;
  }

  .sitenav a {
    padding: .75rem .9375rem;
    font-weight: 700;
    line-height: 1;
  }

  .sitenav a:hover {
    background: #eee;
  }

  .sitenav ul li.active > a {
    background: #ff8676;
    color: #fff;
  }

  .sitenav-on,
  .searchstart-on,
  .searchstart-off {
    position: absolute;
    top: 0;
    z-index: 999995;
    display: block;
    padding: 0 15px;
    cursor: pointer;
    line-height: 3rem;
  }

  .sitenav-on {
    left: 0;
    transition-duration: 500ms;
  }

  .searchstart-on,
  .searchstart-off {
    right: 0;
  }

  .searchstart-off {
    display: none;
  }

  .sitenav-mask {
    position: fixed;
    z-index: 999990;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(0, 0, 0, .7);
    opacity: 0;
    transition: all .3s ease-in-out;
  }

  .sitenav-active {
    position: fixed;
    inset: 0;
    overflow: hidden;
    transform: translateX(30%);
  }

  .sitenav-active .sitenav-mask {
    visibility: visible;
    opacity: 1;
  }

  .sitenav-active .sitenav-on {
    left: -30%;
  }

  .searchform {
    display: none;
    transition: all .3s ease-in-out;
  }

  .searchform-active .searchform {
    position: absolute;
    z-index: 999999;
    top: 0;
    right: 3rem;
    left: 1rem;
    display: block;
    margin-top: 0;
    padding: .5rem 0 0;
  }

  .searchform-active .sinput {
    width: 100%;
    border-radius: .25rem;
  }

  .searchform-active .sbtn {
    position: absolute;
    top: .5rem;
    right: 0;
    opacity: 1;
  }

  .content,
  .sidebar {
    float: none;
    width: 100%;
  }

  .sidebar {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sidebar h3,
  .content h3 {
    height: 18px;
    margin: 1.5rem 0 1rem;
    padding-left: .6rem;
    border-left: 4px solid #ff8676;
    line-height: 18px;
  }

  .article-header h1 {
    font-size: 1.2rem;
  }

  .article-meta {
    margin-bottom: .625rem;
    font-size: .875rem;
  }

  .article-meta span {
    margin-right: 10px;
  }

  .txlist {
    margin: 0 -1% -2%;
  }

  .txlist .swipebox {
    display: block;
    width: 48%;
    margin: 0 1% 2%;
    padding-bottom: 48%;
  }

  .article-actions {
    text-align: center;
  }

  .article-actions .action-like {
    float: none;
    margin: 0 .625rem;
    font-size: .75rem;
  }

  .article-nav-prev,
  .article-nav-next {
    float: none;
    display: block;
    width: auto;
    text-align: left;
  }

  .article-nav-next {
    margin-top: 15px;
  }

  .txlist2,
  .txlist3,
  .txlist4 {
    padding-bottom: 1.5rem;
    border-top: 1px dashed #eee;
  }

  .txlist2,
  .txlist4 {
    padding-bottom: 0 !important;
  }

  .txlist2 ul {
    margin: 0 -1% -2%;
  }

  .txlist2 li {
    width: 48%;
    margin: 0 1% 2%;
  }

  .visible-xs {
    display: none !important;
  }
}

body.home-page {
  background: #fff;
}

body.home-page .home-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

body.home-page .home-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 2px;
  background: #f6f6f6;
  color: #666;
  font-size: 13px;
  line-height: 1;
}

body.home-page .home-nav a:hover,
body.home-page .home-nav a.active {
  background: #ff8676;
  color: #fff;
}

body.home-page .child-nav {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f1f1;
}

body.home-page .list-wrap {
  margin-bottom: 30px;
}

body.home-page .hd {
  position: relative;
  width: 100%;
  padding-bottom: 10px;
}

body.home-page .hd h3 {
  height: 45px;
  margin: 15px 0 1px;
  border-bottom: 1px solid #eee;
  font-size: 22px;
  line-height: 45px;
  font-weight: 400;
}

body.home-page .hd .more {
  position: absolute;
  right: 0;
  bottom: 20px;
  color: #999;
  font-size: 14px;
}

body.home-page .hd .more:hover {
  color: #ff8676;
}

body.home-page .bd {
  margin: 0 -0.5% -1%;
}

body.home-page .bd .item {
  float: left;
  position: relative;
  width: 19%;
  margin: 0 0.5% 1%;
}

body.home-page .bd .item .item-img {
  position: relative;
  display: block;
  overflow: hidden;
  height: 0;
  padding-bottom: 100%;
  border-radius: 4px;
  background: #f6f6f6;
  cursor: zoom-in;
}

body.home-page .bd .item .item-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-page .bd .item p {
  margin: 0;
  padding: 8px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-size: 15px;
}

body.home-page .friend-links {
  margin-top: 6px;
}

body.home-page .friend-links a {
  display: inline-block;
  margin: 0 10px 10px 0;
  color: #666;
  white-space: nowrap;
}

@media (max-width: 799px) {
  body.home-page .home-nav {
    gap: 6px;
    margin: 0.75rem 0 1rem;
  }

  body.home-page .home-nav a {
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
  }

  body.home-page .list-wrap {
    margin-bottom: 1.25rem;
  }

  body.home-page .hd {
    position: relative;
    padding-bottom: 0.625rem;
  }

  body.home-page .hd h3 {
    height: 2.8125rem;
    margin: 0.9375rem 0 0.0625rem;
    border-bottom: 0.0625rem solid #e9e9e9;
    font-size: 1.375rem;
    line-height: 2.8125rem;
    font-weight: 400;
  }

  body.home-page .hd .more {
    bottom: 1.25rem;
    font-size: 0.75rem;
  }

  body.home-page .bd {
    margin-right: -2%;
  }

  body.home-page .bd .item {
    width: 48%;
    margin: 0 2% 2% 0;
  }

  body.home-page .bd .item p {
    height: 2rem;
    padding: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.2;
  }

  body.home-page .friend-links a {
    margin-right: 8px;
    font-size: 0.875rem;
  }
}
