/* ============================================================
   本地镜像的补充样式。
   原站样式（index.css / style_index.css / news.css）保持原样不动，
   这里只补原站没有的少数几个状态类。
   载入顺序在原站 CSS 之后，所以这些规则会覆盖原站规则。
   ============================================================ */

/* 导航：本次未抓取的大类置灰 */
.nav_ct .first_nav a.nav-disabled {
    color: #9a9a9a;
    cursor: default;
}
.nav_ct .first_nav a.nav-disabled:hover {
    color: #9a9a9a;
}
.nav_ct .sub_nav .nav-none {
    color: #999;
    display: inline-block;
    height: 14px;
    line-height: 12px;
    margin-top: 10px;
}

/* 顶栏提示 */
.site-tip {
    color: #999;
    font-size: 12px;
}

/* ============ 登录态（顶栏那一格）============

   原站这格是 JS 塞的 HTML，没有对应样式，所以这几条全是新加的。
   配色沿用原站的橙 #f37b3e / #dd6608，别另起一套。 */
.top1 #loginInfoHtml a {
    color: #666;
}
.top1 #loginInfoHtml a:hover {
    color: #f37b3e;
}
.top1 #loginInfoHtml a.login-name {
    font-weight: bold;
    color: #333;
    margin-right: 6px;
}
/* 会员等级小标签：游客灰、普通会员橙、VIP 红 */
.login-vip {
    display: inline-block;
    padding: 0 6px;
    margin-right: 8px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 2px;
    color: #fff;
}
.login-vip.vip-g { background: #bbb; }
.login-vip.vip-m { background: #f37b3e; }
.login-vip.vip-v { background: #d0021b; }

/* 二级分类里当前选中的那个（原站用的是 <b style="color:#dd6608">） */
.bgzdhclass dd .sub-active,
.bgzdhclass dd a.sub-active {
    color: #dd6608;
    font-weight: bold;
}

/* 列表页标题右边的统计文字 */
.result-tip {
    float: right;
    margin-right: 12px;
    color: #999;
    font-size: 13px;
}

/* 首页 tab 里图片格下面的文字课程列表（照原站的位置，两列灰字）
   注意：上面的 .ul01 里全是浮动 li，ul 高度会塌成 0，
   所以这里必须 clear 一下，否则文字列表会跑到图片右侧。 */
.m2_left_top .ul-text {
    clear: both;
    overflow: hidden;
    padding: 6px 10px 0;
}
.m2_left_top .ul-text li {
    float: left;
    width: 300px;
    height: 24px;
    line-height: 24px;
    margin-left: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.m2_left_top .ul-text li a {
    color: #666;
}
.m2_left_top .ul-text li a:hover {
    color: #f37b3e;
}

/* 首页 tab 下方的"更多"链接 */
.tab-more {
    clear: both;
    text-align: right;
    padding: 6px 16px 10px 0;
}
.tab-more a {
    color: #f37b3e;
}

/* 排行榜序号 */
.rank-no {
    color: #dd6608;
    font-weight: bold;
    margin-right: 6px;
}

/* 空态提示 */
.empty-tip {
    padding: 24px 20px;
    color: #666;
    line-height: 2;
    font-size: 14px;
}
.no-data {
    color: #999;
}

/* 详情页"下载"那一行的小字说明 */
.dl-note {
    color: #999;
    font-size: 12px;
}

/* 页脚版权说明 */
.site-copy {
    padding: 8px 0 14px;
    color: #666;
    line-height: 1.9;
}

/* 图片懒加载占位（我们直接用 src，无占位图，这里防止空 src 出现边框） */
img {
    border: 0;
}

/* ============ 播放页 ============ */

/* 宽度照原站：原站播放页的正文列是 .zhongjian(950px 居中)，
   播放器本身是 .zhongjian_bofang_shipin —— 950×525。
   本仿站详情页系列模块统一用 960px 居中（.jcym_ct1/.jcym_ct2/.positionDiv 都是），
   所以这里跟它们对齐取 960，播放器按原站的 950×525 居中放在里面。
   （原先这里忘了写宽度，结果播放器占满整个视口。） */
.play-wrap {
    width: 960px;
    margin: 10px auto 0;
    overflow: hidden;
}

.play-stage {
    width: 950px;
    margin: 0 auto;
    background: #000;
    text-align: center;
}

/* 原站播放器尺寸就是 950×525，别再自己定 16:9 */
.play-stage video#vplayer {
    width: 950px;
    height: 525px;
    background: #000;
    display: block;
}

.play-stage audio#vplayer {
    width: 950px;
    margin: 60px auto;
    display: block;
}

/* 各种"播不了"的说明块：黑底上要看得清 */
.play-notice {
    background: #000;
    color: #ddd;
    padding: 40px 24px;
    line-height: 2;
    text-align: center;
    min-height: 120px;
}
.play-notice b {
    color: #fff;
}
.play-notice a {
    color: #f37b3e;
}

.play-meta {
    padding: 12px 4px 0;
    border-top: 1px dashed #e6e6e6;
    margin-top: 12px;
}
.play-meta h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}
.play-meta p {
    color: #666;
    font-size: 13px;
    line-height: 2;
}
.play-meta p span {
    margin-right: 16px;
}
.play-back {
    color: #f37b3e;
}

/* 章节列表里"正在播的"那一集 */
.jcym_ct2 .sp1 a.ch-current {
    color: #dd6608;
    font-weight: bold;
}

/* 被会员门拦下时的说明块：比普通的 .play-notice 多一段小字说明，
   小字别用灰得看不见的颜色 —— 黑底上 #999 几乎读不出来。 */
.play-gate .gate-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #444;
    color: #aaa;
    font-size: 12px;
    line-height: 1.9;
}

