@charset "utf-8";
/* 全站基础样式保持不变 */
body{margin:0;font-size:12px;text-align:center;color:#333;word-wrap:break-word;font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;}
p{margin:2pt 0 0 0;}
*{margin:0 auto;padding:0;}
ul{list-style-type:none;margin:0;padding:0;}
a{color:#333;text-decoration:none;}
a:hover{text-decoration:none;}
form{margin:0;}
table,td{border-collapse:collapse;font-size:12px;}
input,select{outline:medium;font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;}
.yjcode{width:1150px;}
.fontyh{font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;color:#000;}
.red{color:#f00;}
.feng{color:#ff6600;}
.blue{color:#2255DD;}
.hui{color:#999;}
.green{color:#008800;}
.redony{background-color:#CFF;border:#999 solid 1px;color:red;}
.bfb{float:left;width:100%;clear:both;}
.clear{float:left;width:100%;}
.clear10{height:10px;}
.clear15{height:15px;}
.clear20{height:20px;}
.ad1{margin:10px 0 0 0;float:left;}
.ad{float:left;}
.adf{float:left;margin:-10px 0 0 0;}
.adbottom .ad1{float:left;margin:0 0 8px 0;}

.topbanner_hj{width:100%;min-width:1150px;float:left;margin-bottom:10px;}
.topbanner_hj a{display:block;width:100%;height:100%;}

.dqwz{float:left;width:1150px;height:25px;margin:15px 0 0 0;text-align:left;font-size:14px;}
.dqwz .u1{float:left;width:1150px;}
.dqwz .u1 li{float:left;}
.dqwz .u1 .l1{width:950px;color:#7F7F7F;}
.dqwz .u1 .l1 a{color:#7F7F7F;}

#page{float:right;margin:10px 0 0 0;width:740px;padding:0;clear:both;}
#page ul{float:right;}
#page ul li{font-size:14px;float:left;margin:0 3px 0 0;font-family:Verdana, Geneva, sans-serif;}
#page ul li a{float:left;border:#DDDDDD solid 1px;padding:8px 12px 9px 11px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
#page ul li a:hover{text-decoration:none;background-color:#ff6600;color:#fff;}
#page ul .ohave{padding:8px 12px 9px 11px;color:#ff6600;}

/* ============== 新版导航栏样式 ============== */
.nav {
    position: relative;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
}

.nav > a, 
.nav-item > a {
    display: inline-block !important;
    padding: 10px 15px;
    font-size: 15px;
    position: relative;
    transition: color 0.2s;
}

.nav-item {
    position: relative;
}

.nav-item:hover > a {
    color: #ff6049;
}

.nav-item:hover .dropdown {
    display: block !important;
    animation: fadeIn 0.25s cubic-bezier(0.21, 0.61, 0.35, 1);
}

/* ============== 下拉菜单核心样式 ============== */
.dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 1000;
    min-width: 600px;
    border-radius: 6px;
    overflow: hidden;
}

/* 分页式下拉菜单特殊样式 */
.dropdown-tabbed {
    width: auto;
}

.dropdown-tabbed .dropdown-header {
    display: flex;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to bottom, #f9f9f9, #f0f0f0);
}

.dropdown-tabbed .tab {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    position: relative;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s;
}

.dropdown-tabbed .tab:hover {
    background-color: rgba(255,96,73,0.1);
}

.dropdown-tabbed .tab.active {
    color: #ff6049;
    background: #fff;
}

.dropdown-tabbed .tab.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6049;
}

.dropdown-tabbed .dropdown-content {
    padding: 0;
}

.dropdown-tabbed .tab-pane {
    display: none;
    padding: 12px 15px;
}

.dropdown-tabbed .tab-pane.active {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 强制5列布局 */
    gap: 10px 8px; /* 缩小列间距 */
    padding: 12px !important;
}

.dropdown-tabbed .tab-pane a {
    display: inline-block;
    padding: 6px 8px !important; /* 紧凑内边距 */
    margin: 0;
    font-size: 13px;
    border-radius: 4px;
    background: #f5f5f5;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: visible; /* 确保文字完整显示 */
    text-align: center;
    min-width: 0; /* 允许内容收缩 */
    width: auto; /* 宽度自适应 */
}

/* 文字不换行且完整显示 */
.dropdown-tabbed .tab-pane a span {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-tabbed .tab-pane a:hover {
    background: #ff6049;
    color: white !important;
    transform: none; /* 取消位移避免布局抖动 */
    box-shadow: 0 2px 6px rgba(255,96,73,0.3);
}
/* 动画效果 */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(-8px);
        box-shadow: 0 2px 5px rgba(0,0,0,0);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 向下箭头样式 */
.with-arrow .nav-text:after {
    content: "▾";
    font-size: 14px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.2s;
    vertical-align: middle;
}
/* 一级导航图标样式 */
.nav-link {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 10px !important;
}

.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    object-fit: contain;
}

/* 二级导航图标样式 */
.subnav-link {
    display: inline-flex;
    align-items: center;
    padding-left: 28px !important;
    position: relative;
}

.subnav-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    object-fit: contain;
}
