/* ============================================================
 * 在线验证报告 · 已申请的报告（PC 端）
 * ------------------------------------------------------------
 * 样式全部取自原站 https://t1.chei.com.cn/archive/css/custom/archive.min.css
 * 对应原站页面 my.chsi.com.cn/archive/bab/xl/show.action?trnd=xxx
 * 类名与原站保持一致：.header/.sub_nav/.main/.main-block/.bg_mian/
 *                    .bg_tit/.mb-title/.zxyz_table/.vote_part/.footer
 * ============================================================ */

/* 说明：原站 chsi-font 用的 Chsi 字体是防爬子集（Chsi_999.woff2），
   引入后正常汉字会渲染成空白，故不引入，用系统字体渲染。
   标签分隔符与原站 DOM 一致用「-」（U+002D），普通字体显示为短横线。 */

/* ---------------- 公用 ---------------- */

.chsi-font {
    font-family: Chsi, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei",
                 "Hiragino Sans GB", "WenQuanYi Micro Hei", Arial, SimSun, sans-serif;
}

.width1180 {
    width: 1180px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
}

.blue { color: #3c7dc6; }

.blue:hover { text-decoration: underline; }

/* ---------------- 顶部导航 .header ---------------- */

.header {
    min-width: 1180px;
    color: #d6f8e4;
    background: #25b887;
}

.header .logo {
    float: left;
    display: inline;
    width: 200px;
    height: 80px;
    background-image: url(../img/chsi/logo.png);
    background-image: -webkit-image-set(url("../img/chsi/logo.png") 1x, url("../img/chsi/logo2x.png") 2x);
    background-repeat: no-repeat;
    background-position: 0;
    position: relative;
    overflow: hidden;
}

.header .logo a.home {
    display: block;
    width: 100%;
    height: 100%;
}

.header a { color: #d6f8e4; }

.header a:hover { color: #fff; }

/* 首页 */
.homePage-nav {
    float: left;
    display: inline;
    height: 80px;
    line-height: 80px;
    margin-left: 28px;
    font-size: 16px;
}

.homePage-nav .active { color: #fff; }

/* 一级菜单 */
.header-nav {
    zoom: 1;
    float: left;
    display: inline;
    height: 80px;
    line-height: 80px;
    margin-left: 10px;
    font-size: 16px;
}

.header-nav dl {
    float: left;
    font-size: 16px;
    z-index: 10;
    position: relative;
}

.header-nav dt {
    font-weight: 500;
    text-align: center;
    padding: 0 12px;
    position: relative;
    cursor: pointer;
    line-height: 80px;
    color: #d6f8e4;
}

.header-nav a {
    display: inline-block;
    width: 100%;
    color: #d6f8e4;
}

.header-nav dl:hover dt,
.header-nav dl:hover dt a,
.header-nav dl:hover dt a.xz-link {
    color: #fff;
    background: #0f9d6d;
}

/* 二级下拉 */
.header-nav dd {
    display: none;
    width: 100%;
    height: 182px;
    padding: 4px 0;
    z-index: 10;
    overflow: hidden;
    font-size: 14px;
    border-left: 1px solid #e0f0eb;
}

.header-nav dl:first-child dd { border-left: 0; }

.header-nav dl:hover dd {
    display: block;
    background: #e0f0eb;
}

.header-nav ul {
    text-align: center;
    height: 100%;
    padding: 0;
}

.header-nav ul li {
    margin: 0;
    line-height: 30px;
    display: block;
    float: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}

.header-nav ul li a { color: #666; }

.header-nav ul li:hover,
.header-nav ul li:hover a { color: #25b887; }

/* 下拉白底遮罩 */
.header-nav .header-nav-bg {
    display: none;
    position: absolute;
    width: 100%;
    height: 190px;
    background: #eafbf5;
    opacity: .9;
    left: 0;
    top: 80px;
    z-index: 9;
}

.header-nav:hover .header-nav-bg { display: block; }

/* 当前项：底部白色小三角 */
.header-nav .sanjiao {
    display: none;
    position: absolute;
    margin-left: -8px;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 0;
    font-size: 0;
    border-width: 8px;
    border-style: dashed dashed solid;
    border-color: transparent transparent #fff;
}

.header-nav .active .sanjiao,
.header-nav dl.active .sanjiao { display: block; }

/* 右上角用户（原站 float:right；菜单较长时绝对定位防掉行） */
.header .nav-userinfo {
    position: absolute;
    right: 10px;
    top: 0;
    height: 80px;
    line-height: 80px;
    z-index: 20;
}

.header .nav-userinfo .btn-group {
    position: relative;
    height: 80px;
}

.header .nav-userinfo .user {
    height: 80px;
    padding: 0 8px;
    cursor: pointer;
    color: #d6f8e4;
    display: flex;
    align-items: center;
}

.header .nav-userinfo:hover .user { color: #fff; }

.header .nav-userinfo .iconfont {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff url(../img/chsi/user.png) no-repeat center;
    background-size: 17px 17px;
}

.header .nav-userinfo .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-bottom: 0;
    color: #fff;
}

.header .nav-userinfo .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 80px;
    min-width: 110px;
    padding: 5px 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    z-index: 1000;
}

.header .nav-userinfo .btn-group:hover .dropdown-menu { display: block; }

.header .nav-userinfo .dropdown-menu li a {
    display: block;
    padding: 3px 20px;
    line-height: 24px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.header .nav-userinfo .dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #25b887;
}

.header .nav-userinfo .dropdown-menu li a .iconfont {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

/* ---------------- 二级导航 .sub_nav ---------------- */

.sub_nav {
    min-width: 1180px;
    color: #666;
    background: #fff;
    height: 50px;
    box-shadow: 0 2px 5px #d9dfdc;
}

.sub_nav_mian { line-height: 50px; }

.sub_nav_mian li {
    float: left;
    display: inline;
    margin-right: 40px;
    cursor: pointer;
}

.sub_nav_mian li a {
    color: #666;
    display: inline-block;
    width: 100%;
}

.sub_nav_mian li a:hover { color: #25b887; }

.sub_nav_mian .active,
.sub_nav_mian .active a { color: #25b887; }

/* ---------------- 主体 .main ---------------- */

.main {
    width: 1180px;
    margin: 20px auto;
    padding: 0 10px;
    clear: both;
}

/* 问卷 banner（原站 .vote_part） */
.vote_part {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.vote_part.vote_part_show {
    margin-bottom: 20px;
    margin-top: 20px;
}

.vote_part a {
    display: inline-block;
    width: 580px;
    height: 80px;
    color: #fff;
    font-size: 26px;
    line-height: 80px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 700;
}

.vote_part a:hover,
.vote_part a:link,
.vote_part a:visited {
    color: #fff;
}

.vote_part .vote_bg_jygz { background: url(../img/chsi/vote_bg_jygz.jpg) no-repeat; }

.vote_part .vote_bg_zcsx { background: url(../img/chsi/vote_bg_zcsx.jpg) no-repeat; }

/* 报告区块（原站 .main-block.border-shadow） */
.main-block {
    margin-bottom: 20px;
    padding: 10px 0;
    position: relative;
    min-height: 290px;
}

.border-shadow {
    box-shadow: -1px 0 3px #e7ebe9, 1px 0 3px #e7ebe9, 0 -1px 1px #eef3f1, 0 1px 5px #dce1df;
    background: #fff;
}

/* 顶部绿色学校标签（原站 .mb-title） */
.main-block .mb-title {
    line-height: 24px;
    padding: 13px 20px;
    min-width: 170px;
    max-width: 90%;
    font-size: 16px;
    color: #fff;
    background: #66cdab;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    word-wrap: break-word;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.main-block .mb-title-row {
    padding: 0 20px;
}

/* 内容区（原站 .bg_mian） */
.bg_mian { padding: 0 20px 20px; }

/* 小标题「已申请的报告」（原站 .bg_tit，合并后 margin-top:10px bottom:18px） */
.bg_tit {
    float: left;
    padding-left: 10px;
    margin: 10px 0 18px;
    line-height: 36px;
    border-left: 4px solid #25b987;
    font-size: 16px;
    color: #333;
    font-weight: 700;
}

.bg_tit i {
    font-weight: 400;
    font-size: 20px;
    color: #25b887;
    vertical-align: -2px;
    margin-right: 6px;
    font-style: normal;
}

/* 带绿色对勾图标的小标题（原站 .bg_tit i font-size:20px） */
.bg_tit .ico-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: -4px;
    margin-right: 6px;
}

/* 报告表格（原站 .zxyz_table） */
.zxyz_table {
    width: 1138px;
    border: 1px solid #e5e5e5;
    clear: both;
}

.zxyz_table tr {
    height: 42px;
    line-height: 42px;
}

.zxyz_table th {
    text-align: left;          /* 原站经 bootstrap 重置：表头左对齐（浏览器默认居中） */
    color: #333;
    padding-left: 10px;
    font-weight: 700;
    background: #f7faf9;
}
.zxyz_table td {
    padding-left: 10px;
    color: #666;
    line-height: 1.5;
}

.zxyz_table td a { padding-right: 20px; }

.zxyz_table td a:last-child { padding-right: 0; }

.zxyz_table td a.blue { color: #3c7dc6; }

.zxyz_table .hasborder { border: 1px solid #e5e5e5; }

.zxyz_table .st-closed { color: #999; }

/* 无报告占位 */
.empty-inner {
    padding: 40px 20px 30px;
    text-align: center;
}

.empty-inner h4 {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.empty-inner p {
    font-size: 14px;
    color: #999;
    line-height: 24px;
}

.empty-inner p a { color: #3c7dc6; }

/* ---------------- footer .footer ---------------- */

.footer {
    background: #fff;
    width: 100%;
    min-width: 1180px;
    text-align: center;
    line-height: 24px;
    height: 80px;
    padding-top: 16px;
}

.footer,
.footer a { color: #a8a8a8; }

.footer a:hover { color: #26b887; }

/* ---------------- 关闭报告确认弹窗（原站 bootstrap modal） ---------------- */

.modal-mask {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1050;
    overflow-y: auto;
}

.modal-mask.show { display: block; }

.modal-mask .modal-box {
    position: relative;
    width: 600px;
    margin: 30px auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}

.modal-mask .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.modal-mask .modal-header .modal-title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #333;
    text-align: center;
    font-weight: 500;
}

.modal-mask .modal-header .close {
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: .2;
    text-shadow: 0 1px 0 #fff;
}

.modal-mask .modal-header .close:hover { opacity: .5; }

.modal-mask .modal-body {
    position: relative;
    padding: 15px;
    text-align: center;
}

.modal-mask .modal-body .modal-text {
    padding-left: 74px;
    line-height: 30px;
    margin-bottom: 90px;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    text-align: left;
}

.modal-mask .modal-btn { margin-bottom: 25px; }

/* 弹窗按钮（原站 .green-btn/.gray-btn/.mid-btn） */
.green-btn {
    padding: 0 30px;
    color: #fff;
    text-align: center;
    background: #25b887;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.green-btn:hover,
.green-btn:visited { color: #fff; }

.green-btn:hover { background: #209f74; }

.gray-btn {
    padding: 0 30px;
    height: 32px;
    line-height: 32px;
    color: #333;
    text-align: center;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    display: inline-block;
}

.gray-btn:hover {
    background: #f1f1f1;
    color: #333;
}

.mid-btn {
    height: 34px;
    line-height: 34px;
    display: inline-block;
}

.marginr20 { margin-right: 20px !important; }
