/*
Theme Name: WORD教程资讯网站模板
Theme URI: http://1201.fg27.com
Author: Reasonix
Description: 响应式WORD教程资讯网站模板（参考：办公资源教程类网站模板）
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:#19B5FE}
img{max-width:100%;height:auto;border:0}
h1,h2,h3,h4,h5,h6,p{margin:0}
.clear{clear:both}
.wrap{max-width:1200px;margin:0 auto;padding:0 15px;box-sizing:border-box}
.row{overflow:hidden}

/* ===== 顶部 ===== */
.topmenu{height:91px;background:#fff;position:fixed;width:100%;z-index:11;top:0;left:0;border-bottom:1px solid #dedede}
.logo{float:left;padding:10px 0;width:25%}
.logo img{height:70px;max-width:100%}
.logo a{display:inline-block}
.menu{float:left;width:75%}
#nav .mainlevel{float:left;border-right:1px solid #fff;position:relative;z-index:10}
#nav .mainlevel a{color:#000;line-height:40px;display:block;padding:0 20px;font-size:17px}
#nav .mainlevel a:hover,#nav .mainlevel a.hover{color:#19B5FE}
#nav .mainlevel ul{display:none;position:absolute;background:#fff;box-shadow:1px 3px 5px #888;top:40px;left:0;min-width:140px;z-index:20}
#nav .mainlevel:hover ul{display:block}
#nav .mainlevel ul li{background:#fff;font-size:15px;border-bottom:1px solid #f0f0f0}
#nav .mainlevel ul li a{color:#333;padding:10px 20px;line-height:1.5}
#nav .mainlevel ul li a:hover{color:#19B5FE;background:#f5f5f5}
li.closex{display:none}
.search{width:50px;position:absolute;right:0;top:35px;cursor:pointer}
.search i{font-weight:bold;font-size:20px;color:#333}
.search i:hover{color:#19B5FE}
/* 移动端菜单按钮 */
#mobilemenu{display:none;float:left;width:40px;height:40px;margin-top:25px;cursor:pointer}
#mobilemenu span{display:block;width:24px;height:2px;background:#333;margin:5px auto}
.mask{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:12}

/* ===== 首页 ===== */
.main{clear:both;padding:120px 0 0;overflow:hidden}
.banner{width:66.666666%;float:left;padding:0 15px;box-sizing:border-box}
.swiper-container{width:100%}
.swiper-slide{float:left;width:100%;height:430px;background-repeat:no-repeat;background-position:center 0;background-size:cover;position:relative}
.swiper-pagination-bullet{width:25px;height:3px;border-radius:0;background:#fff}
.swiper-pagination-bullet-active{background:#19B5FE}
.swiper-slide .title{position:absolute;bottom:0;left:0;right:0;padding:0 10px 30px 18px;text-shadow:1px 1px 2px #000}
.swiper-slide .title span{display:inline-block;padding:4px 10px;background-color:#19B5FE;color:#fff;font-size:13px;border-radius:2px;text-shadow:none;margin-bottom:10px}
.swiper-slide .title h3.f20{color:#fff;font-size:25px;font-weight:normal}
/* 头条 */
.top-news{width:33.333333%;float:left;padding:0 15px;box-sizing:border-box}
.top-news-box{background:#FFF;box-shadow:0 5px 10px 0 rgba(146,146,146,.1)}
.top-news h2{font-size:20px;padding:0 10px;font-weight:normal;line-height:54px;border-top:2px solid #19B5FE}
.top-img img{max-width:100%;width:100%}
ul.topnews li a{line-height:39px;display:block;height:39px;overflow:hidden;padding:0 10px;font-size:15px;white-space:nowrap;text-overflow:ellipsis}
ul.topnews li a:hover{background:#333;color:#fff}
ul.topnews li a i{font-size:12px;margin-right:15px;float:left;font-weight:bold;color:#f74864;line-height:39px}
/* 热门推荐 */
.hotnews{clear:both;padding-top:15px;overflow:hidden}
.hotnewlist{width:33.333333%;float:left;height:200px;padding:0 15px;box-sizing:border-box;margin-bottom:15px}
.hotdiv{width:100%;height:100%;position:relative;background-size:cover;background-repeat:no-repeat;background-position:center 0;overflow:hidden}
.overlay{width:100%;height:100%;background:linear-gradient(180deg,rgba(0,0,0,.01) 2%,rgba(0,0,0,.95) 100%);position:absolute;transition:opacity .4s ease-in-out}
.hotnewlist:hover .overlay{opacity:0.2}
.hotdiv .title{position:absolute;text-shadow:1px 1px 2px #000;bottom:0;padding:20px 18px;left:0;right:0}
.hotdiv .title span{display:inline-block;padding:4px 10px;background-color:#19B5FE;color:#fff;font-size:13px;margin:0 5px 5px 0;border-radius:2px;text-shadow:none}
.hotdiv .title h3{color:#fff;font-size:16px;max-height:48px;overflow:hidden;font-weight:normal}
/* 主体 */
.mainbody{clear:both;padding-top:40px;overflow:hidden}
.left{width:66.666666%;float:left;padding:0 15px;box-sizing:border-box}
.right{width:33.333333%;float:right;padding:0 15px;box-sizing:border-box}
.article_box{background:#fff}
.items{margin-bottom:5px}
.content-box{overflow:hidden;padding:32px 27px;border-bottom:1px solid #eee}
.posts-gallery-img{position:relative;float:left;width:232px;max-height:174px;overflow:hidden}
.posts-gallery-img img{width:100%;min-height:174px;object-fit:cover;transition:0.5s}
.posts-gallery-img img:hover{transform:scale(1.1)}
.posts-gallery-content{margin-left:250px}
.posts-gallery-content h2{margin:0 0 15px;font-size:22px;max-height:61.6px;overflow:hidden}
.posts-gallery-content h2 a:hover{color:#19B5FE}
.posts-gallery-content .posts-gallery-text{line-height:1.6;margin-bottom:15px;color:#566573;max-height:76px;overflow:hidden}
.posts-default-info ul li{font-size:12px;float:left;margin:0 10px 0 0;color:#748594;line-height:1.5}
.posts-default-info ul li i{margin-right:3px}
.posts-default-info ul li a{color:#748594}
.posts-default-info ul li a:hover{color:#19B5FE}
/* 分页 */
.pagination{padding:30px 0;text-align:center}
.pagination .page-numbers{display:inline-block;margin:0 3px;padding:6px 13px;background:#f5f5f5;color:#333;border-radius:3px}
.pagination .page-numbers:hover{background:#19B5FE;color:#fff}
.pagination .page-numbers.current{background:#19B5FE;color:#fff}

/* ===== 侧边栏 ===== */
.widget{background:#fff;padding:20px;margin-bottom:15px;box-shadow:0 5px 10px 0 rgba(146,146,146,.1)}
.widget h3{font-size:18px;color:#282828;font-weight:400;margin:0;padding-bottom:18px;margin-bottom:20px;position:relative}
.widget h3:after{content:"";background-color:#19B5FE;left:0;width:50px;height:2px;bottom:-2px;position:absolute}
.widge_tags .tag-items{overflow:hidden}
.widge_tags .tag-items a{display:inline-block;padding:4px 10px;background:#f5f5f5;color:#666;font-size:13px;margin:0 5px 8px 0;border-radius:3px}
.widge_tags .tag-items a:hover{background:#19B5FE;color:#fff}
.recent-posts-widget li{overflow:hidden;padding:10px 0;border-bottom:1px solid #f5f5f5}
.recent-posts-widget li:last-child{border-bottom:none}
.recent-posts-img{float:left;width:90px;height:68px;overflow:hidden;margin-right:12px}
.recent-posts-img img{width:100%;height:100%;object-fit:cover}
.recent-posts-title{overflow:hidden}
.recent-posts-title h4.tit{font-size:14px;line-height:1.5;height:42px;overflow:hidden}
.recent-posts-title h4.tit a:hover{color:#19B5FE}
.recent-posts-title .info{font-size:12px;color:#999}
.hot-article li{float:left;width:48%;margin:1%;position:relative;overflow:hidden}
.hot-article li a{display:block;height:68px;overflow:hidden}
.hot-article li a img{width:100%;height:100%;object-fit:cover}
.hot-article li a i{position:absolute;top:5px;left:5px;color:#fff;z-index:2;font-size:12px}

/* ===== 内容页 ===== */
.subbody{clear:both;padding:120px 0 40px;overflow:hidden}
.article-con{background:#fff}
.postion{line-height:40px;padding:0 20px;color:#999;font-size:13px;border-bottom:1px solid #eee}
.postion a{color:#999}
.postion a:hover{color:#19B5FE}
.art-con{padding:30px}
.art-con h1{font-size:26px;color:#282828;line-height:1.4;margin-bottom:20px;text-align:center}
.art-con .posts-default-info{border-bottom:1px solid #eee;padding-bottom:15px;margin-bottom:20px;text-align:center}
.art-con .posts-default-info ul li{float:none;display:inline-block;margin:0 15px}
.art-txt{font-size:16px;line-height:1.9;color:#555}
.art-txt p{margin:12px 0}
.art-txt img{max-width:100%;height:auto;display:block;margin:10px auto}
.art-txt .art-featured{text-align:center;margin-bottom:15px}
.art-txt h2,.art-txt h3,.art-txt h4{margin:18px 0 10px;color:#333}
.art-txt a{color:#19B5FE}
.art-txt ul,.art-txt ol{padding-left:25px;margin:10px 0}
.art-txt ul{list-style:disc}
.art-txt ol{list-style:decimal}
.art-txt blockquote{border-left:4px solid #19B5FE;background:#f0f9fe;padding:10px 18px;margin:15px 0;color:#666}
.art-txt table{width:100%;border-collapse:collapse;margin:15px 0}
.art-txt table td,.art-txt table th{border:1px solid #ddd;padding:8px 10px}
.art-txt pre,.art-txt code{background:#f5f5f5;padding:12px;border-radius:3px;overflow:auto;font-size:14px}
.post-navigation{overflow:hidden;padding:20px 0;border-top:1px solid #eee;margin-top:20px;font-size:15px}
.post-navigation .prev{float:left;max-width:48%}
.post-navigation .next{float:right;max-width:48%;text-align:right}
.post-navigation a{color:#333}
.post-navigation a:hover{color:#19B5FE}
.related-box{margin-top:20px;background:#fff;padding:20px}
.related-title{font-size:18px;color:#282828;padding-bottom:12px;border-bottom:1px solid #eee;margin-bottom:15px;position:relative}
.related-title:after{content:"";background-color:#19B5FE;left:0;width:50px;height:2px;bottom:-2px;position:absolute}
.related-box li{line-height:36px;border-bottom:1px dashed #f0f0f0;overflow:hidden}
.related-box li a{color:#333;font-size:14px}
.related-box li a:hover{color:#19B5FE}
.related-box li span{float:right;color:#999;font-size:12px}

/* ===== 底部 ===== */
.footer{background:#282828;margin-top:40px;padding:30px 0;color:#e0e0e0}
.footer .nav-footer{margin-bottom:20px}
.footer .nav-footer a{color:#e0e0e0;margin-right:10px;font-size:15px}
.footer .nav-footer a:hover{color:#19B5FE}
.footer .copyright-footer p{color:#999;font-size:13px}
.footer .links-footer{margin-top:15px;color:#999;font-size:13px}
.footer .links-footer a{color:#999;margin:0 5px}
.footer .links-footer a:hover{color:#19B5FE}
/* 返回顶部 */
.backtop{width:50px;height:50px;text-align:center;line-height:50px;background:#282828;opacity:.6;position:fixed;right:20px;bottom:50px;cursor:pointer;z-index:99;visibility:hidden;opacity:0;transition:all .3s}
.backtop i{color:#fff;font-size:22px}
.backtop.cd-is-visible{visibility:visible;opacity:.6}
.backtop:hover{background:#19B5FE;opacity:1}
/* 搜索框 */
.search-box{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.9);z-index:100;display:none}
.search-box.open{display:block}
.search-close{position:absolute;top:30px;right:40px;color:#fff;font-size:28px;cursor:pointer}
.search-con{width:600px;max-width:90%;margin:200px auto 0}
.search-con .se form{overflow:hidden;border-bottom:2px solid #fff}
.search-con dt{float:left;width:85%}
.search-con dd{float:left;width:15%}
.search-keyword{width:100%;background:transparent;border:none;color:#fff;font-size:30px;padding:15px 5px;outline:none}
.search-con button{background:transparent;border:none;color:#fff;font-size:26px;cursor:pointer;padding:20px 5px}
.search-tips{color:#999;margin-top:20px;font-size:14px}

/* ===== 响应式 ===== */
@media screen and (max-width:1100px){
.wrap{width:100%;padding:0 15px}
.banner,.top-news{width:50%}
}
@media screen and (max-width:768px){
body{padding-top:60px}
.topmenu{height:60px}
.logo{padding:5px 0;width:auto}
.logo img{height:50px}
.logo a{display:block}
.menu{width:auto;float:none}
#mobilemenu{display:block;margin-top:10px}
#nav{display:none;position:fixed;top:0;left:0;width:240px;height:100%;background:#fff;z-index:13;padding-top:50px;box-shadow:2px 0 8px rgba(0,0,0,.2)}
#nav.open{display:block}
#nav .mainlevel{float:none;border-right:none;border-bottom:1px solid #f0f0f0}
#nav .mainlevel a{font-size:16px;padding:12px 20px}
#nav .mainlevel ul{position:static;box-shadow:none;display:block}
li.closex{display:block;position:absolute;top:0;right:0;width:50px;height:50px;line-height:50px;text-align:center;cursor:pointer}
li.closex i{font-size:20px}
.search{top:15px}
.main{padding-top:20px}
.banner,.top-news{width:100%;float:none;padding:0 0 15px}
.swiper-slide{height:220px}
.swiper-slide .title h3.f20{font-size:18px}
.hotnewlist{width:100%;height:160px;padding:0 0 10px}
.left,.right{width:100%;float:none;padding:0}
.subbody{padding-top:20px}
.content-box{padding:20px 15px}
.posts-gallery-img{width:120px;max-height:90px}
.posts-gallery-img img{min-height:90px}
.posts-gallery-content{margin-left:135px}
.posts-gallery-content h2{font-size:16px;max-height:44px;margin-bottom:8px}
.posts-gallery-content .posts-gallery-text{max-height:44px;font-size:13px}
.posts-default-info{position:static!important}
.art-con{padding:15px}
.art-con h1{font-size:20px}
.widget{padding:15px}
.footer{padding:20px 0}
}
