/* ======================================
   统一CSS样式表 - 中国结等级达标考核（完全修复版）
   ====================================== */

/* ======================================
   全局基础样式重置
   ====================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: #efefef;
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, img, div {
    border: medium none;
    margin: 0;
    padding: 0;
    font: 12px "\5b8b\4f53", Arial, sans-serif;
}

body, button, select, textarea {
    font: 12px "\5b8b\4f53", Arial, sans-serif;
    line-height: 1.8;
    color: #000;
    background: url(/img/bg.jpg) no-repeat center top fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

h3 {
    font-size: 14px;
    font-weight: normal;
}

h4 {
    font-size: 16px;
}

em {
    font-style: normal;
}

ul, ol {
    list-style: none;
}

img {
    border: 0px;
    vertical-align: middle;
    max-width: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input, textarea, button, select {
    outline: none;
}

a {
    text-decoration: none;
    blr: expression(this.onFocus=this.blur());
    cursor: pointer;
    color: #000;
    font: "\5B8B\4F53", sans-serif;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #ba2636;
}

/* ======================================
   通用辅助类
   ====================================== */
.fl {
    float: left;
}

.fr {
    float: right;
}

.styfff, .styfff a, .styfff a:hover {
    color: #fff;
}

.sty666, .sty666 a, .sty666 a:hover, .list li span {
    color: #666;
}

.margin-top {
    padding-top: 20px;
}

.margin-bottom {
    margin-top: 30px;
}

.clear {
    zoom: 1;
    clear: both;
    overflow: hidden;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    overflow: hidden;
}

/* ======================================
   页面容器（严格匹配1000px布局）
   ====================================== */
.w1000 {
    width: 1000px;
    margin: 0 auto;
}

.top {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.logo, .login, #label_s a, .jcsb p i, .v_l li i {
    background: url(/img/logo.png) no-repeat;
}

.logo {
    width: 680px;
    height: 180px;
    margin: 15px 0 0 49px;
    display: inline;
}

.login {
    width: 197px;
    height: 22px;
    background-position: 0 -126px;
    margin: 48px 42px 0 0;
}

.login_l {
    width: 110px;
    overflow: hidden;
    background: none;
    border: none;
    padding: 3px 5px 0;
    color: #fff;
}

.btn {
    width: 70px;
    height: 22px;
    cursor: pointer;
    border: none;
    background: none;
}

/* ======================================
   导航菜单样式（完全修复）
   ====================================== */
.navmenu {
    list-style: none;
    margin: 0 auto 10px;
    padding: 0;
    display: flex;
    background: #fff;
    position: relative;
    z-index: 999;
    width: 1000px;
    box-sizing: border-box;
    flex-wrap: nowrap;
    align-items: center;
    height: 38px;
}

.navmenu > li {
    position: relative;
    padding: 0 15px;
    line-height: 38px;
    white-space: nowrap;
    height: 100%;
}

.navmenu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-family: "Microsoft YaHei", sans-serif;
}

.navmenu a:hover {
    color: #c41e3a;
    text-decoration: none;
}

.caret {
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.8;
}

/* 下拉菜单（修复层级与触发） */
.navsub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #eee;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.dropdown:hover .navsub {
    display: block;
}

.navsub li {
    padding: 0 15px;
    line-height: 32px;
    white-space: nowrap;
}

.navsub li:hover {
    background: #f6f6f6;
}

/* APP下载按钮高亮 */
.app-download a {
    color: #c41e3a !important;
    font-weight: bold;
}

/* 移动端导航适配 */
@media (max-width: 768px) {
    .navmenu {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }
    .navmenu > li {
        padding: 0 8px;
    }
}

/* ======================================
   焦点图区域（修复高度与布局）
   ====================================== */
.js {
    height: 320px;
    background: #fff;
    width: 100%;
    padding: 10px 0;
}

