body {
    background: #f4f6f9;
    font-family: turn;
    top: 50px;
    position: relative;
}

/* 搜索特效 */
#search_form button.btn.btn-primary {
    transition: width .3s;
    width: 51px;
}

#search_form:hover .input-group-append .btn.btn-primary {
    width: 70px;
}

#search_form .form-control:focus {
    border-color: transparent;
    box-shadow: none;
}

/* 其它自定义CSS */
.custom-input.custom-radio {
  margin-bottom: 0 !important;
}

/*.card-thread .card-body .media {*/
/*  background-image: url(../../img/bg_banner.png);*/
/*  background-repeat: no-repeat;*/
/*  padding: 1.2rem 1.2rem 1rem 1.2rem;*/
/*  border-radius: 0.25rem 0.25rem 0 0;*/
/*}*/

ul {
    padding-inline-start: 15px;
}

/* @font-face {
    font-family: 'turn';
    src: url('../css/fonts/turn.woff2') format('woff2');
} */

header#header {
    box-shadow: 0 1px 3px hsla(0,0%,7%,.1);
    border: 1px solid rgb(0 0 0 / 0%);
    background-color: #ffffff !important;
    position: fixed !important;
    display: block;
    z-index: 99;
    top: 0;
}

ul.navbar-nav.mr-auto li .nav-link {
    color: #333;
}

.navbar-dark .navbar-nav .nav-link {
    color: #333;
}

.avatar-1 {
    border-radius: 5px;
}

a.btn.btn-secondary.btn-block.xn-back.col-lg-6.mx-auto.mb-3 {
    display: none;
}

a {
    color: #333333;
}

a:hover {
    color: #3291f6;
    text-decoration: none;
}

#nav > ul:first-child > li:not(:first-child) {
    padding-left: 0;
}

.navbar-dark .navbar-brand {
  color: #1a1d20;
}

.navbar-toggler:not(:disabled):not(.disabled) {
    outline: 0;
    padding: 0.25rem 0;
}

.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, 1);
    border-color: rgb(255 255 255 / 0%);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 1.3em;
    height: 1.3em;
}

.avatar-3 {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 5px;
}

.avatar-5 {
    width: 4rem;
    height: 4rem;
    border-radius: 5px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "»";
}

/*附件下载样式相关  开始*/

/*ul.attachlist li {*/
/*    list-style: none;*/
/*}*/

/*ul.attachlist {*/
/*    padding-inline-start: 0;margin-bottom: 0;*/
/*    height: 0;*/
/*}*/

/*ul.attachlist a {*/
/*    color: #3291f6;*/
/*}*/

/*.fieldset > legend {*/
/*    padding: 0 10px;*/
/*    border-radius: 0;*/
/*    font-weight: 600;*/
/*    color: #333;*/
/*    background: rgb(134 142 150 / 0%);*/
/*    border-left: 4px solid #3291f6;*/
/*    margin-bottom: 1rem;*/
/*    line-height: 22px;*/
/*}*/

/*fieldset.fieldset {*/
/*    border: 1px solid rgb(222 226 230 / 0%);*/
/*    background: rgb(248 249 250 / 0%);*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    margin-top: 0 !important;*/
/*}*/

/*fieldset.fieldset legend {*/
/*    display: none;*/
/*}*/

/*fieldset.fieldset ul.attachlist li {*/
/*    position: relative;*/
/*    top: -43px;*/
/*    left: -1px;*/
/*    padding: 10px 0;*/
/*    background: rgb(255 255 255);*/
/*    word-wrap: break-word;*/
/*    word-break: break-all;*/
/*}*/

/*附件下载样式相关  结束*/

.brief {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.5;
    font-size: 12px;
    height: 20px;
    color: #555;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.username .nav-link {
    display: flex;
    align-items: center;
}

.username .nav-link .avatar-1 {
    margin-right: 5px;
}

.list-unstyled.postlist .post-1:last-child {
    border-bottom: 0px solid #e9ecef;
}

.logo-5 {
    height: 5rem;
}

.btn-primary {
    background-color: #3291f6;
    border-color: #3291f6;
}

