body {
  font-family:
    "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", 华文细黑, STHeiti, MingLiu;
  font-size: 16px;
  line-height: 170%;
  background: url(../images/top.jpg) repeat-x top;
}
ul,
ol,
li {
  list-style: none;
}
img {
  border: none;
}
a {
  text-decoration: none;
  color: #666666;
  cursor: pointer;
}
a:hover {
  color: #01652d;
  text-decoration: none;
}
.clear-both {
  clear: both;
  height: 0;
  overflow: hidden;
}
.left {
  float: left;
}
.right {
  float: right;
}
#container {
  padding: 25px 20px 20px 20px;
  width: 1000px;
  margin: 390px auto 0 auto;
  background-color: #ffffff;
}

.title {
  border-bottom: 2px #e2e2e2 solid;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.title span {
  padding-bottom: 5px;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  border-bottom-color: #024dca;
}
.title a {
  font-size: 13px;
  float: right;
}

#footer {
  text-align: center;
  margin: 30px 0px;
  width: 100%;
  color: #ffffff;
}
.top {
  overflow: hidden;
  clear: both;
  margin-top: 15px;
  height: auto;
}
.top dl {
  width: 18%;
  display: block;
  margin: 10px;
  float: left;
}
.top dl dd {
  text-align: center;
  line-height: 30px;
}
.top dl dt {
  text-align: center;
  cursor: pointer;
}
.top dl dt img {
  height: 180px;
  width: auto;
}

.box {
  width: 1000px;
  margin: 0 auto;
}

.box .branch {
  text-align: center;
}

.box .branch div.title img {
  width: 1000px;
  height: 38px;
}

.box .branch div.title {
  margin: 40px 0 35px 0;
  width: 1000px;
  height: 38px;
  border-bottom: none;
}

.branch ul li {
  float: left;
  width: 166px;
  text-align: center;
  height: 225px;
}

.branch ul li p {
  width: 120px;
  margin: 5px auto;
  height: 42px;
  font-size: 18px;
}

.branch ul li img {
  width: 146px;
  height: 146px;
  margin-top: 10px;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endColorstr=#7f000000);
  width: 100%;
  height: 100%;
  display: none;
  cursor: default;
}

.mask .mask_with {
  width: 320px;
  height: 380px;
  background-color: white;
  margin: 0 auto;
  margin-top: 100px;
}

.mask img {
  width: 210px !important;
  height: 210px !important;
  margin-top: 10px;
}

.close img {
  width: 60px !important;
  height: 60px !important;
  cursor: pointer;
}

.mask p {
  width: 100% !important;
  font-size: 16px !important;
  line-height: 42px;
}

.mask .mask_title {
  color: rgb(53, 139, 204);
  margin-bottom: 15px;
  border-bottom: 2px solid rgb(239, 239, 239);
  font-size: 24px !important;
  height: 60px;
  line-height: 60px;
}

.branch ul li {
  cursor: pointer;
}
.border_line {
  border-bottom: 1px #777777 dashed;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
}

