﻿:root {
    --rz-dialog-zindex: 9999 !important;
    --rz-menu-top-item-hover-color: var(--rz-text-color);
    --rz-menu-top-item-selected-color: var(--rz-text-color);
    --primary-color: #2D87F0;
    --primary-color-dark: #1D5BB0;
    --background-color-light: #F6F8FC;
    --background-color-white: #FFFFFF;
    --text-color-main: #333333;
    --text-color-secondary: #777777;
    --button-primary-bg: #2D87F0;
    --button-secondary-bg: #E1E8F5;
    --button-text-color: #FFFFFF;
    --border-color: #E0E0E0;
    --divider-color: #D5D5D5;
    --icon-color-default: #B0B0B0;
    --icon-color-active: #2D87F0;
}

@font-face {
    font-family: 'ZhiMangXing';
    src: url('/fonts/ZhiMangXing-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KaushanScript';
    src: url('/fonts/KaushanScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MaShanZheng';
    src: url('/fonts/MaShanZheng-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/normal.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


.personal-center-top-left {
    width: 200px;
    position: relative;
}

.avatar {
    background-color: #fff;
    width: 170px;
    height: 170px;
    padding: 5px;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 10%);
    border-radius: 50%;
}

.personal-center-top-right {
    padding: 0 25px
}

.personal-description {
    display: flex;
}

.personal-description-content {
    width: 800px;
}

/* From Uiverse.io by kamehame-ha */
.input-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #FFF;
    padding: 10px 15px;
    gap: 5px;
    border-radius: 20px;
    box-shadow: var(--mud-elevation-1);
    position: relative;
}

.input-container-select {
    filter: drop-shadow(4px 12px 20px rgba(0, 0, 0, 0.6));
    border-radius: 20px 20px 0 0;
}


#dropdown {
    font-size: .8rem;
    color: black;
    background-color: #FFF;
    width: 60px;
}

    #dropdown:focus-visible {
        outline: none;
    }

#main-meun span .input-container .bash-text .user {
    color: #E879F9;
}

.input-container .bash-text .vm {
    color: #2DD4BF;
}

.input-container .bash-text .char {
    color: #A78BFA;
}

.input-container input[type=text].input {
    background-color: transparent;
    border: none;
    outline: none;
    color: black;
    font-weight: 300;
    width: calc(100% - 80px);
    font-family: Lato, PingFang SC, Microsoft YaHei, sans-serif;
}

.input-container .search-results {
    border-radius: 0 0 20px 20px;
    border-top: unset;
    padding: 10px;
    width: 100%;
    background-color: #fff;
    min-height: 300px;
    max-height: 350px;
    top: 100%;
    left: 0;
    position: absolute;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.5s;
    display: none;
}
.search-result-list {
    color: #000;
}
    .search-result-list > .search-result-list-title {
        position: relative;
        text-align: center; /* 可选：使文本居中 */
        color: #000;
        font-size: 16px;
    }
        .search-result-list > .search-result-list-title::before, .search-result-list > .search-result-list-title::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 10%; /* 横线的长度，调整此值可以改变横线的宽度 */
            height: 1px; /* 横线的高度 */
            background: black; /* 横线颜色 */
        }

        .search-result-list > .search-result-list-title::before {
            left: 30%;
        }

        .search-result-list > .search-result-list-title::after {
            right: 30%;
        }
.article-content {
    font-size: 16px;
    line-height: 1.75;
    font-weight: 300;
    word-spacing: 1px;
}

    .article-content h1 {
        font-weight: bold;
        line-height: 1.5;
        margin: 10px 0;
        font-size: 21px;
    }

    .article-content h2 {
        font-weight: bold;
        line-height: 1.5;
        margin: 10px 0;
        font-size: 20px;
    }

    .article-content h3 {
        font-weight: bold;
        line-height: 1.5;
        margin: 10px 0;
        font-size: 19px;
    }

    .article-content p {
        margin: 13px auto;
        text-indent: 0;
        padding: 0;
    }

    .article-content ul {
        margin-left: 30px;
        padding-left: 0;
        list-style-type: disc;
        word-break: break-all;
    }

        .article-content ul li {
            margin: 3px 0;
            list-style: inherit;
            padding: 0;
        }

    .article-content strong {
        margin: 0 3px;
        font-weight: 500;
    }

    .article-content mark {
        background-color: #B22222;
        color: #FFFFFF;
    }

    .article-content img {
    }