.btn-primary:hover {
    background-color: #3291f6;
    border-color: #3291f6;
    opacity: .8;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
    opacity: .8;
}

.btn-secondary {
    background-color: #b5b5b5;
    border-color: #b5b5b5;
}

.btn-secondary:hover {
    background-color: #c9302c;
    border-color: #c9302c;
}

.btn-secondary:focus, .btn-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgb(134 142 150 / 0%);
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
    background-color: #3291f6;
    border-color: #3291f6;
    opacity: 1;
}

.gotop {
    position: fixed;
    z-index: 30;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #2B7ACD;
    color: #ffffff;
    font-size: 20px;
    right: 15px;
    border-radius: 8px;
    bottom: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-4 {
    border-radius: 5px;
    object-fit: cover;
    width: 3.5rem;
    height: 3.5rem;
}

.message img {
    border: 1px solid rgb(255 255 255 / 0%);
}

.breadcrumb {
    background-color: rgb(255 255 255) !important;
    box-shadow: 0 1px 3px hsla(0,0%,7%,.1);
    border: 1px solid rgb(0 0 0 / 0%);
    font-size: 90%;
}

.user_i {
    margin-left: auto;
    margin-right: 15px;
}

.avatar-5s {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    vertical-align: top;
}

.icon-database {
    height: 12.5px;
    display: inline-block;
    overflow: hidden;
    vertical-align: 0;
    font-size: 12px;
}

.card-header-dropdown .dropdown-menu .dropdown-item {
    padding: 0.5rem;
}

.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgb(36 105 243 / 50%);
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(36 105 243 / 0%);
}

pre.language-markup {
    padding: 1.25rem;
    background-color: #343a40;
    color: #ffffff;
    border-radius: 5px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #ccc;
}

.card {
    box-shadow: 0 1px 3px hsla(0,0%,7%,.1);
    border: 1px solid rgb(0 0 0 / 0%);
    background: #fff;
}

.card-header-tabs > .nav-item > .nav-link.active {
    background-image: linear-gradient(0deg, rgb(248 249 250 / 0%), rgb(255 255 255 / 0%));
    border-color: rgb(222 226 230 / 0%);
    border-bottom: 2px solid #3291f6;
    color: #3291f6;
    background-color: rgb(255 255 255 / 0%);
    padding: 0.5rem 0;
    margin: 0 1rem;
    font-weight: 600;
}

.card-header-tabs > .nav-item > .nav-link:hover:not(.active) {
    border: 1px solid rgb(222 226 230 / 0%);
}

.card > .card-header {
    background-image: none;
    background-color: #fff;
    border-color: var(--gray-200);
}

.thread:hover {
    background-color: rgb(255 255 255 / 0%);
}

.card-footer {
    background-color: #fff;
}

.badge-secondary {
    color: #fff;
    background-color: #3291f6;
}

