 * {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
ul,li{list-style: none}
body {
    background: #f7f7f7;
}
a{
    text-decoration: none;
    color: #000;
}
.container {
    width: 100%;
    overflow: hidden;
    min-width: 1200px;
}

.header {
    border-bottom: 1px solid #f2f2f2;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1999;
    background: #4153ff;
}

.header .header-contain {
    width: 1200px;
    margin: 0 auto;
}
.header .header-contain  .logo{
    height: 60px;
    float: left;
    line-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .header-contain  .logo img{
    height: 26px;
}
.header .header-contain ul {
    line-height: 60px;
    font-size: 16px;
    color: #fff;
    float: left;
}
.header .header-contain ul li{
    float: left;
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .header-contain ul li a{
    color: #fff;
}
.header .header-contain ul li.active a{
    color: #fff;
    border-bottom: 4px solid #fff;
    height: 56px;
    line-height: 56px;
}

.container_box{
   width: 1200px;
   margin: 0 auto; 
   margin-top: 15px;
   margin-bottom: 15px;
   display: table;
}
.con_box{
    background:#fff;
    border-radius:8px;
}

.con_box .sub_title{
    border-bottom: 1px solid #dcdfe6;
    line-height: 49px;
    height: 50px;
}
.con_box .sub_title span{
    border-bottom: 2px solid #101010;
    line-height: 49px;
    display: table;
    font-size: 18px;
    float: left;
}
.con_box .sub_title a{
    float: right;
    font-size: 14px;
    color: #666;
}
.content_box_left{
    width: 830px;
    float: left;
    padding: 15px;
    height: 540px;
    overflow: hidden;
    padding-top: 0px;
}
.content_box_right{
    width: 300px;
    float: right;
    padding: 15px;
    height: 540px;
    overflow: hidden;
    padding-top: 0px;
}
.content_box_all{
    width: 1170px;
    padding: 15px;
    height: auto;
    padding-top: 0px;
}
.sub_content_box{
    width: 100%;
    margin-top: 10px;
    display: table;
}
.item_list_img{

}
.item_list_img li{
    float: left;
    width: 250px;
    border-radius: 5px;
    background: #f7f7f7;
    padding: 10px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
}
.item_list_img li .pos_label{
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    border-radius: 0px 5px 0px 5px;
    padding: 0 8px;
    line-height: 24px;
    font-size: 12px;
}
.item_list_img li:nth-child(3n){
    margin-right: 0px;
}

.item_list_img li a img{
    width: 250px;
    height: 140px;
    border-radius: 5px;
}
.item_list_img li a font{
    font-size: 16px;
    line-height: 30px;
    color: #333;
    display: table;
}
.item_list_img li a span{
    line-height: 30px;
    font-size: 14px;
    color: #adadad;
    display: table;
}
.item_list_list{

}
.item_list_list li{
    float: left;
    width: 125px;
    border-radius: 5px;
    background: #f7f7f7;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
}
.item_list_list li .pos_label{
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    border-radius: 0px 5px 0px 5px;
    padding: 0 8px;
    line-height: 24px;
    font-size: 12px;
}
.item_list_list li:nth-child(2n){
    margin-right: 0px;
}

.item_list_list li a img{
    width: 125px;
    height: 66px;
    border-radius: 5px;
    float: left;
}

.item_list_list li a font{
    font-size: 12px;
    color: #333;
    width: 120px;
    white-space: nowrap;      /* 防止文本换行 */
    overflow: hidden;         /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 显示省略号 */
    display: inline-grid;
}
.item_list_list li a span{
    line-height: 30px;
    font-size: 14px;
    color: #adadad;
    display: table;
}


.item_list_page{

}
.item_list_page li{
    float: left;
    width: 265px;
    border-radius: 5px;
    background: #f7f7f7;
    padding: 10px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}
.item_list_page li:nth-child(4n){
    margin-right: 0px;
}

.item_list_page li a img{
    width: 265px;
    height: 145px;
    border-radius: 5px;
}
.item_list_page li a font{
    font-size: 16px;
    line-height: 30px;
    color: #333;
    display: table;
}
.item_list_page li a span{
    line-height: 30px;
    font-size: 14px;
    color: #adadad;
    display: table;
}

.class_list{
    border-bottom: 1px solid #dcdfe6;
    padding-bottom: 15px;
}
.class_list dl{
    width: 100%;
    display: table;
    margin-top: 10px;
    line-height: 25px;
}
.class_list dl dt{
    color: #666;
    float: left;
    font-size: 14px;
}
.class_list dl dd{
    float: left;
}
.class_list dl dd a{
    white-space: nowrap;
    margin-left: 15px;
    background-color: #f8f8f9;
    padding: 0px 12px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    height: 25px;
    line-height: 25px;
    display: table;
    color: #000;
}
.class_list dl dd a.active {
    background-color: #256bca;
    color: #fff;
}





.sub_content_info{
    width: 100%;
    margin-top: 10px;
    display: table;
}

.author{
    display: table;
    height: 45px;
    line-height: 45px;
    width: 100%;
    background: #e2e8f0;
    text-indent: 20px;
    margin: 10px 0px;
    font-size: 14px;
}
.download{
    float: right;
    white-space: nowrap;
    margin-left: 15px;
    background-color: #256bca;
    padding: 0px 12px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    height: 25px;
    line-height: 25px;
    display: table;
    color: #fff; 
    margin-top: 8px;
    margin-right: 10px;
}
.content{
    display: flex;
    width: 100%;
    font-size: 14px;
}




.footer{
    color: #fff;
    line-height: 60px;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid #f2f2f2;
    height: 60px;
    background: #303a4f;
}



/* 分页容器 */
.pagination-container {
  display: flex;
  justify-content: center;
  float: right;
  margin: 25px 0;
}

/* 分页列表 */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* 分页项 */
.pagination li {
  display: inline-block;
  margin: 0;
}
.pagination-container .page_info{
   line-height: 35px; 
}
/* 分页链接 */
.pagination a, 
.pagination span {
  position: relative;
  display: block;
  padding: 8px 15px;
  min-width: 40px;
  text-align: center;
  color: #3498db;
  text-decoration: none;
  border: 1px solid #eee;
  border-left: none;
  transition: all 0.2s ease;
  background: #fff;
}

/* 第一个分页项 */
.pagination li:first-child a,
.pagination li:first-child span {
  border-left: 1px solid #eee;
  border-radius: 4px 0 0 4px;
}

/* 最后一个分页项 */
.pagination li:last-child a,
.pagination li:last-child span {
  border-radius: 0 4px 4px 0;
}

/* 当前页样式 */
.pagination .active span {
  background-color: #4153ff;
  color: white;
  border-color: #fff;
  z-index: 2;
}

/* 禁用状态 */
.pagination .disabled span {
  color: #bdc3c7;
  cursor: not-allowed;
  background-color: #f8f9fa;
}

/* 链接悬停效果 */
.pagination a:hover {
  background-color: #4153ff;
  color: #fff;
  border-color: #ddeeff;
}

/* 省略号样式 */
.pagination .ellipsis span {
  color: #4153ff;
  cursor: default;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .pagination a, 
  .pagination span {
    padding: 6px 10px;
    min-width: 32px;
  }
  
  .pagination li:first-child,
  .pagination li:last-child {
    display: none;
  }
}

.item_list_page li{
    position: relative;
}
.item_list_page li .pos_label{
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    border-radius: 0px 5px 0px 5px;
    padding: 0 8px;
    line-height: 24px;
    font-size: 12px;
}
.red{
    color: red !important;
}

.green{
    color: green !important;
}
.white{
    color: white !important;
}

.search_box{
        float: right;
        margin-top: 5px;
    }
    .search_box_input{
        padding-left: 5px;
        border: 1px solid #dcdfe6;
        height: 35px;
        line-height: 35px;
        width: 200px;
        color: #000;
        font-size: 14px;
        float: left;
        border-radius: 2px;
    }
    .search_box_button{
        border: 1px solid #256bca;
        color: #fff;
        white-space: nowrap;
        margin-left: 15px;
        background-color: #256bca;
        padding: 0px 12px;
        border-radius: 2px;
        cursor: pointer;
        font-size: 14px;
        height: 35px;
        line-height: 35px;
        display: table;
        float: left;
    }