﻿*, body, html, div, p, h1, h2, h3, h4, h5, h6, span, i, strong, small, ul, li, dl, dt, dd, ol, table, tr, td, th, a, input, textarea, label, img, hr, p {
    margin: 0;
    padding: 0
}

body {
}

a:focus, a:hover {
    text-decoration: none;
}


/* 导航栏容器 */
.top-navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    flex-shrink: 0;
    margin-right: 40px;
}

    .logo img {
        height: 40px;
        width: auto;
    }

/* 主导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 25px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .nav-link:hover {
        color: #e31e24;
    }

    .nav-link.active {
        color: #e31e24;
        border-bottom: 2px solid #e31e24;
    }

/* 下拉箭头 */
.dropdown-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 二级下拉菜单 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

    .dropdown-link:hover {
        background-color: #f8f8f8;
        color: #e31e24;
        padding-left: 25px;
    }

    .dropdown-link.has-submenu::after {
        content: '▶';
        font-size: 10px;
        color: #999;
    }

/* 三级下拉菜单 */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

    .submenu-link:hover {
        background-color: #f8f8f8;
        color: #e31e24;
        padding-left: 25px;
    }


/* 移动端汉堡菜单 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }

    .logo {
        margin-right: 20px;
    }

        .logo img {
            height: 35px;
        }

    .mobile-menu-btn {
        display: flex;
        order: 3;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

        .nav-menu.active {
            left: 0;
        }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        justify-content: space-between;
    }

        .nav-link.active {
            border-bottom: 1px solid #f0f0f0;
            border-left: 3px solid #e31e24;
        }

    /* 移动端下拉菜单 */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: #f8f8f8;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.dropdown-open .dropdown {
        max-height: 500px;
    }

    .dropdown-link {
        padding: 12px 40px;
        border-bottom: 1px solid #e0e0e0;
        font-size: 13px;
    }

        .dropdown-link:hover {
            padding-left: 45px;
        }

    /* 移动端三级菜单 */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: #f0f0f0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-item.submenu-open .submenu {
        max-height: 300px;
    }

    .submenu-link {
        padding: 10px 60px;
        font-size: 12px;
        border-bottom: 1px solid #ddd;
    }

        .submenu-link:hover {
            padding-left: 65px;
        }

    .nav-tools {
        position: absolute;
        top: 50%;
        right: 60px;
        transform: translateY(-50%);
        margin-left: 0;
        gap: 10px;
    }

    .tool-btn {
        font-size: 16px;
    }

    .language-selector {
        font-size: 12px;
    }

    /* 汉堡菜单动画 */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo img {
        height: 30px;
    }

    .nav-tools {
        right: 50px;
        gap: 8px;
    }

    .tool-btn {
        font-size: 14px;
        padding: 6px;
    }
}


.breadcrumb-container1 {
    border-bottom: 0 solid #ddd;
    background-color: rgba(246,246,246,1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}
.breadcrumb-container2 {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.breadcrumb {
    text-align: left;
    font-size: 14px;
 
    line-height: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

    .breadcrumb a {
        color: #888;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }


.footer {
    width: 100%;
    background: #2c3e50;
    color: white;
    margin-top: 45px;
    padding: 30px 20px 20px;
    position: relative;
    bottom: 0;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 20px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 8px;
    }

        .footer-column ul li a {
            color: #bdc3c7;
            text-decoration: none;
            line-height: 1.4;
        }

            .footer-column ul li a:hover {
                color: white;
            }

.footer-secondary {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid #34495e;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
  
    .footer-main,
    .footer-secondary {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-main,
    .footer-secondary {
        grid-template-columns: 1fr;
    }

}

/* 右侧悬浮栏 */
.rightFloat-sidebar {
    position: fixed;
    top: 40%;
    right: 0;
    background: #111;
    border-radius: 8px 0 0 8px;
    width: 50px;
    transition: width 0.3s;
    z-index: 999;
    display: none;
}

    .rightFloat-sidebar.hidden2 ul.rightFloat-sidebar-icons {
        display: none;
    }

    .rightFloat-sidebar ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .rightFloat-sidebar li {
        color: #fff;
        padding: 15px;
        text-align: center;
        cursor: pointer;
        position: relative;
        font-size: 18px;
    }

        .rightFloat-sidebar li:hover {
            background: #333;
        }

/* 图标左侧的提示层 */
.rightFloat-sidebar-tooltip {
    display: none;
    position: absolute;
    top: 50%;
    right: 60px; /* 在图标左侧 */
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.rightFloat-sidebar li:hover .rightFloat-sidebar-tooltip {
    display: block;
}

/* 展开收起按钮 */
.rightFloat-sidebar-toggle-btn {
    background: #222;
    cursor: pointer;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .rightFloat-sidebar{display:none}
  
}