.footer {
  background-color: #0c6fc0;
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer a {
  color: #ffffff;
}
.footer a:hover {
  color: #d09d22;
}
.footer_wzbs {
  position: absolute;
  left: 0;
  top: 10px;
  width: 200px;
  text-align: right;
}
.footer_wzbs img {
  vertical-align: middle;
}
.footer .footer-list {
  width: 1040px;
  margin: 0 auto;
  position: relative;
}
.footer .footer-list p {
  text-align: center;
  line-height: 25px;
}
.footer .footer-list ul {
  text-align: center;
  padding: 5px 0;
}
.footer .footer-list ul span {
  width: 1px;
  height: 15px;
  vertical-align: middle;
  margin: 0 10px;
  background: #105a9f;
  display: block;
  display: inline-block;
}
.footer .footer-list ul li {
  display: inline;
  line-height: 36px;
}
.footer .footer-list ul li a {
  color: #105a9f;
  font-size: 14px;
  vertical-align: middle;
}
.footer_txt {
  text-align: center;
}
.footer_nav {
  margin: 10px auto;
  color: #ffffff;
}
.footer_nav a {
  margin: 0 10px;
}
.footer .copyright {
  line-height: 24px;
}
.footer .copyright span {
  color: #ffffff;
  font-size: 13px;
}
/* ========== 手机端自适应（仅针对新媒体页面） ========== */
@media screen and (max-width: 768px) {
  /* 1. 主容器：宽度100%，缩小顶部留白 */
  body {
    background-size: 165%;
  }
  #container {
    width: 100% !important;

    padding: 15px 10px !important;
    box-sizing: border-box;
  }

  /* 2. 标题区：适当缩放 */
  .title h3 {
    font-size: 18px;
  }
  .title a {
    font-size: 12px;
  }

  /* 3. 微信/微博二维码：纵向排列，各占满宽 */
  .top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .top dl {
    width: 80% !important; /* 覆盖 18% */
    max-width: 260px;
    float: none !important;
    margin: 10px auto !important;
    text-align: center;
  }
  .top dl dt img {
    height: auto !important; /* 覆盖固定高度 */
    width: 100% !important;
    max-width: 240px;
  }
  .top dl dd {
    font-size: 14px;
  }

  /* 4. 下属部门列表（branch）：每个li独占一行 */
  .box {
    width: 100% !important;
  }
  .box .branch div.title img {
    width: 100% !important;
    height: auto !important;
  }
  .branch ul li {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 20px 0 !important;
    text-align: center;
  }
  .branch ul li p {
    width: 100%;
    font-size: 17px;
    height: auto;
    line-height: 1.4;
  }
  .branch ul li img {
    width: 70% !important; /* 相对父容器宽度 */
    max-width: 180px;
    height: auto !important;
    margin-top: 5px;
  }

  /* 5. 遮罩层（点击弹窗）：自适应屏幕 */
  .mask .mask_with {
    width: 90% !important;
    max-width: 360px;
    height: auto !important;
    min-height: 300px;
    padding: 15px 10px 20px;
    margin-top: 60px !important;
    box-sizing: border-box;
  }
  .mask img {
    width: 60% !important;
    max-width: 200px !important;
    height: auto !important;
    margin-top: 5px;
  }
  .mask .mask_title {
    font-size: 20px !important;
    height: 50px;
    line-height: 50px;
  }
  .mask p {
    font-size: 14px !important;
    line-height: 1.6;
  }
  .close img {
    width: 40px !important;
    height: 40px !important;
  }

  /* 6. 底部footer：宽度自适应，文字居中 */
  .footer {
    padding: 15px 10px;
  }
  .footer .footer-list {
    width: 100% !important;
    box-sizing: border-box;
    padding: 0 10px;
  }
  .footer .footer-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 10px;
    padding: 5px 0;
  }
  .footer .footer-list ul li {
    display: inline-block;
    line-height: 2;
  }
  .footer .footer-list ul li a {
    font-size: 13px;
  }
  .footer .footer-list ul span {
    display: none; /* 竖线分隔符在手机上隐藏，避免堆积 */
  }
  .footer_nav a {
    margin: 0 6px;
    font-size: 13px;
  }
  .footer .copyright span {
    font-size: 12px;
    line-height: 1.6;
  }
  .footer_wzbs {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  .footer_wzbs img {
    vertical-align: middle;
    max-width: 100px;
  }
}

/* ===== 极小屏（≤480px）进一步微调 ===== */
@media screen and (max-width: 480px) {
  #container {
    margin-top: 130px !important;
    padding: 10px 6px !important;
  }
  .top dl {
    width: 90% !important;
  }
  .mask .mask_with {
    margin-top: 30px !important;
    padding: 10px 8px 15px;
  }
  .mask .mask_title {
    font-size: 18px !important;
    height: 44px;
    line-height: 44px;
  }
  .mask img {
    width: 70% !important;
  }
  .branch ul li img {
    width: 80% !important;
  }
  .box .branch div.title {
    width: 100%;
  }
  .border_line {
    width: auto;
  }
}
