.mt5{ margin-top:5px;}
.mt10{ margin-top:10px;}
.mt15{ margin-top:15px;}
.mt20{ margin-top:20px;}
.mt25{ margin-top:25px;}
.mt30{ margin-top:30px;}
.mt35{ margin-top:35px;}
.mt40{ margin-top:40px;}
.mt50{ margin-top:50px;}
.mt80{ margin-top:80px;}
.mt100{ margin-top:100px;}
.mb5{ margin-bottom:5px;}
.mb10{ margin-bottom:10px;}
.mb15{ margin-bottom:15px;}
.mb20{ margin-bottom:20px;}
.mb25{ margin-bottom:25px;}
.mb30{ margin-bottom:30px;}
.mb35{ margin-bottom:35px;}
.mb40{ margin-bottom:40px;}
.mb50{ margin-bottom:50px;}
.mb80{ margin-bottom:80px;}
.mb100{ margin-bottom:100px;}
.ml5{ margin-left:5px;}
.ml10{ margin-left:10px;}
.ml15{ margin-left:15px;}
.ml20{ margin-left:20px;}
.ml25{ margin-left:25px;}
.ml30{ margin-left:30px;}
.ml35{ margin-left:35px;}
.ml40{ margin-left:40px;}
.ml50{ margin-left:50px;}
.ml80{ margin-left:80px;}
.ml100{ margin-left:100px;}
.mr5{ margin-right:5px;}
.mr10{ margin-right:10px;}
.mr15{ margin-right:15px;}
.mr20{ margin-right:20px;}
.mr25{ margin-right:25px;}
.mr30{ margin-right:30px;}
.mr35{ margin-right:35px;}
.mr40{ margin-right:40px;}
.mr50{ margin-right:50px;}
.mr80{ margin-right:80px;}
.mr100{ margin-right:100px;}
.clear{ line-height: 0px; zoom: 0; height: 0px; clear: both; font-size: 0px}
.clear_h5{ line-height: 0px; zoom: 0; height: 5px; clear: both; font-size: 0px}
.clear_h10{ line-height: 0px; zoom: 0; height: 10px; clear: both; font-size: 0px}
.clear_h20{ line-height: 0px; zoom: 0; height: 20px; clear: both; font-size: 0px}
.clear_h30{ line-height: 0px; zoom: 0; height: 30px; clear: both; font-size: 0px}
.clear_h50{ line-height: 0px; zoom: 0; height: 50px; clear: both; font-size: 0px}
.clear_h80{ line-height: 0px; zoom: 0; height: 80px; clear: both; font-size: 0px}
.clear_h100{ line-height: 0px; zoom: 0; height: 100px; clear: both; font-size: 0px}
.width-10{ width:10px;}
.width-20{ width:20px;}
.width-40{ width:40px;}
.width-80{ width:80px;}
.width-120{ width:120px;}
.width-160{ width:160px;}
.width-200{ width:200px;}
.width-240{ width:240px;}
.width-300{ width:300px;}
.width-320{ width:320px;}
.width-400{ width:400px;}
.width-500{ width:500px;}
.width-560{ width:560px;}
.width-600{ width:600px;}
.width-640{ width:640px;}
.width-1180{ width:1180px;}
.width-1200{ width:1200px;}
.width-1380{ width:1380px;}
.width-1400{ width:1400px;}
.height-10{ height:10px;}
.height-20{ height:20px;}
.height-40{ height:40px;}
.height-80{ height:80px;}
.height-120{ height:120px;}
.height-160{ height:160px;}
.height-200{ height:200px;}
.height-240{ height:240px;}
.height-300{ height:300px;}
.height-320{ height:320px;}
.height-400{ height:400px;}
.height-500{ height:500px;}
.height-560{ height:560px;}
.height-600{ height:600px;}
.height-700{ height:700px;}