.focus_bg_img {
    width: 550px;
    overflow: hidden;
    height: 300px;
    padding: 10px 0 0 20px;
}

.col_fff {
    width: 550px;
    height: 300px;
    overflow: hidden;
}

#slides {
    width: 100%;
    position: relative;
    z-index: 1;
}

#slides #label_s {
    position: absolute;
    top: 275px;
    right: 20px;
    z-index: 1;
    height: 15px;
    text-align: center;
}

#label_s a.on {
    background-position: -315px -129px;
    width: 15px;
    height: 15px;
}

#label_s a {
    width: 15px;
    height: 15px;
    margin-left: 10px;
    text-indent: -88888px;
    float: left;
    background-position: -338px -129px;
}

#content_s {
    position: absolute;
    width: 100%;
    left: 0;
    float: left;
}

#content_s .photo img {
    width: 550px;
    height: 300px;
    overflow: hidden;
    float: left;
}

#content_s .title {
    position: absolute;
    height: 36px;
    width: 100%;
    top: 264px;
    background: #000;
    filter: Alpha(Opacity=60, Style=0);
    opacity: 0.60;
    left: 0;
}

#content_s h3 {
    position: absolute;
    width: 100%;
    top: 264px;
    left: 0;
    font: 16px "Microsoft YaHei";
    text-indent: 1.5em;
    height: 36px;
    line-height: 36px;
}

/* 修复右侧宽度，匹配正常布局 */
.w310 {
    width: 430px;
    height: 300px;
    overflow: hidden;
    padding: 10px 0 0 15px;
}

.w310 dl {
    padding: 15px 3px;
    border-bottom: 1px solid #ccc;
    height: 100px;
}

.w310 dt {
    font-size: 18px;
    font-weight: bold;
}

.w310 dd {
    line-height: 22px;
    color: #666;
    margin-top: 8px;
}

/* ======================================
   内容区域（含最新内容修复）
   ====================================== */
.bgfff {
    background: #fff;
    padding: 0 20px 30px;
}

.bgw, .tu, .pic, .v_l, .weix {
    width: 100%;
}

.tu, .pic, .v_l, .weix {
    overflow: hidden;
}

.w230 {
    width: 230px;
}

.xxbm, .jcsb {
    width: 230px;
    overflow: hidden;
}

/* 最新内容容器修复 */
.w460 {
    width: 460px;
    padding: 0 15px;
    float: left;
    box-sizing: border-box;
    overflow: hidden;
}

.xxbm_t {
    background: url(/img/201412.jpg) no-repeat;
    width: 230px;
    height: 150px;
    overflow: hidden;
}

.xxbm_t li {
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    padding-left: 78px;
}

.xxbm_t li, .hyzn li, .xxbm p {
    font-style: italic;
    font-size: 16px;
}

.hyzn {
    width: 240px;
}

.hyzn li {
    width: 110px;
    float: left;
    background: #3493e3;
    height: 60px;
    line-height: 60px;
    margin: 10px 10px 0 0;
    text-align: center;
}

.hyzn .bg25b0f5 {
    background: #25b0f5;
}

.hyzn .bg0fbeff {
    background: #0fbeff;
}

.hyzn .bg4accaa {
    background: #4accaa;
}

.hyzn .bg48cba9 {
    background: #48cba9;
}

.hyzn .bg9bd656 {
    background: #9bd656;
}

.xxbm p {
    background: url(/img/201412_01.gif) repeat-y;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin-top: 10px;
}

