@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px !important;
    }
}

@font-face {
    font-family: 'iconfont';
    src: url('//at.alicdn.com/t/c/font_2949893_gs2du381x1.woff2?t=1672985654048') format('woff2'),
    url('//at.alicdn.com/t/c/font_2949893_gs2du381x1.woff?t=1672985654048') format('woff'),
    url('//at.alicdn.com/t/c/font_2949893_gs2du381x1.ttf?t=1672985654048') format('truetype');
}

button:focus {
    outline: none !important;
}

/*ad*/
.ad-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 260px;
    height: 182px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
}

.ad-float .close-btn {
    position: absolute;
    top: 4px;
    right: 6px;
    cursor: pointer;
    line-height: 100%;
    color: #fff;
    font-size: 26px;
}

.ad-float .close-btn:hover {
    color: red;
}

/*ad end*/

.iconfont {
    font-family: "iconfont" !important;
    font-style: normal;
    font-size: 25px;
    color: #007bff;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #333;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #000000;
    text-decoration: none;
}

/*
.border, .border-bottom {
    border-color: #f2f2f2 !important;
}*/

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 0;
    margin: 0 1.25rem;
    background-color: #fff;
    border: 1px solid #f2f2f2;
}

.list-group-item-action {
    width: inherit;
}

.card .nav {
    margin: 0 1.25rem;
}

.card-header {
    padding: 0.75rem 0;
    margin: 0 1.25rem;
}

.card {
    border: 1px solid #eee;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
}


.mybt2 {
    border-top: 4px solid #007bff;
}

.w-0 {
    width: 0;
    min-width: 0;
}

@media (min-width: 1200px) {
    .w-xl-300 {
        width: 300px;
    }
}

body {
    -webkit-font-smoothing: antialiased;
}

nav .nav-link {
    font-weight: 400;
    color: #000111 !important;
}


nav .active .nav-link {
    color: #006ee3 !important;
}

.num-card {
    width: 3rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 4px;
}

.num-card-answer {
    border: 1px solid #318ffe;
    background: #f5faff;
    color: #318ffe;
    font-weight: 500;
}

.f20 {
    font-size: 20px !important;
}

.f19 {
    font-size: 19px !important;
}

.f18 {
    font-size: 18px !important;
}

.f17 {
    font-size: 17px !important;
}

.f16 {
    font-size: 16px !important;
}

.f15 {
    font-size: 15px !important;
}

.f14 {
    font-size: .875rem !important;
}

.f13 {
    font-size: .813rem !important;
}

.f12 {
    font-size: 12px !important;
}

.f11 {
    font-size: 11px !important;
}

.reply-list li:last-child {
    border-bottom: none !important;
}

.parsedReply p:last-child {
    /*margin-bottom: 0 !important;*/
}

.contribute .position-absolute {
    right: 0;
    top: -1.75rem;
}

.markdown img {
    max-width: 100%;
    height: auto;
}

.personal-container .userinfo .avatar {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
    border: 4px solid #fff;
    box-sizing: border-box;
}

.personal-container .userinfo .head {
    height: 104px;
    background-color: #6c757d;
    color: hsla(0, 0%, 100%, .5);
}


.card-body {
    word-break: break-all;
}

.alert-background {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.alert-background .alert {
    z-index: 10001;
}

a {
    cursor: pointer !important;
}

.badge-count {
    position: absolute;
    top: -12px;
    right: -1px;
}

.badge-dot {
    position: absolute;
    top: 2px;
    right: 0;
    display: inline-block;
    padding: 3px;
    border-radius: 100%;
    background-color: #dc3545;
}

li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
    list-style-type: decimal !important;
}

pre.prettyprint {
    border: none !important;
}

pre.prettyprint {
    margin: 10px 0;
    padding: 16px;
    line-height: 20px;
    overflow: hidden;
    border: none;
    border-radius: 3px;
    background-color: #f7f7f7;
    font-size: 14px;
    font-family: monospace;
    white-space: pre-wrap;
}