.rightbar{cursor: pointer; position:fixed;background:var(--accent-color1);border-radius:3px;width: 40px;height: 40px;color: white;font-size: 22px;line-height:40px;text-align: center;z-index:888;}
.gotop{display:none;bottom:205px;right:50px;}
.gotop:hover{background:var(--accent-color2);color: white;}
.kaideng{bottom:160px;right:50px;}
.kaideng:hover{background:var(--accent-color2);color: white;}
.referencesearch{bottom:115px;right:50px;}
.referencesearch:hover{background:var(--accent-color2);color: white;}

@media (max-width: 767px) {
    .gotop,.kaideng,.referencesearch{right: 10px;}
    .referencesearch{display: none;}
}


:root {
    --transparent-light-20: rgba(255, 255, 255, 0.2);
    --transparent-light-30: rgba(255, 255, 255, 0.3);
    --transparent-light-50: rgba(255, 255, 255, 0.5);
    --transparent-light-60: rgba(255, 255, 255, 0.6);
    --transparent-dark-2: rgba(0, 0, 0, 0.125);
    --transparent-dark-4: rgba(0, 0, 0, 0.175);
    --gray-1: #FAFAFA;
}

::selection {
    background-color: var(--accent-color1);
    color: var(--bs-white);
    text-shadow: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei";
    font-size: 0.9rem;
}

.blog-sidebar {
    max-width: 300px;
}

a {
    color: var(--accent-color1);
    text-decoration: none;
}

    a:hover,
    a:focus {
        color: var(--accent-color1);
        text-decoration: none;
    }

footer {
    color: var(--transparent-light-60);

    a {
        color: var(--bs-gray-200);
    }

    a:hover {
        color: var(--bs-white);
    }

    .language-selection button {
        color: var(--transparent-light-60);
    }
}

.moonglade-footer {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--accent-color1);
}

.bg-gray-1 {
    background-color: var(--gray-1);
}

.nav-item-icon {
    width: 16px;
}

.page-heading small {
    font-size: 60%;
}

.font-sairas {
    font-family: "Saira Semi Condensed Bold", "Saira Semi Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei" !important;
    font-weight: bold;
}

.flex-spacer {
    flex-grow: 1;
}

.page-heading {
    font-size: 1.75rem;
}

.page-content .card-header {
    padding: 0.5rem !important;
}

.list-group-item.active,
.page-item.active .page-link {
    background-color: var(--accent-color1);
    border-color: var(--accent-color1);
}

.table .table-item-title {
    text-align: left;
}

.heading-ownername {
    text-shadow: 1px 1px 3px #333;
}

.profile-description,
.profile-pronouns {
    text-shadow: 1px 1px 1px #333;
}

.hottag-li a > span {
    display: block;
    font-size: 30px;
    font-weight: 100;
}

.hottag-li a {
    height: 80px !important;
    width: 156px;
}

.user-avatar-char {
    background-color: var(--bs-purple);
    border-radius: 55px;
    color: var(--bs-white);
    font-size: 30px;
    font-weight: 100;
    height: 55px;
    padding-top: 5px;
    text-align: center;
    width: 55px;
}

.ul-archive-item li {
    line-height: 24px;
}

.archive-link-item:hover {
    font-weight: bold;
}

