/* ============================================================
烟台市住建局 · 站点样式（list_col22906.html / detail_art.html 共用）
一、页面基础样式（PC 与移动端共用）
二、移动适配样式（@media，仅手机 max-width: 768px 生效）
公共（解锁 min-width / 头部 / 页脚）+ 列表页 + 详情页
注：头部/页脚由脚本注入（晚于本文件加载），同优先级覆盖需 !important；
页面自带 CSS 在本文件之前加载，无需 !important。
============================================================ */

/* ============================================================
一、页面基础样式
============================================================ */

/* 左侧栏目导航 */
.con .con-left { float: left; width: 300px; /*height: 820px;*/ margin-right: 30px; background-color: #efefef; }
.con-left .con-left-title { width: 300px; height: 50px; line-height: 50px; padding-left: 45px; font-weight: bold; color: #fff; background-color: #e51f1f; }
.con { position: relative; }
.con .con-left { position: absolute; left: 0; top: 0px; bottom: 0px; }
.con .con-right { float: right; }
.con-left .con-leftn-list { width: 300px; min-height: 600px; font-size: 17px; color: #333; background-color: #efefef; }
.con-left .con-leftn-list li { width: 300px; height: 45px; line-height: 45px; border-bottom: 1px #e3e3e3 solid; }
.con-left .con-leftn-list li a { display: block; padding-left: 70px; font-size: 17px; color: #333; }
.con-left .con-leftn-list li:hover { background-color: #e6b1b1; cursor: pointer; }
.con-left .con-leftn-list li:hover a { background: url(https://zjj.yantai.gov.cn/cms_files/default/images/unitstyle/img/list-type.png) no-repeat 50px center; color: white; }
.con-left .con-leftn-list li.selected { background-color: #e6b1b1; cursor: pointer; }
.con-left .con-leftn-list li.selected a { background: url(https://zjj.yantai.gov.cn/cms_files/default/images/unitstyle/img/list-type.png) no-repeat 50px center; color: white; }

/* 右侧栏目标题 */
.unit-title { margin-top: -10px; height: 60px; line-height: 60px; }

/* 右侧新闻列表行 */
.page-content li {border-bottom: 1px #dedede dotted;padding:10px 20px 10px 0;font-size: 16px;}

/* ============================================================
二、移动适配样式（仅手机，max-width: 768px）
============================================================ */
@media screen and (max-width: 768px) {

/* ---- 公共：解锁注入样式的 body,html{min-width:1200px} ---- */
html, body {min-width: 0 !important;width: 100%;overflow-x: hidden;	}
#barrierfree_container { min-width: 0 !important; width: 100% !important; }
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }

/* ---- 公共：顶栏 ---- */
header .top { height: auto !important; min-height: 36px; }
header .top .top_k {width: 100% !important;height: auto !important;line-height: 26px !important;padding: 5px 8px;box-sizing: border-box;	}
header .top .top_k .left {float: none;width: 100%;text-align: center;line-height: 24px;	}
header .top .top_k a,
header .top .top_k span { font-size: 12px; display: inline; margin: 0 2px; }

/* ---- 公共：logo + 搜索框 ---- */
header .bottom {width: 100% !important;height: auto !important;padding: 12px 10px 16px;box-sizing: border-box;text-align: center;}
header .bottom .logo { float: none !important; margin: 0 auto !important; display: block; text-align: center; }
header .bottom .logo img { max-width: 92%; height: auto; }
.search1 {float: none !important;width: 100% !important;height: 45px !important;margin: 12px 0 0 !important;box-sizing: border-box;border-radius: 5px;overflow: hidden;}
.search1 form { width: 100%; }
.select-box { width: 72px !important; height: 43px; flex-shrink: 0; }
.select-box select {height: 43px !important;width: 72px !important;line-height: 43px !important;padding-left: 10px !important;font-size: 14px !important;}
.search1 input[type="text"] {width: auto;flex: 1;min-width: 0;height: 43px;padding-left: 10px;font-size: 14px;}
.search1 .text_input_search {width: 88px !important;height: 43px !important;line-height: 43px !important;padding-left: 28px !important;font-size: 16px !important;flex-shrink: 0;background-position: 14px center !important;}

/* ---- 公共：导航及二级菜单（由 2111151048442302.js 内置媒体查询管理） ---- */

/* ---- 公共：页脚 ---- */
.box-top { width: 100% !important; box-sizing: border-box; }
.footer .box-top {width: 100% !important;flex-wrap: wrap;justify-content: center !important;padding: 0 10px;}
.info li { float: none !important; border: none !important; }
.info001 { margin-left: 0 !important; padding: 0 10px !important; text-align: center; }
.info002 { padding-left: 0 !important; text-align: center; }
.dzjg, .jc { margin: 10px auto 0 !important; text-align: center; }
.ewm { padding-left: 0 !important; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.ewm img { width: 90px; height: 90px; }
.yqlj { height: auto !important; padding: 6px 0; }
.yqlj > ul > li { width: auto !important; }
.yqlj > ul > li > a { padding: 0 12px !important; font-size: 14px !important; }
.yqlj span { padding: 0 12px !important; font-size: 14px; }

/* ---- 列表页（list_col22906.html） ---- */
.list {width: 100%;margin: 0 auto 20px;padding: 0 12px;box-sizing: border-box;overflow: visible;}
.list .bt { margin-top: 16px; }
.list .left { width: 100%; float: none; margin-top: 8px; }
.list .left ul { overflow: hidden; }

/* 左侧栏目导航改横向三等分 */
.con { position: static; }
.con .con-left {position: static;float: none;width: 100%;margin: 0 0 8px;}
.con-left .con-left-title {width: 100%;box-sizing: border-box;text-align: center;padding-left: 0;height: 44px;line-height: 44px;font-size: 16px;}
.con-left .con-leftn-list {width: 100%;min-height: 0;overflow: hidden;}
.con-left .con-leftn-list li {width: 32.66% !important;float: left;margin-right: 1%;border-bottom: none !important;box-sizing: border-box;height: 42px;line-height: 42px;text-align: center;}
.con-left .con-leftn-list li:nth-child(3n) { margin-right: 0; }
.con-left .con-leftn-list li a {padding-left: 0 !important;text-align: center;display: block;background-image: none !important;font-size: 15px;}
.con-left .con-leftn-list li.selected a,
.con-left .con-leftn-list li:hover a { background-image: none; color: #fff; }

/* 右侧列表通栏，隐藏日期列 */
.con .con-right, .list .right {float: none;width: 100%;margin-top: 8px;}
.list .right .bt { height: 40px; line-height: 40px; }
.list .right .bt span { padding: 0 14px; }
.unit-title {margin-top: 0;height: 40px;line-height: 40px;font-size: 16px;}
.list .right ul li {height: auto;min-height: 38px;line-height: 22px;padding: 8px 0;
box-sizing: border-box;}
.list .right ul li .fr,
.page-content .fr { display: none; }
.list .right ul li a {max-width: 100%;white-space: normal;line-height: 22px;font-size: 15px;padding-left: 18px;padding-right:14px;background-position:4px 8px;}
.list .right ul li span { font-size: 12px; color: #999; }

/* ---- 详情页（detail_art.html） ---- */
.details { width: 100%; margin: 10px 0 0; padding: 0 10px; box-sizing: border-box; }
.details .bt { margin-top: 12px; }
.position_t { width: 100% !important; }
.position_t table { width: 100%; }
.position_t td { font-size: 12px; white-space: normal; word-break: break-all; }
.details .show {width: 100%;min-height: auto;margin-top: 10px;padding: 14px 12px;box-sizing: border-box;}
.details .show > table { width: 100%; }
.details .show td.title h1 { font-size: 22px !important; padding: 10px 0; box-sizing: border-box; }
#zoom { font-size: 16px; }
#zoom p { font-size: 16px !important; line-height: 1.8em !important; }
/* 图片 / 视频 / PDF / 表格：兼容 CMS 任意内嵌内容 */
#zoom img, #zoom video { max-width: 100% !important; height: auto !important; }
#zoom iframe, #zoom embed, #zoom object { max-width: 100% !important; }
#zoom iframe[src*=".pdf"], #zoom embed[src*=".pdf"], #zoom object[data*=".pdf"] { width: 100% !important; height: 60vh !important; }
.bt_content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#zoom table { max-width: none; }
#zoom table[border] td, #zoom table[border] th { padding: 6px 8px; border: 1px solid #dedede; word-break: break-word; font-size: 14px; }
#zoom table td, #zoom table th { word-break: break-word; font-size: 14px; }
.msg .fr { float: none; text-align: center; }
}
