@charset "utf-8";

/* ==========================================================================
   禁止浏览器更换版型的指令
   ========================================================================== */
@viewport {
  width: device-width;
  initial-scale: 1.0;
  maximum-scale: 1.0;
  minimum-scale: 1.0;
  user-scalable: no;
}

/* 禁用浏览器的自动换肤功能 */
html {
  color-scheme: light only;
  forced-color-adjust: none;
}

/* 禁用浏览器的表单控件样式覆盖 */
input, textarea, select, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ==========================================================================
   CSS重置和基础样式
   ========================================================================== */

/* 全局盒模型设置 */
* {
  box-sizing: border-box;
}

/* 基础HTML元素重置 */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-size: 13px;
  color: #333;
  background-color: #fff;
  font-family: Microsoft YaHei, Helvetica, '宋体', Tahoma, Arial, "5b8b4f53", sans-serif;
}

/* 标题和表单元素样式重置 */
form, h1, h2, h3, h4, h5, h6, th {
  font-weight: 400;
  font-size: 13px;
}

form, h1, h2, h3, h4, h5, h6, ul, ol, dl, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 链接样式 */
a {
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

a:hover {
  color: #3577ce;
}

/* ==========================================================================
   通用工具类
   ========================================================================== */
.l { float: left; }
.r { float: right; }
.text-center { text-align: center; }
.white-space { white-space: nowrap; }
.text-color { color: #337ab7; }

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   布局容器
   ========================================================================== */
.container {
  margin-right: auto;
  margin-left: auto;
}

.wrap {
  width: 100%;
  max-width: 1260px;
  min-width: 320px;
  padding: 0;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  font-size: 13px;
}

.wrap h1 {
  font-size: 13px;
}

/* ==========================================================================
   头部组件
   ========================================================================== */
.header {
  margin: 10px 0;
  overflow: hidden;
  width: 100%;
}

/* Logo样式 */
.header .logo {
  float: left;
  width: auto; /* 改为自适应宽度 */
  white-space: nowrap;
  margin-right: 10px; /* 添加右边距与搜索框分离 */
}

.header .logo a {
  display: inline-block; /* 改为inline-block以适应内容宽度 */
  height: 33px;
  line-height: 1.74;
  font-weight: bold;
  font-family: '微软雅黑';
  font-size: 19px; /* 恢复原始字体大小 */
  padding: 5px 8px;
  text-align: center;
  background-color: #4c8fe8;
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
  transition: background-color 0.3s ease;
}

/* 搜索区域 */
.header .search {
  float: left; /* 添加浮动 */
  overflow: hidden;
  width: calc(100% - 200px); /* 使用calc计算剩余宽度，预留logo空间 */
}

.header .search .size {
  font-size: 11px;
  float: right;
  text-align: right;
}

/* ==========================================================================
   搜索框组件
   ========================================================================== */
.input-group {
  vertical-align: middle;
  width: 80%;
}

.input-addon,
.input-text,
.input-so {
  height: 33px;
  font-size: 12px;
  line-height: 1.3;
}

.input-text {
  float: left;
  width: 95%;
  padding: 2px 5px;
  display: block;
  color: #555;
  background-color: #fff;
  border: 1px solid #ddd;
  transition: border-color 0.3s ease;
}

.input-text:focus {
  outline: 0;
  border-color: #4c8fe8;
}

.input-so {
  padding: 0 10px;
  text-align: center;
  cursor: pointer;
  margin-left: -42px;
  background-color: #333;
  color: #fff;
  white-space: nowrap;
  border: 1px solid #333;
  transition: background-color 0.3s ease;
}

.input-so:focus {
  outline: 0;
}

.input-so:hover {
  background-color: #4c8fe8;
  border-color: #4c8fe8;
}

/* ==========================================================================
   导航组件
   ========================================================================== */
.nav {
  overflow: hidden;
  background: #000;
  clear: both;
  line-height: 32px;
  width: 100%;
}

.nav dd {
  float: left;
  width: 20%;
  white-space: nowrap;
  overflow: hidden;
  line-height: 32px;
}

.nav dd a {
  float: left;
  text-align: center;
  overflow: hidden;
  width: 100%;
  color: #fff;
  transition: background-color 0.3s ease;
}

.nav dd a:hover,
.nav dd a.focu {
  background: #4c8fe8;
  color: #fff;
}

/* 副导航条 */
.title {
  padding: 5px 3px 5px 5px;
  margin: 10px 0;
  list-style: none;
  background-color: #f5f5f5;
  font-size: 13px;
  width: 100%;
}

.title > li {
  display: inline-block;
}

.title > li + li:before {
  padding: 0 2px;
  color: #ddd;
  content: "| ";
}

.title .r a {
  padding: 4px 5px;
  font-size: 13px;
  text-align: center;
  margin-right: -1px;
  transition: background-color 0.3s ease;
}

/* ==========================================================================
   分页组件
   ========================================================================== */
.mac_pages1 {
  text-align: center;
  padding: 8px 0 0;
  overflow: hidden;
}

.mac_pages1 .page_tip1 {
  color: #7f7f7f;
  font-weight: normal;
  margin-bottom: 8px;
}

.mac_pages1 .page_link1 {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid #ddd;
  font: normal 13px/18px Verdana;
  margin-bottom: 2px;
  transition: all 0.3s ease;
}

.mac_pages1 .page_current1 {
  display: inline-block;
  padding: 5px 8px;
  background-color: #4c8fe8;
  border: 1px solid #4c8fe8;
  color: #fff;
}

.mac_pages1 .page_input1 {
  height: 25px;
  width: 30px;
  border: 1px solid #ddd;
}

.mac_pages1 .page_btn1 {
  border: 1px solid #ccc;
  height: 24px;
  width: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mac_pages1 .page_info1 a:hover {
  background-color: #4c8fe8;
  border: 1px solid #4c8fe8;
  color: #fff;
}

/* ==========================================================================
   媒体内容组件
   ========================================================================== */
.media {
  overflow: hidden;
  width: 100%;
}

.media ul {
  margin-left: -5px;
  margin-right: -5px;
}

.media li {
  float: left;
  width: 50%;
  height: 128px;
  padding: 0 5px;
  overflow: hidden;
  background-color: #fff;
}

.media li img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media li:hover img {
  transform: scale(1.05);
}

.media .media-info dt {
  text-align: left;
  overflow: hidden;
  line-height: 1.7;
}

.media .media-info .playurl2 {
  margin-bottom: 8px;
  line-height: 2.3;
}

.media .media-info .playurl2 a {
  border-top: 1px solid #4c8fe8;
  padding: 7px 10px;
  background: #4c8fe8;
  color: #fff;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  transition: background-color 0.3s ease;
}

.media .media-info .playurl2 a:hover {
  background: #337ab7;
}

/* ==========================================================================
   播放相关组件
   ========================================================================== */
.playurl {
  margin-top: 10px;
}

.playurl dt {
  margin-bottom: 10px;
}

.playurl dd a {
  padding: 7px 10px;
  background: #4c8fe8;
  color: #fff;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.playurl dd a:hover {
  background: #337ab7;
}

/* 播放器控制栏 */
.play-t {
  margin-top: 1px;
  list-style: none;
  background-color: #000;
  font-size: 13px;
  width: 100%;
  color: #ff0000;
  overflow: hidden;
  text-align: center;
  line-height: 2;
}

.play-t .l a,
.play-t .r a {
  font-size: 13px;
  text-align: center;
  color: #fff;
  padding: 6px 5px;
  background: #4c8fe8;
  transition: background-color 0.3s ease;
}

.play-t .l a:hover,
.play-t .r a:hover {
  background: #337ab7;
}

.play_t {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 0;
  font-size: 13px;
  color: #fff;
}

.play_t .l {
  float: left;
  padding-top: 2px;
}

.play_t .r {
  float: right;
}

.play_t a {
  padding-left: 5px;
  font-size: 13px;
  color: #fff;
}

.play_t .r a {
  padding: 7px 10px;
  background: #4c8fe8;
  text-align: center;
  line-height: 1.9;
  transition: background-color 0.3s ease;
}

.play_t .r a:hover {
  background: #337ab7;
}

/* 播放器容器 */
#bofang_box {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  height: 250px;
  background: #000;
}

/* ==========================================================================
   图片展示组件
   ========================================================================== */
.title3 {
  margin-top: 10px;
  margin-bottom: 5px;
  width: 100%;
}

.pic {
  overflow: hidden;
  width: 100%;
}

.pic ul {
  margin-left: -5px;
  margin-right: -5px;
}

.pic li {
  float: left;
  width: 50%;
  height: 162px;
  padding: 0 5px;
  overflow: hidden;
  background-color: #fff;
}

.pic li img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pic li:hover img {
  transform: scale(1.05);
}

.pic li span {
  color: #4c8fe8;
}

.pic2 {
  overflow: hidden;
  width: 100%;
}

.pic2 ul {
  margin-left: -10px;
  margin-right: -10px;
}

.pic2 li {
  float: left;
  width: 50%;
  line-height: 1.5;
  padding: 5px 10px;
  white-space: nowrap;
  overflow: hidden;
  background-color: #fff;
}

/* ==========================================================================
   友情链接和页脚
   ========================================================================== */
.links {
  margin: 6px 0 10px;
  width: 100%;
}

.link {
  margin: 0 -5px;
  display: inline-block;
  list-style: none;
}

.link li {
  display: inline-block;
  font-size: 12px;
  width: 16.666667%;
  line-height: 1.5;
  padding: 5px;
}

.footer {
  border-top: 1px solid #f5f5f5;
  margin-top: 10px;
  line-height: 12px;
  text-align: center;
}

/* ==========================================================================
   响应式断点设置
   ========================================================================== */

/* 小屏幕适配 */
@media (max-width: 479px) {
  .container {
    margin-right: 10px;
    margin-left: 10px;
  }
}

/* 480px 断点 */
@media (min-width: 480px) {
  .container {
    width: 480px;
  }
  
  .header .logo a {
    font-size: 20px;
    padding: 5px 10px;
    line-height: 1.65;
  }
  
  .pic li,
  .pic2 li {
    width: 33.333333%;
  }
  
  .pic li {
    height: 130px;
  }
  
  .pic li img {
    height: 100px;
  }
  
  .media li {
    width: 33.333333%;
    height: 100px;
  }
  
  .media li img {
    height: 100px;
  }
  
  .media .media-info {
    width: 66.666667%;
    height: 100px;
  }
  
  .media .media-info .playurl2 {
    margin-bottom: 5px;
    line-height: 2;
  }
  
  #bofang_box {
    height: 290px;
  }
}

/* 760px 断点 */
@media (min-width: 760px) {
  .container {
    width: 760px;
  }
  
  .pic li,
  .pic2 li {
    width: 25%;
  }
  
  .pic li {
    height: 150px;
  }
  
  .pic li img {
    height: 120px;
  }
  
  .media li {
    width: 25%;
    height: 120px;
  }
  
  .media li img {
    height: 120px;
  }
  
  .media .media-info {
    width: 75%;
    height: 120px;
  }
  
  #bofang_box {
    height: 420px;
  }
}

