/* nav */

header {
    background: #fff;
    padding: 0px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

header .logo img {
    max-width: 100%;
    height: auto;
    display: block;
    border-bottom: solid #0375bf 5px;
}

nav {
    background-color: #0088cc
}

nav ul {
    width: 90%;
  max-width: 1200px;
    list-style: none;
    margin: 0 auto;
    display: flex;
}

nav ul li {
  flex: 1;
  margin: 0px 15px;
}

nav ul li:hover {
  background: url("../images/nav_on.png") no-repeat center center;
  background-size: 100% 100%;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  display: flex; /* 使用 Flexbox 布局 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  height: 60px;
  width: 100%;
}

nav ul li a img {
  width: 30px;
  height: auto;
  margin-right: 3px; /* 图片与文字之间的间距 */
  display: none; /* 确保图片显示 */
}

nav ul .on{
    background:url("../images/nav_on.png")  no-repeat center center;
    background-size: 100% 100%;   
}
nav ul .on a img{
    display:block;
}
/* footer */
footer{
    width:100%;
    height:auto;
    clear:both;
    float:left;
    min-height:200px;
    background: url("../images//foot.png") no-repeat left bottom;
    background-size: cover;
}
footer .logo{
    width:100%;
    text-align: center;
}
footer .logo img{
    max-width:90px;
    margin:0 auto;

}
footer .text{
    width:100%;
    max-width:1200px;
    padding-top:10px;
    margin:0 auto;
}
footer .text p{
    text-align:center;
    color:#fff;
    font-size:16px;
    line-height:25px;
    margin:0 auto;
}



.qrcode-float-expanded, .qrcode-float-collapsed {
    position: fixed;
    right: 0;
    bottom: 120px;
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
  }
  .qrcode-float-expanded {
    width: 160px;
    height: 180px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    padding: 10px;
  }
  .qrcode-float-collapsed {
    width: 40px;
    height: 40px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .qrcode-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .qrcode-float-collapsed .qrcode-content {
    display: none;
  }
  .qrcode-toggle-btn {
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 40px;
    background: #34a9e8;
    color: #fff;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
  }