.debug{display:none}
/* 头部导航 */
header{
  opacity: 0.99;
  width: 100%;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
}
header .nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .nav .back{
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}
header .nav .logo {
  flex: 1;
}
header .nav .login {
  text-align: right;
}
header .box{
  border: aliceblue;
  padding: 5px;
  font-size: 20px;
  margin-left: 15px;
  position:relative;
}
header .box .new_xx{
  position: absolute;
  top: 2px;right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  font-style: normal;
  color: red;
  font-size: 12px;
}
header .notice em{
  display: inline-block;
  background: #ff5b5b;
  width: 8px;
  height: 8px;
  font-style: normal;
  margin-right: 5px;
}
header .notice.isread em{
  display:none
}
header .out{
  padding-right: 0;
  font-size: 20px;
  color: #ed2929;
  margin-left: 15px;
}
@media (max-width: 640px) {
  header .nav{
    padding: 0 10px;
  }
}
/* 面包屑 */
.subnav {
  position: relative;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.subnav ul.breadcrumbs {
  display: inline-block;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-inline-box;
  overflow: hidden;
  height: 20px;
  max-height: 40px;
  padding: 0;
  margin: 0;
  line-height: 1.2em;
}
.subnav ul.breadcrumbs li {
  cursor: pointer;
  display: inline;
}
.subnav ul.breadcrumbs li + li::before {
  color: #818181;
  margin: 5px 4px 0 0;
  content: ">";
  font-size: 12px;
  vertical-align: 10%;
}
.subnav ul.breadcrumbs li a {
  color: #818181;
  font-size: 14px;
  cursor: pointer;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  word-wrap: break-word;
  background-clip: border-box;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: 3px;
}
.card-header {
  background-color: #00000008;
  border-bottom: 1px solid rgba(0, 0, 0, .125);
  margin-bottom: 0;
  padding: .75rem 1.25rem;
}
.card-header:first-child {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-tabs{
  background: #f0f0f0;
  font-size: 0;
  border-bottom: 1px solid #ccc;
}
.card-tabs a{
  position: relative;
  padding: 12px 10px 5px;
  display: inline-block;
  font-size: 14px;
  margin-left: 6px;
  z-index: 9;
}
.card-tabs .active{
  color: #333;
}
.card-tabs .active:after {
  content: "";
  position: absolute;
  background: #fff;
  bottom: -1px;
  height: 32px;
  left: 0;
  right: 1px;
  border: 1px solid #ccc;
  border-bottom: 0;
  border-radius: 0;
  z-index: -1;
}
.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}
/* 列表组 */
.list-group {
  padding-left: 0;
}

.list-group.threads li.list-group-item {
  min-height: 42px;
}
.list-group.threads li.list-group-item .thread-group {
  display: flex;
  align-items: center;
}
.list-group-item {
  position: relative;
  display: block;
  padding: 10px 15px;
  background-color: white;
  border-bottom: 1px solid #ddd;
}
body span.badge {
  background-color: #e0e0e0;
  font-weight: normal;
  margin-left: 5px;
  color: #888;
}
.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  line-height: 1;
  vertical-align: baseline;
  white-space: nowrap;
  text-align: center;
  background-color: #999;
  border-radius: 10px;
}
/* 分页 */
.pages{
  padding: 0 1px;
  text-align: center;
  overflow: hidden;
  box-sizing: content-box;
}
.pages .nav{
  display: inline-block;
  padding-left: 0;
  margin: 5px 0;
  border-radius: 3px;
}
.pages .nav a{
  padding: 5px 8px;
  font-size: 13px;
  line-height: 25px;
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: white;
  border: 1px solid #ddd;
  margin-left: -1px;
}
.pages .nav a.active{
  background-color: #eee;
}
.pages .nav a:first-child{
  border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
.pages .nav a:last-child{
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}

/* button组 */
.btn-group{
  padding: 0 1px;
  overflow: hidden;
  box-sizing: content-box;
}
.btn-group ul{
  display: inline-block;
    padding-left: 0;
    margin: 5px 0;
    border-radius: 3px;
}
.btn-group ul .btns{
  display: flex;
  padding: 5px 8px;
  font-size: 13px;
  line-height: 25px;
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: white;
  border: 1px solid #ddd;
  margin-left: -1px;
  cursor: pointer;
}
.btn-group ul .btns.active {
  background-color: #eee;
}
.btn-group ul .btns:first-child {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.btn-group ul .btns:last-child {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
/* 帖子页面 */
.posts {
  width: 100%;
}
.posts article{
  background: #fff;
}
.posts .comment_list{
  background: #fff;
}
.posts .post{
  border-bottom: 1px solid #eee;
  padding: 15px;
  box-shadow: 3px 3px 10px rgb(224 224 224 / 10%)
}
.posts .post .title {
  margin-bottom: 12px;
}
.posts .post .title h2{
  display: flex;
  align-items: center;
  font-weight: normal;
  font-size: 17px;
  margin: 0;
  padding: 0;
}
.posts .post .header{
  height: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: gray;
}
.posts .post .content{
  line-height: 2;
  font-size: 15px;
  color: #555;
  word-break: break-all;
}
.posts .post .content .blockquote{
  padding: 0;
  margin: 0;
  font-size: 12px;background: #f3f3f3;padding: 5px;margin: 0 0 10px;color: #333;line-height: 1.8;
}
.posts .post .content .blockquote span{color: #1e70d7;margin-right: 5px;height: p;}

.posts .post .footer{
  display: none;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #ccc;
}
/*评论框和列表 */
.comment_list .reply{
  padding-top: 10px;
}
.comment_list .reply a{
  font-size: 12px;
  margin-right: 15px;
  color: #979797;
}
.comment_list .reply .rep{color: #b1daea;}
.comment_form{
  padding: 10px;
}
/* 自定义 */
/* select */
.custom-select{
  appearance: none;
  padding: 5px 20px 5px 5px;
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 5px center;
  background-size: 10px auto;
  border: 1px solid #dedede;
  border-radius: 2px;
}
.btn{
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}
.btn.sm{
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  padding: 3px 5px;
  height: auto;
  line-height: 1.2;
}
.btn-primary {
  color: #fff;
  background-color: #239cff;
  border-color: #2d9bf5;
}
.ajax-body .btn-primary {
  width: 100px;
}
/*  */
.form-group {
  margin-bottom: 1rem;
}
.form-control{
  width: 100%;
}
.custom-file-label {
  width: 120px;
  left: calc(50% - 60px);
  display: none;
}

/* 弹窗 */
.dialog{
  position: fixed;
  top: 4.5rem;
  left: 50%;
  z-index: 10005;
  display: none;
  margin-left: -17rem;
  padding: 1rem;
  width: 34rem;
  border-radius: 5px;
  box-shadow: 1px 0px 20px -5px rgb(158 158 158 / 22%);
  opacity: 0;
  transition: opacity 0.1s linear;
}
.dialog-main{background: #fff;border-radius: 5px;overflow: hidden;max-height: 500px;overflow-x: auto;overflow-y: auto;overflow-x: hidden;pointer-events: inherit;-webkit-box-direction: normal;}
.dialog .header{
  padding: 15px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
  margin-left: 0;
}
.dialog .body{background: #fff;padding: 5px 15px;}
.dialog .footer{
    padding: 15px;
  background: #fff;
  border-radius:0 0 5px 5px;
}
.dialog.show{
  display: block;
}
.dialog.fade{
  opacity: 1;
}
.dialog_bg{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: none;
  background: rgb(26 23 23 / 30%);
}
.dialog_bg.show{
  display: block;
}
.dialog .x-close{
    display: block;
    width: 26px;
    height: 26px;
    background: #f1f1f1;
    border-radius: 5px;
    z-index: 999;
    color: #4b4b4b;
    position: absolute;
    top: 5px;
    right: 5px;
    border: 0;
    cursor: pointer;
    outline: 0;
    padding: 0;
}
.dialog .x-close span{
  display: block;
  text-align: center;
  height: 26px;
  width: 26px;
  line-height: 26px;
}
@media (max-width: 640px){
  .dialog{width: calc(100%);margin-left: 0;left: 0px;}
}
