﻿/* 筛选器整体样式 */
.filter {
    background-color: #f9f9f9; /* 提供浅灰背景色 */
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    /* 每个筛选框区域 */
    .filter .single-sidebar-box {
        margin-bottom: 15px;
    }

    .filter h6 {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
    }

    /* 筛选条目样式 */
    .filter .list-fliter {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* 复选框容器样式 */
    .filter .form-check {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }

    /* 调整复选框的大小 */
    .filter .form-check-input {
        width: 18px;
        height: 18px;
   
    }

    /* 标签文字偏移调整 */
    .filter .form-check-label {
        font-size: 14px;
        color: #555;
        position: relative;
        top: 1.6px; /* 微调文字垂直对齐 */
        margin-left: 10px; 
       
    }

    /* 滚动区域样式 */
    .filter div[style*="overflow: auto"] {
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 5px;
    }

    /* 鼠标悬停效果 */
    .filter .form-check-label:hover {
        color: #000;
        cursor: pointer;
    }

    .filter .form-check-input:checked + .form-check-label {
        font-weight: bold; /* 选中时文字加粗 */
    }





.selectedArea {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex; /* 使用 flexbox 布局 */
    flex-wrap: wrap; /* 支持内容换行 */
    gap: 15px; /* 设置横向和纵向的间距 */
}

.selected-group {
    display: flex; /* 横向排列 */
    align-items: center; /* 垂直居中 */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
}

.selected-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

    .selected-item button {
        margin-left: 10px;
        font-size: 12px;
        padding: 2px 6px;
        background-color: #dc3545;
        color: white;
        border: none;
        border-radius: 3px;
        cursor: pointer;
    }

        .selected-item button:hover {
            background-color: #c82333;
        }



.product-search {
    display: flex; /* 让输入框和按钮并排显示 */
    max-width: 100%; /* 最大宽度 */

}

.search-input {
    flex: 1; /* 输入框占用剩余空间 */
    padding: 8px; /* 内边距增加易读性 */
    border: 1px solid #ccc; 
}
.search-button {
    padding: 8px 16px;
    
    font-size: 18px;
    background-color: #00479D;
    color:#ffffff;
    margin-right:20px;
}

.hf-btn-list:hover {
    background-color: #00479D;
}
/* 可选：滚动列表头样式 */
.el-table th {
    background-color: #4B4B4B !important;
    color: #FFFFFF !important;
    border-bottom: 1px solid #6C6C6C; /* 表头底部边框 */
}


.el-table {
    margin-bottom: 20px; /* 确保没有额外的底部边距 */
}




.product-card {
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box;
    background-color: #ffffff;
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 5px;
}

.product-text {
    margin-top: 5px;
    height: 100px;
    border-top: 1px double #00479D;
    text-align: center;
}

.product-name {
    font-size: 14px;
    margin: 10px 0;
}

.product-code {
    color: #00479D;
    font-weight: bold;
    font-size: 16px;
    padding-top: 8px;
}


.hf-hidden{display:none;}




.hfOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明灰色背景 */
    z-index: 999; /* 确保遮罩层在最顶层 */
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* 确保loading动画在遮罩层上方 */
    color: #fff;
    font-size: 48px;
}

.accordion .accord-btn.active {
    background: #ECECEC;
    border-color: #2739a7;
}




.team-area-box2 {
    position: relative; /* 设置父元素为相对定位 */
    overflow: hidden; /* 防止内容溢出 */
}

    .team-area-box2 .image {
        position: relative;
    }

    .team-area-box2 .content {
        display: none; /* 默认隐藏 */
        position: absolute; /* 绝对定位叠加在图片上 */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* 使 content 覆盖整个图片 */
        background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
        color: #fff; /* 白色文本 */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
        transition: opacity 0.3s ease; /* 过渡效果 */
        opacity: 0; /* 初始透明 */
    }

    /* 鼠标悬停在图片上时显示 content */
    .team-area-box2:hover .content {
        display: flex;
        opacity: 1; /* 设置为完全不透明 */
    }




/* 自定义列宽 */
.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 1200px) {
    .col-lg-2-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}






.hf-list-fliter {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .hf-list-fliter li {
        margin-bottom: 10px; /* 每项之间的间距 */
    }

    .hf-list-fliter .form-check {
        display: flex;
        align-items: center; /* 垂直对齐 */
    }

    .hf-list-fliter .form-check-input {
        width: 18px; /* 增大复选框宽度 */
        height: 18px; /* 增大复选框高度 */
        margin-right: 8px; /* 与文字的间距 */
        cursor: pointer;
        transition: all 0.3s ease; /* 鼠标移上去的过渡效果 */
    }

        .hf-list-fliter .form-check-input:hover {
            transform: scale(1.2); /* 鼠标移上去放大效果 */
            border-color: #007bff; /* 改变边框颜色 */
        }

    .hf-list-fliter .form-check-label {
        margin-left: 15px;
        font-size: 16px; /* 文本大小 */
        padding-top: 2px;
        cursor: pointer;
        transition: color 0.3s ease; /* 文本颜色的过渡效果 */
    }

    .hf-list-fliter .form-check-input:checked + .form-check-label {
        color: #007bff; /* 选中后的文本颜色 */
    }


/* 设置滚动条整体样式 */
::-webkit-scrollbar {
    width: 8px; /* 垂直滚动条的宽度 */
    height: 8px; /* 水平滚动条的高度 */
}

/* 滚动条轨道样式 */
::-webkit-scrollbar-track {
    background: #f0f0f0; /* 轨道背景色 */
    border-radius: 4px; /* 圆角 */
}

/* 滚动条滑块样式 */
::-webkit-scrollbar-thumb {
    background: #888; /* 滑块背景色 */
    border-radius: 4px; /* 圆角 */
}

    /* 鼠标悬停时的滑块样式 */
    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* 改变背景色 */
    }