.badge-secondary[href]:hover, .badge-secondary[href]:focus {
    background-color: #3291f6;
    opacity: .8;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.card-header-tabs {
    margin-top: -0.43rem;
}

.logo-4 {
    border-radius: 5px;
}

.col-md-6 span.text-muted {
    color: #333333 !important;
}

.icon.filetype.other {
    background-position: 0 calc(-9* var(--sbig));
}

.message {
    color: #333333;
    line-height: 1.9;
}

h1.break-all {
    line-height: 1.7;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

img.avatar-3.mr-3 {
    margin-top: 0.5rem !important;
}

.card-footer.p-2 {
    border-top: 1px solid #e9ecef;
}

a.btn.btn-secondary {
    background-color: #b5b5b5;
    border-color: #b5b5b5;
    opacity: .8;
}

.dropdown-menu {
    border: 1px solid rgb(0 0 0 / 1%);
    box-shadow: 0 0.25rem 1rem rgba(161, 172, 184, 0.45);
    border-radius: 5px;
}

blockquote.blockquote {
    border-left: 3px solid #3291f6;
    margin-bottom: 0;
    background-color: rgb(255 255 255 / 0%);
    background-image: none;
    padding: 0 0.5rem !important;
}

tbody b {
    font-size: 1.1rem;
    color: #333333;
}

div#my_mobile_nav {
    margin-top: 1rem;
}

.list-unstyled.threadlist h6 {
    line-height: inherit;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 5px;
    font-weight: 600;
}

.card-footer.small.text-secondary {
    background-color: transparent !important;
}

.list-unstyled.threadlist .d-flex.justify-content-between {
    flex-direction: column;
}

.list-unstyled.threadlist .card-body .media {
    align-items: center;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #3291f6;
}

.dropdown-item {
    color: #495057;
}

.form-control:focus {
    box-shadow: 0 0 0 0.1rem rgb(23 114 246 / 0%);
    border-color: #ced4da;
}

.tap a.mr-3 {
    position: relative;
}

.top-background {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 18px;
    height: 18px;
    border-radius: 50px;
    background: #d13e32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

i.icon-thumb-tack {
    color: #ffffff;
    font-size: 0.8rem;
}

h4.modal-title {
    font-size: 1.1rem;
}

li.nav-item.active a {
    position: relative;
}

li.nav-item.active a::before {
    content: "";
    position: absolute;
    bottom: -7.5px;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 50px;
}

.navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .nav-link.active {
    font-weight: 600;
    color: #3291f6;
}

li.nav-item.active a::before {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background-color: #3291f6;
    border-radius: 0;
}

.col-8.px-0 a.text-muted.font-weight-bold {
    color: #333 !important;
}

span.btn-group {
    display: inline-flex;
    flex-direction: column;
}

span.haya-favorite-btn {
    display: none;
}

span.haya-post-like-thread-btn {
    display: none;
}

button.btn.btn-outline-secondary.js-haya-favorite-tip {
    border-radius: 100px!important;
    border-color: #DDDDDD;
    color: #C4C4C4;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

button.btn.btn-outline-secondary.js-haya-post-like-thread-tip {
    border-radius: 100px!important;
    border-color: #DDDDDD;
    color: #C4C4C4;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

button.btn.btn-outline-secondary.js-haya-favorite-add {
    border-radius: 100px !important;
    border-color: #DDDDDD;
    color: #C4C4C4;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

button.btn.btn-outline-secondary.js-haya-post-like-thread-del {
    border-radius: 100px!important;
    border-color: #3291f6;
    color: #3291f6;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

button.btn.btn-outline-secondary.js-haya-post-like-thread-add {
    border-radius: 100px!important;
    border-color: #DDDDDD;
    color: #C4C4C4;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

button.btn.btn-outline-secondary.js-haya-favorite-del {
    border-radius: 100px!important;
    border-color: #3291f6;
    color: #3291f6;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

div#user_mobile_nav {
    margin-bottom: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.btn-outline-secondary:hover {
    background-color: #f8f8f8;
}

img.avatar-2 {
    border-radius: 5px;
}

hr {
    border-top: 1px solid #e9ecef;
}

.haya-favoriter.px-1 {
    padding: 0 1rem !important;
}

.haya-post-like.px-1 {
    padding: 0 1rem !important;
}

.btn-group .btn-outline-secondary:last-child {
    border-color: rgb(134 142 150 / 0%);
    padding: 0.2rem 0.4rem;
    color: #555;
    font-size: 0.9rem;
}

.btn-group .btn-outline-secondary:last-child:hover {
    color: #333;
    background-color: rgb(134 142 150 / 0%);
    border-color: rgb(134 142 150 / 0%);
}

.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle {
    color: #868e96;
    background-color: rgb(134 142 150 / 0%);
    border-color: rgb(134 142 150 / 0%);
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0);
}

.btn-outline-secondary:focus, .btn-outline-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgb(134 142 150 / 0%);
}

.modal-dialog.modal-md h5 {
    font-size: 1rem;
}

button.close {
    outline: 0;
}

.top-background.top-1 {
    background: #3291f6;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.modal-dialog.modal-md {
    margin-top: 5rem;
}

.modal-footer .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.95rem;
}

.card-body.text-center h5 {
    font-size: 1.1rem;
    color: #333;
}

.text-left.line-height-2 {
    color: #777777;
}

.message.break-all {
    margin-top: 1rem;
}

b.text-primary {
    color: #3291f6 !important;
}

h5.modal-title {
    font-size: 1.1rem;
}

.progress-bar {
    background-color: #3291f6;
}

.input-group.mb-3 .input-group-prepend {
    display: block;
}

.col-md-6.mx-auto .tt_card_s {
    background: linear-gradient(to bottom right, #ffffff, #ffffff);
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}

.tt_card_s .tt_card_title {
    font-size: 16px;
    color: #3291f6;
}

a.list-group-item.list-group-item-action {
    border: 1px solid #e9ecef;
    border-right: 0;
    border-left: 0;
}

.text-center.h1.pt-5.pb-5 {
    font-size: 1.5rem;
}

.card.friendlink ul {
    list-style: none;
    padding-inline-start: 0;}

.card.friendlink ul li {
    display: inline-block;
    margin-right: 1rem;
}

.card-header.text-grey {
    color: #454d55 !important;
}

a.small.text-muted.text-nowrap {
    width: 35px;
    height: 35px;
    display: block;
}

a.small.text-muted.text-nowrap img {
    border-radius: 5px;
}

.modal-dialog.modal-undefined {
    margin-top: 5rem;
}

.card.card-user-info h5 {
    font-size: 1.0rem;
    margin-top: 0.5rem;
}

.col-3.mb-1.text-center {
    padding-bottom: 15px;
}

footer#footer .row {
    color: #c6c6c6 !important;
}

.d-flex.justify-content-between.small {
    align-items: center;
}

.card.card-thread .message img {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    min-width: 100%;
    border-radius: 5px;
    border: 1px solid #eeeeee;
}

.card-body.ajax-body {
    padding: 0;
}

.form-control {
    border: 1px solid #dee2e6;
}

.text-danger {
    color: #3291f6 !important;
}

a.btn.btn-sm.btn-light {
    color: #333333;
    background-color: rgb(255 255 255 / 0%);
    border-color: rgb(255 255 255 / 0%);
}

button.readbtn.btn.btn-small.btn-light.ml-2.text-muted {
    background-color: rgb(255 255 255 / 0%);
    border-color: rgb(255 255 255 / 0%);
}

button.deletebtn.btn.btn-small.btn-light.ml-2.text-muted {
    background-color: rgb(255 255 255 / 0%);
    border-color: rgb(255 255 255 / 0%);
}

button.btn.btn-small.btn-light.ml-2.text-muted {
    background-color: rgb(255 255 255 / 0%);
    border-color: rgb(255 255 255 / 0%);
}

button.deletebtn.btn.btn-small.btn-light.ml-2.text-muted {
    background-color: rgb(255 255 255 / 0%);
    border-color: rgb(255 255 255 / 0%);
}

a.text-grey.haya-post-info-home-thread-forum {
    color: #333333 !important;
}

.col-md-6.mx-auto .tt_card {
    background: linear-gradient(to bottom right, #ffffff, #ffffff);
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}

.tt_card .tt_card_title {
    font-size: 16px;
    color: #3291f6;
}

img#divPIC {
    width: 130px;
}

.alert.alert-warning button#b_p {
    background-color: #FF9800;
    border-color: #FF9800;
    padding: 0.3rem 0.6rem;
}

.alert.alert-warning button#b_p:hover {
    opacity: .7;
}

.alert-success hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.alert-warning hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.alert.alert-warning span {
    color: #FF9800;
}

.modal-dialog.modal-md .modal-body div div {
    margin-top: 15px;
}

.col-3.mb-1.text-center {
    float: left;
    padding-right: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.95rem;
}

a.small.text-muted.text-nowrap img.img-circle {
    width: 35px;
    height: 35px;
}

.btn-warning.focus {
    box-shadow: 0 0 0 0.2rem rgb(241 200 76 / 0%);
}

.btn-warning:focus, .btn-warning.focus {
    box-shadow: 0 0 0 0.2rem rgb(241 200 76 / 0%);
}

.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(241 200 76 / 0%);
}

li.mb-1.small.line-height-2 a {
    font-size: 0.9rem;
}

.card-header.d-flex.justify-content-between i.icon-diamond.flash {
    display: none;
}

.break-all i.icon-paypal {
    font-size: 0.9rem;
}

.btn-outline-primary {
    color: #ffffff;
    border-color: #3291f6;
    background-color: #3291f6;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
    opacity: .8;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgb(31 73 119 / 0%);
}

.btn-outline-danger {
    color: #ffffff;
    background-color: #F44336;
    border-color: #F44336;
}

.btn-outline-danger:hover {
    background-color: #F44336;
    border-color: #F44336;
    opacity: .8;
}

.btn-outline-danger:focus, .btn-outline-danger.focus {
    box-shadow: 0 0 0 0.2rem rgb(198 48 62 / 0%);
}

.btn-info {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.btn-info:hover {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, .show > .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
    opacity: .8;
}

.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, .show > .btn-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(17 120 135 / 0%);
}

.btn-info:focus, .btn-info.focus {
    box-shadow: 0 0 0 0.2rem rgb(17 120 135 / 0%);
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(31 73 119 / 0%);
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(31 73 119 / 0%);
}

.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(198 48 62 / 0%);
}

.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #F44336;
    border-color: #F44336;
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgb(36 105 243 / 0%);
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border-color: #e9ecef00 #e9ecef00 #dee2e600;
}

