@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 {

  background: #dee2e6;

}



html, body {

  height: 100%;

  display: flex;

  flex-direction: column;

  font-family:'Jost', "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 > .aside {

  padding-left: 0;

}



.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 {

  margin-bottom: 1rem;

  background: #f8f9fa;

  box-shadow: 2px 2px 3px rgba(173, 181, 189, 0.25);

}



.card > .card-header {

  color: #454d55;

  font-size: 16px;

  border-bottom: 1px solid #dee2e6;

  background-image: linear-gradient(0deg, #e9ecef, #f8f9fa);

}



.card > .card-block > table > tbody > tr:last-child > td {

  border-bottom: 0px;

}



.card-header-tabs > .nav-item > .nav-link:hover:not(.active) {

  border: 1px solid #dee2e6;

}



.card-header-tabs > .nav-item > .nav-link.active {

  background-image: linear-gradient(0deg, #f8f9fa, #fff);

  border-color: #dee2e6;

  border-bottom-color: #f8f9fa;

}



.breadcrumb {

  background-color: rgba(248, 249, 250, 0.8) !important;

  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.5rem 0px;

}



.thread:hover {

  background-color: white;

}



.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;

  text-indent: 1em;

}



.message img {

  max-width: 100%;

  height: auto !important;

  border: 1px solid #dee2e6;

  margin-bottom: 0.5rem;

}



.thread .badge {

  font-weight: normal;

}



/* 回帖输入框 */

#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;

}
.MobilemenuBtn {
 padding:1rem;
 font-size:1.25rem;
 line-height:1;
 background-color:transparent;
 border:1px solid transparent;
 border-radius:.25rem;
}
.postInfo {
 font-size:5px !important
}
.forumlist-bg {
 background-color:var(--light) !important
}
.forumBrief {
 cursor:pointer;
 display:-webkit-box;
 text-overflow:ellipsis;
 overflow:hidden;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2
}
.js-sidebar, .js-sidebar--background {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.js-sidebar--background {
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.js-sidebar {
  position: fixed;
  z-index: 9999;
  -moz-transform: translate(-100%, 0);
  -ms-transform: translate(-100%, 0);
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
  -moz-transition: -moz-transform 0s ease 0.3s;
  -o-transition: -o-transform 0s ease 0.3s;
  -webkit-transition: -webkit-transform 0s ease;
  -webkit-transition-delay: 0.3s;
  transition: transform 0s ease 0.3s;
}
.js-sidebar--background {
  position: absolute;
  background: transparent;
}
.js-sidebar--container {
  position: relative;
  z-index: 1;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: #FFF;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  display: flex;
  flex-direction: column;
  -moz-box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2), 1px 0 10px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2), 1px 0 10px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2), 1px 0 10px rgba(0, 0, 0, 0.1);
  -moz-transform: translate(-100%, 0);
  -ms-transform: translate(-100%, 0);
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}
.js-sidebar--container .sidebar--title {
  height: 100px;
  min-height: 100px;
  background: linear-gradient(to left, #0f2027, #203a43, #2c5364);
  color: white;
  line-height: 100%;
  display: -webkit-flex;
  -webkit-align-items: flex-end;
  display: flex;
  align-items: flex-end;
}
.js-sidebar.is-visible {
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  -moz-transition: -moz-transform 0s ease 0s;
  -o-transition: -o-transform 0s ease 0s;
  -webkit-transition: -webkit-transform 0s ease;
  -webkit-transition-delay: 0s;
  transition: transform 0s ease 0s;
}
.js-sidebar.is-visible .js-sidebar--background { background: rgba(0, 0, 0, 0.2); }

.sidebar_forumList{
  overflow: auto;
}