@charset "UTF-8";
/*!
 * Bootstrap v4.0.0-beta.3 (https://getbootstrap.com)
 * Copyright 2011-2017 The Bootstrap Authors
 * Copyright 2011-2017 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
/****************************************   bbs 业务部分  ****************************************/
html, table {
  font-size: 14px;
}

body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", Helvetica, "Microsoft Yahei", "Hiragino Sans GB", "WenQuanYi Micro Hei", "微软雅黑", "华文细黑", STHeiti, sans-serif;
}

/* 页脚固定在底部 */
#header, #body, #footer {
  width: 100%;
}

#header {
  flex: 0 0 auto;
}

#body {
  flex: 1 0 auto;
}

#footer {
  flex: 0 0 auto;
}

#body > .container > .row > .col-lg-9.main {
  min-width: 0;
}

#body > .container > .row > .aside {
  padding-left: 0;
}

@media (min-width: 992px) {
  #body > .container > .row > .col-lg-9.main {
    flex: 0 0 75%;
    max-width: 75%;
  }
  #body > .container > .row > .col-lg-3.aside {
    flex: 0 0 25%;
    max-width: 25%;
    flex-shrink: 0;
  }
}

.aside .iolu,
.aside .iolu a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.table th {
  border-top: none;
}

.table > tbody > tr:first-child > td {
  border-top: none;
}

/*
.borde {
  border: 1px solid rgba($black, 0.125);
  border-radius: 0.25rem;
}
.shadow {
  box-shadow: 2px 2px 3px rgba($gray-600, .25);
}
*/

.card > .card-header {
  color: #454d55;
  font-size: 14px;
}

.card > .card-block > table > tbody > tr:last-child > td {
  border-bottom: 0px;
}


.card-header-tabs > .nav-item > .nav-link.active {
color:#000;
}

.breadcrumb {
  border: 1px solid #dee2e6;
  box-shadow: 1px 1px 2px rgba(233, 236, 239, 0.25);
}

.breadcrumb:hover {
  background-color: #fff !important;
}

.breadcrumb .breadcrumb-item {
  display: inline-flex;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb .breadcrumb-item a {
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-header-dropdown .dropdown .dropdown-toggle {
  text-decoration: none;
  color: #495057;
}

.card-header-dropdown .dropdown-menu {
  min-width: 8rem;
  padding: 0.25rem 0;
}

.card-header-dropdown .dropdown-menu .dropdown-item {
  text-decoration: none;
  padding: 0.25rem 0.5rem;
}

.card-header-dropdown .dropdown-menu .dropdown-item i {
  width: 12px;
}

/* 小屏: only small screen */
@media (max-width: 576px) {
  #body {
    padding-top: 0.5rem;
  }
  #body > .container > .row > div {
    padding: 0.5rem;
  }
}

/* 小屏 + 中屏: small + middle */
@media (max-width: 992px) {
  #nav {
    padding-top: 1.5rem;
    padding-left: 0.5rem;
  }
  #nav > ul:first-child > li:not(:first-child) {
    padding-left: 3rem;
  }
  #nav > ul > li > a.nav-link {
    border-bottom: 1px solid rgba(134, 142, 150, 0.3);
  }
}

/* 中屏 + 大屏: middle + big */
@media (min-width: 576px) {
  #body {
    padding-top: 1rem;
  }
}

.addattach:hover {
  font-weight: 800;
}

/*@teax 弥补bootstrap beta3的不足，分页如果过多则换行，防止超出屏幕*/
.pagination {
  flex-wrap: wrap;
}

table.nav_tag_list {
  margin-bottom: 0.2rem;
}

table.nav_tag_list td {
  padding: 0.1rem;
}

table.nav_tag_list td a {
  margin-right: 0.5rem;
}

.nav_tag_list .active {
  font-weight: 800;
}

@keyframes quote_animation {
  from {
    background-color: #177f2e;
  }
  to {
    background-color: #f8f9fa;
  }
}

li.quote {
  background-color: #e9ecef;
  animation: quote_animation 1s;
  -moz-animation: quote_animation 1s;
  -webkit-animation: quote_animation 1s;
  -o-animation: quote_animation 1s;
  background-image: url(../img/quote.png);
  background-repeat: no-repeat;
  background-position: top right;
}

