/* 自定义颜色变量 */
:root{
    --bs-body-font-size: 14px;
    --custom-primary: var(--bs-primary);
    --custom-primary-light: var(--bs-primary-bg-subtle);
    --custom-primary-dark: var(--bs-primary-text);
    --custom-secondary: #FEA02F;
    --custom-success: #20c997;
    --custom-wihte: #fff;
}
.fill-primary-color{
    fill: var(--bs-primary);
}
.color-green{
    color: var(--custom-success)
}
/* 主题色文字样式 */
.color-primary{
    color: var(--custom-primary) !important;
}
/*.color-primary-light{*/
/*    color: var(--custom-primary-light);*/
/*}*/
/*.color-primary-dark{*/
/*    color: var(--custom-primary-dark);*/
/*}*/

/* 其他颜色样式 */
.color-orange{
    color: var(--custom-secondary);
}
/*.color-white{*/
/*    color: var(--custom-wihte);*/
/*}*/
.color-red{
    color: var(--bs-danger);
}

/* 主题色背景样式 */
.bg-primary{
    background: var(--custom-primary);
}
.bg-primary-light{
    background: var(--custom-primary-light);
}
.bg-orange{
    background: var(--custom-secondary);
}

/* 主题色边框样式 */
.border-primary{
    border-color: var(--custom-primary);
}
.border-primary-light{
    border-color: var(--custom-primary-light);
}

/* 主题色按钮样式 */
.btn-primary-custom {
    background-color: var(--custom-primary);
    border-color: var(--custom-primary);
    color: #fff;
}

.btn-primary-custom:hover {
    background-color: var(--custom-primary-dark);
    border-color: var(--custom-primary-dark);
    color: #fff;
}

.btn-outline-primary-custom {
    color: var(--custom-primary);
    border-color: var(--custom-primary);
    background-color: transparent;
}

.btn-outline-primary-custom:hover {
    background-color: var(--custom-primary);
    border-color: var(--custom-primary);
    color: #fff;
}

/* 主题色链接样式 */
.link-primary-custom {
    color: var(--custom-primary);
    text-decoration: none;
}

.link-primary-custom:hover {
    color: var(--custom-primary-dark);
    text-decoration: underline;
}

/* 主题色卡片样式 */
.card-primary {
    border-left: 4px solid var(--custom-primary);
}

.card-primary .card-header {
    background-color: var(--custom-primary-light);
    border-bottom: 1px solid var(--custom-primary-light);
}

/* 主题色徽章样式 */
.badge-primary-custom {
    background-color: var(--custom-primary);
    color: #fff;
}

/* 主题色进度条样式 */
.progress-bar-primary {
    background-color: var(--custom-primary);
}

/* 主题色分页样式 */
.pagination .page-item.active .page-link {
    background-color: var(--custom-primary);
    border-color: var(--custom-primary);
}

.pagination .page-link:focus{
    box-shadow:none;
}
/*.pagination .page-link {*/
/*    color: var(--custom-primary);*/
/*}*/

/*.pagination .page-link:hover {*/
/*    color: var(--custom-primary-dark);*/
/*    background-color: var(--custom-primary-light);*/
/*    border-color: var(--custom-primary);*/
/*}*/


ol,ul,li,dl,dt,dd{
    list-style: none;
    margin: 0;
    padding: 0;
}
i,em{
    font-style: normal;
}
.icon_svg_16{
    width:16px;
}
.icon_svg_20{
    width:20px;
}
.icon_svg_24{
    width:24px;
}
/*14px*/
.fs-14{
    font-size:0.875rem
}
/*12px*/
.fs-12,
.fs-8{
    font-size:12px
}
.flex-1{
    flex:1;
}

.w-15{
    width:15%
}
.w-10{
    width:10%
}
.navbar-nav{
    gap: 1rem;
    font-size:16px;
}

.navbar-nav.top_main_nav{
    gap:2rem
}
/* 导航链接active状态样式 */
.top_main_nav .nav-link.active,
.top_main_nav .nav-link:active,
.top_main_nav .nav-link:hover {
    color: var(--custom-primary) !important;
    font-weight: bold;
    background-color: transparent !important;
    /* 确保鼠标按下时不显示背景色 */
}

/* 禁止:active显示背景色 */
.top_main_nav .nav-link:active {
    background-color: transparent !important;
}

/* 导航链接下划线效果 */
.top_main_nav .nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--custom-primary);
}

/* 导航链接相对定位 */
.top_main_nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.grid-3{
    display: grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}
.grid-2{
    display: grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}
.grid-col-span-2 {
    grid-column: 1 / -1;
}
.grid-col-span-2-dot {
    grid-column: span 2;
}
.min-width-3{
    display: inline-block;
    min-width: 3em;
}
.clear-search {
    top: 8px;
    position: absolute;
    right: 80px;
    z-index: 10;
    cursor: pointer;
}
.search-results{
    position: absolute;
    top:100%;
    z-index: 2;
    background-color: white;
    text-align: left;
    padding: 0.5rem;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
    border-radius: 10px;
    font-size:0.85rem;
    width:100%;
    max-height: 400px;
    overflow: auto;
}
.searchlist ul li{
    display: list-item;
    padding-top: 6px;
    cursor: pointer;
}
.results-type{
    padding: 5px;
    background-color: #F5F5F5;
    color: #a0a3a5;
    display: inline-block;
    border-radius: 2px;
    width: 100px;
    text-align: center;
}
.carousel-control-next, .carousel-control-prev{
    top:30%;
    bottom:30%;
}
/*面包屑*/
.breadcrumb-item{
    display: flex;
    align-items: center;
}
.breadcrumb-item+.breadcrumb-item{
    padding-left:5px
}
.breadcrumb-item+.breadcrumb-item::before{
    content: '\e868';
    font-family: iconfont;
    font-size:12px;
    padding-right:5px;
}
/* 居中样式 */
.toast-container-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
}
