@charset "UTF-8";

html, table {
  font-size: 14px;
}

body {
  background: #dee2e6;
}

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 > .aside {
  padding-left: 0;
}

.card {
  margin-bottom: 1rem;
  background: #f8f9fa;
  box-shadow: 2px 2px 3px rgba(173, 181, 189, 0.25);
}

.card > .card-header {
  color: #454d55;
  font-size: 14px;
  border-bottom: 1px solid #dee2e6;
  background-image: linear-gradient(0deg, #e9ecef, #f8f9fa);
}

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

.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;
  color: #007bff;
  cursor: pointer;
}

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

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

.thread:hover {
  background-color: white;
  cursor: pointer;
}

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

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

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

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

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

.subject {
  font-size: 1.04rem;
}

.message {
  font-size: 1.1rem;
}

#message {
  transition: height 0.2s;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo-text:hover {
  color: #fff;
  text-decoration: none;
}

.site-logo-img {
  max-height: 30px;
  width: auto;
  vertical-align: middle;
}

.mobile-compose-icon {
  color: #fff;
  font-size: 18px;
  padding-right: 0;
}

.avatar-1 { width: 24px; height: 24px; border-radius: 5px; }
.avatar-2 { width: 32px; height: 32px; border-radius: 5px; }
.avatar-3 { width: 48px; height: 48px; border-radius: 5px; }
.avatar-4 { width: 96px; height: 96px; border-radius: 5px; }

.domain-bar {
  font-size: 13px;
  border: 1px solid #dee2e6;
  background: #fff;
}

.domain-bar a {
  color: #007bff;
}

.site-notice {
  font-size: 13px;
  border: 1px solid #c3e6cb;
}

.card-site-info .card-footer {
  background: #f8f9fa;
}

.vip-plan-list .list-group-item {
  border-left: 0;
  border-right: 0;
  padding: 0.85rem 1rem;
}

.vip-plan-list .list-group-item:first-child {
  border-top: 0;
}

.vip-plan-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 0.25rem;
}

.vip-welcome {
  font-size: 13px;
  line-height: 1.8;
}

.vip-page-card .card-header {
  background: linear-gradient(0deg, #e9ecef, #f8f9fa);
  font-weight: 600;
}

.vip-submit-btn {
  background-color: #4a6a8a;
  border-color: #4a6a8a;
  font-size: 16px;
  padding: 0.65rem;
}

.vip-submit-btn:hover {
  background-color: #3d5a75;
  border-color: #3d5a75;
}

.nav-top {
  flex-wrap: wrap;
  border-bottom: none;
}

.nav-top .nav-link {
  padding: 0.5rem 0.75rem;
  color: #495057;
}

.nav-top .nav-link.active {
  font-weight: 700;
  color: #007bff;
}

.break-all {
  word-break: break-all;
}

.line-height-2 {
  line-height: 1.5;
}

.line-height-3 {
  line-height: 1.8;
}

.text-grey {
  color: #868e96 !important;
}

.text-small {
  font-size: 85%;
}

.line-height-4 {
  line-height: 2;
}

.hidden-lg {
  display: none;
}

@media (max-width: 992px) {
  .hidden-lg {
    display: inline-block;
  }
  .d-none.d-lg-block {
    display: none !important;
  }
  #nav {
    padding-top: 1.5rem;
    padding-left: 0.5rem;
  }
}

@media (min-width: 576px) {
  #body {
    padding-top: 1rem;
  }
}