button#submit {
    background-color: #3291f6;
    border-color: #3291f6;
}

.col-8.px-0 {
    flex: 0 0 50%;
    max-width: 50%;
}

.media-body {
    flex: 1; /* 让媒体主体占据剩余空间 */
    min-width: 0; /* 防止 flex 容器溢出 */
}

.media-body h6 {
    max-width: calc(100% - 5px); /* 根据图片宽度调整 */
}

.media-body.small a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-size: 1rem;
}

h6 {
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    max-width: 100%; /* 设置最大宽度 */
    display: block; /* 确保 h6 是块级元素 */
}

li.media.post-1.line-height-2 {
    padding: 0.5rem 0px;
}

li.media.post.quote {
    border-left: 3px solid #3291f6;
    margin-bottom: 0;
    background-color: rgb(255 255 255 / 0%);
    background-image: none;
    padding: 0 0.5rem !important;
}

.d-flex.justify-content-between.small.mt-1 i.icon-comment {
    color: #3291f6;
}

.d-flex.justify-content-between.small.mt-1 span.text-grey.mx-2 {
    display: none;
}

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

.danger-shop ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    align-items: center;
    font-size: 1rem;
}

.danger-shop li {
    width: 50%;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
    padding: 0.375rem 0;
}

.mb-shop .mbs-img {
    width: 120px;
    margin-right: 2rem;
    height: 120px;
}

