﻿/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Arial, sans-serif;
}
body {
  color: #333;
  background: #fff;
  line-height: 1.6;
  font-size: 14px;
}
ul, li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}
a:hover {
  color: #0066cc;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  font-size: 14px;
}
input, textarea {
    outline: none;
    border: none;
}
.fl{
	float: left;
}
.fr {
    float: right;
}
 .fclear{
 	clear: both;
 }
/* 通用容器（居中适配） */
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-contact{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 通用标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  display: inline-block;
  padding-bottom: 10px;
}
.title-line {
  width: 60px;
  height: 3px;
  background: #0066cc;
  margin: 0 auto;
}

/* 头部悬浮固定 */
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  margin: 0 auto;
}
/* LOGO */
.logo {
  width: 120px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-inner {
  flex: 0 0 20%;
}
.header-inner h1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 200px;
}
.header-inner h2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 200px;
  font-size: 28px;
}
/* 电脑端导航 */
/*.main-nav {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}*/
.main-nav ul {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  padding: 5px 0;
}
.main-nav a.active {
  color: #0066cc;
  border-bottom: 2px solid #0066cc;
}
/* 移动端菜单按钮（默认隐藏） */
.mobile-menu-btn {
  font-size: 24px;
  color: #333;
  display: none;
}
/* 移动端导航（默认隐藏） */
.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px 0;
  display: none;
  z-index: 998;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.mobile-nav a {
  font-size: 16px;
  padding: 5px 20px;
}
.mobile-nav a.active {
  color: #0066cc;
  background: #f5f8ff;
  border-radius: 20px;
}
/* 搜索框 */
.header-search{
  max-width: 200px;
  margin-left: 2%;
}
.t{
	width: 150px;
	height: 30px;
	border: 1px #ececec solid;
	border-radius: 6px;
	padding-left: 5px;
	float: left;
}

.s{
	display: inline;
	width: 30px;
	height: 30px;
	background: url(../img/search.png) no-repeat;
	float: right;
}
 /* 右侧悬浮侧边栏 */
    .sidebar-fixed {
      position: fixed;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 9999; /* 提高层级防止被遮挡 */
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .sidebar-icon {
      position: relative;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #0066cc;
      cursor: pointer;
      transition: all 0.3s;
      text-decoration: none;
    }
    .sidebar-icon:hover {
      background: #0066cc;
      color: #fff;
    }
    .sidebar-top {
      font-size: 18px;
      display: none;
    }

    /* ===== 修复：悬浮提示框强制显示 ===== */
    .sidebar-tooltip {
      position: absolute !important;
      left: -160px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      /*background: #fff !important;*/
      padding: 10px !important;
      border-radius: 6px !important;
      box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
      display: none !important;
      z-index: 999999 !important;
      border: 1px solid #eee !important;
	  color:#0066cc;
    }
    .sidebar-icon:hover .sidebar-tooltip {
      display: block !important;
    }
    /* 二维码强制显示样式 */
    .tooltip-qrcode {
      width: 120px !important;
      height: 120px !important;
      display: block !important;
      border: none !important;
      object-fit: cover !important;
    }

/* 通用页面内容间距（避开悬浮头部） */
.main-content, .page-content {
  margin-top: 80px;
  /*padding-bottom: 60px;*/
}
/*.page-content {
  padding: 80px 0;
}*/
.page-title {
  margin-bottom: 30px;
  text-align: left;
}
.page-title .title-line {
  margin: 0;
  margin-top: 5px;
}

/* 通用页脚样式 */
.footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 20px;
  /*margin-top: 50px;*/
}
.footer a {
  color: #ccc;
}
.footer a:hover {
  color: #fff;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}
.link-group h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
}
.link-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
}
.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact i {
  color: #0066cc;
}
.footer-qrcode {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.footer-qrcode img {
  width: 80px;
  height: 80px;
  border: 2px solid #444;
}
.footer-qrcode span {
  font-size: 12px;
  color: #999;
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #999;
}

/* 通用按钮样式 */
.more-btn, .contact-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #0066cc;
  color: #fff !important;
  border-radius: 20px;
  font-size: 14px;
  margin-top: 10px;
}
.more-btn:hover, .contact-btn:hover {
  background: #0052aa;
  transform: translateY(-2px);
}

/* 在css/common.css末尾添加 */
.mobile-nav.show { display: block; }



/* 分页控件 */
.pagination {
  text-align: center;
}
.pagination ul {
  display: inline-flex;
  gap: 10px;
}
.pagination a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}
.pagination a:hover:not(.active) {
  border-color: #0066cc;
  color: #0066cc;
}
.pagination a.active {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}
.pagination .prev-page, .pagination .next-page {
  width: auto;
  padding: 0 15px;
}
.pagination .prev-page, .pagination .next-page {
  width: auto;
  padding: 0 15px;
}