.animate {
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.article-post-summary {
    padding: 22px 40px;
    gap: 30px;
}

.post-date-box {
    flex-basis: 100px;
}

.post-date-day {
    color: var(--accent-color1);
    font-size: 50px;
    height: 55px;
    margin-top: -12px;
    text-align: right;
}

.post-date-month {
    color: var(--accent-color1);
    text-align: right;
    font-size: 17px;
}

.post-summary-title {
    font-size: 1.15rem;
    font-weight: 500;
}

.post-summary-box {
    flex-basis: fit-content;
}

.post-summary-text {
    line-height: 24px;
    word-break: break-all;
    word-wrap: break-word;
}

.blog-info-desktop-lg {
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
/* 黑暗模式下,侧边栏头像区域要置灰*/
[data-bs-theme=dark] .blog-info-desktop-lg {
    mix-blend-mode: luminosity;
}

.card-background-container {
    height: 320px;
    overflow: hidden;
}

.card-bkimg {
    -moz-filter: blur(30px);
    -webkit-filter: blur(30px);
    filter: blur(30px);
    margin-left: -69px;
    margin-top: -57px;
    min-width: 150%;
}

.blogger-head-pic {
    border: 5px solid var(--transparent-light-50);
    height: 120px;
    width: 120px;
}

.blog-info-photo-text {
    /* padding-top: 40px; */
    position: absolute;
    top: 32px;
    width: 100%;
    z-index: 999;
}

.bg-accent1 {
    background-color: var(--accent-color1);
}

.page-link {
    color: var(--accent-color1);
}

.dropdown-menu {
    box-shadow: 0 6px 12px var(--transparent-dark-4);
}

.moonglade-logo {
    font-size: 28px;
    /* line-height: 1px; */
    color: var(--bs-white) !important;
}

.input-captcha {
    max-width: 160px;
    border-top-right-radius: var(--bs-border-radius) !important;
    border-bottom-right-radius: var(--bs-border-radius) !important;
    border-top-left-radius: var(--bs-border-radius) !important;
    border-bottom-left-radius: var(--bs-border-radius) !important;
    
}

.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--accent-color1);
    --bs-btn-border-color: var(--accent-color1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent-color2);
    --bs-btn-hover-border-color: var(--accent-color2);
    --bs-btn-focus-shadow-rgb: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--accent-color2);
    --bs-btn-active-border-color: var(--accent-color2);
    --bs-btn-active-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--accent-color1);
    --bs-btn-disabled-border-color: var(--accent-color1);
}

.btn-outline-accent {
    --bs-btn-color: var(--accent-color1);
    --bs-btn-border-color: var(--accent-color1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent-color1);
    --bs-btn-hover-border-color: var(--accent-color1);
    --bs-btn-focus-shadow-rgb: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--accent-color1);
    --bs-btn-active-border-color: var(--accent-color1);
    --bs-btn-active-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
    --bs-btn-disabled-color: var(--accent-color2);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--accent-color1);
    --bs-gradient: none;
}

.form-check-input:checked {
    border-color: var(--accent-color1) !important;
    background-color: var(--accent-color1) !important;
}

.lightswitch {
    bottom: 20px;
    position: fixed;
    right: 20px;
    z-index: 996;
}

.font-125rem {
    font-size: 1.25rem;
}

.ul-tags {
    text-align: justify !important;
}

.moonglade-logo-heading {
    margin: 0;
    padding: 0;
    font-size: 9.96px;
}

.navbar-moonglade {
    /* box-shadow: 0 4px 8px -2px var(--bs-secondary-bg); */
    padding: .4rem 1rem;
    background-color: var(--accent-color1);
}

.nav-item {
    margin: 0 1rem 0 0;
}

.animbrand {
    margin-left: -20px;
}

    .animbrand a::after,
    .animbrand a::before {
        -moz-transition: -moz-transform .3s, opacity .2s;
        -webkit-transition: -webkit-transform .3s, opacity .2s;
        color: var(--bs-white);
        display: inline-block;
        font-size: 22px;
        line-height: 16px;
        opacity: 0;
        transition: transform .3s, opacity .2s;
    }

    .animbrand a::before {
        -moz-transform: translateX(50px);
        -webkit-transform: translateX(50px);
        content: '<';
        transform: translateX(50px)
    }

    .animbrand a::after {
        -moz-transform: translateX(-50px);
        -webkit-transform: translateX(-50px);
        content: '>';
        transform: translateX(-50px)
    }

    .animbrand a:focus::after,
    .animbrand a:focus::before,
    .animbrand a:hover::after,
    .animbrand a:hover::before {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        opacity: 0.9;
        transform: translateX(0)
    }

div.animbrand a:focus,
div.animbrand a:hover {
    outline: 0
}