.blockquote {
  font-size: 0.8rem;
  background-color: #e9ecef;
  background-image: url(../img/quote.png);
  background-repeat: no-repeat;
  background-position: top right;
  padding: 0.5rem 1rem !important;
}

.blockquote .user {
  margin-right: 0.5rem;
}

.thread, .post {
  border-bottom: 1px solid #e9ecef;
  padding:0.25rem;
}


.threadlist > .thread:last-child,
.postlist > .post:last-child {
  border-bottom: 0px;
}

.postlist .media-body {
  width: 1%;
}

.message p {
  margin: 0.2rem 0;
  line-height: 1.7;
  color:#666;
}

.message img {
  max-width: 100%;
  height: auto !important;
  border: 1px solid #dee2e6;
  margin-bottom: 0.5rem;
}

.edui-editor-body img {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
}

.thread .badge {
  font-weight: 500;
}

.thread .subject .van-thread-tag {
  box-shadow: none;
}

.thread .subject .badge-primary.van-thread-tag {
  background: #0d6efd;
}

.thread .media-body > .d-flex.justify-content-between.small {
  font-size: 12px;
  color: #8a97a8;
}

/* 回帖输入框 */
#message {
  height: 2.4rem;
  transition: height 0.2s;
}

/* 导航 */
.navbar h5 {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1.75rem;
  font-weight: 800;
}

.navbar nav {
  padding-bottom: 1rem;
}

.navbar nav:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile_nav .navbar-nav {
  flex-direction: row;
}

#mobile_nav .navbar-nav .nav-link {
  margin-right: 1rem;
}

#nav_pc_2 {
  background: #868e96;
}

#nav_pc_2 a {
  color: #e9ecef;
}

