body{ color: #66450F; /* background-color: #ebebeb; */ } a{ color: #66450F; } a:hover{ color: #ff1111; } .header-img{ position: relative; } .header-img img{ /* width: auto; */ } /* 导航 */ .header-nav{ background: url(../images/bg/bg-nav-czjjxy.jpg) repeat-x; } .header-nav ul{ height: 44px; line-height: 44px; background-color: transparent; } .nav-secondLevel{ top: 44px; } .header-nav li:last-child{ background: none; } /* .header-nav li:hover a { background-color: #FF1111 ; } */ .header-nav .nav-secondLevel li a{ border-color: #fff; background-color: #87cefa; color: #66450F; } .nav-secondLevel li:hover a { background-color: #FF1111 ; color: #ffff00; } .nav-secondLevel .nav-threeLevel a{ background-color: #87cefa !important; color: #66450F !important; } .header-nav .nav-threeLevel li a:hover { background-color: #FF1111 !important; color: #ffff00 !important; } .header-nav li a{ position: relative; height: 44px; line-height: 44px; } .header-nav>ul>li>a{ font-size: 16px; color: #66450F; } .header-nav a i{ width: 0; height: 0; border: 6px solid transparent; border-bottom-color: #fff; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); opacity: 0; } .header-nav li:hover a i{ opacity: 1; } /* 主体 */ .content{ margin-top: 20px; } .content-row{ display: flex; flex-wrap: wrap; justify-content: space-between; } .content-item{ width: 31.5%; box-sizing: border-box; margin-bottom: 20px; border: 1px solid #ccc; border-top: none; background-color: #fff; box-shadow: 3px 3px 3px rgba(0,0,0,.2); } .content-item-center{ width: 34.2%; } .content-item h2{ background-size: contain; font-size: 14px; overflow: hidden; background: url(../images/bg/bg-content-czjjxy.png) repeat-x; color: #fff; line-height: 40px; padding: 0 10px; } .content-item h2 span{ display: inline-block; } .content-item h2 a{ font-weight: normal; float: right; color: #fff; } .content-item h2 a:hover{ color: #FF0000; } .content-item h2 a:hover .triangle{ border-left-color: #FF0000; } .content-wrap ul li{ height: 36px; line-height: 36px; margin: 0 10px; /* border-bottom: 1px dashed #ccc; */ } .content-wrap li p{ width: calc(100% - 80px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; float: left; } .content-wrap .list-time { float: right; color: #666; } .content-wrap a:hover .list-time { color: #ff1111; } .content-QRcode{ text-align: center; display: flex; justify-content: space-around; margin: 30px 0; } .content-QRcode-item{ width: 40%; } .content-QRcode-item img{ width: 76%; } .content-QRcode-item p{ margin-bottom: 12px; font-weight: bold; } .has-icon{ margin-top: 10px; } .has-icon li{ padding-left: 40px; background: url(../images/icon/arrow-orange.gif) no-repeat 10px center; font-weight: bold; } .content-wrap .contact li{ height: 28px; line-height: 28px; padding-left: 16px; } .contact li img{ width: 18px; display: inline-block; vertical-align: middle; margin-right: 16px; } .contact li p{ float: initial; display: inline-block; width: calc(100% - 50px); vertical-align: middle; } /* 轮播 */ .swiper-pagination-bullet{ width: 12px; height: 12px; } .swiper-pagination-bullet-active { color:#fff; background: #ff3300; } .swiper-container-horizontal>.swiper-pagination-bullets{ text-align: right; left: -8px; } .swiper-slide{ position: relative; } .swiper-slide img{ display: block; width: 100%; } .swiper-slide .swiper-title{ position: absolute; left: 0; bottom: 0; height: 34px; line-height: 34px; background-color: rgba(0,0,0,.6); color: #fff; padding: 0 125px 0 10px; box-sizing: border-box; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sidebar{ position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 10; } .sidebar img{ display: block; } .sidebar-close{ float: right; padding: 5px 10px; } /* 列表页 */ .content-list-wrap, .content-left{ border: 1px solid #3366FF; background-color: #fff; } .content-left-list li a{ background: url(../images/icon/triangle.jpg) no-repeat 10px center; text-align: left; padding-left: 32px; } .crumbs{ background-color: #3366FF; line-height: 40px; overflow: hidden; color: #fff; } .crumbs p { float: left; font-weight: bold; font-size: 16px; } .crumbs-right { float: right; } .crumbs a{ color: #fff; } .content-list-wrap{ margin-bottom: 20px; } /* 目录页 */ .catalog-title{ /* border: none; background-color: #87cefa; padding: 0 20px; */ border-color: #ff0000; } /* 竖向图片 */ .content-verticalImg-list li{ width: 33%; } .content-verticalImg-list li a{ margin: 0 30px; } /* 底部 */ /* .footer{ margin-top: 20px; } */ .footer-mesg{ color: #fff; background: url(../images/bg/bg-foot-czjjxy.jpg) repeat-x; } .footer-mesg a{ color: #66450F; } .footer-mesg a:hover{ color: #ff0000; } .mobile-nav-icon span{ background-color: #ff0000; } .mobile-header-nav .nav-threeLevel li a{ background-color: #f55555; } /* 飘窗 */ #adMove1 a, #adMove1 a img{ display: block; } /* 响应式 */ @media screen and (max-width: 1024px) { } @media screen and (max-width: 980px) { .header-nav ul{ height: auto; } /* flex布局,item元素补全 */ .header-nav ul::after{ content: ""; width: 50%; } .header-mesg{ position: relative; top: 0; left: 0; transform: translateY(0); overflow: hidden; } .header-mesg p{ float: left; margin-right: 20px; margin-bottom: 8px; } .content-row{ flex-wrap: wrap; } .content-item{ width: 100% !important; } } @media screen and (max-width: 768px) { .content-item{ width: 100%; } /* 轮播 */ .content-item-swiper .swiper-container{ width: 100%; float: inherit; } .content-item-swiper ul{ margin-left: 0; } .content-item-swiper .content-wrap{ margin-left: 0; margin-top: 20px; } } @media screen and (max-width: 640px) { .header{ box-shadow: 0 1px 3px #ddd; } .header-top .wrap{ width: 100%; } .mobile-nav-icon { right: 18px; } .header-img{ width: 100%; height: auto; } .header-img img{ /* height: 60px; */ /* width: auto; */ width: 100%; } .content-wrap li p{ width: calc(100% - 100px); } .content{ margin-top: 70px !important; } .footer-mesg{ background-size: cover; } .list-wrap .list-title{ width: calc(100% - 110px); } }