.EasyMDEContainer img {
    width: 200px;
}

.menu-list-button button {
    font-size: 20px;
    font-family: Lato, PingFang SC, Microsoft YaHei, sans-serif;
}

.menu-list p {
    font-family: Lato, PingFang SC, Microsoft YaHei, sans-serif
}

.ask-ms-nav a.active:not(.mud-nav-link-disabled) {
    color: rgb(191, 203, 217) !important;
    background-color: #091023 !important;
}

@media (hover: hover) and (pointer: fine) {
    [id^="category-list-"], [id^="Topic-list-"] {
        background-color: unset !important;
    }
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
        /* 初始状态 */
    }

    100% {
        transform: rotate(180deg);
        /* 旋转360度 */
    }
}

.rz-navigation-item:hover > div > a > i {
    transform: rotate(180deg);
}

.rz-navigation-item > div > a > i {
    transition: transform 0.3s ease;
    /* 平滑过渡 */
}

.rz-menu:not(.rz-profile-menu) .rz-navigation-item-link {
    color: #000;
}

.edit-comment .mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: var(--mud-palette-lines-inputs);
}

.comment {
    margin: 20px 0;
}

.comments .comment-content {
    margin-left: 15px;
    width: calc(100% - 120px);
    word-wrap: break-word;
}

.comments .comment-username {
    font-weight: bold;
}

.comments .comment-action {
    display: flex;
    min-width: 80px;
    justify-content: space-evenly;
    margin-left: auto;
    align-items: end;
}

.subcomments {
    margin-left: 50px;
}


.rz-dropdown-panel.rz-popup {
    z-index: 9999 !important;
}

.rz-html-editor-dropdown-items,
.rz-colorpicker-popup.rz-popup,
.rz-datepicker-popup-container,
.rz-dialog,
.tox-tinymce-aux,
.tox .tox-menu {
    z-index: 9999 !important;
}
.mud-paper, .rz-card, .rz-datatable, .rz-dialog {
    border-radius: 0;
}
.mud-navmenu.mud-navmenu-default .mud-nav-link-expand-icon.mud-transform {
    fill: #fff;
}
.mud-nav-link-text {
    font-size: 16px;
}
.mud-paper-outlined {
    border: unset;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}
.ask-manage-card {
    background-color: var(--background-color-light);
}

.ask-home-card {
    position: relative;
}

    .ask-home-card .custom-select {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .ask-home-card select {
        border: 1px solid #000;
        border-radius: 8px;
    }

    .ask-home-card .count_content {
        margin-left: 30px;
        flex-basis: 50%;
    }

        .ask-home-card .count_content h3 {
            font-size: 45px;
            margin-bottom: 0;
            font-weight: 600;
            -webkit-transition: 0.5s;
            transition: 0.5s;
            color: #2E4765;
            margin-bottom: 0px;
            font-family: var(--font-main), sans-serif;
            line-height: 1;
        }

        .ask-home-card .count_content p {
            -webkit-transition: 0.5s;
            transition: 0.5s;
            font-size: 19px;
            font-weight: 500;
            color: #B2B5C0;
            font-family: var(--font-main), sans-serif;
            line-height: 1;
        }

.article-author-name:hover {
    color: #fc5531 !important;
}

.ask-topics-list {
    color: var(--rz-info-light);
    font-weight: bolder;
    margin-right: 20px;
    cursor: pointer;
}

    .ask-topics-list:hover {
        color: var(--rz-info);
    }

.ask-article-list-category {
    display: inline-block;
    padding: 0 5px;
    height: 20px;
    line-height: 20px;
    background-color: #f2f2f2;
    font-size: 12px;
    color: #999;
}
    .ask-article-list-category:hover {
        background-color: #ddd;
        color: #fff;
    }
