/*
Theme Name: 新闻时报资讯地方门户网站模板
Theme URI: http://1201.fg27.com
Author: Reasonix
Description: 新闻时报资讯类地方门户网站模板（参考：新闻时报，蓝色导航）
Version: 1.0.0
*/
/* ===== 基础 ===== */
*{margin:0;padding:0;box-sizing:border-box}
body{font:14px/1.6 "Microsoft YaHei","Hiragino Sans GB",Arial,sans-serif;color:#333;background:#f5f5f5}
ul,ol{list-style:none}
a{text-decoration:none;color:#333;transition:all .3s}
a:hover{color:#0879c9}
img{max-width:100%;height:auto;border:0}
h1,h2,h3,h4,h5,h6,p{margin:0}
.clearfix:before,.clearfix:after{content:"";display:table}
.clearfix:after{clear:both}
.clearfix{zoom:1}
.wrap{width:1067px;margin:0 auto}
.main{min-height:400px}

/* ===== 顶部 ===== */
.topdh{background:#f2f2f2;border-bottom:1px solid #e5e5e5}
.topdh .wrap{height:32px;line-height:32px;overflow:hidden}
.topdh .welcome{float:left;font-size:13px;color:#666}
.topdh .toplink{float:right;font-size:13px;color:#666}
.topdh .toplink a{color:#666;margin:0 4px}
.topdh .toplink a:hover{color:#0879c9}
/* header */
.header{background:#fff;border-bottom:1px solid #eee}
.header .wrap{height:90px;position:relative}
.header .logo{float:left;padding-top:15px}
.header .logo img{max-height:60px}
.header .slogan{float:left;margin-left:30px;padding-top:20px}
.header .slogan .s1{font-size:18px;color:#FF0000;letter-spacing:3px;margin-bottom:5px}
.header .slogan .s2{font-size:13px;color:#666}
.header .search{position:absolute;right:50px;top:28px}
.header .input_text{width:280px;height:34px;border:1px solid #ccc;padding:0 12px;font-size:14px;color:#999;outline:none}
.header .input_submit{width:44px;height:34px;border:0;background:url("data:image/gif;base64,R0lGODlhFAAUAIABAAAAAP///yH5BAEAAAEALAAAAAAUABQAAAIWhI+py+0Po5y02ouz3rz7D4biSJbmeQAAOw==") no-repeat center #0879c9;cursor:pointer}
.header .m-menu{display:none;position:absolute;right:10px;top:28px;font-size:26px;color:#0879c9;cursor:pointer}
/* 导航 */
.nav{background:#0879c9}
.nav .wrap{height:51px}
.nav .wrap a{display:block;float:left;line-height:51px;padding:0 18px;color:#fff;font-size:15px}
.nav .wrap a:hover,.nav .wrap a.on{background:#065fa3}

/* ===== 首页 ===== */
.headline-bar{background:#fff;border:1px solid #eee;padding:8px 12px;margin:15px 0;overflow:hidden;white-space:nowrap}
.headline-bar .hl-tit{float:left;margin-right:10px}
.headline-bar .hl-top{float:left;font-size:15px;color:#d20b0b;font-weight:bold;margin-right:15px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:25%}
.headline-bar .hl-scroll{float:left;overflow:hidden;max-width:60%}
.headline-bar .hl-scroll a{font-size:13px;color:#666;margin:0 8px}
.headline-bar .hl-scroll a:hover{color:#0879c9}
.headline-bar .hl-scroll .dot{font-size:8px;color:#0879c9}
/* 左列表 + 右轮播 */
.home-main{background:#fff;border:1px solid #eee;padding:15px;margin-bottom:15px;overflow:hidden}
.home-left{float:left;width:46%}
.list-line{display:flex;align-items:center;line-height:34px;border-bottom:1px dashed #eee;overflow:hidden}
.list-line .ldot{flex-shrink:0;width:6px;height:6px;background:#0879c9;border-radius:50%;margin-right:8px}
.list-line a{flex:1;font-size:14px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.list-line a:hover{color:#0879c9}
.list-line em{float:right;font-style:normal;font-size:12px;color:#aaa}
.home-right{float:right;width:52%}
.focusBox{width:100%;height:367px;position:relative;overflow:hidden}
.focusBox .swiper-container{width:100%;height:100%}
.focusBox .swiper-slide{position:relative}
.focusBox .swiper-slide img{width:100%;height:367px;object-fit:cover}
.focusBox .slide-txt{position:absolute;bottom:0;left:0;width:100%;height:38px;line-height:38px;background:rgba(0,0,0,.55);color:#fff;font-size:14px;padding:0 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;z-index:5}
.focusBox .swiper-pagination-bullet{background:#fff;opacity:.7}
.focusBox .swiper-pagination-bullet-active{background:#0879c9}
.focusBox .swiper-button-prev,.focusBox .swiper-button-next{color:#fff}
/* 分类区块 */
.sec-box{background:#fff;border:1px solid #eee;padding:15px;margin-bottom:15px}
.sec-tit{height:36px;border-bottom:2px solid #0879c9;margin-bottom:12px;overflow:hidden}
.sec-tit h3{float:left;font-size:17px;color:#333;border-left:4px solid #0879c9;padding-left:10px;line-height:36px}
.sec-tit a{float:right;font-size:13px;color:#999;line-height:36px}
.sec-tit a:hover{color:#0879c9}
.sec-body{overflow:hidden}
.sec-img{float:left;width:280px;height:180px;position:relative;overflow:hidden;margin-right:20px}
.sec-img img{width:100%;height:180px;object-fit:cover}
.sec-img p{position:absolute;bottom:0;left:0;width:100%;height:34px;line-height:34px;background:rgba(0,0,0,.55);color:#fff;font-size:13px;padding:0 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sec-list{overflow:hidden}

/* ===== 列表页 ===== */
.list-page{background:#fff;border:1px solid #eee;padding:15px;margin:15px 0}
.list-wrap{padding:10px 0}
.list-item{overflow:hidden;padding:15px 0;border-bottom:1px dashed #e5e5e5}
.list-item:last-child{border-bottom:none}
.list-pic{float:left;width:220px;height:140px;overflow:hidden;margin-right:20px}
.list-pic img{width:100%;height:100%;object-fit:cover;transition:all .5s}
.list-item:hover .list-pic img{transform:scale(1.08)}
.list-cont{overflow:hidden}
.list-cont h4{font-size:18px;line-height:1.4;margin-bottom:8px}
.list-cont h4 a:hover{color:#0879c9}
.list-cont p{font-size:13px;color:#888;line-height:1.6;max-height:42px;overflow:hidden;margin-bottom:8px}
.list-meta{font-size:12px;color:#999}
.list-meta span{margin-right:15px}
.page{text-align:center;padding:25px 0}
.page .page-numbers{display:inline-block;margin:0 3px;padding:7px 14px;background:#f5f5f5;color:#666;border-radius:3px}
.page .page-numbers:hover{background:#0879c9;color:#fff}
.page .page-numbers.current{background:#0879c9;color:#fff}

/* ===== 内容页 ===== */
.article-page{background:#fff;border:1px solid #eee;padding:20px;margin:15px 0}
.crumbs{font-size:13px;color:#999;padding-bottom:12px;border-bottom:1px solid #eee;margin-bottom:15px}
.crumbs a{color:#999}
.crumbs a:hover{color:#0879c9}
.article-title{font-size:24px;color:#222;text-align:center;line-height:1.4;margin-bottom:12px}
.article-meta{text-align:center;color:#999;font-size:13px;border-bottom:1px solid #eee;padding-bottom:15px;margin-bottom:20px}
.article-meta span{margin:0 12px}
.article-content{font-size:16px;line-height:1.9;color:#555}
.article-content p{margin:12px 0}
.article-content img{max-width:100%;height:auto;display:block;margin:10px auto}
.article-content .article-featured{text-align:center;margin-bottom:15px}
.article-content h2,.article-content h3,.article-content h4{margin:18px 0 10px;color:#333}
.article-content a{color:#0879c9}
.article-content ul,.article-content ol{padding-left:25px;margin:10px 0}
.article-content ul{list-style:disc}
.article-content ol{list-style:decimal}
.article-content blockquote{border-left:4px solid #0879c9;background:#f0f6fc;padding:10px 18px;margin:15px 0;color:#666}
.article-content table{width:100%;border-collapse:collapse;margin:15px 0}
.article-content table td,.article-content table th{border:1px solid #ddd;padding:8px 10px}
.article-content pre,.article-content code{background:#f5f5f5;padding:12px;border-radius:3px;overflow:auto;font-size:14px}
.article-nav{overflow:hidden;padding:15px 0;border-top:1px solid #eee;margin-top:20px;font-size:14px}
.article-nav p{margin:4px 0}
.article-nav a{color:#333}
.article-nav a:hover{color:#0879c9}
.article-related{margin-top:20px;padding-top:15px;border-top:1px solid #eee}
.article-related ul li{line-height:34px;border-bottom:1px dashed #f0f0f0;overflow:hidden}
.article-related ul li a{color:#555;font-size:14px}
.article-related ul li a:hover{color:#0879c9}
.article-related ul li span{float:right;color:#999;font-size:12px}

/* ===== 底部 ===== */
.footer{background:#3a3a3a;margin-top:20px;padding:25px 0;color:#999}
.footer .wrap{text-align:center}
.footer-nav{margin-bottom:12px}
.footer-nav a{color:#ccc;font-size:14px;margin:0 8px}
.footer-nav a:hover{color:#fff}
.copyright{font-size:13px}
.copyright a{color:#999}
.to-top{position:fixed;right:20px;bottom:50px;width:44px;height:44px;background:#0879c9;color:#fff;text-align:center;line-height:44px;cursor:pointer;z-index:99;border-radius:4px;display:none;font-size:18px}
.to-top:hover{background:#065fa3}

/* ===== 响应式 ===== */
@media (max-width:1067px){
.wrap{width:100%;padding:0 10px;box-sizing:border-box}
.list-item{padding:12px 0}
.list-pic{width:160px;height:100px;margin-right:15px}
.list-cont h4{font-size:16px}
}
@media (max-width:767px){
body{overflow-x:hidden}
.topdh .welcome{display:none}
.topdh .toplink{float:none;text-align:center}
.header .wrap{height:auto;padding:10px}
.header .logo{float:none;text-align:center;padding-top:0}
.header .logo img{max-height:40px}
.header .slogan{display:none}
.header .search{position:static;float:none;clear:both;margin:10px 0 0}
.header .input_text{width:calc(100% - 50px)}
.header .m-menu{display:block;top:10px}
.nav .wrap{display:none;height:auto;position:absolute;left:0;right:0;background:#0879c9;z-index:99}
.nav .wrap a{float:none;line-height:42px;padding-left:20px;border-bottom:1px solid rgba(255,255,255,.15)}
.headline-bar .hl-top{max-width:100%;float:none;display:block;margin-bottom:5px}
.headline-bar .hl-scroll{max-width:100%;float:none}
.home-left{width:100%;float:none;margin-bottom:10px}
.home-right{width:100%;float:none}
.focusBox{height:auto}
.focusBox .swiper-slide img{height:auto}
.sec-img{width:100%;float:none;margin-bottom:10px}
.list-pic{width:100px;height:72px;margin-right:10px}
.list-cont h4{font-size:14px;line-height:1.4;margin-bottom:5px}
.list-cont p{display:none}
.list-meta{font-size:11px}
.list-meta span{margin-right:8px;display:inline-block}
.article-title{font-size:18px}
.article-meta span{margin:0 6px}
.article-content{font-size:15px}
}