.mb-shop .mbs-img img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    border-radius: 5px;
    border: 1px solid rgb(206 212 218 / 27%);
    object-fit: cover;
}

.mb-shop {
    display: flex;
    align-items: center;
}

.btn-download {
    background-color: #3291f6;
    border-color: #3291f6;
}

.btn-download:hover {
    background-color: #3291f6;
    border-color: #3291f6;
    opacity: .8;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(31 73 119 / 0%);
}

.btn-kefu {
    background-color: #e7505a;
    border-color: #e7505a;
}

.btn-kefu:hover {
    background-color: #e7505a;
    border-color: #e7505a;
    opacity: .8;
}

.alert-shop .btn-warning {
    color: #212529;
    background-color: #ff9d00;
    border-color: #ff9d00;
}

.alert-shop .btn-warning:hover {
    color: #212529;
    background-color: #FF9800;
    border-color: #FF9800;
    opacity: .8;
}

.input-pic .input-group-prepend .input-group-text {
    width: 80px;
    height: 80px;
    padding: 0;
    border: 0px solid rgb(206 212 218 / 27%);
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.input-group.mb-3 .input-group-prepend .input-group-text img {
    display: block;
    object-fit: cover;
    max-width: 80px;
    width: 80px;
    height: 80px;
}

.input-group.mb-3.input-pic {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.form-group.custom-file.file-pic {
    width: 100px;
    height: 30px;
}

select#content_type {
    border: 1px solid #dee2e6;
}

span.add-attach.btn {
    background-color: #1f883d;
    border-color: #1f883d;
    color: #fff;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

span.add-attach.btn:hover {
    opacity: .8;
}

span.add-attach.btn i {
    margin-right: 5px;
}

input#content_number {
    max-width: 15%;
}

.card.card-threadlist > .card-body {
    padding: 0;
}

ul.list-unstyled.threadlist {
    display: flex;
    flex-wrap: wrap;
    margin-right: -7.5px;
    margin-left: -7.5px;
    margin-top: 1rem;
}

a.btn.btn-primary.btn-block.text-nowrap {
    font-size: 12px;
    padding: 0.2rem 0.6rem;
}

.card.card-threadlist {
    background: rgb(255 255 255 / 0%);
    box-shadow: 0 1px 3px hsl(0deg 0% 7% / 0%);
    border: 1px solid rgb(0 0 0 / 0%);
}

.card.card-threadlist .card-header {
    background-color: rgb(255 255 255 / 0%);
    border-color: rgb(255 255 255 / 0%);
}

.card.card-threadlist .nav-link.active {
    border-bottom: 2px solid rgb(255 255 255 / 0%);
    color: #333;
    padding: 0.5rem 0;
    margin: 0;
}

.card-footer.small.text-secondary {
    border-top: 1px solid #e9ecef;
}

.card-footer.small.text-secondary .avatar-1 {
    border-radius: 50px;
    width: 1rem;
    height: 1rem;
    vertical-align: -3px;
}

div#notich {
    margin-bottom: 0;
}

