::-webkit-scrollbar {
    width: 8px;
    height: 4px;
    background-color: #ccc;
    -webkit-appearance: none
}

::-webkit-scrollbar-track {
    background-color: #ccc
}

::-webkit-scrollbar-thumb {
    height: 5px;
    border: 1px solid transparent;
    border-top: none;
    border-bottom: none;
    -webkit-border-radius: 8px;
    background-color: rgba(0, 0, 0, .4);
    background-clip: padding-box;
    -webkit-box-shadow: inset -1px -1px 0 rgba(0, 0, 0, .2), inset 1px 1px 0 rgba(0, 0, 0, .2)
}

::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0
}

::-webkit-scrollbar-corner {
    background-color: transparent
}

::-webkit-input-placeholder {
    color: #c9c9c9
}

::-moz-placeholder {
    color: #c9c9c9
}

:-ms-input-placeholder {
    color: #c9c9c9
}

:-moz-placeholder {
    color: #c9c9c9
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
}

a {
    color: #0c0c0c;
}

.blue-link, .blue-link a {
    color: #007bff;
}

.blue-link:hover, .blue-link a:hover {
    color: #ff1c1c;
}

@media (min-width: 768px) {
    .brand-image {
        margin-left: -90px;
    }

    #navbarCollapse {
        margin-left: -20px;
    }

    .btn-tiwen {
        padding-left: 12px;
    }

    .qy-desc .img-responsive {
        max-height: 100px;
        border-radius: 5px;
    }

    .sider-list .img-responsive {
        max-height: 80px;
        border-radius: 5px;
    }
}

@media (max-width: 768px) {
    .btn-tiwen button {
        display: block;
    }

    .nav-item-text {
        display: none;
    }

    .hide-sm {
        display: none;
    }
}

.nav-item-text {
    line-height: 1;
    text-align: center;
    padding: 0 8px;
}

.nav-item-text small {
    font-size: 11px;
    color: #777;
}

.qy-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.img-responsive {
    display: block;
    width: 100%;
    height: auto;
}

.tag-link {
    padding-right: 8px;
}

.thread-tag .tag-link {
    color: #1a88ff;
    text-decoration: underline;
}

.tag-link img {
    width: 40px;
    height: 23px;
}

.qy-title {
    font-weight: bold;
}

.qy-desc {
    line-height: 1.7;
}

.qy-sider-desc {
    margin-top: 8px;
    height: 36px;
    color: #777;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    font-size: 12px;
}

.qy-tools {
    padding-top: 12px;
    font-size: 12px;
    color: #777;
}

.qy-tools .img-circle {
    width: 18px;
    height: 18px;
}

.qy-footer {
    padding-top: 24px;
    width: 100%;
    margin-bottom: 80px;
}

.qy-footer-info {
    padding-top: 30px;
}

.qy-pager {
    text-align: center;
}

.qy-pager a {
    padding: 3px 8px;
    border: #007bff solid 1px;
    border-radius: 3px;
}

.qy-pager a:hover, .qy-pager .active {
    background: #007bff;
    color: #ffffff;
    font-weight: bold;
}

.has-error .help-block {
    color: #ff0000;
}

.hide, .n {
    display: none;
}

#qyqc-img-list {
}

#qyqc-img-list .thumb {
    width: 80px;
    height: 80px;
    float: left;
    border: #efefef solid 1px;
    text-align: center;
}

#qyqc-img-list .thumb :hover {
    border: #aaa solid 1px;
}

#qyqc-img-list .thumb img {
    display: block;
    max-width: 100%;
    cursor: pointer;
}

.color_1 {
    color: #f0ad4e;
}

.color_2 {
    color: #0a0e14;
}

.color_3 {
    color: #00A000;
}

.pot {
    cursor: pointer;
}

.layui-upload-file {
    display: none;
}

.member-adv a, .member-adv span {
    padding-right: 12px;
}

.member-adv a {
    text-decoration: underline;
}

.member-adv .img-circle {
    width: 32px;
    height: 32px;
}


.btn-purple {
    color: #fff;
    background-color: #990099;
    border-color: #990099;
    box-shadow: none;
}

.btn-purple:hover {
    color: #fff;
    background-color: #990099;
    border-color: #980dd3;
}

.btn-purple:focus, .btn-purple.focus {
    color: #fff;
    background-color: #990099;
    border-color: #980dd3;
    box-shadow: 0 0 0 0 rgba(79, 6, 238, 0.5);
}

.btn-purple.disabled, .btn-purple:disabled {
    color: #fff;
    background-color: #980dd3;
    border-color: #980dd3;
}

.btn-purple:not(:disabled):not(.disabled):active, .btn-purple:not(:disabled):not(.disabled).active,
.show > .btn-purple.dropdown-toggle {
    color: #fff;
    background-color: #980dd3;
    border-color: #980dd3;
}

.btn-purple:not(:disabled):not(.disabled):active:focus, .btn-purple:not(:disabled):not(.disabled).active:focus,
.show > .btn-purple.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(79, 6, 238, 0.5);
}

.dark-mode .btn-purple {
    color: #fff;
    background-color: #990099;
    border-color: #990099;
    box-shadow: none;
}

.dark-mode .btn-purple:hover {
    color: #fff;
    background-color: #990099;
    border-color: #980dd3;
}

.dark-mode .btn-purple:focus, .dark-mode .btn-purple.focus {
    color: #fff;
    background-color: #990099;
    border-color: #980dd3;
    box-shadow: 0 0 0 0 rgba(79, 6, 238, 0.5);
}

.dark-mode .btn-purple.disabled, .dark-mode .btn-purple:disabled {
    color: #fff;
    background-color: #990099;
    border-color: #990099;
}

.dark-mode .btn-purple:not(:disabled):not(.disabled):active, .dark-mode .btn-purple:not(:disabled):not(.disabled).active,
.show > .dark-mode .btn-purple.dropdown-toggle {
    color: #fff;
    background-color: #990099;
    border-color: #990099;
}

.dark-mode .btn-purple:not(:disabled):not(.disabled):active:focus, .dark-mode .btn-purple:not(:disabled):not(.disabled).active:focus,
.show > .dark-mode .btn-purple.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(79, 6, 238, 0.5);
}

[class*="accent-"] a.btn-purple {
    color: #fff;
}

.dark-mode [class*="accent-"] a.btn-purple {
    color: #fff;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #990099;
}

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

.card-warning:not(.card-outline) > .card-header, .card-warning:not(.card-outline) > .card-header a {
    color: #fff;
}