body {
    margin: 0;
    font-family: Helvetica, Arial, PingFang SC, Noto Sans, Roboto, Microsoft Yahei, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 1.5;
    color: #414c57 !important;
    text-align: left;
    background-color: #fff;
}


.wm_h1 {
    font-family: "Google Sans", sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 40px;
    color: #425066;
}

.wm_h2 {
    font-family: "Google Sans", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    color: #425066;
}

.wm_desc {
    font-size: 20px;
    line-height: 30px;
    color: #425066;
}

.f50 {
    font-size: 50px;
}

.f45 {
    font-size: 45px;
}

.github-corner {
    border-bottom: 0;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 60px;
    z-index: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
    -webkit-touch-callout: none;
    box-sizing: border-box;
    max-height: 200px;
    max-width: 200px;
    fill: #007bff;
    color: #f8f9fa !important;
}

.box-left {
    height: 60px;
    width: 60px;
    font-size: 45px;
    background: rgb(134, 142, 150);
    color: #fff;
    line-height: 100%
}

.markdown-section {
    width: 80%;
}

.markdown.markdown-section {
    margin: auto !important;
    max-width: 100%;
    width: 100% !important;
    padding: 0 !important;
}

s
.search em {
    color: red;
    font-style: normal !important;
}

em {
    color: red;
    font-style: normal;
}

a em {
    color: red;
}

a:hover em {
    color: #333;
}

/*github*/
.github-btn {
    height: 20px;
    overflow: hidden
}

.gh-btn, .gh-count, .gh-ico {
    float: left;
    font-weight: 700;
}

.gh-btn, .gh-count {
    padding: 2px 5px 2px 4px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 3px
}

.gh-btn {
    background-color: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fcfcfc), to(#eee));
    background-image: linear-gradient(to bottom, #fcfcfc 0, #eee 100%);
    background-repeat: no-repeat;
    border: 1px solid #d5d5d5
}

.gh-btn:focus, .gh-btn:hover {
    text-decoration: none;
    background-color: #ddd;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eee), to(#ddd));
    background-image: linear-gradient(to bottom, #eee 0, #ddd 100%);
    border-color: #ccc
}

.gh-btn:active {
    background-color: #dcdcdc;
    background-image: none;
    border-color: #b5b5b5;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15)
}

.gh-ico {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='12 12 40 40'%3e%3cpath fill='%23333' d='M32 13.4c-10.5 0-19 8.5-19 19 0 8.4 5.5 15.5 13 18 1 .2 1.3-.4 1.3-.9v-3.2c-5.3 1.1-6.4-2.6-6.4-2.6-.9-2.1-2.1-2.7-2.1-2.7-1.7-1.2.1-1.1.1-1.1 1.9.1 2.9 2 2.9 2 1.7 2.9 4.5 2.1 5.5 1.6.2-1.2.7-2.1 1.2-2.6-4.2-.5-8.7-2.1-8.7-9.4 0-2.1.7-3.7 2-5.1-.2-.5-.8-2.4.2-5 0 0 1.6-.5 5.2 2 1.5-.4 3.1-.7 4.8-.7 1.6 0 3.3.2 4.7.7 3.6-2.4 5.2-2 5.2-2 1 2.6.4 4.6.2 5 1.2 1.3 2 3 2 5.1 0 7.3-4.5 8.9-8.7 9.4.7.6 1.3 1.7 1.3 3.5v5.2c0 .5.4 1.1 1.3.9 7.5-2.6 13-9.7 13-18.1 0-10.5-8.5-19-19-19z'/%3e%3c/svg%3e") 0 0/100% 100% no-repeat;
}

.gt-ico {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background: url("https://www.workerman.net/img/gitee.svg") 0 0/100% 100% no-repeat !important;
}

.gh-count {
    position: relative;
    display: none;
    margin-left: 4px;
    background-color: #fafafa;
    border: 1px solid #d4d4d4
}

.gh-count:focus, .gh-count:hover {
    color: #0366d6
}

.gh-count::after, .gh-count::before {
    position: absolute;
    display: inline-block;
    width: 0;
    height: 0;
    content: "";
    border-color: transparent;
    border-style: solid
}

.gh-count::before {
    top: 50%;
    left: -3px;
    margin-top: -4px;
    border-width: 4px 4px 4px 0;
    border-right-color: #fafafa
}

.gh-count::after {
    top: 50%;
    left: -4px;
    z-index: -1;
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-right-color: #d4d4d4
}

.github-btn-large {
    height: 30px
}

.github-btn-large .gh-btn, .github-btn-large .gh-count {
    padding: 3px 10px 3px 8px;
    font-size: 16px;
    line-height: 22px;
    border-radius: 4px
}

.github-btn-large .gh-ico {
    width: 20px;
    height: 20px
}

.github-btn-large .gh-count {
    margin-left: 6px
}

.github-btn-large .gh-count::before {
    left: -5px;
    margin-top: -6px;
    border-width: 6px 6px 6px 0
}

.github-btn-large .gh-count::after {
    left: -6px;
    margin-top: -7px;
    border-width: 7px 7px 7px 0
}

/*github end*/

.badge-lite2 {
    color: #5c5c5c;
    background-color: #e9e9e9;
}

.CodeMirror-gutter-wrapper {
    word-wrap: normal;
    word-break: normal;
}

.avatar-blue {
    height: 40px;
    width: 40px;
    color: #fff;
    background: #4b98ff;
    flex-shrink: 0;
}

.collect:before {
    content: "\e60e";
    font-size: 20px;
}

.collect:hover, .collected:hover {
    color: #007bff !important;
}

.collect:hover:before {
    content: "\e687";
    font-size: 20px;
}

.collected:before {
    content: "\e687";
    font-size: 20px;
}

/*回到页面顶部*/
.go-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* 初始偏移量 */
    transition: all 0.3s ease; /* 过渡动画 */
}

.go-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}