.username.text-grey.mr-1 {
    color: #333333 !important;
    float: right;
    margin-right: 0 !important;
}

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

.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle {
    color: #333;
    background-color: #ced4da;
    border-color: #ced4da;
}

.col-lg-6.px-md-2 {
    padding-right: 7.5px;
    padding-left: 7.5px;
}

a.btn.btn-outline-secondary.mr-2 {
    padding: 0.17rem 0.37rem;
    font-size: 12px;
    color: #333;
    border-color: #ced4da;
}

label.pr-2.pt-1 {
    font-size: 12px;
}

a.btn.btn-outline-secondary.mr-2.active {
    color: #fff;
    background-color: #3291f6;
    border-color: #3291f6;
}

.media.pb-1 {
    padding-bottom: 0.5rem !important;
}

.list-unstyled.postlist.m-0 li:nth-child(1) span, .list-unstyled.postlist.m-0 li:nth-child(2) span, .list-unstyled.postlist.m-0 li:nth-child(3) span {
    background: #c40000 none repeat scroll 0 0;
    border-radius: 2px;
    color: #fff;
    margin-right: 5px;
    padding: 0 5px;
}

.list-unstyled.postlist.m-0 li span {
    background: #f1c84c none repeat scroll 0 0;
    border-radius: 2px;
    color: #fff;
    margin-right: 5px;
    padding: 0 5px;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgb(31 73 119 / 0%);
}

.badge-info {
    background-color: #9e9e9e;
}

.message h1, .message h2, .message h3, .message h4, .message h5, .message h6, .message h7, .message h8, .message h9 {
    font-size: 1.1rem;
    border-left: 4px solid #3291f6;
    text-indent: 16px;
    font-weight: bold;
    padding: 2px 0px;
    margin: 8px 0px;
}

.input-group-t {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
}

.message.break-all.mt-1 {
    font-size: 1rem;
    color: #333;
}

.noticelist > .notice .message a {
    color: #333333;
}

li.notice.media.text-small {
    padding: 1rem 0;
}

span.date.text-grey {
    color: #333333 !important;
}

button.btn.btn-small.btn-light.ml-2.text-muted {
    color: #787878 !important;
}

button.deletebtn.btn.btn-small.btn-light.ml-2.text-muted {
    color: #787878 !important;
}

i.icon.icon-circle.text-danger {
    color: #c6303e !important;
    font-size: 0.8rem;
    vertical-align: 1px;
}

