﻿/* 基础树结构样式 */
.tree ul {
    list-style-type: none;
    padding: 0;
}

/* 第一级节点容器 - 无缩进 */
.tree > ul > li {
    margin-left: 0 !important; /* 强制取消缩进 */
    padding-left: 0 !important; /* 清除内边距 */
}

    /* 第一级节点内容 - 大字体 */
    .tree > ul > li > .tree-item-container {
        font-size: 18px !important; /* 第一级字体大小 */
    }

/* 子节点缩进控制 */
.tree li ul {
    padding-left: 20px; /* 子节点统一缩进 */
}

    /* 所有子节点字体大小 */
    /*.tree li ul li .tree-item {
        font-size: 14px !important;*/ /* 子节点统一字体 */
    /*}*/

/* 复选框和标签基础样式 */
.tree .tree-item {
    margin-left: 0;
}

.tree li {
    margin: 4px 0;
    position: relative;
}



/* 复选框样式 */
.tree .checkbox {
    margin-right: 4px;
    --bs-form-check-bg: transparent;
}

/* 修改定位方式 */
.tree .toggle-icon {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: static; 
    margin-left: auto; 
    order: 2; 
}

    /* 旋转动画 */
    .tree .toggle-icon .bi-chevron-right::before {
        transition: transform 0.3s ease; /* 添加平滑过渡 */
    }

    .tree .toggle-icon.collapsed .bi-chevron-right::before {
        transform: rotate(90deg);
    }

    .tree .toggle-icon.expanded .bi-chevron-right::before {
        transform: rotate(-90deg);
    }


.tree ul.hidden {
    display: none;
}

:is( .btn-outline-secondary) {
    position: relative;
    transform: translateZ(0); 
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    filter: brightness(1); 
    overflow:hidden;
}

    
    :is( .btn-outline-secondary):hover {
        transform: scale(1.05) translateY(-4px); 
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12),
        0 10px 10px -5px rgba(0, 0, 0, 0.08)!important;
        filter: brightness(1.05); 
        cursor: pointer;
        z-index: 2; 
    }

    
    :is( .btn-outline-secondary):active {
        transform: scale(0.96) translateY(1px); 
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(0, 0, 0, 0.15)!important; 
        transition-duration: 0.1s; 
        filter: brightness(0.97); 
    }
/*    炫彩流光*/
/*    :is(.btn_search, .btn-outline-secondary):hover::after {
        content: "";
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: inherit;
        background: linear-gradient( 45deg, #ff4e50, #f9d423 25%, #ec008c 50%, #00b4db 75%, #ff4e50 );
        background-size: 300% 300%;
        z-index: -1;
        opacity: 0;
        animation: border-flow 1.5s linear infinite, fade-in 0.3s forwards;
    }

@keyframes border-flow {
    0% {
        background-position: 0% 50%
    }

    100% {
        background-position: 300% 50%
    }
}

@keyframes fade-in {
    to {
        opacity: 0.8
    }
}*/

.title-tag.text-bg-primary {
    background-color: var(--bs-page-link-bg)!important;
}





.search-noresult {
    height: 25rem;
    display: flex;
}

.bg-primary {
    background-color: var(--bg-primary) !important;
}

.tag-btn {
    margin: 5px;
    padding: 5px 15px;
    border: 1px solid var(--bs-color-events);
    border-radius: 5px;
    color: var(--bs-color-events); /*    background-color: red;*/
}

.borders_ {
    border-bottom: 1px solid var(--bs-selete-title-color);
    border-top: 1px solid var(--bs-selete-title-color);
    margin: 0 !important;
}

.contents_ {
    border: 1px solid var(--bs-color-ye);
    color: var(--bs-color-ye);
    border-radius: 5px;
    white-space: nowrap;
}

.hidden {
    display: none!important;
}

.form-select:focus {
    border-color: #96420A;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
}

.btn:hover {
    border: var(--bs-color-events_) solid 1px;
    color: var(--bs-color-events_);
}

.btntop:hover {
    border: none;
}



.btn-link {
    color: var(--bs-search-lable-color);
    text-decoration: none !important;
}