@media (max-width: 576px) {
  #header {
    background: transparent !important;
    padding: 0;
  }
  #header > .container {
    background: #343a40;
    min-height: 56px;
    align-items: center;
  }
  #header .logo-text {
    font-size: 1rem;
    padding: 0;
    margin: 0;
  }
  #header .logo-text::after {
    content: "";
  }
  #header .site-logo-img {
    max-height: 28px;
  }
  #header .navbar-toggler {
    width: 46px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.75);
    padding: 0.35rem 0.55rem;
  }
  #header .navbar-toggler-icon {
    width: auto;
    height: auto;
    background-image: none;
    display: block;
  }
  #header .navbar-toggler-icon::before {
    content: "";
    display: block;
    width: 24px;
    height: 18px;
    background:
      linear-gradient(#cfd6dd, #cfd6dd) 0 0 / 24px 2px no-repeat,
      linear-gradient(#cfd6dd, #cfd6dd) 0 8px / 24px 2px no-repeat,
      linear-gradient(#cfd6dd, #cfd6dd) 0 16px / 24px 2px no-repeat;
  }
  #mobile-post-btn .navbar-brand {
    margin-right: 0;
  }
  #nav {
    padding-top: 0.5rem;
    padding-left: 0;
  }
  #body {
    padding-top: 0.5rem;
  }
  #body > .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  #body > .container > .row > div {
    padding: 0.5rem;
  }
  #my_mobile_nav {
    display: none !important;
  }
  #my_main {
    padding-left: 6px;
    padding-right: 6px;
  }
  #my_main .card {
    margin-bottom: 0.75rem;
    border-color: #d6dce2;
  }
  #my_main .card-body {
    padding: 1rem;
  }
  #my_main .card-header-tabs {
    padding-left: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  #my_main .card-header-tabs .nav-link {
    white-space: nowrap;
    padding: 0.72rem 0.85rem;
  }
  #my_main .line-height-4 {
    line-height: 2.25;
  }
  #my_main .table-responsive {
    border: 0;
  }
  #my_main .table {
    margin-bottom: 0;
  }
  #my_main .profile-form .input-group-text {
    min-width: 4.4rem;
  }
  #my_main .profile-form .btn-save,
  #my_main .profile-form .btn-primary {
    min-width: 5rem;
  }
  body[data-page="my"] #header,
  body[data-page="my-password"] #header,
  body[data-page="my-avatar"] #header,
  body[data-page="my-email"] #header,
  body[data-page="my-threads"] #header,
  body[data-page="notice"] #header,
  body[data-page="pm"] #header,
  body[data-page="credits"] #header,
  body[data-page="my-invite"] #header,
  body[data-page="vip"] #header {
    display: none;
  }
  body[data-page="create"] .card > .card-header {
    padding: 0.75rem 1rem;
  }
  body[data-page="create"] .main {
    padding-left: 0;
    padding-right: 0;
  }
  body[data-page="create"] .card-body {
    padding: 0.85rem;
  }
  body[data-page="create"] #create-fid {
    width: 100% !important;
  }
  body[data-page="create"] .create-venue-row {
    margin-left: 0;
    margin-right: 0;
  }
  body[data-page="create"] .create-venue-row .col-form-label {
    text-align: left !important;
    padding-left: 0;
  }
  body[data-page="create"] .d-flex.justify-content-between {
    display: block !important;
  }
  body[data-page="create"] #submit {
    width: 100%;
    margin-top: 0.75rem;
  }
  #footer {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 0.75rem !important;
  }
  #footer > .container {
    background: #343a40;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  #footer .row {
    flex-wrap: nowrap;
  }
  #footer .col {
    flex: 1 1 0;
    font-size: 12px;
  }
  #footer .text-right {
    white-space: nowrap;
  }
}

.icon-top-1::before { content: "📌"; font-size: 0.85em; }
.icon-top-2::before { content: "📌"; color: #e67e22; font-size: 0.85em; }
.icon-top-3::before { content: "📌"; color: #c0392b; font-size: 0.85em; }
.icon-digest-1::before { content: "◆"; color: #5bc0de; }
.icon-digest-2::before { content: "◆"; color: #eca541; }
.icon-digest-3::before { content: "◆"; color: #d53d38; }
.icon-lock::before { content: "🔒"; font-size: 0.8em; }

.tag_option {
  border: 1px solid #bbb;
  padding: 1px 10px;
  border-radius: 10px;
  text-decoration: none;
  float: left;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  cursor: pointer;
  color: #333;
}

.tag_option.active {
  border: 1px solid #000;
  background: #000;
  color: #fff;
}

.page-view { display: none; }
.page-view.active { display: block; }

#my_aside .card {
  border-color: #dee2e6;
}

#my_aside .card-body {
  padding: 1.25rem 1rem;
}

#my_aside .list-group-item {
  border-left: 0;
  border-right: 0;
  padding: 0.65rem 1rem;
  color: #495057;
}

#my_aside .list-group-item.active {
  background-color: #5a6a7a;
  border-color: #dee2e6;
  color: #fff;
}

#my_main .card-header {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
}

