/* 基础样式 - 完全保持PC端样式 */
@charset "utf-8";
body { 
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-family: "微软雅黑 Regular","Microsoft YaHei",sans-serif;
  color: #333;
  background-color: #f6f6f6;
  line-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}

body, button, dd, div, dl, dt, h1, h2, h3, h4, h5, h6, html, input, li, ol, p, ul { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li, ol, ul { 
  list-style: none;
}

a { 
  text-decoration: none;
  color: #333;
  transition: all .3s;
}

a:hover { 
  color: #368ec9;
}

img { 
  border: none;
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

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

button, input { 
  outline: 0;
  border: none;
  font-family: "微软雅黑 Regular","Microsoft YaHei";
}

.row { 
  display: inline-block;
  width: 100%;
}

.fl { 
  float: left;
}

.fr { 
  float: right;
}

.container { 
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.bg-white { 
  background: #fff;
}

.hide { 
  display: none;
}

.m-show { 
  display: none;
}

.btn { 
  display: inline-block;
  border-radius: 5px;
  overflow: hidden;
  color: #fff;
  padding: 0 8px;
  text-align: center;
}

.btn img { 
  vertical-align: -2%;
}

.text_nowrap { 
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  overflow: hidden;
}

.ellipsis { 
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

.pich { 
  display: inline-block;
  overflow: hidden;
}

.pich img { 
  transition: all .3s;
}

.pich:hover img { 
  opacity: .8;
  transform: scale(1.05);
}

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

.w50 { 
  width: 48%;
}

.w30 { 
  width: 30%;
}

.w80 { 
  width: 80%;
}

.mt10 { 
  margin-top: 10px;
}

.mt20 { 
  margin-top: 20px;
}

.mt30 { 
  margin-top: 30px;
}

.flex { 
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.lt10 .flex { 
  display: block;
  text-align: justify;
  line-height: 0;
}

.lt10 .flex>a, .lt10 .flex>div, .lt10 .flex>li, .lt10 .flex>span, .lt10 .flex>ul { 
  display: inline-block;
  vertical-align: top;
  line-height: 26px;
}

.lt10 .flex:after { 
  content: "";
  display: inline-block;
  width: 100%;
  height: 0;
  line-height: 0;
  font-size: 0;
}

.crumb { 
  font-size: 14px;
  line-height: 24px;
  padding: 13px 0;
}

.crumb a { 
  color: #666;
}

.crumb span { 
  color: #333;
}

.htitle { 
  border-bottom: 1px solid #dcdcdc;
  height: 34px;
  position: relative;
}

.htitle a { 
  display: inline-block;
  font-size: 18px;
  padding-bottom: 10px;
  line-height: 22px;
}

.htitle a:hover { 
  color: #333;
}

.htitle a.on { 
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid #368ec9;
}

.htitle i { 
  font-style: normal;
  color: #dcdcdc;
  display: inline-block;
  margin: 0 10px;
  font-size: 20px;
  vertical-align: top;
}

.htitle a.hmore { 
  position: absolute;
  top: 5px;
  right: 0;
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.htitle a.hmore:hover { 
  color: #368ec9;
}

.newslist li { 
  line-height: 44px;
  height: 44px;
  position: relative;
}

.newslist li span.date { 
  position: absolute;
  right: 0;
  top: 0;
  color: #999;
}

.newslist li a.title { 
  width: 100%;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
}

.newslist li i { 
  font-style: normal;
  color: #bc1b2d;
}

.newslist.h40 li { 
  line-height: 40px;
  height: 40px;
}

.newslist.MD li { 
  padding-right: 4em;
}

.newslist.MD.gcx li { 
  padding-right: 0;
}

.newslist.YMD li { 
  padding-right: 6em;
}

.newslist.dot li { 
  padding-left: 16px;
}

.newslist.dot li:before { 
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #789cd2;
}

ul.xxzlnewslist.dot { 
  flex: 1 auto;
  padding-left: 30px;
}

.padd { 
  padding: 22px;
  min-height: 557px;
}

/* 图书资料新加轮播样式 */
.xxzl .slide { 
  width: 186px;
  height: 217px;
  text-align: center;
  padding-top: 0;
}

.xxzl .pagination { 
  width: 100%;
  text-align: center;
  padding-right: 0;
  background: rgba(0,0,0,.6);
  height: 20px;
  bottom: 0;
}

.xxzl dl { 
  width: 170px;
  text-align: center;
}

.xxzl dl dd, .xxzl dl dt { 
  background-color: #f3f9ff;
}

.xxzl dl dt { 
  padding-top: 10px;
}

.xxzl dl dd { 
  line-height: 18px;
  font-size: 14px;
  padding: 8px 0 15px;
}

/* 通知公告 新加轮播样式 - 修复轮播图问题 */
.gzdt ul.newslist { 
  width: calc(100% - 410px);
}

.gzdt .slide { 
  width: 365px;
  height: 217px;
  overflow: hidden;
}

.gzdt .slide .swiper-slide { 
  height: 217px;
}

.gzdt .slide .swiper-slide span { 
  padding-right: 90px;
  box-sizing: border-box;
  width: 100%;
}

/* 修复：轮播图图片自适应 */
.gzdt .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 内容页样式 */
.details .channel { 
  margin-bottom: 30px;
  height: 45px;
}

.details .channel .backList { 
  float: right;
  line-height: 45px;
  font-size: 14px;
  color: #666;
}

.details .channel .backList:hover { 
  color: #368ec9;
}

.details .channel .channelName { 
  float: left;
  line-height: 45px;
  font-size: 30px;
  color: #368bc7;
  font-weight: 700;
  text-indent: 40px;
  border-left: 13px solid #368bc7;
}

.details .content_detail { 
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.details .content_detail h3.title { 
  line-height: 50px;
  font-size: 28px;
  color: #000;
  font-weight: 400;
  text-align: center;
}

.details .content_detail p.pubtime { 
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 30px;
  margin-bottom: 30px;
}

.contents { 
  font-family: 仿宋;
  font-size: 16pt;
  width: 100%;
  overflow: hidden;
}

.contents div, .contents p, .contents span { 
  font-family: 仿宋;
  font-size: 16pt;
  line-height: 1.5;
}

/* 栏目banner样式 */
.column-banner { 
  background: url(../images/kspj/zyjszg_banner.jpg) no-repeat;
  height: 111px;
  background-size: cover;
}

.column-banner h2 { 
  font-size: 36px;
  color: #368ec9;
  text-shadow: 2px 2px #fff;
  line-height: 36px;
  letter-spacing: 1px;
  padding: 36px 0 0 4%;
}

/* 主体布局 */
.main { 
  position: relative;
  margin-top: 20px;
}

.sidebar { 
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 100%;
  z-index: 1000;
}

.sidebar li { 
  cursor: pointer;
  padding-bottom: 20px;
}

.sidebar li a { 
  display: block;
  width: 110px;
  text-align: center;
  padding: 10px 0;
  position: relative;
}

.sidebar li a:after { 
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: #dcdcdc;
  border-radius: 50%;
  top: 50%;
  margin-top: -2px;
  right: -22px;
}

.sidebar li.on a { 
  background-color: #368ec9;
  border-radius: 3px;
  color: #fff;
  position: relative;
}

.sidebar li.on a:before { 
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  right: -7px;
  top: 50%;
  margin-top: -7px;
  border-top: 7px solid transparent;
  border-left: 7px solid #368ec9;
  border-bottom: 7px solid transparent;
}

.sidebar li.on a:after { 
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: url(../images/kspj/icon1.png) no-repeat;
  top: 50%;
  margin-top: -11px;
  right: -31px;
}

.sidebar.fixed { 
  position: fixed;
}

.maincontent { 
  padding-left: 152px;
}

.maincontent:before { 
  display: block;
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 128px;
  z-index: 100;
  border-right: 1px solid #dcdcdc;
}

/* 入口按钮样式 */
.entrance a { 
  display: block;
  height: 110px;
  width: 22.5%;
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border-radius: 5px;
  padding: 15px 0;
  box-sizing: border-box;
}

.entrance.kd30 a { 
  width: 22.5%;
}

.entrance.kd32 a { 
  width: 32%;
}

.entrance.kd48 a { 
  width: 48%;
}

.entrance a:hover { 
  opacity: .8;
}

.entrance a i { 
  display: block;
  width: 46px;
  height: 68%;
  background: url(../images/kspj/icon2.png) no-repeat;
  margin: auto;
}

.entrance a .wsbm { 
  background-position: 5px 0;
}

.entrance a .zkz { 
  background-position: -246px 0;
}

.entrance a .cjcx { 
  background-position: -497px 0;
}

.entrance a .cjdy { 
  background-position: -748px 0;
}

.entrance a .kfgl { 
  background-position: 5px -161px;
}

.entrance a .jkjk { 
  background-position: -246px -161px;
}

.entrance a .jggl { 
  background-position: -497px -161px;
}

.entrance a .xtgly { 
  background-position: -748px -161px;
}

.entrance a .pxkh { 
  background-position: -498px -161px;
}

.entrance .bg-blue1 { 
  background-color: #387cc3;
}

.entrance .bg-blue2 { 
  background-color: #41a0d8;
}

.entrance .bg-green { 
  background-color: #4294aa;
}

.entrance .bg-lightgreen { 
  background-color: #8ac04a;
}

.entrance .bg-orange { 
  background-color: #c7a267;
}

.entrance.hsksrk a { 
  width: 18.5%;
}

.entrance.hsksrk a:last-child { 
  background: #6AA6F5;
}

.entrance a i.hgzcx { 
  background: url(../images/kspj/hgzcx2024.png) no-repeat;
}

.yxgcccontent .entrance a { 
  width: 45%;
}

.entrance.maxbig a { 
  width: 48%;
}

.erweima { 
  padding-right: 110px;
  position: relative;
  min-height: 120px;
}

.erweima .qrcode { 
  position: absolute;
  top: 5px;
  right: 0;
  width: 88px;
  text-align: center;
}

.erweima .qrcode img { 
  border: 1px solid #dcdcdc;
  padding: 2px;
}

.erweima .qrcode span { 
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
}

.entrance-banner { 
  background: url(../images/kspj/entrance_banner.jpg) no-repeat;
  height: 111px;
  position: relative;
}

.entrance-banner h4 { 
  font-size: 30px;
  color: #368ec9;
  text-shadow: 2px 2px #fff;
  line-height: 36px;
  letter-spacing: 1px;
  padding: 36px 0 0 4%;
  text-align: center;
}

.entrance-banner a.btn { 
  position: absolute;
  background-color: #438fc3;
  width: 80px;
  height: 28px;
  line-height: 28px;
  border-radius: 18px;
  right: 20px;
  bottom: 5px;
  font-size: 14px;
  text-align: left;
  padding-left: 15px;
}

.entrance-banner a.btn:hover { 
  color: #fff;
  opacity: .8;
}

.entrance-banner a.btn:after { 
  content: ">";
  position: absolute;
  width: 16px;
  height: 16px;
  line-height: 15px;
  color: #4690c3;
  background-color: #fff;
  border-radius: 50%;
  text-align: center;
  top: 50%;
  margin-top: -8px;
  right: 10px;
}

.entrance-banner.ROVL h4 { 
  font-size: 26px;
  line-height: 35px;
  padding-top: 16px;
}

.books { 
  min-height: 100px;
}

/* 头部样式 */
.header { 
  background: #f5f7fa url(../) no-repeat left bottom;
  height: 190px;
  width: 100%;
}

.header .logo { 
  padding-top: 2%;
  width: 65%;
}

.header .topbar { 
  padding-top: 15px;
  color: #fff;
  text-align: right;
}

.header .topbar a { 
  color: #fff;
  margin-left: 15px;
}

.header .topbar span a { 
  margin-left: 0;
}

.header .top-right { 
  width: 32%;
}

.header .topSearch { 
  position: relative;
}

/* 页面头部 */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e1e4e8;
  margin-bottom: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo i {
  font-size: 28px;
  color: #3498db;
  margin-right: 10px;
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 24px;
  color: #2c3e50;
  line-height: 1.2;
}

.site-tagline {
  font-size: 14px;
  color: #7f8c8d;
  margin-top: 5px;
}

.user-actions {
  display: flex;
  align-items: center;
}

.user-actions button {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.user-actions button i {
  margin-right: 5px;
}

.user-actions button:hover {
  background: #2980b9;
}

/* 导航栏 - 修复白色背景条横向填满问题 */
.sticky-nav {
  position: static;
  top: 0;
  z-index: 100;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  width: 100%;
  min-width: 1200px; /* 添加最小宽度确保背景填满 */
}

/* 修复：导航容器确保宽度 */
.nav-container {
  width: 1200px;
  margin: 0 auto;
  padding: 0;
}

nav ul {
  display: flex;
  list-style: none;
  width: 100%;
}

nav li {
  margin-right: 5px;
}

nav a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  padding: 15px 20px;
  display: block;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

nav a:hover, nav a.active {
  color: #3498db;
  border-bottom: 3px solid #3498db;
  background-color: #f8f9fa;
}

/* 页脚样式 */
.footer { 
  background-color: #368ec9;
  font-size: 15px;
  padding: 18px 0;
  color: #fff;
  margin-top: 30px;
  min-width: 1200px; /* 确保页脚背景填满 */
}

.footer a { 
  color: #fff;
}

.container .left img { 
  width: 105px;
}

.footer .middle { 
  text-align: center;
  line-height: 30px;
}

.footer .middle span:nth-child(2) { 
  margin: 0 15px;
}

.footer .right { 
  background-color: #5ca9dd;
  border: 2px solid #6bbdf5;
  padding: 7px;
  align-items: center;
  height: 84px;
}

.footer .right img { 
  width: 70px;
}

.footer .right span { 
  font-size: 12px;
  line-height: 20px;
  margin-left: 8px;
}

.footer .copyright>span { 
  padding-right: 20px;
}

.footer .copyright a { 
  padding-right: 10px;
}

/* 右侧悬浮 */
.rightbox {
  position: fixed;
  right: 5px;
  width: 70px;
  bottom: 130px;
  font-size: 14px;
  text-align: center;
  border-radius: 7px;
  z-index: 1000;
}

.rightbox a { 
  display: block;
  width: 100%;
  height: 75px;
  color: #368ec9;
}

.rightbox span { 
  width: 100%;
  display: inline-block;
  padding-top: 50px;
}

.rightbox a.backtop { 
  display: none;
  background: #fff0 url(/template/pc3/pc/images/public/backtop.svg) no-repeat center 10px;
}

/* 修复：确保整个body在缩放时保持完整 */
html {
  overflow-x: auto;
  min-width: 1200px;
}

/* 修复：通知公告区域的轮播图容器 */
.gzdt .slide .swiper-container {
  width: 100%;
  height: 100%;
}

/* 修复：确保所有图片都能正确缩放 */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 修复：确保通知公告区域的flex布局正确 */
.gzdt .flex {
  display: flex;
  width: 100%;
}

/* 仅添加必要的移动端适配，不影响PC端显示 */
@media screen and (max-width: 1200px) {
  html {
    overflow-x: auto;
  }
  
  body {
    min-width: 1200px;
    overflow-x: auto;
  }
  
  .sticky-nav {
    overflow-x: auto;
    background-color: white;
  }
  
  .sticky-nav nav ul {
    min-width: 1200px;
  }
  
  /* 修复轮播图在小屏幕上的显示 */
  .gzdt .slide {
    width: 365px;
    height: 217px;
    flex-shrink: 0;
  }
  
  .gzdt ul.newslist {
    flex: 1;
    min-width: 300px;
  }
  
  /* 确保轮播图图片正确缩放 */
  .gzdt .slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
}