.btn-outline-secondary {
/*    --bs-btn-color: var(--bs-link-color);
    --bs-btn-hover-bg: var(--bs-whites) !important;
    --bs-btn-active-color: var(--bs-whites);
    --bs-btn-active-bg: var(--bs-color-ye);
    --bs-btn-border-color: var(--bs-saiet-corol);
    --bs-btn-active-border-color: var(--bs-color-ye);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);*/
}
.btn_search {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
    background-color: transparent;
    /* 新增清除边框样式 */
    border: none; /* 移除物理边框 */
    outline: none; /* 移除焦点轮廓 */
    appearance: none; /* 禁用浏览器默认外观 */
    -webkit-appearance: none; /* Safari兼容 */
    box-shadow: none !important; /* 防止阴影干扰 */
}
    .btn_search.reset {
        background-image: url(/imgs/search/reset-bg.png);
        color: var(--bs-page-link-bg);
    }
    .btn_search.search {
        background-image: url(/imgs/search/search-bg.png);
        color: var(--bs-saietpublid);
    }

    /* 确保所有交互状态无边框 */
    .btn_search:hover,
    .btn_search:focus,
    .btn_search:active {
        border: none;
        outline: none;
        box-shadow: none;
    }
.lebaleStyle .btn-outline-secondary {
    border: none;
    background-color: var(--bs-link-text-hove-color);
    border-radius: 5px;
    min-width: 5rem;
    color: var(--bs-search-lable-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lebaleStyle .btn-check:checked + .btn-outline-secondary {
    background-color: transparent !important; /* 选中状态背景色 */
    border: none;
    outline: 1px solid #996831;
    color: var(--bs-page-link-bg);
}
.lebaleStyle .btn-check + .btn:hover {
    border: none;
    color: var(--bs-page-link-bg);
    background-color: var(--bs-link-text-hove-color); /* 悬停状态背景色 */
}
.CategoryStyle {
    border: none;
    background-color: rgba(var(--bs-white-rgb),0.6);
    border-radius: 5px;
    color: var(--bs-search-lable-color);
    display: flex;
    flex-direction: column;
    padding: 2.86rem
    /*    align-items: center;*/
    /*    justify-content: center;*/
}
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

    .caret::before {
        content: "\25B6";
        color: black;
        display: inline-block;
        margin-right: 6px;
    }

.caret-down::before {
    transform: rotate(90deg);
}

.active {
    display: block;
}

.inactive {
    display: none;
}
.form-check-input {
    border: var(--bs-border-width) solid var(--bs-search-lable-color) !important;
}

.form-check-input:checked {
    background-color: transparent;
    border-color: var(--bs-search-lable-color);
}

    .form-check-input[type=checkbox]:indeterminate {
        /*    background-color: var(--bs-color-ye);
    border-color: var(--bs-color-ye);*/
        background-color: transparent;
        border-color: var(--bs-page-link-bg);
    }

.btn-primary {
    /*    background-color: var(--bs-color-events_);
    color: var(--bs-whites);
    border: var(--bs-color-events_) solid 1px;
    --bs-btn-active-border-color: var(--bs-color-events_);
    --bs-btn-active-bg: var(--bs-color-events_);*/
}

.search-margin-active { /*    margin-bottom: 12rem !important;*/
}

.search-contain-custom {
    margin: 3.13rem 0; /* display: flex;
  flex-direction: column; */
}

.hstack {
    align-self: center;
}



.hstack-search-custom {
    width: 6.88rem;
    height: 4.38rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 .63rem .63rem 0;
    background-color: var(--bs-public);
    border: none;
}

    .hstack-search-custom img {
        width: 1.31rem;
    }

/* 分类 */
.filter-list-custom {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    padding-left: .5rem !important;
}

.dropdown-custom { /*    width: 7.75rem;*/
    margin-top: .5rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.dropdown-menu-search-custom {
    top: 2.6rem !important;
    border: none !important;
    box-shadow: 0 0 .75rem rgba(51, 51, 51, 0.10);
}

.dropdown-item-custom {
    width: 100%;
    height: 2.13rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #E7E7E7;
    border-radius: .313rem;
}

.dropdown-item-active {
    color: var(--bs-public) !important;
}

.dropdown-item-custom p {
    font-size: 1rem;
    color: var(--bs-link-color);
    font-weight: 400;
    margin-bottom: 0 !important;
}

.dropdown-item-custom img {
    width: .63rem;
    height: .5rem;
    margin-left: 1rem;
}

.dropdown-menu.show { /* inset: 0 0 0 auto !important; */
}

.dropdown-item {
}

/* 面包屑 */
/* 面包屑导航 */
.nav-breadcrumb-custom {
    margin-top: 3.44rem;
    width: 100%; /* margin-bottom: .75rem; */
}
.text-body-brown {
    color: var(--bs-page-link-bg) !important;
    --bs-text-opacity: 1;
}
.col-b11{
    width:11.363636%!important;
    flex:0 0 auto;
}
.col-b21 {
    width: 21.060606% !important;
    flex: 0 0 auto;
}

.breadcrumb p,
.breadcrumb-item {
    color: var(--bs-color-gays);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0 !important;
}

    .breadcrumb-item a {
        text-decoration: none;
        /*        color: var(--bs-color-gays);*/
    }

/* 左侧导航栏 */

.profile-left-custom {
    padding: 1.25rem;
}

.navlists-custom {
    width: 15.5rem !important;
    line-height: 5rem !important;
    text-align: center;
    padding: 0 !important;
    border-radius: 0 !important;
    border-bottom: 2px solid rgba(238, 238, 238, .6) !important;
    font-size: 1.13rem;
    color: var(--bs-link-color);
    font-weight: 500;
}

    .navlists-custom:last-child {
        border: 0 !important;
    }

    .navlists-custom:hover {
        color: #B05117 !important;
    }

.nav .active {
    font-weight: 400;
    /*    background-color: var(--bs-whites);*/
    /*    background-image: url(../imgs/profile-select.png) !important;*/
    width: 100%; /* height: 100%; */
    background-size: 15.5rem 5rem !important;
    background-repeat: no-repeat; /* transition: .2s ease-in-out transform */
}

/*.nav .active:hover { color: #ECD4A6 !important; }*/

/* 右侧内容 */

.clearImg,
.tab-content {
/*    background: var(--bs-whites) !important;*/
    background-image: none !important;
}

.search-tips {
    font-size: 1rem;
    color: var(--bs-color-gays);
    font-weight: 400 !important;
    margin-bottom: 1.25rem;
}

.search-result {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.search-result-item {
    margin-top: 1.88rem;
    padding-bottom: 1.88rem;
    display: flex;
    flex-direction: column;
    border-bottom: .063rem solid var(--bs-color-e);
}

    .search-result-item p {
        margin-bottom: 0 !important;
    }

.search-result-title-time {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

    .search-result-title-time h6 {
        flex: 1;
        color: var(--bs-link-color);
        font-weight: bold;
    }

    .search-result-title-time p {
        font-size: .88rem;
        color: var(--bs-color-nine);
        font-weight: 400;
    }

.search-result-content {
    margin-top: 1.13rem;
    font-size: 1rem;
    color: var(--bs-link-color);
    font-weight: 400;
}

.search-result-original {
    margin-top: 1.13rem;
    font-size: .88rem;
    color: var(--bs-link-color);
    font-weight: 400;
    width: 100%;
    text-align: right;
}

/* 分页 */
.search-pagination-custom {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: -6rem;
    left: 0;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
@media (max-width: 800px) {
    .tree {
        display: none;
    }
}

/* 定义小于等于991.98px的样式，即：0~991.98px范围内 */
@media (max-width: 991.98px) {
    .search-body-custom {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    .search-content-custom {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 9.6rem;
    }
}

/* 定义某一区间: 大于991.98px的样式*/
@media (min-width: 991.98px) {
    .search-body-custom {
        width: 87.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .search-content-custom {
        width: 100%;
        display: flex;
        flex-direction: row; /* margin-bottom: 3.75rem; */
        margin-bottom: 9.6rem;
    }
}
