/*
 * 配色对齐院站公开首页源码（http://www.ydhlwxc.org.cn/）：
 * - 主栏新闻块边框 #FCC8BC，内容区白底（table/td 未单独设背景即为 #FFFFFF）
 * - 侧栏「公告 / 文化 / 教育」整块：边框 #FAD378，背景 #FEFCED
 * - 行业要闻列表框边框 #e2be8d（001.css .b1）
 */

body {
  margin: 0;
  font-size: 12px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #ffffff;
  color: #333;
}

.fl {
  float: left;
}
.fr {
  float: right;
}
.wi {
  width: 1000px;
  margin: 0 auto;
}
ul,
li,
p {
  padding: 0;
  margin: 0;
  list-style: none;
}
a {
  color: #333;
  text-decoration: none;
}
a:hover {
  color: #c00;
  text-decoration: underline;
}
.yh,
.yh a {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.g10 {
  height: 10px;
  background: #fff;
}
.g6 {
  height: 6px;
  font-size: 0;
}
.bgf {
  background: #fff;
}
.c {
  clear: both;
}
img {
  border: 0;
  vertical-align: middle;
}

.ding {
  height: 30px;
  line-height: 30px;
  background: url(../images/top.jpg) repeat-x;
  color: #fff;
}
.sj {
  margin-left: 10px;
}
.sc {
  margin-right: 10px;
}
.sc a {
  color: #fff;
}

/* 首页顶区大 Logo（与证书结果页小图 cert-result-corner.jpg 分离，勿共用 logo.jpg） */
.logo {
  height: 200px;
  background: url(../images/site-header-logo.jpg) no-repeat center top;
}

.nav {
  height: 34px;
  line-height: 34px;
  background: url(../images/dhbj.jpg) repeat-x;
}
.nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.nav ul li {
  background: url(../images/line.jpg) no-repeat left center;
  padding: 0 8px;
  text-align: center;
  flex: 0 0 auto;
  white-space: nowrap;
}
.nav ul li:first-child {
  background: none;
}
.nav ul li a {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}
.nav ul li.on a {
  color: #ffeb3b;
}

.layout {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0 0 10px;
  box-sizing: border-box;
  background-color: #ffffff;
}
.main-col {
  width: 770px;
  flex: none;
  background-color: #ffffff;
  position: relative;
  z-index: 0;
}
.side-col {
  width: 210px;
  flex: none;
  position: relative;
  z-index: 20;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: -4px;
}
.hero-slider {
  position: relative;
  width: 310px;
  /* 院站 .f 为 225px，Flash 脚本为 230；取 225 与右侧 .dt 总高更易对齐 */
  height: 225px;
  flex: none;
  overflow: hidden;
  background: #000;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slider .slide.active {
  opacity: 1;
}
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slider .slide a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

/* 院站 001.css：.dt 宽 445、与轮播间距 6px；高度按标题+列表区自然撑开 */
.dt {
  width: 445px;
  min-height: 215px;
  margin-left: 6px;
  flex: none;
}
/* 院站 .ti：背景图仅左侧，右侧 #fb0303 铺色（勿 background-size 拉伸整行） */
.ti {
  height: 25px;
  line-height: 25px;
  box-sizing: border-box;
  overflow: hidden;
  background: #fb0303 url(../images/lmbj.jpg) no-repeat left top;
}
.ti.str::after {
  content: "";
  display: table;
  clear: both;
}
.str strong {
  color: #fff;
  padding-left: 50px;
  font-size: 14px;
}
.str span {
  float: right;
  margin-right: 10px;
}
.str span a {
  color: #fff;
}
.tix {
  border: 1px solid #e2be8d;
  border-top: 0;
  background-color: #ffffff;
}
.tix ul {
  padding: 2px 10px;
}
.tix ul li {
  height: 25px;
  line-height: 25px;
  background: url(../images/i1.jpg) repeat-x bottom;
}
.tix ul li span {
  float: right;
  color: #666;
}
.g230 {
  height: 205px;
  overflow: hidden;
}

.panel {
  border: 1px solid #fcc8bc;
  margin-top: 6px;
  background: #ffffff;
}
.panel-head {
  display: flex;
  align-items: stretch;
  height: 26px;
  /* 对齐院站：标题右侧为浅粉红条，非纯白 */
  background: #fde4e1;
  border-bottom: 1px solid #f5cac4;
}
/* 去掉两侧切片小图，避免「更多」前出现红/粉细条 */
.panel-head .cap-l,
.panel-head .cap-r {
  display: none;
}
.panel-head .title {
  flex: none;
  min-width: 96px;
  margin-left: 14px;
  padding: 0 14px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  line-height: 26px;
  background: url(../images/lmbjcenter.jpg) repeat-x;
  border-radius: 2px 2px 0 0;
}
.panel-head .grow {
  flex: 1;
  min-width: 8px;
  background: transparent;
}
.panel-more {
  flex: none;
  width: 72px;
  text-align: right;
  padding-right: 8px;
  line-height: 26px;
}
.panel-more a,
.panel-more {
  color: #1b5e20;
  font-size: 12px;
}
.panel-more a:hover {
  color: #c00;
}
.panel-body {
  padding: 8px 6px 10px;
  background-color: #ffffff;
}

.xwx {
  overflow: hidden;
}
.g220 {
  height: 221px;
}
.xwx ul li {
  height: 25px;
  line-height: 25px;
  background: url(../images/i1.jpg) repeat-x bottom;
}
.xwx ul li span.pub-date {
  float: right;
  color: #666;
}

.grid-2 {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.grid-2 .panel {
  flex: 1;
  margin-top: 0;
}

.pic-news-wrap {
  margin-top: 8px;
}
.pic-strip {
  overflow: hidden;
  height: 120px;
  width: 100%;
  border-top: 1px solid #fcc8bc;
  background-color: #ffffff;
}
.pic-strip-inner {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: pic-marquee 40s linear infinite;
}
.pic-strip-inner:hover {
  animation-play-state: paused;
}
.pic-strip-inner img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  margin-left: 6px;
}
@keyframes pic-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gg {
  width: 210px;
}
.gg .ti.str span a {
  pointer-events: none;
}

/* 查询中心：保证按钮在主栏内容之上可点（避免叠层吃掉点击） */
.side-col .query-box {
  position: relative;
  z-index: 21;
}
/* 查询中心：纵向留白对齐院站；三颗按钮同一竖中线居中 */
.query-box {
  height: 270px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #e2be8d;
  border-top: 0;
  background-color: #ffffff;
  background-image: url(../images/right_top_bg.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 210px auto;
}
.query-stack {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.query-gap {
  flex: 0 0 auto;
}
.query-gap--top {
  height: 40px;
}
.query-gap--mid {
  height: 50px;
}
.query-gap--after2 {
  height: 40px;
}
.query-gap--bottom {
  flex: 1 1 auto;
  min-height: 24px;
}
.query-row {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  box-sizing: border-box;
}
.query-btn {
  display: block;
  line-height: 0;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.query-btn img {
  display: block;
  width: 82px;
  height: 28px;
  pointer-events: none;
}
/* 侧栏证书查询：用 GET 表单跳转，避免个别环境下 <a> 点击被拦截 */
.query-row-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.query-row-form button.query-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.side-block {
  margin-top: 10px;
  border: 1px solid #fad378;
  background-color: #fefced;
}
.side-block .head {
  height: 28px;
  line-height: 28px;
  background: url(../images/lmbj.jpg) no-repeat left top #fb0303;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  padding-left: 50px;
  position: relative;
}
.side-block .head .side-more {
  float: right;
  margin-right: 10px;
  font-size: 12px;
  font-weight: normal;
  color: #fff;
  text-decoration: none;
}
.side-block .head .side-more:hover {
  text-decoration: underline;
}



/* 教育培训：保持原站单行列表风格，超长标题省略，避免叠字 */
.edu-list ul li {
  height: 25px;
  line-height: 25px;
  padding: 0;
  background: url(../images/i1.jpg) repeat-x bottom;
}
.edu-list ul li a {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 院站侧栏「公告通知」：表头无「更多」；内容与红条分离边框 */
.side-notice {
  margin-top: 10px;
}
.side-notice__head {
  height: 28px;
  line-height: 28px;
  background: url(../images/lmbj.jpg) no-repeat left top #fb0303;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  padding-left: 50px;
  box-sizing: border-box;
}
.side-notice__body {
  border: 1px solid #fad378;
  border-top: none;
  background-color: #fefced;
  box-sizing: border-box;
}

.notice-scroll {
  height: 200px;
  overflow: hidden;
}
.notice-scroll--static .track {
  animation: none !important;
}
.notice-scroll .track {
  animation: notice-up 48s linear infinite;
}
.notice-scroll:hover .track {
  animation-play-state: paused;
}
.notice-scroll.xwx ul {
  padding: 2px 10px;
}
/* · 在链接外，标题单行省略（院站 marquee 内列表样式） */
.notice-scroll.xwx ul li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.notice-scroll.xwx ul li > span:first-child {
  flex: none;
}
.notice-scroll.xwx ul li a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
}
.notice-scroll.xwx ul li a:hover {
  color: #c00;
}
@keyframes notice-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.ldbz {
  padding: 10px 6px 8px;
}
.ldbz table {
  width: 100%;
}
.ldbz td {
  text-align: center;
  vertical-align: top;
  padding: 4px;
  font-size: 12px;
  line-height: 1.35;
}
.ldbz img {
  width: 90px;
  height: 100px;
  object-fit: cover;
}

.lk {
  width: 980px;
  margin: 0 auto;
  padding: 10px;
  background: #fff;
}
.lk strong {
  color: #333;
}
.lk a {
  margin-right: 12px;
}

.footer {
  width: 1000px;
  margin: 0 auto;
  min-height: 100px;
  text-align: center;
  background: url(../images/jcdzz_36.jpg) repeat-x #fff;
  font-family: Arial, sans-serif;
  line-height: 26px;
  padding: 16px 10px;
  box-sizing: border-box;
  color: #333;
}
.footer a {
  color: #2960b2;
  text-decoration: none;
}
.footer a:hover {
  color: #c00;
  text-decoration: underline;
}

.ad-slot {
  text-align: center;
  margin: 6px 0;
  min-height: 4px;
}

/* ========== 栏目列表页 / 详情页面包屑（对齐院站 wz、lwz） ========== */
.list-page-wrap {
  padding: 0 0 20px;
}
.wz-crumbs {
  min-height: 32px;
  line-height: 32px;
  margin-bottom: 0;
  background: url(../images/wzbg.jpg) repeat-x;
  border: 1px solid #fcc8bc;
  border-bottom: 1px solid #fdece8;
  background-color: #fffef9;
}
.wz-crumbs table {
  width: 100%;
  border-collapse: collapse;
}
.wz-crumbs table td {
  font-size: 12px;
  padding: 4px 12px;
  vertical-align: middle;
}
.wz-crumbs-title {
  width: 78px;
  white-space: nowrap;
  color: #333;
}
.wz-crumbs a {
  color: #2960b2;
}
.wz-crumbs strong {
  color: #c00;
  font-weight: bold;
}
.article-crumbs {
  margin-bottom: 16px;
  padding: 8px 12px;
  background: url(../images/wzbg.jpg) repeat-x;
  border: 1px solid #fcc8bc;
  font-size: 12px;
}
.article-crumbs a {
  color: #2960b2;
}

.list-main--border {
  border: 1px solid #fcc8bc;
  border-top: 0;
  background: #ffffff;
  padding: 10px 16px 20px;
  min-height: 240px;
}
.list-empty {
  padding: 40px 16px;
  text-align: center;
  color: #888;
}

.lwz {
  margin: 0;
  padding: 4px 0 12px;
  list-style: none;
  background: url(../images/x1.gif);
}
.lwz li {
  height: auto;
  min-height: 36px;
  line-height: 36px;
  padding-left: 22px;
  padding-right: 8px;
  overflow: hidden;
  background: url(../images/i2.jpg) no-repeat 4px 14px;
  border-bottom: 1px dotted #e8dcc8;
}
.lwz li span {
  float: right;
  margin-left: 12px;
  color: #666;
}
.lwz li a {
  color: #000;
  text-decoration: none;
}
.lwz li a:hover {
  color: #f00;
}

.list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 16px;
  margin: 0;
  padding: 8px 0 16px;
  list-style: none;
}
.list-grid-item {
  width: 210px;
}
.list-grid-link {
  display: block;
  border: 1px solid #fcc8bc;
  background: #fffefb;
  padding: 10px;
  text-decoration: none;
  color: #333;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.list-grid-link:hover {
  border-color: #f09988;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.list-grid-thumb {
  display: block;
  width: 100%;
  height: 120px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #f5f5f5;
  text-align: center;
}
.list-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-grid-title {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 6px;
}
.list-grid-date {
  display: block;
  font-size: 12px;
  color: #888;
}

.pager {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 12px;
  color: #555;
}
.pager a {
  display: inline-block;
  margin: 0 12px;
  padding: 4px 14px;
  border: 1px solid #ddd;
  background: #fafafa;
  color: #333;
  text-decoration: none;
}
.pager a:hover {
  border-color: #fcc8bc;
  color: #c00;
}
.pager-info {
  margin: 0 8px;
}

/* ========== 详情页 info.asp 版式（.nm 双栏 + wz + nei/con/cont/sx） ========== */
.info-page .nm.w2 {
  width: 980px;
  margin: 0 auto;
  padding: 0 10px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
  /* 用 flex 固定双栏，避免某些环境下 float 被挤到下一行 */
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.info-page .nml {
  float: none;
  width: 210px;
  flex: 0 0 210px;
}
.info-page .nmr {
  float: none;
  width: 760px;
  flex: 1 1 auto;
  overflow: hidden;
}
.info-page .lmti {
  height: 30px;
  line-height: 30px;
  background: url(../images/lmdh.jpg) no-repeat;
}
.info-page .lmti strong {
  color: #fff;
  padding-left: 30px;
  font-size: 14px;
}
.info-page .lmtx ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-page .lmtx ul li {
  height: 33px;
  line-height: 33px;
  background: url(../images/lmtx.jpg) no-repeat;
  padding-left: 30px;
}
.info-page .lmtx ul li a {
  color: #333;
  text-decoration: none;
}
.info-page .lmtx ul li a:hover {
  color: #c00;
}
.info-page .xwx.re ul {
  padding: 10px 0 10px 10px;
  margin: 0;
  list-style: none;
}
.info-page .xwx.re ul li {
  height: auto;
  min-height: 25px;
  line-height: 25px;
  background: url(../images/i1.jpg) repeat-x bottom;
  padding: 2px 0 2px 0;
  padding-left: 0;
}
.info-page .xwx.re ul li a {
  color: #333;
  text-decoration: none;
}
.info-page .xwx.re ul li a:hover {
  color: #c00;
}
.info-page .wz {
  height: 32px;
  line-height: 32px;
  background: url(../images/wzbg.jpg) repeat-x;
  overflow: hidden;
}
.info-page .wz strong {
  color: #f00;
  padding-left: 30px;
  font-size: 14px;
}
.info-page .wz span {
  float: right;
  margin-right: 20px;
  color: #333;
  font-size: 12px;
}
.info-page .wz span a {
  color: #2960b2;
  text-decoration: none;
}
.info-page .wz span a:hover {
  text-decoration: underline;
}
.info-page .nei {
  height: auto;
  padding: 10px;
}
.info-page .n1 {
  border: 1px solid #fbb;
  border-top: 0;
}
.info-page .con {
  /* 右侧主内容与 wz 顶部对齐：减少多余上边距 */
  padding-top: 0;
}
.info-page .con h1 {
  text-align: center;
  font-size: 20px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: bold;
  margin: 0 0 6px;
  color: #333;
}
.info-page .info {
  text-align: center;
  padding: 5px 0;
  margin-top: 0;
  color: #999;
  font-size: 12px;
}
.info-page .cont {
  line-height: 30px;
  font-size: 14px;
  color: #333;
  /* 标题下方内容起始更紧凑 */
  padding-top: 10px;
}
.info-page .cont-inner {
  line-height: 30px;
  font-size: 14px;
  color: #333;
  /* 后台 textarea 纯文本里的换行在 HTML 中默认会被忽略；pre-wrap 保留换行与行首空格（勿对 body 整段 trim，会吃掉首行缩进） */
  white-space: pre-wrap;
}
.info-page .cont-inner p {
  text-align: justify;
  text-indent: 2em;
  line-height: 30px;
  font-size: 14px;
  color: #252525;
  /* 首段上移一点，避免看起来“掉下来了” */
  margin-top: 6px;
}
.info-page .cont-inner p.f_center,
.info-page .cont .f_center {
  text-align: center;
  text-indent: 0;
}
.info-page .cont-inner img,
.info-page .cont .f_center img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.info-page .cont-inner h1,
.info-page .cont-inner h2,
.info-page .cont-inner h3 {
  text-indent: 0;
  margin: 14px 0 8px;
}
.info-page .sx {
  padding: 10px 0;
  line-height: 26px;
  border-top: 1px dashed #e2c8a8;
  margin-top: 14px;
  font-size: 12px;
  color: #333;
}
.info-page .sx a {
  color: #2960b2;
  text-decoration: none;
  margin-right: 6px;
}
.info-page .sx a:hover {
  text-decoration: underline;
  color: #c00;
}
.info-page .sx span {
  color: #999;
}
.info-page .tag {
  margin: 12px 0 4px;
  padding-left: 4px;
  min-height: 8px;
}