/* 标题栏修复：解决错位、文字溢出 */
.dao {
    background: url(/img/201412.gif) no-repeat right 0 #4384cb;
    position: relative;
    height: 38px;
    line-height: 38px;
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.dao span {
    position: absolute;
    right: 12px;
    top: 0;
    font-size: 13px;
    line-height: 38px;
}

.dao, .nd h3 {
    height: 38px;
    line-height: 38px;
    font-size: 16px;
    font-weight: bold;
    text-indent: 1.2em;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 列表修复：解决文字重叠、遮挡、变形 */
.news {
    padding: 5px 8px 0;
    background: #fff;
    box-sizing: border-box;
}

.news li, .jxyd li, .list li {
    background: url(/img/lin.gif) no-repeat;
}

.news li {
    border-bottom: 1px dotted #999;
    line-height: 24px;
    min-height: 34px;
    font-size: 14px;
    background-position: 6px 10px;
    padding-left: 18px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 修复链接hover样式，不影响布局 */
.news li a {
    font-size: 14px;
    line-height: 24px;
    color: #333;
    text-decoration: none;
}

.news li a:hover {
    color: #c41e3a;
    text-decoration: underline;
}

/* ======================================
   教程设备区域
   ====================================== */
.jqss {
    background: #4384cb;
}

.jqss h3, .jcsb h3, .dao_j, .lsrc h3, .dao_jc {
    font-size: 16px;
    padding-left: 20px;
    font-weight: bold;
}

.jqss h3 {
    border-bottom: 1px solid #99bce3;
    line-height: 38px;
}

.jqss li {
    border-bottom: 1px solid #99bce3;
    float: left;
    width: 220px;
    padding: 5px 0 5px 10px;
    line-height: 1.6;
}

.jqss li a {
    float: left;
    width: 150px;
}

.jqss li span {
    float: right;
    padding-right: 5px;
}

.jqss p {
    float: right;
    margin-right: 10px;
    line-height: 2;
    padding: 3px 0;
}

.jcsb h3, .dao_jc {
    background: #4384cb;
    height: 35px;
    line-height: 35px;
}

.jcsb p {
    border-bottom: 1px solid #ccc;
    position: relative;
    height: 194px;
    text-align: center;
    line-height: 2.5;
    font-weight: bold;
}

.jcsb p i {
    width: 42px;
    height: 42px;
    background-position: -242px -127px;
    position: absolute;
    top: 101px;
    right: 22px;
}

.jxyd {
    padding-top: 8px;
}

.jxyd li {
    background-position: 9px 10px;
    padding-left: 22px;
    line-height: 2;
    font-size: 14px;
}

.jcsj p {
    width: 180px;
    margin: 12px auto 0;
    text-align: center;
}

.jcsj p img, .xyjj li img, .pic li img, .v_l li img {
    width: 100%;
    float: left;
    margin-bottom: 8px;
}

/* ======================================
   友情链接
   ====================================== */
.gys {
    border-top: 2px solid #ccc;
    padding-top: 10px;
}

.gys dt {
    width: 100px;
    text-align: center;
    float: left;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    margin-top: 8px;
}

.gys dd {
    float: left;
    width: 860px;
}

.gys dd a {
    margin: 10px 5px 10px 6px;
    display: inline;
    float: left;
    height: 50px;
    vertical-align: middle;
    border: 1px solid #e0e0e0;
}

/* ======================================
   右侧小轮播样式（修复溢出）
   ====================================== */
.slider-container {
    width: 230px;
    height: 365px;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.slider a {
    flex: 0 0 100%;
    width: 230px;
}

.slider img {
    width: 230px;
    height: 365px;
    object-fit: cover;
    display: block;
}

/* ======================================
   底部 Footer 样式（完全修复）
   ====================================== */
.footer {
    position: relative;
    left: 0;
    right: 0;
    background: #111 !important;
    color: #999 !important;
    width: 100% !important;
    margin: 30px 0 0 0 !important;
    padding: 40px 0 !important;
    box-sizing: border-box;
    clear: both;
    float: none;
    display: block;
    border: 0 !important;
}

.footer-inner {
    width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.footer-left h2 {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    line-height: 1.4;
}

.footer-left p {
    color: #999 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-right {
    flex: 2;
    min-width: 400px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.footer-col {
    flex: 1;
    text-align: center;
}

.footer-col h3 {
    color: #f03 !important;
    font-size: 16px !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-weight: bold;
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.8 !important;
    font-size: 14px !important;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #999 !important;
    text-decoration: none !important;
}

.footer-col a:hover {
    color: #f03 !important;
    text-decoration: none;
}

.footer-bottom {
    width: 100%;
    margin: 30px auto 0;
    padding: 20px 0;
    border-top: 1px solid #333 !important;
    color: #666 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

.footer-bottom p {
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
}

.footer-bottom a {
    color: #f03 !important;
    text-decoration: none !important;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* 移动端 Footer 适配 */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .footer-left {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-right {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
    }
}

/* ======================================
   内容列表区域
   ====================================== */
.wrap {
    width: 100%;
}

.con2_rongYu {
    width: 100%;
}

.con2_rongYuList {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 0;
}

.con2_rongYuList dl {
    width: 230px;
}

.con2_rongYuList dt {
    width: 230px;
    height: 160px;
    overflow: hidden;
    margin-bottom: 10px;
}

.con2_rongYuList dt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.con2_rongYuList dd {
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.con2_rongYuList dd a {
    color: #333;
}

/* ======================================
   其他页面元素（保留原有功能）
   ====================================== */
.dao_j {
    border-bottom: 2px solid #ec464d;
    height: 33px;
    line-height: 33px;
}

.xyjj {
    width: 180px;
    margin: 0 auto;
    text-align: center;
}

.xyjj li {
    width: 180px;
    text-align: center;
    margin: 12px 0 10px 0;
}

.lsrc {
    background: #f4f4f4;
    border: 1px solid #d8d8d8;
    width: 228px;
    height: 150px;
    position: relative;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding-top: 48px;
}

.lsrc h3 {
    background: url(/img/201412_03.gif) no-repeat;
    width: 240px;
    height: 44px;
    text-align: center;
    line-height: 38px;
    position: absolute;
    left: -6px;
    top: 0;
    margin-top: 7px;
    padding-left: 0;
}

.lsrc p {
    border-bottom: 1px solid #ccc;
    width: 220px;
    float: left;
    height: 36px;
    margin-left: 4px;
    margin-top: 13px;
}

.lsrc p span {
    width: 45px;
    height: 23px;
    line-height: 23px;
    text-align: center;
    float: left;
    font-size: 14px;
    margin: 0 5px;
}

.lsrc p a {
    color: #d40707;
}

.lsrc p a:hover {
    background: #e15055;
    color: #fff;
    cursor: pointer;
    display: block;
}

.jjzz {
    padding: 10px 10px 0;
    line-height: 2;
}

.weiz {
    background: url(/img/201412_04.gif) no-repeat right 0 #e7e7e7;
    height: 35px;
    line-height: 35px;
    text-indent: 1em;
    position: relative;
}

.weiz span {
    position: absolute;
    right: 10px;
    top: 0;
}

.pic ul {
    width: 980px;
}

.pic li {
    width: 180px;
    float: left;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding: 32px 15px 30px 0;
}

.page {
    text-align: center;
    padding: 10px;
    margin: 50px 0 30px 0;
}

.v_l ul {
    width: 980px;
}

.v_l li {
    width: 230px;
    float: left;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding: 32px 15px 30px 0;
    position: relative;
}

.v_l li i {
    position: absolute;
    width: 42px;
    height: 42px;
    background-position: -242px -127px;
    left: 170px;
    top: 135px;
}

.w710 {
    width: 710px;
}

.article {
    padding: 0 20px;
}

.le_title {
    line-height: 30px;
    font-size: 22px;
    color: #000;
    padding: 30px 0 10px;
    text-align: center;
}

.le_02 {
    width: 100%;
}

.le_title, .le_02_time {
    text-align: center;
}

.le_con {
    padding: 58px 0 60px;
    color: #333;
}

.le_con p, .xhzc p {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 15px;
}

.fx {
    width: 100%;
    margin: 10px 0 20px;
}

.list {
    padding: 20px 0 0 50px;
}

.list li {
    width: 600px;
    background-position: 0 -40px;
    font-size: 16px;
    line-height: 40px;
    padding-left: 12px;
}

.list li span {
    float: right;
    font-size: 12px;
}

.fy {
    text-align: center;
    padding: 10px;
    margin: 50px 0 30px 0;
}

.fy_f a {
    background: #d7dcde;
    padding: 5px 10px;
    border: solid #d7dcde 1px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-left: 1px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.fy_f a:hover {
    background: #4585bd;
    border: solid #4585bd 1px;
    text-decoration: none;
}

.weix p {
    border-bottom: 1px dotted #999;
    font-size: 16px;
    line-height: 2;
    padding: 30px 0 30px 50px;
}

.weix ul {
    width: 600px;
    padding-top: 40px;
}

.weix li {
    width: 155px;
    float: left;
    padding-left: 140px;
}

.gyxx {
    padding: 0 50px;
}

.gyxx h3 {
    background: url(/img/201412_05.gif) no-repeat;
    width: 111px;
    height: 25px;
    text-align: center;
    padding-top: 12px;
    font-size: 16px;
    font-weight: bold;
}

.gyxx p {
    font-size: 14px;
    text-indent: 2em;
    line-height: 36px;
    background: url(/img/201418.jpg) no-repeat right 30px;
    padding-right: 250px;
    padding-top: 10px;
    min-height: 220px;
    text-align: justify;
}

.zzjj {
    text-align: center;
}

.nd h3 {
    background: #4384cb;
    margin-bottom: 5px;
}

.nd p {
    border-bottom: 1px dotted #757575;
    color: #333;
    font-size: 14px;
    line-height: 30px;
    padding: 0 5px;
}

.sty999 {
    color: #999;
}

.xhzc {
    border-top: 2px solid #4384cb;
    padding: 15px 50px 0;
}

.xhzc h2, .xhzc h3 {
    text-align: center;
    line-height: 2;
}

.xhzc h2 {
    font-size: 24px;
}

.xhzc h3 {
    font-size: 18px;
    padding-bottom: 10px;
}

.xhzc p {
    color: #666;
    text-indent: 2em;
}

.xhzc span {
    float: right;
    margin-top: 5px;
}

.xhzc span, .xhzc a, .jqjq span {
    color: #06c;
}

.ssjf h3 {
    background: url(/img/201412_06.gif) no-repeat;
}

.ssjf p a {
    color: #009999;
}

.ssjf p a:hover {
    background: #3dbdb2;
    color: #fff;
    cursor: pointer;
    display: block;
}

.bis {
    background: url(/img/201420.jpg) no-repeat;
    height: 439px;
    overflow: hidden;
    margin-top: 20px;
}

.bis li {
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-left: 35px;
}

.jqjq thead tr td {
    color: #666;
}

.jqjq thead tr td, .jqjq tbody tr td {
    border-bottom: 1px dotted #999;
    height: 34px;
    line-height: 34px;
}

.jqjq tbody tr td {
    font-size: 14px;
}

.tab tr td {
    border-bottom: 1px solid #99bce3;
    padding: 5px 10px 5px 10px;
    line-height: 2.6;
}

.page02 {
    border: 2px solid #c1c1c1;
    display: inline;
    padding: 8px 6px 6px 8px;
}

.page02 span {
    padding: 0 2px;
}

.page02 a {
    color: #5086ce;
}

.pagelist {
    border: 0px solid #c1c1c1;
    color: #666;
    display: inline;
    margin: 0 auto;
    padding: 6px;
}

.pagelist li {
    display: inline;
    padding: 0 5px;
}

.pagelist li.thisclass a {
    color: #4585bd;
}