:root { --maxWidth: 1480px; --mainColor:#098019; } *{ padding: 0; margin: 0; font-family: "微软雅黑"; border: 0; } a{ text-decoration: none; color: #000; } li{ list-style: none; } img{ display: block; object-fit: cover; } .swiper-slide>img{ height: 100%; } .footer_Footernav{ z-index: 2!important; } .title{ font-size: 2.5em; } .sub-nav { display: none; width: 100%; padding: 2% 2%; box-sizing: border-box; } .sub-nav a { display: inline-block; width: 30%; font-size: 0.8em; padding: 5px 0; margin: 1%; border-radius: 0.5rem; background: #f6f6f6; overflow: hidden; text-align: center; border: 1px solid #f9f9f9; } .search{ max-width: 500px !important; flex-direction:row !important; } .search input[type="text"]{ height: 40px; width: 70%; padding-left: 20px; border-radius: 20px 0 0 20px ; border: 1px solid #eee; } .search input[type="submit"]{ height: 40px; width: 30%; background: var(--mainColor); border: 0; color: #fff; border-radius: 0 20px 20px 0; } .clear{ clear: both; } .box{ max-width: var(--maxWidth); padding: 0 10px; margin: 0 auto; } .active{ color: var(--mainColor) !important; font-weight: bold; } .position .clearfix{ display: flex; width: 70%; align-items: center; justify-content: space-between; } .cur { background: var(--mainColor) !important; color: #fff; } .image3{ display: block; max-width: 1920px; height: 700px; object-fit:cover; margin: auto; } .image4{ display: none; } /*图片居中显示*/ .slide{ width: 100% !important; padding-bottom: 100% !important; display: block; height: 0 !important; position: relative; overflow: hidden; } .slide img{ position: absolute; max-width: 100%; max-height: 100%; width: auto; height: auto; left: 50%; top: 50%; transform: translate(-50%,-50%); } .p12-pagination-1-main { margin: 0 auto; padding: 20px 0; height: 30px; justify-content: center; display: flex; align-items: center; } .p12-pagination-1-main a { vertical-align: top; display: inline-block; padding: 0 8px; height: 26px; line-height: 26px; border: 1px solid #e5e5e5; text-align: center; margin: 0 2px; background: #fff; } .p12-pagination-1-main .active a { background: #010101; color: #fff; border-color: #010101; } @media screen and (max-width: 600px){ .sub-nav { display: block; } .image3{ display: none; } .image4{ display: block; } .title{ font-size: 1.6em; } .small { display: block; text-align: center; color: #cecece; font-size: 0.9em; } .position .clearfix{ display: none; } } /* 面包屑 end */ .position{ margin: 10px auto; padding:5px 10px; border: 1px #ccc dashed; font-size: 0.9em; max-width: var(--maxWidth); } /* 面包屑 end */ /*header 开始*/ #top { max-width: var(--maxWidth); display: flex; justify-content: space-between; align-items: center; margin: 0 auto; } #top .ol { display: none; } #top .nav_name { display: inline-block; } #top .nav_name:hover #ops { display: block; } #top>a{ width: 15%; display: block; } #top>a, #top .nav_name a, #top .ul>a { color: #000; margin: 20px; font-size: 18px; display: inline-block; } #top a:hover { color: var(--mainColor); } #top .icon-dianhuajianpan { font-size: 18px; color: var(--mainColor); } #top .icon-dianhuajianpan::before { margin-right: 10px; } #ops { position: fixed; display: none; left: 0; top: 73px; z-index: 2; background: #fff; box-shadow: 0 0 13px 4px #ccc; width: 100%; } #ops .box { display: flex; justify-content: space-between; align-items: flex-start; padding: 40px 10px; max-height: 50vh; overflow: hidden; } #ops .box .left { width: 70%; height: calc(50vh - 80px); overflow-y: auto; } #ops .box img{ height: calc(50vh - 80px); object-fit: cover; } #ops .box .left .top { font-weight: bold; line-height: 2em; font-size: 18px; margin-bottom: 10px; } #ops .box .left .list { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } #ops .box .left .list a { width: calc(33.333% - 10px); margin: 5px; position: relative; } #ops .box .left .list a>div { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; text-align: center; } #ops .box .left .list a>div>span { font-size: 0.8em; margin-top: -5px; display: block; } .nav { display: none; position: fixed; top: 0; z-index: 2; left: 0; background: rgba(0, 0, 0, 0.5); width: 100%; height: 100vh; } .nav .cur { transform: rotate(90deg); transition: 0.3s; background: transparent !important; } .nav #collapase-nav { background: #333; display: block; height: 100%; width: 60%; overflow-y: auto; transform: translateX(-100%); transition: 0.3s; } .nav #collapase-nav a { color: #fff; margin-left: 10px; } .nav .icon-xiangyou1 { float: right; margin-right: 10px; color: #fff; font-family: "宋体"; font-weight: bold; transition: 0.3s; } .am-panel { line-height: 3em; border-bottom: 1px solid #444; } .am-collapse { display: none; transition: 0.3s; } @media screen and (max-width: 600px) { #top{ background: #fff; } #top .ul { display: none; } #top .ol { display: block; } #top>a { width: 40%; margin: 10px auto; } #top .icon-dianhuajianpan {} #top .icon-row { font-size: 25px; position: fixed; right:12px; top: 12px; line-height:initial; z-index: 2; background: #fff; padding: 10px; box-sizing: border-box; border-radius: 50%; } } /*header 结束*/ /*footer 开始*/ #footer { padding-bottom: 55px; background: #efefef; } #footer .box { display: flex; justify-content: space-between; align-items: flex-start; padding: 50px 10px; } #footer .box .left { width: 20%; } #footer .box .left>img { width: 100%; } #footer .box .left>ul li::before { margin-right: 10px; color: #000; font-size: 25px; } #footer .box .right { width: 80%; } #footer .box .right>ul { display: flex; justify-content: space-around; font-weight: bold; } #footer .box .right>ul div { display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 10px; } #footer .box .right>ul div a, #footer .box .right>ul div img { font-weight: normal; text-align: center; color: #555; margin: 5px 0; font-size: 18px; } #footer .box .right>ul div a{ padding-right:20px; font-size: 16px; } #footer .box .right>ul div img{ width: 100px; } #footer .box .right>ul>li:nth-child(1){ width: 30%; } #footer .box .right>ul div a:hover, #footer .box .right>ul div img:hover { color: var(--mainColor); } #footer .bottom { max-width: var(--maxWidth); margin: 0 auto; text-align: center; padding: 20px 0; border-top: 1px solid #000; } #footer .box .right>ul { line-height: 2em; font-size: 18px; } #footer .box .right>ul .iconfont { display: flex; align-items: flex-start; font-weight: normal; } #footer .box .right>ul .iconfont:before{ margin-right: 5px; } @media screen and (max-width: 600px) { #footer .box { flex-direction: column; } #footer .box .left { width: 100%; } #footer .box .left>img{ width: 50%; margin: auto; } #footer .box .right { width: 100%; } .right>ul div img{ width: 160px; } #footer .box .right>ul{ flex-direction: column; margin: 10px 0; } #footer .box .right>ul li{ text-align: center; } #footer .box .right>ul .iconfont{ justify-content: center; font-size: 14px; } #footer .box .right>ul>li:nth-child(1){ display: none; } #footer .box .right>ul div img{ width: 30%; margin: auto; } #footer .bottom{ display: flex; font-size: 0.8em; padding: 10px 0; flex-direction: column; } } /*footer 结束*/