/*
Theme Name: 3D科技资讯网站模板
Theme URI: http://1201.fg27.com
Author: Reasonix
Description: 自适应资讯门户类型网站模板（参考：3D生态网）
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:#f8f8f8}
ul,ol{list-style:none}
a{text-decoration:none;color:#333;transition:all .3s}
a:hover{color:#16499d}
img{max-width:100%;height:auto;border:0}
h1,h2,h3,h4,h5,h6,p{margin:0}
.clear{clear:both}
.box{width:1200px;margin:auto}

/* ===== 顶部 ===== */
.top{background:#fff;border-bottom:1px solid #eee;height:40px;line-height:40px}
.top .box{position:relative}
.welcome{float:left;font-size:13px;color:#666}
.welcome a{color:#eb690a;margin:0 5px}
.is-search{float:right;cursor:pointer;padding:0 10px}
.is-search i{font-size:16px;color:#666}
.is-search:hover i{color:#16499d}
.search-page{display:none;position:absolute;right:0;top:40px;z-index:100;background:#fff;border:1px solid #eee;box-shadow:0 5px 15px rgba(0,0,0,.1);padding:15px;width:300px}
.search{overflow:hidden}
.search .input_text{float:left;width:70%;height:34px;border:1px solid #ccc;padding:0 10px;font-size:13px;color:#999;outline:none}
.search .input_submit{float:right;width:28%;height:34px;border:0;background:#16499d;color:#fff;font-size:14px;cursor:pointer}

/* ===== 导航 ===== */
nav{background:#1d273d;height:80px}
nav .box{position:relative}
.logo{float:left;padding:0 20px 0 0;line-height:80px}
.logo img{height:60px;vertical-align:middle}
#starlist{float:left;line-height:80px}
#starlist>li{float:left;position:relative}
#starlist>li>a{color:#fff;font-size:16px;padding:0 22px;display:block}
#starlist>li:hover>a,#starlist>li.cur>a{color:#eb690a}
#starlist li.menu>span{position:absolute;top:38px;left:50%;margin-left:-5px;border:5px solid transparent;border-bottom-color:#16499d;display:none}
#starlist li.menu:hover>span{display:block}
#starlist ul.sub{display:none;position:absolute;top:80px;left:0;background:#fff;box-shadow:0 5px 15px rgba(0,0,0,.1);min-width:140px;z-index:99}
#starlist li:hover ul.sub{display:block}
#starlist ul.sub li{width:100%;line-height:40px}
#starlist ul.sub li a{display:block;padding:0 20px;color:#333;font-size:14px}
#starlist ul.sub li a:hover{color:#16499d;background:#f5f5f5}
#mnavh{display:none;cursor:pointer;position:fixed;top:8px;left:10px;z-index:1000;background:#16499d;width:40px;height:40px;border-radius:4px}
#mnavh .navicon{display:block;width:22px;height:2px;background:#fff;margin:19px auto;position:relative}
#mnavh .navicon:before,#mnavh .navicon:after{content:"";position:absolute;left:0;width:22px;height:2px;background:#fff}
#mnavh .navicon:before{top:-7px}
#mnavh .navicon:after{top:7px}

/* ===== 首页主体 ===== */
main{width:1200px;margin:20px auto;overflow:hidden}
.lbox{width:860px;float:left}
.rbox{width:320px;float:right}
.banner{width:570px;height:300px;float:left;overflow:hidden;position:relative}
.banner .swiper-container{width:100%;height:100%}
.banner .swiper-slide{position:relative}
.banner .swiper-slide img{width:100%;height:300px;object-fit:cover}
.banner .swiper-slide section{position:absolute;bottom:0;left:0;width:100%;height:60px;background:linear-gradient(0deg,rgba(0,0,0,.6),transparent);z-index:5}
.banner h4{color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.5);font-size:18px;line-height:60px;padding:0 15px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.banner .swiper-pagination-bullet{background:#fff;opacity:.7}
.banner .swiper-pagination-bullet-active{background:#eb690a}
/* 头条 2 大图 */
.headline{width:270px;float:right;overflow:hidden}
.headline ul li{width:100%;overflow:hidden;height:140px;position:relative}
.headline ul li:first-child{margin-bottom:20px}
.headline ul li a{display:block;overflow:hidden;height:100%}
.headline ul li img{width:100%;min-height:100%;object-fit:cover;transition:all .6s}
.headline ul li:hover img{transform:scale(1.1)}
.headline span{position:absolute;bottom:0;left:0;width:100%;height:60px;background:linear-gradient(0deg,rgba(0,0,0,.6),transparent)}
.headline h4{color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.5);line-height:18px;font-size:13px;position:absolute;bottom:0;left:0;right:0;padding:30px 10px 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* 标题 */
.h_title{position:relative;font-size:18px;margin:20px 0 10px;color:#333;padding-left:20px;font-weight:bold}
.h_title:before{content:"";position:absolute;left:0;top:3px;width:10px;height:20px;background:#16499d}
/* 文章列表 */
.blogs_list{overflow:hidden;position:relative;padding:20px 10px 20px 0;border-bottom:1px dashed #e5e5e5;background:#fff;padding-left:15px}
.blogs_list i{display:block;width:210px;height:120px;overflow:hidden;float:left;margin-right:20px}
.blogs_list i img{width:100%;min-height:100%;object-fit:cover;transition:all .6s}
.blogs_list:hover img{transform:scale(1.1)}
.blogs_list h2{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:8px;line-height:28px;font-size:18px;color:#333}
.blogs_list:hover h2{color:#16499d}
.blogs_list p{color:#737373;line-height:22px;font-size:14px;overflow:hidden;max-height:44px;margin-bottom:10px}
.blogs_writer{font-size:12px;color:#999}
.blogs_writer .blogs_time{margin-left:15px}
.blogs_lm{position:absolute;top:20px;right:15px}
.blogs_lm a{display:inline-block;background:#16499d;color:#fff;font-size:12px;padding:2px 10px;border-radius:2px}
.blogs_lm a:hover{background:#eb690a;color:#fff}
/* 右侧栏 */
.news_kx{border:1px solid #e1e1e1;background:#fff;padding:20px;margin-bottom:20px}
.news_kx h2{width:160px;height:40px;line-height:40px;background:#16499d;color:#fff;font-size:15px;text-align:center}
.news_kx ul{margin:20px 0 0}
.news_kx li{padding:0 0 20px 30px;position:relative;font-size:14px;line-height:20px}
.news_kx li span{display:block;font-size:12px;color:#999;margin-top:8px}
.news_kx li:before{content:"";background:#e1e1e1;width:1px;height:100%;left:7px;top:7px;position:absolute}
.news_kx li:last-child:before{display:none}
.news_kx li i{position:absolute;left:2px;top:4px;display:inline-block;width:8px;height:8px;border-radius:50%;background:#eb690a}
.news_kx li:hover a{color:#16499d}
.lm_hot{border:1px solid #e1e1e1;background:#fff;padding:5px 20px 25px;margin-bottom:20px}
.lm_hot ul{overflow:hidden}
.lm_hot a{border-radius:2px;width:46%;float:left;text-align:center;line-height:38px;border:1px solid #e1e1e1;margin:8px 0 0;color:#666;font-size:13px}
.lm_hot a:nth-child(even){float:right}
.lm_hot a:hover{background:#16499d;color:#fff}
.hot_news{border:1px solid #e1e1e1;background:#fff;padding:5px 20px 0;overflow:hidden}
.hot_news li{position:relative;margin:20px 0;overflow:hidden}
.hot_news li i{width:120px;height:70px;display:inline-block;overflow:hidden;float:left;margin-right:12px;border-radius:3px}
.hot_news li i img{width:100%;min-height:100%;object-fit:cover;transition:all .5s}
.hot_news li:hover img{transform:scale(1.1)}
.hot_news li em{position:absolute;top:0;left:0;height:17px;width:21px;color:#ccc;font-size:12px;font-style:normal;text-align:center;line-height:17px;background:rgba(255,255,255,.85)}
.hot_news li:nth-child(1) em{background:#f95456;color:#fff}
.hot_news li:nth-child(2) em{background:#f6a625;color:#fff}
.hot_news li:nth-child(3) em{background:#4385f4;color:#fff}
.hot_news li h2{font-size:14px;color:#333;font-weight:normal;line-height:20px;overflow:hidden;max-height:40px}
.hot_news li:hover h2{color:#16499d}
.hot_news li span{font-size:12px;color:#b3b2b2;display:block;margin-top:6px}

/* ===== 列表/内容页 ===== */
.crumbs{background:#fff;border:1px solid #eee;line-height:38px;padding:0 15px;font-size:13px;color:#999;margin-bottom:15px}
.crumbs a{color:#999}
.crumbs a:hover{color:#16499d}
.article-con{background:#fff;border:1px solid #eee;padding:25px}
.article-tit{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-text{font-size:16px;line-height:1.9;color:#555}
.article-text p{margin:12px 0}
.article-text img{max-width:100%;height:auto;display:block;margin:10px auto}
.article-text .article-featured{text-align:center;margin-bottom:15px}
.article-text h2,.article-text h3,.article-text h4{margin:18px 0 10px;color:#333}
.article-text a{color:#16499d}
.article-text ul,.article-text ol{padding-left:25px;margin:10px 0}
.article-text ul{list-style:disc}
.article-text ol{list-style:decimal}
.article-text blockquote{border-left:4px solid #16499d;background:#f0f5fc;padding:10px 18px;margin:15px 0;color:#666}
.article-text table{width:100%;border-collapse:collapse;margin:15px 0}
.article-text table td,.article-text table th{border:1px solid #ddd;padding:8px 10px}
.article-text pre,.article-text 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:#16499d}
.article-related{margin-top:20px;border-top:1px solid #eee;padding-top:10px}
.article-related .h_title{margin-top:10px}
.article-related li{line-height:34px;border-bottom:1px dashed #f0f0f0;overflow:hidden}
.article-related li a{color:#555;font-size:14px}
.article-related li a:hover{color:#16499d}
.article-related li span{float:right;color:#999;font-size:12px}
.pagination{padding:25px 0;text-align:center}
.pagination .page-numbers{display:inline-block;margin:0 3px;padding:6px 14px;background:#fff;border:1px solid #ddd;color:#666}
.pagination .page-numbers:hover{background:#16499d;color:#fff;border-color:#16499d}
.pagination .page-numbers.current{background:#16499d;color:#fff;border-color:#16499d}

/* ===== 底部 ===== */
.links{overflow:hidden;line-height:44px;background:#273249;padding:0 15px}
.links ul{width:1200px;margin:0 auto}
.links li{display:inline-block;float:left;margin:0 10px;font-size:14px;line-height:44px}
.links a{color:#ccc}
.links a:hover{color:#fff}
.links p{color:#7381a1;font-weight:bold;font-size:18px;float:left;margin-right:25px;position:relative}
footer{background:#1d273d;color:#999}
footer .box{padding:30px 0 20px}
.ft_nav{overflow:hidden;padding-bottom:20px;border-bottom:1px solid #2e3f65;margin-bottom:20px}
.ft_about{float:left}
.ft_about p{color:#7381a1;font-size:16px;margin-bottom:12px}
.ft_about ul li{float:left;margin:0 15px 8px 0}
.ft_about ul li a{color:#bbb;font-size:13px}
.ft_about ul li a:hover{color:#fff}
.copyright{text-align:center;font-size:13px;line-height:2}
.copyright a{color:#999}
.copyright a:hover{color:#fff}
/* 返回顶部 */
.to-top{position:fixed;right:20px;bottom:50px;width:44px;height:44px;background:#16499d;color:#fff;text-align:center;line-height:44px;cursor:pointer;z-index:99;border-radius:4px;display:none;font-size:20px}
.to-top:hover{background:#eb690a}

/* ===== 响应式 ===== */
@media only screen and (max-width:1200px){
.box,main,.links ul{width:100%;padding:0 10px;box-sizing:border-box}
.lbox{width:100%;float:none}
.rbox{width:100%;float:none;margin-top:20px}
.banner{width:100%;float:none;height:auto;margin-bottom:15px}
.banner .swiper-slide img{height:auto}
.headline{width:100%;float:none}
.headline ul li{float:left;width:48.5%;margin-right:1.5%}
.headline ul li:first-child{margin-bottom:0}
}
@media only screen and (max-width:767px){
.top .welcome{display:none}
nav{height:auto;background:#1d273d}
nav .box{display:none}
.logo{line-height:50px}
#mnavh{display:block}
#starlist{float:none;line-height:normal;background:#fff;display:none;position:fixed;top:0;left:0;width:240px;height:100%;z-index:999;padding-top:50px;box-shadow:2px 0 8px rgba(0,0,0,.2)}
#starlist>li{float:none}
#starlist>li>a{padding:12px 20px;color:#333;line-height:1.5}
#starlist>li:hover>a,#starlist>li.cur>a{color:#16499d;background:#f5f5f5}
#starlist ul.sub{position:static;box-shadow:none;display:block;border-top:1px solid #eee}
#starlist ul.sub li a{padding-left:40px}
#starlist li.menu>span{display:none}
.blogs_list{padding-left:10px}
.blogs_list i{width:120px;height:75px;margin-right:12px}
.blogs_list h2{font-size:15px}
.blogs_list p{display:none}
.blogs_lm{display:none}
.headline ul li{width:100%;float:none;margin:0 0 10px}
.article-con{padding:15px}
.article-tit{font-size:18px}
}
