/* 秀水学院站主题补丁：旧站内联样式与轮播实现 */

/* 旧站基准字体（globals.css 的 body 规则无层级，会覆盖 @layer legacy） */
.sxy-site {
  color: #000;
  font-size: 14px;
  font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体";
  line-height: 150%;
}

/* 旧站 CSS 基于 content-box，需覆盖 Tailwind preflight 的 border-box */
.sxy-site,
.sxy-site *,
.sxy-site *::before,
.sxy-site *::after {
  box-sizing: content-box;
}

/* 旧站首屏区块底部留白比快照 CSS 多 10px */
.sxy-home .col {
  padding-bottom: 30px;
}

.sxy-home .col3 .wrap {
  padding-bottom: 5px;
}

.sxy-home .col4 {
  padding-bottom: 10px;
}

.sxy-site .headBox {
  overflow: hidden;
}

.sxy-site .nav_menu,
.sxy-site .nav_menu li {
  overflow: visible;
}

.sxy-site #menu_nav li {
  position: relative;
}

.sxy-site #menu_nav dl {
  display: none;
  top: 46px;
  left: 0;
}

.sxy-site #menu_nav li:hover > dl {
  display: block;
}

.sxy-site #menu_nav li:hover > a,
.sxy-site #menu_nav li.over > a {
  background: #ffffff;
  color: #1886d2;
}

.sxy-site .Main {
  background: #ffffff;
}

.sxy-home .new_li9 li .label_datatime {
  font-size: 10px;
  line-height: 30px;
}

/* 集团要闻大图轮播 */
.sxy-fade {
  position: relative;
  width: 400px;
  height: 240px;
  overflow: hidden;
}

.sxy-fade .imageshow li {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.sxy-fade .imageshow li.on {
  z-index: 2;
  opacity: 1;
}

.sxy-fade .imageshow img {
  display: block;
  width: 400px;
  height: 240px;
}

.sxy-fade .btnimage {
  position: absolute;
  right: 40px;
  bottom: 10px;
  z-index: 3;
  height: 20px;
}

.sxy-fade .btnimage li {
  float: left;
  width: 14px;
  height: 11px;
  margin: 3px;
  cursor: pointer;
  background: url(skin/label/li.png) no-repeat;
}

.sxy-fade .btnimage li.over {
  background-image: url(skin/label/li_on.png);
}

/* 影像秀水 */
.sxy-home .head_vd_14698 {
  position: relative;
  width: 325px;
}

.sxy-home .head_vd_14698 .head_vd_frame {
  width: 325px;
  height: 200px;
  overflow: hidden;
}

.sxy-home .head_vd_14698 .head_vd_frame .vd_play {
  position: absolute;
  width: 71px;
  margin-top: 20px;
  margin-left: 125px;
}

.sxy-home .head_vd_14698 .head_vd_frame img:not(.vd_play) {
  width: 325px;
  height: 200px;
}

.sxy-home .head_vd_14698 .head_vd_title {
  position: absolute;
  bottom: 0;
  width: 325px;
  height: 28px;
  overflow: hidden;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.sxy-home .head_vd_14698 .head_vd_title a {
  color: #ffffff;
}

/* 院长信箱 / 招生就业 / 兄弟学校入口 */
.sxy-home .col3 .yqlink img {
  display: inline-block;
  vertical-align: top;
  margin-right: 4px;
}

/* 页脚二维码 */
.sxy-site #bottomNav .btmCode .code_pic img {
  display: inline-block;
  vertical-align: top;
}

.sxy-site #bottomNav .btmCode .code_pic img + img {
  margin-left: 4px;
}

/* 友情链接 */
.sxy-site #friend_wre {
  margin-top: 10px;
  border: 1px solid #e4e4e4;
}

.sxy-site #friend_wre .fri_head {
  padding: 5px 0 0 10px;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
}

.sxy-site #friend_wre .friend_layer {
  margin: 0 10px;
  border-top: 1px dashed #dedede;
}

.sxy-site #friend_wre .friend_layer .each {
  float: left;
  padding: 5px 10px;
  line-height: 150%;
}

.sxy-site #footer {
  height: 0;
}

/* 正文图片：限宽并居中；带 float 的内联样式仍按原样浮动 */
.sxy-site .layout_txtcontent_content img {
  display: block;
  margin: 1em auto;
  max-width: 100%;
  height: auto;
}