.noticelist > .notice .message .comment-info {
    color: #333;
}

.comment-info > a.mr-1.text-grey {
    color: #333 !important;
}

span.username.text-grey.font-weight-bold.mr-1 {
    color: #c6303e !important;
}

span.username.text-grey.font-weight-bold.mr-1 > a.text-grey {
    font-weight: 700 !important;
    color: #333333 !important;
    font-size: 85%;
}

li.notice button.btn.btn-small.btn-light.ml-2.text-muted {
    color: #ffffff !important;
    background-color: #b5b5b5;
    border-color: #b5b5b5;
}

li.notice button.btn.btn-small.btn-light.ml-2.text-muted:hover {
    background-color: #F44336;
    border-color: #F44336;
}

.card.card-thread .message.break-all {
    margin-top: 2rem;
}

.message.break-all p {
    margin: 1rem 0;
}

/*发贴按钮和搜索框高度*/
.aside .btn {
  padding: 8px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 900px;
    }

    header .container {
        max-width: 1200px;
    }

    .col-lg-2 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-10 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

@media (max-width: 992px) {
    body {
         top: 50px; 
        position: relative;
    }

    .navbar-collapse.collapse {
        width: 0;
    }

    header {
        position: fixed!important;
        display: block;
        z-index: 99;
        top: 0;
    }

    div#nav {
        padding: 1rem;
        border-radius: 0.25rem;
    }

    .navbar-collapse.collapsing {
        position: fixed;
        display: block;
        right: 7.5px;
        z-index: 999;
        top: 60px;
        width: 130px;
        background-color: #ffffff;
        border: 1px solid rgb(0 0 0 / 1%);
        box-shadow: 0 0.25rem 1rem rgba(161, 172, 184, 0.45);
        transition: height 0.35s ease;
    }

    .navbar-collapse.collapse.show {
        position: fixed;
        display: block;
        right: 7.5px;
        z-index: 999;
        top: 60px;
        width: 130px;
        background-color: #ffffff;
        border: 1px solid rgb(0 0 0 / 1%);
        box-shadow: 0 0.25rem 1rem rgba(161, 172, 184, 0.45);
        transition: height 0.35s ease;
    }

    .navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .nav-link.active {
        color: #3291f6;
        font-weight: 400;
    }

    #nav > ul > li > a.nav-link {
        border-bottom: 1px solid rgb(255 255 255 / 0%);
    }

    .navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
        color: #3291f6;
        font-weight: 400;
    }

    .navbar-dark .navbar-nav .nav-link {
        color: #333;
    }

    li.nav-item.active {
        display: block;
    }

    li.nav-item.active a::before {
        display: none;
    }

    span.hidden-lg {
        font-size: 1rem;
    }

    header#header {
        padding: 0.5rem 10px;
    }

    #body > .container > .row > div {
        padding: 0.5rem 10px;
    }

    .danger-shop {
        margin-top: 1rem;
    }
}

@media (min-width: 992px) {
    ul.navbar-nav.mr-auto li .nav-link {
        margin-right: 1rem;
        margin-left: 1rem;
        padding-right: 0;
        padding-left: 0;
        color: #333;
    }

    .navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
        color: #3291f6;
    }

    .navbar-dark .navbar-nav .nav-link {
        color: #333;
    }

    .col-md-6.mx-auto {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-lg-9 {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .col-lg-3 {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media (max-width: 600px) {
    .mb-shop {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .mb-shop .mbs-img {
        padding-right: 0;
        padding-bottom: 1rem;
        margin-right: 0;
    }

    h4.break-all {
        font-size: 1.2rem;
    }
}

@media (max-width: 419px) {
    fieldset.fieldset ul.attachlist li {
        top: -45px;
    }
}

@media (max-width: 417px) {
    fieldset.fieldset ul.attachlist li {
        top: -70px;
    }
}

@media (max-width: 400px) {
    fieldset.fieldset ul.attachlist li {
        top: -65px;
    }
}

@media (max-width: 360px) {
    .attachlist_parent {
        margin-right: 0 !important;
    }
    .btn-primary {
        border-radius: 0.25rem !important;
    }
}