body { font-size: 14px; color: #000; overflow-x: hidden; } a { text-decoration: none; color: #000; } a:hover { color: #ff0000; } .not-roll { overflow: hidden; } .wrap { width: 1200px; margin: 0 auto; } /* 头部 */ .header { width: 100%; background: #fff url(../images/header/header-topbg.gif) repeat-x top center; } .header-img img { height: 100%; } .header-img .header-img-right { float: right; } .header-nav { background-color: #C90303; } .header-nav ul { display: flex; justify-content: space-around; } .header-nav ul li { flex: 1; position: relative; } .header-nav li a { display: block; color: #fff; font-weight: bold; text-align: center; /* height: 50px; */ line-height: 50px; } .header-nav li:hover>a { color: #ffff00; background-color: #FF1111; } .header-nav>ul>li>a>span { display: none; } /* 二级导航 */ .nav-secondLevel { position: absolute; top: 50px; left: -20px; width: calc(100% + 40px); z-index: 100; background-color: #C90303; flex-wrap: wrap; } .header-nav .nav-secondLevel li { width: 100%; flex: auto; } .header-nav .nav-secondLevel li a { /* height: 40px; */ line-height: 40px; border-bottom: 1px solid #D20000; } /* 三级导航 */ .nav-threeLevel { position: absolute; top: 0; left: 100%; width: 300px; display: flex; flex-wrap: wrap; background-color: #FF1111; } .header-nav .nav-threeLevel li { width: 50%; flex: auto; } .header-nav .nav-threeLevel li a:hover { background-color: #FF4A4A; } .header-nav>ul ul { display: none; } .header-nav>ul>li:hover .nav-secondLevel, .nav-secondLevel li:hover .nav-threeLevel { display: flex; } /* 轮播 */ .swiper-pagination-bullet { width: 10px; height: 10px; background-color: #fff; opacity: 1; } .swiper-pagination-bullet-active { background-color: #0092CE; } .swiper-container-horizontal>.swiper-pagination-bullets { bottom: 17px; } .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 8px; } .swiper-button-next, .swiper-button-prev { opacity: 0; } .swiper-container:hover .swiper-button-next, .swiper-container:hover .swiper-button-prev { opacity: 1; } .banner a { display: block; width: 100%; } .banner img { width: 100%; } /* 内容 */ .content { margin-top: 10px; background: url(../images/bg/bg-l.jpg) no-repeat left bottom; } .content-row { display: flex; justify-content: space-between; } .content-item { box-sizing: border-box; border: 1px solid #C90303; width: 49.5%; margin-bottom: 10px; } .content-wrap-title { color: #fff; background-color: #C90303; height: 40px; line-height: 40px; font-size: 14px; padding: 0 12px; cursor: default; } .content-wrap-title a { color: #fff; float: right; font-size: 13px; } .content-wrap-title a:hover { color: #ffff00; } .content-wrap-title span { display: inline-block; width: 5px; height: 20px; background-color: #c5d22d; vertical-align: middle; margin: -3px 15px 0 0; } .content-wrap-list { padding: 5px 0; } .content-wrap-list li { box-sizing: border-box; width: 100%; height: 34px; line-height: 34px; padding: 0 20px 0 25px; background: url(../images/icon/arrow01.gif) no-repeat 10px 10px; } .content-wrap-list li a { display: block; } .content-wrap-list li:hover a { color: #ff0000; } .content-wrap-list li p { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 友情链接 */ .footer-link { box-sizing: border-box; height: 32px; line-height: 32px; margin-bottom: 10px; border: 1px solid #C90303; } .footer-link>span { box-sizing: border-box; width: 210px; background-color: #C90303; color: #fff; font-weight: bold; text-align: center; float: left; height: 100%; } .footer-link>ul { margin-left: 230px; } .footer-link>ul li { float: left; margin-right: 20px; } /* 底部 */ .footer-mesg { background-color: #C90303; color: #fff; text-align: center; line-height: 30px; padding: 10px 0; } .footer-mesg a { color: #fff; text-decoration: underline; } .footer-mesg span { margin: 0 8px; } /* 返回顶部 */ .top { width: 50px; height: 50px; line-height: 50px; position: fixed; bottom: 20px; right: 20px; background: rgba(0, 0, 0, 0.28); z-index: 1000000; text-align: center; display: none; cursor: pointer; } .top img { width: 65%; vertical-align: middle; } /* 列表页 */ .content-left { width: 200px; background-color: #F6F6F6; margin-right: 10px; margin-bottom: 10px; } .content-left h2 { text-align: center; } .content-left-list { padding: 0 5px; } .content-left-list li a { box-sizing: border-box; display: block; line-height: 40px; border-bottom: 1px solid #ccc; padding-left: 60px; background: url(../images/icon/triangle.jpg) no-repeat 40px center; font-weight: bold; } .content-left-current a { color: #FF1111; } .content-right { flex: auto; } .content-right .content-wrap-title { padding: 0 20px; } .content-right .content-wrap-title a { float: none; } .content-right .content-wrap-title i { margin: 0 2px; } .content-right .content-wrap-list li { background: none; padding: 0 25px; height: 40px; line-height: 40px; } .content-right .content-wrap-list a { border-bottom: 1px dashed #ccc; display: block; overflow: hidden; } .content-right .content-wrap-list li p { width: calc(100% - 160px); float: left; } .content-right .content-wrap-list li span { float: right; color: #999999; } /* 分页 */ .list-page { padding: 20px 0; text-align: center; } /* 正文页 */ .article-wrap { padding: 0 20px; } .article-title { text-align: center; font-size: 24px; line-height: 50px; margin: 26px 0; } .article-mesg { color: #999; text-align: center; } .article-mesg p{ display: inline-block; } .article-mesg span { margin-right: 30px; } .article-main { font-size: 16px; margin-top: 35px; } .article-main p { line-height: 36px; word-break: break-all; } .article-main img { width: auto !important; height: auto !important; max-width: 100%; margin: 10px auto; cursor: default; } /* 目录页 */ .catalog { padding: 16px 0 16px; } .catalog-item { margin-bottom: 20px; } .catalog-title { font-size: 14px; border-bottom: 1px solid #C90303; line-height: 34px; margin: 0 25px; } .catalog-title a { font-weight: normal; float: right; } .catalog-item .content-wrap-list { padding: 0; } .content-img-list { display: flex; margin: 12px 25px 0; } .content-img-list li { box-sizing: border-box; width: 33.3%; } .content-img-list li a{ box-sizing: border-box; display: block; margin: 0 12px; } .content-img-list li img { width: 100%; } .content-img-list-imgWrap { border: 1px solid #CCCCCC; padding: 6px; background-color: #F7F7F7; overflow: hidden; } .content-img-list li img { transition: all .3s; } .content-img-list li:hover img { transform: scale(1.3); } .content-img-list li p { text-align: center; line-height: 26px; margin: 10px 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .catalog-item .list-wrap{ margin: 0; } /* 图文列表 */ .list-pic .content-img-list { margin-top: 25px; flex-wrap: wrap; } .list-pic .content-img-list li { width: 33.33%; margin-bottom: 15px; } .list-pic .content-img-list-imgWrap { padding: 10px; } .no-data { text-align: center; margin: 100px 0px; } .qrcode-warp { text-align: center; font-size: 14px; margin: 20px auto; } .qrcode-warp canvas { max-width: 128px; max-height: 128px; } .qrcode-warp-desc { margin-top: 5px; } /* 优化导航 */ .nav-secondLevel { left: -50%; width: calc(100% + 80px); } .header-nav>ul>li:last-child .nav-secondLevel { left: auto; right: 0; } .header-nav .nav-secondLevel li a { line-height: 22px; padding: 10px 4px; border-color: #9f0d0d; } .mobile-header-nav li a { height: auto !important; line-height: 26px !important; padding-top: 12px !important; padding-bottom: 12px !important; } /* 全部页面变灰 */ /* html { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); _filter:none; } */