#my_main .card-header-tabs {
  margin: 0;
  padding: 0 0.5rem;
}

#my_main .card-header-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #495057;
  padding: 0.75rem 1rem;
  background: transparent;
}

#my_main .card-header-tabs .nav-link.active {
  color: #007bff;
  border-bottom-color: #007bff;
  background: transparent;
  font-weight: 500;
}

.my-posts-card .card-header {
  padding: 0;
  background: #fff;
}

.my-empty {
  font-size: 15px;
  letter-spacing: 0.2em;
}

.notice-empty-icon {
  font-size: 48px;
  color: #6c757d;
  line-height: 1;
}

.notice-empty-icon .icon-bell::before {
  font-style: normal;
}

.notice-list li:last-child {
  border-bottom: 0 !important;
}

#my_main .card-body {
  padding: 1.5rem;
}

.profile-form .form-group.input-group {
  margin-bottom: 1rem;
}

.profile-form .input-group-text {
  min-width: 2.5rem;
  justify-content: center;
}

.profile-form .input-group-append .btn {
  min-width: 6.5rem;
}

.profile-form .email-status {
  background-color: #f8f9fa;
  color: #6c757d;
}

.profile-form .btn-save {
  min-width: 8rem;
}

.my-mobile-shell {
  margin-bottom: 0.75rem;
}

.my-mobile-userbar {
  background: #343a40;
  color: #fff;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
}

.my-mobile-userbar a,
.my-mobile-links a {
  color: #d9e0e7;
  text-decoration: none;
}

.my-mobile-menu {
  width: 46px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
}

.my-mobile-menu span {
  display: block;
  height: 2px;
  background: #cfd6dd;
  margin: 4px 0;
}

.my-mobile-user,
.my-mobile-logo {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.my-mobile-logo-img {
  max-height: 26px;
}

.my-mobile-username {
  color: #fff;
  font-weight: 700;
}

.my-mobile-edit {
  font-size: 18px;
  color: #fff !important;
}

.my-mobile-links {
  background: #343a40;
  padding: 0 0.85rem 0.45rem;
  display: block !important;
}

.my-mobile-links a {
  display: block;
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.my-mobile-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.35rem 0.5rem 0;
}

.my-mobile-tabs a {
  color: #fff;
  background: #7f8a94;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.my-mobile-tabs a.active {
  background: #6d7882;
}

.my-avatar-upload .custom-file-label::after {
  content: "浏览";
}

.my-avatar-progress {
  height: 0.75rem;
  background: #e9ecef;
}

.create-venue-row .col-form-label {
  padding-top: calc(0.25rem + 1px);
}

.ax_width {
  margin-right: 1%;
  margin-bottom: 0.5rem;
}

.card-thread .form-control {
  background-color: #fff;
  min-height: calc(1.5em + 0.75rem + 2px);
}

.card-postlist .postlist .post {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.card-postlist .postlist .post:last-child {
  border-bottom: 0;
}

.card-user-info .avatar-5 {
  width: 80px;
  height: 80px;
  border-radius: 4px;
}

.card-user-info h5 a {
  color: #333;
}

.plugin .btn-outline-secondary {
  margin: 0 0.25rem;
}

.haya-post-like-thread-btn {
  margin-left: 0.15rem;
}

#bbsTipModal .modal-header,
#bbsTipModal .modal-footer {
  border-color: #dee2e6;
}

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