
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    background-image: url('../images/gradient.jpg');
    background-repeat: repeat-y;
    background-position: center;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* 主容器样式 */
#mainContainer {
    width: 720px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

/* 头部区域 */
header {
    width: 100%;
}

/* Banner 区域样式 */
.banner {
    width: 100%;
    background-color: #000;
    padding: 0;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    height: 70px !important;
}

/* 导航菜单样式 */
.main-nav {
    background-color: #000;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#menu {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: white;
}

#menu img.spacer {
    display: inline-block;
    margin-right: 10px;
}

/* 导航链接样式 */
.links {
    color: white;
    text-decoration: none;
}

.links a {
    color: white;
    text-decoration: none;
}

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

/* 分隔线样式 */
.divider {
    color: #dcdcdc;
    margin: 0 8px;
}

/* 当前菜单项样式 */
.current {
    color: #d2691e;
}

/* 顶部信息区域容器 */
.top-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    height: 60px;
    padding: 0 5px;
}

/* 面包屑导航内容居中 */
.breadcrumb p {
    margin: 0;
    padding: 0;
    line-height: 60px;
}

/* 搜索区域表单居中 */
.search-area form {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
}

/* 搜索区域样式 */
.search-area {
    padding: 0;
    margin: 0;
    height: auto;
}

/* 面包屑导航样式 */
.breadcrumb {
    margin-bottom: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: black;
    font-size: 14px;
    visibility: visible;
    display: block;
}

/* 应用网格样式 */
.applications-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.application-item {
    width: calc(50% - 10px);
    margin-bottom: 20px;
}
.search-area form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.search-input {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 2px 5px;
    width: 100px;
}

/* 主内容包装器 */
.content-wrapper {
    display: flex;
    width: 100%;
    gap: 25px;
    margin-top: 20px;
}

/* 左侧边栏 */
.left-sidebar {
    width: 105px;
    background-color: #f5f5f5;
    padding: 20px 10px;
    border-radius: 5px;
    text-align: center;
}

.left-sidebar .sidebar-title {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.left-sidebar .sidequote {
    font-size: 0.9em;
    color: #333;
    margin: 0;
    text-align: center;
}

.left-sidebar .sidebar-image {
    margin-top: 20px;
    text-align: center;
}

.left-sidebar .sidebar-image img {
    max-width: 100%;
    height: auto;
}

/* 优化aboutus页面主内容区域 */
.main-content {
    padding-left: 0;
    max-width: 380px;
}

/* 确保面包屑导航正常显示 */
.breadcrumb {
    display: block;
    margin: 0;
    padding: 0;
}

/* 中间主内容 */
.main-content {
    flex: 1;
    max-width: 380px;
}

/* 修复主内容区域的链接样式，确保它们在浅色背景上可见 */
.main-content .links {
    color: #333333;
}

.main-content .links a {
    color: #004465;
    text-decoration: none;
}

.main-content .links a:hover {
    text-decoration: underline;
    color: #d2691e;
}

/* 确保页面图标正确显示 */
.main-content img[src*="page_icon.jpg"] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.main-title img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.main-content h2 {
    color: #004465;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.main-content h3 {
    color: #333333;
    margin: 20px 0 10px 0;
    font-size: 1.2em;
}

.main-text p {
    color: dimgray;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-info {
    margin-top: 40px;
    font-size: 0.9em;
}

.footer-info p {
    margin-bottom: 10px;
}

/* 右侧边栏 */
.right-sidebar {
    width: 160px;
    background-image: url('../images/dotted.gif');
    padding: 20px 10px;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section h3 {
    font-size: 1em;
    margin-bottom: 10px;
    color: #333;
}

.sidebar-section p {
    font-size: 0.9em;
    color: dimgray;
    margin-bottom: 10px;
    line-height: 1.5;
}

.sidebar-section img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* 分隔线图片 */
.right-sidebar .divider {
    text-align: center;
    margin: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #mainContainer {
        width: 100%;
        padding: 0 10px;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .left-sidebar, .right-sidebar {
        width: 100%;
        text-align: center;
    }
    
    .main-content {
        max-width: 100%;
    }
    
    .main-nav {
        justify-content: center;
        height: auto;
        padding: 10px 0;
    }
    
    #menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 确保图片不超出容器 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 移除可能影响布局的旧样式 */
.WordSection1 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

/* 确保表格在新布局中不会造成问题 */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
}

/* 确保表单元素正常显示 */
input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 2000系列产品页面样式 */
.product-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.product-item:last-child {
    border-bottom: none;
    margin-bottom: 10px;
}

/* 1000系列产品页面样式 */
.product-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #cccccc;
}

.product-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.product-image-section {
    margin: 25px 0;
    text-align: center;
}

.product-image-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
    font-size: 16px;
}

.product-image-section img {
    margin-bottom: 15px;
}

.software-support {
    margin: 25px 0;
}

.software-support h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

/* 办公机构页面样式 */
.office-item {
    margin-bottom: 30px;
    clear: both;
    overflow: hidden;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 20px;
}

.office-image {
    float: left;
    margin-right: 20px;
    width: 160px;
    text-align: center;
}

.office-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.office-info {
    float: left;
    width: 200px;
}

.office-info h4 {
    color: #333333;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.office-details {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.office-details a {
    color: #004465;
    text-decoration: none;
}

.office-details a:hover {
    text-decoration: underline;
    color: #d2691e;
}