.go-top__inner:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: scale(1.05); /* 悬停放大 */
}

.go-top__icon {
    width: 32px;
    height: 32px;
    fill: #6b7280; /* SVG 图标颜色 */
}

.go-top:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    #comment-list .w-100 {
        width: 94% !important;
    }
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232b8cfd' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232b8cfd' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.down-icon {
    background-image: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nNDQnIGhlaWdodD0nMTEnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PGc+PHJlY3QgZmlsbD0nbm9uZScgaGVpZ2h0PScxMycgd2lkdGg9JzQ2Jy8+PC9nPjxnPjxsaW5lIHRyYW5zZm9ybT0ncm90YXRlKDEyOS4yIDMzLjEsNS4zKSAnIHkyPScxMC43JyB4Mj0nNDQuNCcgeTE9JzAnIHgxPScyMS44JyBzdHJva2U9JyMwMDAnIC8+PGxpbmUgeTI9JzEwLjcnIHgyPScyMi41JyBzdHJva2U9JyMwMDAnIC8+PC9nPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: center;
    opacity: .2;
    transition: opacity .5s ease;
}

.down-icon:hover {
    opacity: .9;
    text-decoration: none;
    outline: 0;
}

.markdown-section ol, .markdown-section ul {
    margin: .5em 0 !important;
}


/*----------------动画---------------*/
.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 10px, 0);
        transform: translate3d(0, 10px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 10px, 0);
        transform: translate3d(0, 10px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: .8s;
    animation-duration: .8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


/*----------------scrollbar---------------*/
::-webkit-scrollbar {
    width: 3px;
    height: 6px;
}

::-webkit-scrollbar-button:vertical {
    display: none;
}

::-webkit-scrollbar-track:vertical {
    background-color: black;
}

::-webkit-scrollbar-track-piece {
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb:vertical {
    margin-right: 6px;
    background-color: #bbb;
}

::-webkit-scrollbar-thumb:vertical:hover {
    background-color: #aaa;
}

::-webkit-scrollbar-corner:vertical {
    background-color: #535353;
}

/*placeholder*/
::-webkit-input-placeholder { /* WebKit browsers */
    color: #aaa;
    font-size: 14px;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #aaa;
    font-size: 14px;
}

