/* ============================================================
   DVD 官网（dvd.ems168.com）样式：复刻老站 demososo default 模板版式
   设计要素取自老站 DM-static/template/default/css（color/dmcommon/grid/component）
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-size: 12px; font-family: "微软雅黑", "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; background: #fff; }
ul, ol { list-style: none; }
a { color: #333; text-decoration: none; }
a:hover { color: #008ED6; }
img { border: 0; }
.container { width: 1024px; margin: 0 auto; }
.c { clear: both; overflow: hidden; }

/* ---------- 顶部欢迎条（老站 headertop：#E6E4E4 灰条） ---------- */
.headertop { background: #E6E4E4; height: 30px; line-height: 30px; color: #696969; overflow: hidden; }

/* ---------- 头部（老站 header：渐变背景图 108px 高，logo 左 / 红电话+蓝标题右） ---------- */
.header { background: url(bg/bghead.jpg) repeat-x; }
.header .container { height: 108px; position: relative; }
.header .logo { position: absolute; top: 10px; left: 10px; }
.header .logo img { max-height: 88px; width: auto; }
.headertel { position: absolute; left: 390px; right: 0; top: 30px; text-align: right; white-space: nowrap; }
.headertel .tel { color: #f00; font-size: 24px; font-weight: bold; }
.headertel .txt { color: #069; font-size: 28px; font-weight: bold; margin-left: 8px; }

/* ---------- 菜单（老站 menu：#008ED6 蓝，45px 高，17px 白字） ---------- */
.menu { background: #008ED6; }
.menu ul.m { height: 45px; }
.menu li.m { float: left; display: inline; }
.menu a.m { display: block; font-size: 17px; height: 45px; line-height: 45px; padding: 0 28px; color: #fff; }
.menu a.m:hover, .menu a.m.active { color: #fff; background: #12A7ED; }

/* ---------- banner（老站 bannerwrap：白底全宽图，图下居中标题） ---------- */
.bannerwrap { background: #fff; }
.banner { clear: both; overflow: hidden; position: relative; }
.bannerimg { text-align: center; }
.bannerimg img { width: 100%; height: auto; display: block; }
.banner-title { text-align: center; font-size: 14px; font-weight: bold; padding: 8px 0; color: #333; }
.banner .banner-slide { display: none; }
.banner .banner-slide.active { display: block; }

/* ---------- 区块标题（老站 boxheadercenter / titleline / subtitle） ---------- */
.boxheadercenter { padding: 20px 0; text-align: center; }
.boxheadercenter h3 { font-size: 32px; font-weight: bold; color: #333; }
.boxheadercenter .subtitle { padding: 10px 0; font-size: 14px; color: #333; }
.titleline { margin: 3px 0; height: 8px; position: relative; text-align: center; border-bottom: 1px solid #ddd; }
.titleline span { position: absolute; bottom: 0; left: 50%; height: 2px; margin-left: -75px; width: 150px; }

/* ---------- 按钮组（老站 boxmore：深蓝底 #004592 + 浅蓝边） ---------- */
.boxmore { padding: 10px 0; text-align: center; }
.boxmore a {
    display: inline-block; vertical-align: middle; font-size: 18px;
    padding: 0 50px; height: 45px; line-height: 45px; overflow: visible; cursor: pointer;
    text-align: center; border-radius: 5px; background: #004592; color: #fff;
    border: 1px solid #4cbdfd; transition: background-color .15s;
}
.boxmore a:hover { background: #369add; color: #fff; }
.boxmore a.more1 { background: none; border: 1px solid #fff; color: #fff; }
.boxmore a.more1:hover { background-color: #2176da; border-color: #2176da; color: #fff; }

/* ---------- 首页：介绍区（老站 block118：#ccc 灰底大字） ---------- */
.home-intro { background: #ccc; padding: 0 0 24px; }
.home-intro .boxcontent { text-align: center; }
.home-intro .boxcontent p { padding: 12px 0; }

/* ---------- 首页：服务卡片（老站 block91：cirimg 三列圆形图） ---------- */
.home-svc { padding-bottom: 24px; }
.cirimg li { float: left; display: inline; width: 33.33%; text-align: center; padding-bottom: 20px; }
.cirimg li .img { padding: 20px; }
.cirimg li img { width: 210px; height: 210px; border-radius: 50%; object-fit: cover; }
.cirimg li h4 { font-size: 16px; padding: 5px 0; color: #333; }
.cirimg li .text { font-size: 12px; line-height: 20px; padding: 0 30px; color: #666; }
.cirimg a { display: block; }

/* ---------- 首页：介质网格（老站 block125：gridcol2 两列图左文右） ---------- */
.home-media { padding-bottom: 24px; }
.gridcol2 li { float: left; display: inline; width: 45%; padding: 0 2.5% 15px; }
.gridcol2 li a { display: block; }
.gridcol2 li .img { float: left; width: 52%; text-align: center; }
.gridcol2 li .img img { width: 100%; height: auto; }
.gridcol2 li .text { float: left; width: 48%; }
.gridcol2 li h4 { padding: 8px 0 5px 14px; font-size: 14px; font-weight: bold; color: #333; }
.gridcol2 li:hover h4 { color: #008ED6; }

/* ---------- 首页：CTA 通栏（老站 block92/119/121：背景大图 + boxheadercenter） ---------- */
.ctaband {
    position: relative; background: #f7f7f7 center center no-repeat; background-size: cover;
    padding: 24px 0 30px; text-align: center; overflow: hidden; margin-top: 15px;
}
.ctaband .boxheadercenter h3 { font-size: 32px; }
.ctaband .boxheadercenter .subtitle { font-size: 14px; line-height: 1.9; padding: 10px 20px; }
/* 第二条（老站 block119 客户名单）：橙色大字 + 深蓝按钮 */
.ctaband-2 .boxheadercenter .subtitle { color: #FF8C00; font-size: 26px; font-weight: bold; line-height: 1.7; }
.ctaband-2 .boxmore { padding-top: 26px; }
/* 第三条（老站 block121）：深色背景图，白字 */
.ctaband-3 h3, .ctaband-3 .subtitle { color: #fff; }
.ctaband-3 .boxheadercenter h3 { padding-top: 60px; }
.ctaband-3 .boxheadercenter .subtitle { font-size: 18px; line-height: 1.5; }
.ctaband-3 { padding-bottom: 90px; }

/* ---------- 内页骨架（老站 area/content/content_header） ---------- */
.area { padding: 15px 0 40px; }
.content_header { line-height: 32px; height: 32px; margin-bottom: 15px; }
.content_header h3 { float: left; margin: 6px 0 0 3px; font-size: 16px; font-weight: bold; height: 16px; line-height: 16px; padding-left: 6px; color: #333; }
.content_header .breadcrumb { float: right; display: inline; padding-right: 6px; font-size: 12px; color: #999; }
.content_header .breadcrumb a { color: #069; padding: 0 5px; }
.content { line-height: 26px; padding-bottom: 20px; }
.page-content img, .detail-content img { max-width: 100%; height: auto; }
.empty-tip { text-align: center; padding: 60px 0; color: #999; font-size: 14px; }

/* ---------- 正文兼容工具类（老站 demososo 模板原始定义，迁移正文的版式依赖） ---------- */
.c, .clearblock { clear: both; overflow: hidden; }
.fl { float: left; display: inline; }
.fr { float: right; display: inline; }
.col30 { width: 30%; }
.col35 { width: 35%; }
.col40 { width: 40%; }
.col45 { width: 45%; }
.col50 { width: 50%; }
.col55 { width: 55%; }
.col60 { width: 60%; }
.col63 { width: 63%; }
.col65 { width: 65%; }
.col68 { width: 68%; }
.pt30 { padding-top: 30px; }
.pb30 { padding-bottom: 30px; }
.pt50 { padding-top: 50px; }
.pb50 { padding-bottom: 50px; }
.ml10 { margin-left: 10px; }
.mr10 { margin-right: 10px; }
.mt10 { margin-top: 10px; }
.mb10 { margin-bottom: 10px; }
.ml20 { margin-left: 20px; }
.mr20 { margin-right: 20px; }
.mt20 { margin-top: 20px; }
.mb20 { margin-bottom: 20px; }
.mt30 { margin-top: 30px; }
.mb30 { margin-bottom: 30px; }
.mt50 { margin-top: 50px; }
.mb50 { margin-bottom: 50px; }
.pleft20 { padding-left: 20px; }
.boxcontent { padding: 10px 2px; overflow: hidden; clear: both; }
.content_desp { padding: 0 20px; }
.page-content td, .detail-content td { padding: 6px; line-height: 20px; }
.page-content table, .detail-content table { max-width: 100%; }

/* 内页子页面导航（老站 menu_xiala 无对应版式，做简洁横排标签） */
.cate-tabs { padding: 6px 0 14px; }
.cate-tabs a { display: inline-block; padding: 6px 16px; margin: 0 8px 8px 0; border: 1px solid #ddd; color: #333; }
.cate-tabs a:hover, .cate-tabs a.active { background: #008ED6; border-color: #008ED6; color: #fff; }

/* ---------- 列表页 ---------- */
/* 文字列表（老站 list_text：标题行 + 右侧日期） */
.cate-list li { border-bottom: 1px dashed #ddd; }
.cate-list li a { display: block; padding: 10px 6px; line-height: 26px; overflow: hidden; }
.cate-list-title { color: #333; font-size: 14px; }
.cate-list li a:hover .cate-list-title { color: #008ED6; }
.cate-list-brief { display: block; color: #999; font-size: 12px; line-height: 22px; }
.cate-list-date { float: right; color: #999; }
.cate-list-thumb { float: left; margin-right: 14px; }
.cate-list-thumb img { display: block; }
/* 图文网格（老站 list_grid：gridcol 三列图卡） */
.gridcol { margin: 0; }
.gridcol li { float: left; display: inline; width: 33.33%; padding: 0 10px 20px; }
.gridcol li .img { text-align: center; }
.gridcol li .img img { width: 100%; height: auto; display: block; }
.gridcol li h4 { padding: 8px 0 4px; font-size: 14px; font-weight: bold; text-align: center; color: #333; }
.gridcol li a:hover h4 { color: #008ED6; }
/* 正文内带列数的网格（老站 gridcol3/gridcol4 原始定义） */
.gridcol3 li { width: 30%; padding: 0 1.66% 20px; }
.gridcol4 li { width: 22.5%; padding: 0 1.25% 20px; }
.gridcol3 li h4, .gridcol4 li h4 { height: 18px; overflow: hidden; }

/* 文章详情 */
.detail-title { font-size: 24px; font-weight: bold; line-height: 1.5; padding: 6px 0; }
.detail-meta { color: #999; padding-bottom: 12px; border-bottom: 1px solid #eee; margin-bottom: 16px; }
.detail-meta span { margin-right: 16px; }
.detail-kv { margin-bottom: 16px; }
.detail-kv img { max-width: 100%; }
.detail-content { line-height: 26px; }
.related { padding-top: 30px; }
.related .boxheadercenter h3 { font-size: 22px; }

/* 分页（老站风：当前页蓝底白字） */
.pagination { text-align: center; padding: 24px 0 10px; }
.pagination a, .pagination span { display: inline-block; min-width: 32px; height: 32px; line-height: 32px; padding: 0 10px; margin: 0 3px; border: 1px solid #ddd; color: #333; }
.pagination a:hover { border-color: #008ED6; color: #008ED6; }
.pagination .current { background: #008ED6; border-color: #008ED6; color: #fff; }

/* ---------- 在线咨询浮条（老站右侧橙色竖条 + 展开面板） ---------- */
.online-consult { position: fixed; top: 170px; right: 0; z-index: 286; }
.oc-tab {
    width: 40px; padding: 14px 0; background: #FA6B4E; color: #fff; text-align: center;
    writing-mode: vertical-lr; letter-spacing: 6px; font-size: 14px; cursor: pointer;
    border-radius: 6px 0 0 6px;
}
.oc-panel { display: none; position: absolute; right: 44px; top: 0; width: 150px; background: #fff; border: 1px solid #ccc; border-radius: 8px; padding: 10px 5px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.online-consult.open .oc-panel { display: block; }
.oc-close { position: absolute; top: 4px; right: 8px; color: #999; cursor: pointer; font-size: 14px; }
.oc-qq { padding: 4px 8px 8px; }
.oc-qq li a { display: block; padding: 5px 0; color: #069; font-size: 12px; }
.oc-qq li a:hover { color: #FA6B4E; }
.oc-tel { border-top: 1px dashed #eee; padding: 8px; text-align: center; line-height: 22px; }
.oc-tel .oc-label { color: #999; margin-right: 4px; }
.oc-tel b { color: #e66d15; }
.oc-wechat { border-top: 1px dashed #eee; margin-top: 6px; padding-top: 8px; text-align: center; color: #666; }
.oc-wechat img { width: 110px; height: 110px; display: block; margin: 6px auto 4px; }

/* 返回顶部 */
#backTop { position: fixed; bottom: 24px; right: 20px; z-index: 285; display: none; width: 48px; height: 48px; line-height: 48px; text-align: center; background: #666; color: #fff; font-size: 22px; border-radius: 4px; opacity: .8; }
#backTop:hover { background: #008ED6; color: #fff; }

/* ---------- 页脚（老站 footer：#55C8FF 浅蓝底） ---------- */
.footer { background: #55C8FF; color: #DEF0FA; padding: 10px 0; line-height: 20px; clear: both; overflow: hidden; }
.footer a { color: #DEF0FA; }
.footer a:hover { color: #fff; }
.footer .footerlogo { float: left; margin: 10px 0 0 10px; }
.footer .footerlogo img { max-height: 48px; width: auto; }
.footer .footertext { float: right; margin: 10px 10px 0 0; }
.footer .footertext p { padding-bottom: 5px; }

/* ---------- 响应式（老站：小屏顶条隐藏、容器通栏） ---------- */
@media (max-width: 800px) {
    .headertop { display: none; }
    .container { width: 100%; padding: 0 10px; }
    .header .container { height: auto; padding: 10px; }
    .header .logo { position: static; display: inline-block; }
    .headertel { position: static; text-align: right; }
    .menu ul.m { height: auto; }
    .menu li.m { float: none; display: block; border-bottom: 1px solid rgba(255,255,255,.25); }
    .cirimg li { width: 100%; }
    .gridcol2 li { width: 100%; }
    .gridcol li { width: 50%; }
    .boxheadercenter h3 { font-size: 24px; }
    .headertel .tel { font-size: 18px; display: block; }
    .headertel .txt { font-size: 20px; }
}
