/*
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:#fff}
ul,ol{list-style:none}
a{text-decoration:none;color:#333;transition:all .3s}
a:hover{color:#3fc048}
img{max-width:100%;height:auto;border:0}
h1,h2,h3,h4,h5,h6,p{margin:0}
.clearfloat:before,.clearfloat:after{content:"";display:table}
.clearfloat:after{clear:both}
.clearfloat{zoom:1}

/* ===== 顶部 ===== */
.topbox{background:#fff;border-bottom:1px solid #eee}
.top{width:1200px;margin:0 auto;height:80px;position:relative}
.logo{float:left;margin-top:15px}
.logo img{max-height:50px}
.nav{float:left;margin-left:40px}
.nav ul li{float:left;position:relative}
.nav ul li a{display:block;line-height:80px;padding:0 20px;font-size:16px;color:#424242}
.nav ul li a:hover,.nav ul li.current-menu-item a{color:#3fc048}
.searchbox{float:right;margin-top:25px;position:relative}
.searchbox form{width:200px;height:32px;border:1px solid #ccc;border-radius:16px;overflow:hidden}
.searchbox input{width:160px;height:30px;border:0;padding:0 12px;font-size:13px;outline:none;float:left}
.searchbox .se_btn{display:block;width:38px;height:30px;line-height:30px;text-align:center;cursor:pointer;float:left;color:#666}
.searchbox .se_btn:hover{color:#3fc048}
.menu{display:none;position:absolute;top:20px;left:10px;z-index:99;width:36px;height:36px;line-height:36px;text-align:center;font-size:20px;color:#3fc048;cursor:pointer}
.menubox{display:none;position:fixed;top:0;left:0;width:240px;height:100%;background:#fff;z-index:999;box-shadow:2px 0 8px rgba(0,0,0,.2);padding-top:20px}
.menubox .w_mav a{display:block;line-height:44px;padding:0 20px;color:#333;font-size:15px;border-bottom:1px solid #f5f5f5}
.menubox .w_mav a:hover{color:#3fc048;background:#f9fff9}

/* ===== 轮播 ===== */
.banner{width:100%;overflow:hidden;position:relative;margin-bottom:30px}
.banner .swiper-container{width:100%}
.banner .swiper-slide img{width:100%;max-height:450px;object-fit:cover;display:block}
.banner .swiper-pagination-bullet{background:#fff;opacity:.7;border:1px solid #3fc048}
.banner .swiper-pagination-bullet-active{background:#3fc048}
.banner .swiper-button-prev,.banner .swiper-button-next{color:#fff}

/* ===== 区块标题 ===== */
.newsday,.days{width:1200px;margin:0 auto 30px}
.news_tit{border-bottom:2px solid #eee;padding-bottom:10px;margin-bottom:15px}
.news_tit h1{display:inline;float:left;font-size:20px;color:#3f3f3f;border-left:4px solid #3fc048;padding-left:10px;line-height:1.2}
.news_tit span{font-size:13px;color:#c8c8c8;margin-left:12px}
.news_tit span a{color:#c8c8c8}
.news_tit span a:hover{color:#3fc048}

/* ===== 热门关注 ===== */
.newsbox{overflow:hidden}
.hot-item{width:16.66%;float:left;padding:6px}
.hot-item a{display:block;background:#fafafa;border-radius:4px;overflow:hidden}
.pic_div{position:relative;overflow:hidden;height:150px}
.pic_div img{width:100%;height:150px;object-fit:cover;transition:all .5s}
.hot-item:hover .pic_div img{transform:scale(1.08)}
.pic_bj{position:absolute;bottom:0;left:0;width:100%;height:40px;background:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}
.newscont{font-size:13px;color:#333;line-height:1.4;padding:10px;height:42px;overflow:hidden}
.hot-item:hover .newscont{color:#3fc048}

/* ===== 精彩推荐 ===== */
.daysway{overflow:hidden}
.way-item{width:32%;float:left;margin-right:2%;background:#fafafa;border-radius:4px;overflow:hidden}
.way-item:last-child{margin-right:0}
.waypic{position:relative;overflow:hidden;height:200px}
.waypic img{width:100%;height:200px;object-fit:cover;transition:all .5s}
.way-item:hover .waypic img{transform:scale(1.08)}
.way_tit{position:absolute;top:10px;left:10px;background:#3fc048;color:#fff;font-size:12px;padding:2px 10px;border-radius:2px}
.waycont{padding:15px}
.waycont h1{font-size:17px;color:#333;line-height:1.4;margin-bottom:10px;height:48px;overflow:hidden}
.way-item:hover .waycont h1{color:#3fc048}
.waytext{font-size:13px;color:#888;line-height:1.6;height:40px;overflow:hidden;margin-bottom:10px}
.like{color:#999;font-size:12px}
.liketime{float:right}
.likenum{float:right;margin-right:10px}

/* ===== 分类列表 ===== */
.list-wrap{background:#fafafa;border-radius:4px;padding:10px 15px}
.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;border-radius:4px;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 h2{font-size:18px;color:#333;line-height:1.4;margin-bottom:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.list-cont h2 a:hover{color:#3fc048}
.list-cont p{font-size:13px;color:#888;line-height:1.6;margin-bottom:10px;max-height:42px;overflow:hidden}
.list-meta{font-size:12px;color:#999}
.list-meta span{margin-right:15px}
.list-meta .list-cat{display:inline-block;background:#3fc048;color:#fff;padding:1px 10px;border-radius:2px}
.sec-list{background:#fafafa;border-radius:4px;padding:10px 20px}
.sec-list ul li{line-height:38px;border-bottom:1px dashed #e5e5e5;overflow:hidden}
.sec-list ul li:last-child{border-bottom:none}
.sec-list ul li a{font-size:14px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sec-list ul li a:hover{color:#3fc048}
.sec-list ul li span{float:right;font-size:12px;color:#3fc048}
.sec-list ul li em{float:right;font-style:normal;font-size:12px;color:#aaa;margin-right:20px}
.page{width:100%;text-align:center;padding:30px 0;line-height:36px}
.page .page-numbers{display:inline-block;height:36px;margin:0 3px;padding:0 14px;color:#333;background:#f5f4f4;border-radius:3px}
.page .page-numbers:hover{background:#3fc048;color:#fff}
.page .page-numbers.current{color:#fff;background:#3fc048}

/* ===== 内容页 ===== */
.article-page{background:#fafafa;border-radius:4px;padding:25px}
.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:#3fc048}
.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:#3fc048}
.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 #3fc048;background:#f0faf1;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:#3fc048}
.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:#3fc048}
.article-related ul li span{float:right;color:#999;font-size:12px}

/* ===== 底部 ===== */
.footer{background:#3d4146;margin-top:30px;padding:30px 0;color:#aaa}
.footer-inner{width:1200px;margin:0 auto;text-align:center}
.footer-nav{margin-bottom:12px;font-size:0}
.footer-nav a{display:inline-block;color:#fff;font-size:14px;margin:0 12px}
.footer-nav a:hover{color:#3fc048}
.copyright{font-size:13px}
.copyright a{color:#aaa}
.copyright a:hover{color:#fff}
.to-top{position:fixed;right:20px;bottom:50px;width:44px;height:44px;background:#3fc048;color:#fff;text-align:center;line-height:44px;cursor:pointer;z-index:99;border-radius:50%;display:none;font-size:18px}
.to-top:hover{background:#20af2b}

/* ===== 响应式 ===== */
@media (max-width:1200px){
.top,.newsday,.days,.footer-inner{width:100%;padding:0 15px;box-sizing:border-box}
.hot-item{width:33.33%}
.way-item{width:48%;margin-bottom:15px}
}
@media (max-width:767px){
body{overflow-x:hidden}
.top{height:60px;padding:0 50px}
.logo{margin-top:8px}
.logo img{max-height:40px}
.menu{display:block;top:12px}
.nav{display:none}
.searchbox{float:right;margin-top:14px}
.searchbox form{width:150px}
.searchbox input{width:110px}
.hot-item{width:50%}
.pic_div{height:120px}
.pic_div img{height:120px}
.way-item{width:100%;margin-right:0}
.waypic{height:180px}
.waypic img{height:180px}
.list-pic{width:110px;height:80px;margin-right:12px}
.list-cont h2{font-size:15px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.list-cont p{display:none}
.list-meta .list-cat{display:none}
.article-page{padding:15px}
.article-title{font-size:18px}
.article-meta span{margin:0 6px}
.article-content{font-size:15px}
.footer-nav a{margin:0 8px}
}