/* ============ 登录 / 注册 / 我的账号 ============ */

.user-wrap {
    width: 960px;
    margin: 12px auto 0;
}

.user-card {
    border: 1px solid #e6e6e6;
    background: #fff;
    padding: 20px 26px 24px;
    margin-bottom: 16px;
}

.user-title {
    font-size: 18px;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.user-subtitle {
    font-size: 15px;
    color: #333;
    margin: 22px 0 10px;
}

/* 登录 / 注册表单：label 定宽右对齐，输入框对齐成一条竖线 */
.user-row {
    margin-bottom: 14px;
    overflow: hidden;
}
.user-row > label {
    float: left;
    width: 90px;
    padding-right: 10px;
    text-align: right;
    line-height: 32px;
    color: #666;
    font-size: 14px;
}
.user-row input[type="text"],
.user-row input[type="password"] {
    width: 260px;
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.user-row input:focus {
    border-color: #f37b3e;
    outline: none;
}

/* 职业多选：14 个选项排成 4 列，别竖成一长条 */
.user-prof-box {
    float: left;
    width: 700px;
    padding-top: 4px;
}
.user-prof-item {
    display: inline-block;
    width: 165px;
    line-height: 26px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
}
.user-prof-item input {
    vertical-align: -2px;
    margin-right: 4px;
}

.user-actions {
    padding: 6px 0 0 100px;
}
.user-actions button {
    width: 120px;
    height: 34px;
    border: 0;
    background: #f37b3e;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
.user-actions button:hover {
    background: #dd6608;
}
.user-actions a {
    margin-left: 14px;
    color: #f37b3e;
    font-size: 13px;
}

.user-error {
    margin-bottom: 14px;
    padding: 8px 12px;
    border: 1px solid #f0c8c8;
    background: #fdf3f3;
    color: #c00;
    font-size: 13px;
}
.user-hint {
    margin-top: 10px;
    color: #999;
    font-size: 12px;
    line-height: 1.9;
}

/* 我的账号里的信息/流水表 */
.user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.user-table th,
.user-table td {
    border: 1px solid #e6e6e6;
    padding: 7px 10px;
    text-align: left;
    color: #666;
}
/* 信息表第一列是标题列，给窄一点 */
.user-card > .user-table th {
    width: 120px;
    background: #fafafa;
    font-weight: normal;
    color: #333;
}
/* 流水表第一行是表头行，这里要反过来 —— 上面那条只针对「第一列是标题」的信息表 */
.user-orders tr:first-child th {
    width: auto;
    background: #fafafa;
    text-align: left;
}

/* ============================================================================
   登录 / 注册页的「本站自加」补丁
   ⚠ 这一节刻意只放原站没有的东西。原版样式表 css/style.css 是逐字节下载的原件，
     一个字符都不要改 —— 要覆盖、要补充一律写在这里（三张表里 site.css 最后加载）。
   ============================================================================ */

/* 登录失败（用户名或密码不正确）。原站靠 JS 弹窗，这里就地在登录框下方给一行红字。
   宽度 = .login 的外宽 379px（317 + 左右各 30 padding + 左右各 1 边框），居中，
   看起来仍然「挂在框底下」而不像跑到旁边去了。 */
.login-error {
    width: 379px;
    margin: 8px auto 0;
    color: #f00;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

/* 注册失败（用户名已存在 / 两次密码不一致 / 邮箱格式不对…），放在 #formbox 里最后一项之下。
   选 `#formbox .form-error` 而不是光写 `.form-error`，是为了在权重上压过原版的
   `#formbox p{text-indent:2em}` —— 错误提示不该缩进两个字符。 */
#formbox .form-error {
    text-indent: 0;
    color: #f00;
    font-size: 13px;
    line-height: 20px;
    padding: 0 10px 8px;
}

/* 会员中心 · 个人资料保存结果。
   原站那个 <span id="Label1"> 是默认色 #888，白底上几乎看不出「保存成功」四个字，
   所以这里只补颜色，不动位置（表格里那一格照原样 colspan=2 居中）。
   用 id 选择器是因为原站只有这一个 id，页面上不会有第二个。 */
#ctl00_MainCenter_Label1 {
    color: #090;
    font-size: 13px;
}
#ctl00_MainCenter_Label1.member-msg-err {
    color: #f00;
}
