.dropdown-header {
    font-size: 1rem;
}


.text-primary{
    color: #8b3dff !important;
}

.dropdown-item {
    font-weight: 400;
    align-items: center;
    font-size: 0.875rem !important;
}

.dropdown-item-block{
    padding: 0.5rem 0.5rem;
}

.dropdown-item span{
    font-size: .9375rem;
}
.dropdown-item .mb-1{
    font-size: .9375rem;
}
.dropdown-item .fs-6{
    font-size: .8rem;
}

.navbar{
    --fn-navbar-padding-x:0 rem !important;
}

.nav-link{
    font-size: 1rem !important;
}

.col-menu-item .pt-1 a{
    font-size: .875rem !important;
}

.col-menu-item{
    min-width: 120px;
}

.login_btn{
    color: #333d4c;
}


header.navbar {
    box-shadow: 0 .125rem .25rem rgba(2, 6, 23, .075);
    border-bottom: 1px solid var(--bs-gray-100);
    background-color: #fff;
}

.navbar .navbar-nav .nav-item .nav-link{
    padding: 0.5rem 0.5rem !important;
}




.btn-primary {
    color: white !important;
    --fn-btn-bg: #8b3dff;
    --fn-btn-border-color: #8b3dff;
    --fn-btn-hover-bg: #7224e6;
    --fn-btn-hover-border-color: #7224e6;
    --fn-btn-active-bg: #7224e6;
    --fn-btn-active-border-color: #7224e6;
    --fn-btn-disabled-bg: #8b3dff;
    --fn-btn-disabled-border-color: #8b3dff;
}

.fs-4 {
    font-size: 1.15rem !important;
}

.btn-outline-primary {
    --fn-btn-color: #8b3dff;
    --fn-btn-border-color: #8b3dff;
    --fn-btn-hover-bg: #8b3dff;
    --fn-btn-hover-border-color: #8b3dff;
    --fn-btn-active-bg: #8b3dff;
    --fn-btn-active-border-color: #8b3dff;
    --fn-btn-disabled-color: #8b3dff;
    --fn-btn-disabled-border-color: #8b3dff;
}

.fs-4 {
    font-size: 1.15rem !important;
}

.header-menu-item-top{
    margin-left: -20px;
}

[data-bs-theme="dark"] header.navbar {
    background-color: #212529;
    border-bottom: 1px solid #343a40;
}

[data-bs-theme="dark"] .navbar-light .navbar-nav .nav-link,
[data-bs-theme="dark"] .navbar-light .navbar-nav .show > .nav-link,
[data-bs-theme="dark"] .navbar-light .navbar-nav .nav-link.active {
  color: rgba(255, 255, 255, 0.55);
}

[data-bs-theme="dark"] .navbar-light .navbar-nav .nav-link:hover,
[data-bs-theme="dark"] .navbar-light .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="dark"] .navbar-light .navbar-brand {
  color: #fff;
}

[data-bs-theme="dark"] .dropdown-menu {
  background-color: #212529;
  border-color: #343a40;
}

[data-bs-theme="dark"] .dropdown-item {
  color: #dee2e6;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
  color: #fff;
  background-color: #343a40;
}

[data-bs-theme="dark"] body {
  background-color: #1a202c;
  color: #dee2e6;
}

[data-bs-theme="dark"] .bg-white {
    background-color: #2d3748 !important;
}

[data-bs-theme="dark"] .text-body {
  color: #dee2e6 !important;
}

[data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2, [data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4, [data-bs-theme="dark"] h5, [data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .h1, [data-bs-theme="dark"] .h2, [data-bs-theme="dark"] .h3, [data-bs-theme="dark"] .h4, [data-bs-theme="dark"] .h5, [data-bs-theme="dark"] .h6 {
  color: #fff;
}

[data-bs-theme="dark"] .dropdown-menu .text-body h5,
[data-bs-theme="dark"] .dropdown-menu .text-body p,
[data-bs-theme="dark"] .dropdown-menu a.text-body {
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .offcanvas {
  background-color: #212529;
  color: #dee2e6;
}
[data-bs-theme="dark"] .offcanvas-header .btn-close {
  filter: invert(1) grayscale(100) brightness(200%);
}

[data-bs-theme="dark"] .dropdown-mega-menu .bg-light {
  background-color: #343a40 !important;
}

[data-bs-theme="dark"] .offcanvas-header .text-inverse img {
    filter: brightness(0) invert(1);
}

/* 首页的快速回到最上面和交流部分不重叠 */
iframe#tawk-widget,
.tawk-min-container,
div[id*="tawk"],
iframe[title*="chat"] {
    bottom: 1.5rem !important;
    right: 6rem !important; 
}

.btn-scroll-top {
    bottom: 8rem !important;
    right: 1.5rem !important;
    z-index: 1010 !important;
}

@media (max-width: 768px) {
    .btn-scroll-top {
        bottom: 8rem !important;
        right: 1rem !important;
    }
}