#nav_pc_2 .active a {
  color: #fff;
  font-weight: 800;
}
/*自定义*/
.col-lg-9 .card-thread .card-body .media .avatar-3{display:none}
.card-header{border-left:4px solid #666; }
.carousel-item{text-align:center;}
.carousel-indicators{bottom:5px !important}
.btn{border-radius:0.1rem !important}
.nav_tag_list .active{font-weight:500 !important}
.tag_option:active, .tag_option.active{border:1px solid #0d6efd !important;background:#0d6efd !important;color:#fff !important}
.navbar-brand .hidden-lg{display:none;}
li{list-style:none !important}
.btn-toolbar{padding:0.5rem 0;} .avatar-3{margin-right:1rem;}
html{background-color:#ececec;}
body{background-color:#ececec;}
.navbar-expand-lg > .container{display:flex;flex-direction:column;background-color:#fff;background-image:url('/plugin/van_theme_dt/images/topbg.png');height:110px;}
#new-nav{display:flex;align-items:center;width:100%;padding:0 1.25rem;background:#fff;box-shadow:0 2px 3px rgba(3, 3, 3, 0.25);}
#new-nav .van-nav-logo{display:flex;align-items:center;justify-content:center;flex:0 0 auto;margin-right:1rem;padding:0.65rem 0;}
#new-nav .van-nav-logo img{display:block;height:38px;width:auto;max-width:none;}
#new-nav #nav{max-width:none;flex:1 1 auto;width:auto;min-width:0;padding:0;align-items:center;justify-content:space-between;}
#new-nav .navbar-nav{align-items:center;}
#new-nav .navbar-nav .nav-link{padding:1rem 0.85rem;}
#new-nav .navbar-nav.mr-auto .nav-link{color:#000;position:relative;}
#new-nav .navbar-nav.mr-auto .nav-link:before{content:"";position:absolute;left:0;bottom:5px;height:3px;width:100%;background:#476079;transform:scale(0);transition:all 0.1s;}
#new-nav .navbar-nav.mr-auto .nav-link:hover:before{transform:scale(1);}
#new-nav .navbar-nav:last-child .nav-link{color:#666;}
#new-nav .navbar-nav:last-child .nav-link:hover{color:#111;}
#new-nav.van-forum-nav-hidden .navbar-nav.mr-auto .nav-item[fid]:not([fid="0"]){display:none;}
#new-nav.van-forum-nav-hidden .navbar-nav.mr-auto .nav-item.home .nav-link{margin-left:0;padding-left:0;}
#body{max-width:1140px;margin:0 auto;}
.col-lg-9 .card .card-header{padding:0 1rem 0 0;}
.card-threadlist .card-body{padding:0}
.lunbo {margin-bottom:1rem;	}
.carousel-item img{border-radius:0.1rem;}
.it,.itop{padding:0 0.1rem;margin-bottom:1rem;}
.it-img{display: block;position: relative;margin:0.5rem 0;overflow: hidden;}
.it-img img{width:100%;height:150px;opacity:0.8;}
.it-img:hover span{height:30px;color:#fff;padding:0 0.5rem;line-height:30px;opacity:1;}
.it-img span{position:absolute;left:0; bottom: 0;overflow: hidden;width: 100%;height:0px;background: #000; opacity:0.5; filter: alpha(opacity=50);}
.itit .card-title{font-weight:bold;}
.itit .iolu{padding:0 0.5rem;background-color:#fff;}
.iolu{padding-left:0;}
.iolli{overflow:hidden;margin:1rem 0;white-space: nowrap;text-overflow: ellipsis}
.iolt{margin-left:0.75rem;}
.form-group{background:none;}
.change{width:100%;margin-left: auto; margin-right: auto;}
#changestyle{position:fixed;z-index:9999;top:200px;}
.changestyle{display:flex;flex-direction: column;width:40px;text-align:center;}
.changestyle a{padding:1rem 0.5rem;background:#fff;opacity:0.3;border-bottom:1px solid #eee;}
.changestyle a:hover{opacity:1;}
.mints{padding:0 10px;opacity:0.3;}
.ftnav{display:none;}
.boards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0.9rem;}
.board-entry{display:block;padding:1rem;border:1px solid #ececec;border-radius:0.35rem;background:#fff;color:#333;box-shadow:0 1px 3px rgba(0,0,0,0.04);}
.board-entry:hover{color:#d9534f;text-decoration:none;box-shadow:0 4px 12px rgba(0,0,0,0.08);}
.board-entry-top{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;margin-bottom:0.45rem;}
.board-entry-name{font-size:1rem;font-weight:700;color:#222;}
.board-entry-count{font-size:0.75rem;color:#999;white-space:nowrap;}
.board-entry-brief{font-size:0.85rem;line-height:1.7;color:#666;}
.board-entry-brief-empty{color:#999;}
@media (max-width:800px) {
#body > .container > .row > div{padding:0;}
.lunbo{margin-bottom:0;}
#body{padding-top:0;}
}
#showview{width:45px;margin-left: auto; margin-right: auto;}
@media (max-width:500px){.logo-2{display:none;}.navbar-expand-lg > .container{flex-direction:row;height:auto;padding:0.5rem}}
@media (min-width:992px) {#header{background:#fff !important;padding:0;border-bottom:0;}#header > .container{display:none;}#new-nav{width:100%;max-width:960px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;}}
@media (min-width:1200px) {#new-nav{max-width:1140px;}}
@media (min-width:992px) {#showview{display:block !important;padding-left:0;padding-right:100%}}
@media (min-width:1200px) {#showview{display:block !important;padding-right:1200px;}}
@media (max-width:500px) {.logo-2{display:none;}}
@media (max-width:991.98px) {
#new-nav .van-nav-logo{display:none;}
#new-nav{display:block;padding:0;background:#fff;}
#new-nav #nav{width:100%;padding:0 0.75rem 0.85rem;}
#new-nav #nav.show .navbar-nav,
#new-nav #nav.collapsing .navbar-nav{flex-direction:row;flex-wrap:wrap;justify-content:center;width:100%;margin:0 !important;}
#new-nav #nav.show .navbar-nav .nav-item,
#new-nav #nav.collapsing .navbar-nav .nav-item{flex:0 0 auto;}
#new-nav #nav.show .navbar-nav .nav-link,
#new-nav #nav.collapsing .navbar-nav .nav-link{padding:0.7rem 0.9rem;margin:0;border-bottom:none;white-space:nowrap;}
#new-nav #nav.show .navbar-nav + .navbar-nav,
#new-nav #nav.collapsing .navbar-nav + .navbar-nav{padding-top:0.35rem;margin-top:0.35rem !important;border-top:1px solid #f1f1f1;}
#footer{margin-bottom:60px;}
.change{width:100%;bottom:0;position:fixed;z-index:99999;height:auto;margin-left:0; margin-right: 0;background:#fff;border-top:1px solid #eee;box-shadow:0 -2px 10px rgba(0,0,0,0.08);}
.ftnav{display:flex;flex-direction:row;width:100%;justify-content:space-around;align-items:center;height:60px;}
#showview,.mints{display:none}
.mindh,.minsc{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;color:#999;text-decoration:none;flex:1;padding:4px 0;transition:all 0.2s;position:relative;}
/*.mints{display:none;}*/
.minsc br{display:none;}
.minsc i{font-size:24px;margin-bottom:2px;}
.minsc span{font-size:11px;}
.minsc.active{color:#007bff;}
.minsc.publish{position:relative;}
.minsc.publish i{background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);color:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(102, 126, 234, 0.4);margin-top:-20px;font-size:22px;}
.minsc.publish span{margin-top:4px;}
.minsc .unread-badge{position:absolute;top:2px;right:50%;margin-right:-25px;background:#ff4d4f;color:#fff;font-size:10px;min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:9px;padding:0 5px;font-weight:bold;box-shadow:0 2px 4px rgba(0,0,0,0.2);}
#showview{width:100%;}
#changestyle{top:auto;bottom:53px;}
.changestyle{width:auto;flex-direction:row;}
.changestyle a{padding:0;background:none;opacity:1;border-bottom:none;}
.changeview a{width:2.75rem;background:none;opacity:1;display:block;padding:0.2rem;background:#fff;border-radius:50%;margin:0 1rem;box-shadow: 2px 2px #aaa;}
.changeview{width:100%;display:flex;justify-content:center;padding:1rem;flex-direction: row;}
.mvtxt{display:none !important}
/*minfn*/
.fnnav{position:fixed;z-index:99999;height:auto;width:auto;bottom:45px;padding-left:0;right:5%;}
.fnnav span{color:#aaa;text-shadow:1px 1px 0 #fff;}
.fnli{background:#fff;padding-top:0;border:1px solid #AAA;border-radius:1rem;}
.fnlia{display:block;padding:0.25rem 0.5rem !important;border-radius:1rem;text-shadow:1px 1px 0 #fff;}
.fnlia:hover{color:#D9534D;}
}
/* 图片网格布局 */
.van-attach-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:0.9rem;margin-top:1rem;}
.van-attach-gallery--reply{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
.van-attach-gallery__item{display:block;overflow:hidden;border-radius:14px;border:1px solid #edf2f7;background:#f8fafc;}
.van-attach-gallery__item img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;}
/* 隐藏帖子列表回复数字，让标签独占右下角 */
.thread .text-muted.small > span:has(.icon-comment-o) { display: none; }

/* 图片列表：标题固定两行高度，用户名行横向对齐（仅首页/版块列表，不影响帖子页） */
ul.threadlist > li.thread .media-body {
	display: flex;
	flex-direction: column;
}
ul.threadlist > li.thread .media-body .subject,
ul.threadlist > li.thread .media-body .subject.break-all {
	flex: 0 0 42px;
	height: 42px !important;
	min-height: 42px !important;
	max-height: 42px !important;
	margin: 0.55rem 0 0.3rem !important;
	padding: 0 !important;
	overflow: hidden !important;
	line-height: 1.45 !important;
	box-sizing: border-box !important;
}
ul.threadlist > li.thread .media-body > .d-flex {
	flex: 0 0 auto;
}
@media (max-width:575.98px) {
.boards-grid{grid-template-columns:1fr;}
.card-body form .d-flex.justify-content-between{flex-wrap:wrap;}
.card-body form .d-flex.justify-content-between > .text-right{width:100%;margin-top:0.5rem;}
.card-body form .d-flex.justify-content-between > .text-right .btn{width:100%;}
}