/* 960px 断点 */
@media (min-width: 960px) {
  .container {
    width: 960px;
  }
  
  .nav dd {
    width: 10%;
  }
  
  .pic li,
  .pic2 li {
    width: 16.666667%;
  }
  
  .pic li {
    height: 130px;
  }
  
  .pic li img {
    height: 100px;
  }
  
  .media li {
    width: 16.666667%;
    height: 100px;
  }
  
  .media li img {
    height: 100px;
  }
  
  .media .media-info {
    width: 83.333333%;
    height: 100px;
  }
}

/* 1200px 断点 */
@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
  
  .nav {
    line-height: 38px;
  }
  
  .nav dd {
    width: 5%;
    line-height: 38px;
  }
  
  .pic li {
    height: 160px;
  }
  
  .pic li img {
    height: 130px;
  }
  
  .media li {
    height: 130px;
  }
  
  .media li img {
    height: 130px;
  }
  
  .media .media-info {
    height: 130px;
  }
}

/* ==========================================================================
   显示/隐藏控制
   ========================================================================== */

/* 小屏幕隐藏元素 */
@media (max-width: 759px) {
  .links,
  .link {
    display: none !important;
  }
}

/* 中屏幕隐藏元素 */
@media (min-width: 760px) and (max-width: 959px) {
  .side,
  .hidden-lg,
  .hidden-sm,
  .top-right {
    display: none !important;
  }
}

/* 大屏幕隐藏元素 */
@media (min-width: 960px) {
  .hidden-lg {
    display: none !important;
  }
}

/* 显示元素控制 */
@media (max-width: 480px) {
  .visible-xs {
    display: block !important;
  }
}

@media (min-width: 480px) and (max-width: 759px) {
  .visible-sm {
    display: block !important;
  }
}

@media (min-width: 760px) {
  .links,
  .link {
    display: block !important;
  }
}

/* ==========================================================================
   打印样式
   ========================================================================== */
@media print {
  .nav,
  .header .search,
  .mac_pages1,
  .footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}