.search-form {
    background: var(--transparent-light-20);
    border-radius: 3px;
    max-width: 300px;
}

.btn-search {
    background: transparent;
    border: 0 none;
    font-size: 1.3rem;
    height: 36px;
    padding: 0 0.6rem;
}

.navbar .dropdown-menu {
    background-color: var(--accent-color1);
    border: 0;
    color: var(--bs-white);
    font-size: 0.9rem;
}

    .navbar .dropdown-menu .dropdown-item {
        color: var(--bs-white);
        line-height: 1.7rem;
    }

.navbar .dropdown-item.active,
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: var(--accent-color2);
    color: var(--bs-white);
    text-decoration: none;
}

.navbar-moonglade .navbar-nav .nav-link {
    color: var(--bs-light-text-emphasis);
}

    .navbar-moonglade .navbar-nav .nav-link:focus,
    .navbar-moonglade .navbar-nav .nav-link:hover {
        color: var(--bs-white);
    }

.nav-link strong {
    font-weight: 500;
}

.navbar .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.nav-item-non-margin {
    margin: 0 0;
}

.form-control#term {
    border-width: 0;
    box-shadow: none;
    color: var(--bs-white);
    margin-right: 0 !important;
    width: 238px;
}

    .form-control#term::placeholder {
        color: var(--bs-white) !important;
    }

.form-control#search:focus {
    -webkit-box-shadow: none;
    border-color: var(--accent-color1);
    box-shadow: none;
}

.aside-widget {
    background-color: var(--bs-white);
}

.admin-actions {
    position: fixed;
    bottom: 60px;
    right: 20px;
}

.lightswitch {
    background-color: var(--bs-white);
}

/* iPad Pro 1024*1366 */
@media (width: 1024px) {
    .search-form {
        max-width: 212px !important;
    }

    .form-control#term {
        width: 173px !important;
    }
}

[data-bs-theme=dark] body {
    background-color: var(--bs-secondary-bg-subtle);
}

[data-bs-theme=dark] .navbar-moonglade {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
    /* box-shadow: 0 4px 8px -2px #000; */
}

[data-bs-theme=dark] .moonglade-footer {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

[data-bs-theme=dark] a {
    color: var(--bs-secondary-color);
}


[data-bs-theme=dark] .aside-widget {
    background-color: transparent;
}

[data-bs-theme=dark] .btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: #212529;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #424649;
    --bs-btn-hover-border-color: #373b3e;
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4d5154;
    --bs-btn-active-border-color: #373b3e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
}

[data-bs-theme=dark] .btn-outline-accent {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-border-color: var(--bs-border-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #343a40;
    --bs-btn-hover-border-color: #212529;
    --bs-btn-focus-shadow-rgb: 33, 37, 41;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #212529;
    --bs-btn-active-border-color: #212529;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #212529;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #212529;
    --bs-gradient: none;
}

[data-bs-theme=dark] .article-post-summary {
    background-color: transparent !important;
}

[data-bs-theme=dark] .post-date-day,
[data-bs-theme=dark] .post-date-month {
    color: var(--bs-secondary-color);
}

[data-bs-theme=dark] .post-summary-text {
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .post-summary-title a {
    color: var(--bs-white);
}

[data-bs-theme=dark] .page-item.active .page-link {
    background-color: var(--bs-pagination-border-color);
    border-color: var(--bs-pagination-border-color);
}

[data-bs-theme=dark] .navbar .dropdown-menu {
    background-color: var(--bs-body-bg);
}

[data-bs-theme=dark] .navbar .dropdown-item.active,
[data-bs-theme=dark] .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme=dark] .lightswitch {
    background-color: transparent;
}

[data-bs-theme=dark] .tox .tox-edit-area::before {
    border: 2px solid transparent !important;
}

.left-category-link {
    border: none;color:#666;text-decoration:underline;margin-right:8px;
    font-weight:200;
}
.left-category-link:hover {
    color:var(--accent-color1);
    text-decoration:underline;
} 