@charset "utf-8"; /* CSS Document */ * { font-family:"PingFang SC", "微软雅黑", "arial", sans-serif; word-wrap: normal; word-break: normal; font-weight:400; } :focus { outline: none; } button:focus { border: none!important; outline: none; } @font-face { font-family: 'iconfont'; /* Project id 2304431 */ src: url('//at.alicdn.com/t/font_2304431_bwifqbgcyo.woff2?t=1640931082079') format('woff2'), url('//at.alicdn.com/t/font_2304431_bwifqbgcyo.woff?t=1640931082079') format('woff'), url('//at.alicdn.com/t/font_2304431_bwifqbgcyo.ttf?t=1640931082079') format('truetype'); } .e_icon { font-family: 'iconfont'; } html, body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, button, textarea, p, blockquote { margin: 0; padding: 0; list-style-type: none; } .fa_wrapper { width: 94%; max-width: 1220px; padding: 0 10px; margin: auto; } ::-webkit-scrollbar { width: 8px; height: 40px; } ::-webkit-scrollbar-track { background-color: #eee; } ::-webkit-scrollbar-thumb { background-color: var(--main-color); } ::-webkit-scrollbar-thumb:hover { background-color: #eee } ::-webkit-scrollbar-thumb:active { background-color: #eee } /*通用*/ a:active, a:hover { color: var(--main-color); text-decoration: none; } a:hover, a:focus { color: var(--main-color); text-decoration: underline; } .container { width: 100%; max-width: 100%; } .hide { display: none!important; } .fa_ani * { transition: all 0.5s; -moz-transition: all 0.5s; /* Firefox 4 */ -webkit-transition: all 0.5s; /* Safari 和 Chrome */ -o-transition: all 0.5s; /* Opera */ } .fa_ani *:before { transition: all 0.5s; -moz-transition: all 0.5s; /* Firefox 4 */ -webkit-transition: all 0.5s; /* Safari 和 Chrome */ -o-transition: all 0.5s; /* Opera */ } .fa_ani *:after { transition: all 0.5s; -moz-transition: all 0.5s; /* Firefox 4 */ -webkit-transition: all 0.5s; /* Safari 和 Chrome */ -o-transition: all 0.5s; /* Opera */ } a { cursor: pointer; } body, html { overflow-x: hidden !important; } a:focus, a:active, a:hover, a:visited { outline: none !important; text-decoration: none; } i { font-style: normal; } /* .w_grid-000 > div > .p_gridbox { overflow: visible; } .w_grid-000 > div > .p_gridbox:before, .w_grid-000 > div > .p_gridbox:after { clear: both; display: table; content: " "; min-height: 0px; } */ .fa_clearfix:before, .fa_clearfix:after { display: table; clear: both; content: ""; } .p_page .pageNum.active, .p_page .next:active, .p_page .next:hover, .p_page .pageNum:hover, .p_page .pageNum:active, .p_page .pre:active, .p_page .pre:hover { background-color: var(--main-color); border-color: var(--main-color); } .p_pagebox .next, .p_pagebox .pre { background-color: var(--main-color); } #easy_zoom { transition: all 0s; -moz-transition: all 0s; /* Firefox 4 */ -webkit-transition: all 0s; /* Safari 和 Chrome */ -o-transition: all 0s; } #easy_zoom * { transition: all 0s; -moz-transition: all 0s; /* Firefox 4 */ -webkit-transition: all 0s; /* Safari 和 Chrome */ -o-transition: all 0s; /* Opera */ } .p_ProductDetail img, .p_NewsDetail img, .p_contentBox img { max-width: 100%; } .p_content .reset_style { line-height: 2; } .btn-primary:active:hover, .btn-primary.active:hover, .open>.dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open>.dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open>.dropdown-toggle.btn-primary.focus .p_pagebox .next, .p_pagebox .pre { background-color: var(--main-color); } .fa_pic img { width: 100%; } :root { --main-color: #016600; --main2-color: #02a629; --linearY:linear-gradient(#016600, #02a629); --linearX:linear-gradient(90deg,#016600, #02a629); --listbg: #f5f5f5; } @media only screen and (min-width: 769px) { .fa_pchide { display: none!important; } .fa_grid { padding: 50px 0; } .fa_grid2 { padding: 30px 0; } :root { --f80: 80px; --f70: 70px; --f60: 60px; --f50: 50px; --f40: 40px; --f36: 36px; --f32: 32px; --f30: 30px; --f28: 28px; --f26: 26px; --f24: 24px; --f22: 22px; --f20: 20px; --f18: 18px; } } @media only screen and (max-width:768px) { :root { --f80: 22px; --f70: 22px; --f60: 22px; --f50: 22px; --f40: 22px; --f36: 20px; --f32: 20px; --f30: 20px; --f28: 20px; --f26: 18px; --f24: 18px; --f22: 18px; --f20: 18px; --f18: 16px; } .fa_grid, .fa_grid2 { padding: 30px 0; } .fa_mohide { display: none!important; } input::-webkit-input-placeholder { font-size: 14px; line-height: 1.42857143; } input::-moz-placeholder { font-size: 14px; line-height: 1.42857143; } input:-ms-input-placeholder { font-size: 14px; line-height: 1.42857143; } input:-moz-placeholder { font-size: 14px; line-height: 1.42857143; } } /*------------------------------------------------------------------------------------------------------------*/ /*弹性布局*/ .fa_flexline { display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */ display: -moz-box; /* 老版本语法: Firefox (buggy) */ display: -ms-flexbox; /* 混合版本语法: IE 10 */ display: -webkit-flex; /* 新版本语法: Chrome 21+ */ display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */ -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; -moz-flex-wrap: nowrap; flex-wrap: nowrap; } .fa_flexwrap { display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */ display: -moz-box; /* 老版本语法: Firefox (buggy) */ display: -ms-flexbox; /* 混合版本语法: IE 10 */ display: -webkit-flex; /* 新版本语法: Chrome 21+ */ display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */ -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; -moz-flex-wrap: wrap; flex-wrap: wrap; } .fa_flex_between { -webkit-box-pack: justify; -moz-justify-content: space-between; -webkit-justify-content: space-between; justify-content: space-between; } .fa_flex_Xend { -webkit-box-pack: end; -moz-justify-content: flex-end; -webkit-justify-content: flex-end; justify-content: flex-end; } .fa_flex_Xcenter { -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; } .fa_flex_Yend { -webkit-align-items: flex-end; align-items: flex-end; } .fa_flex_Ycenter { -webkit-box-align: center; -moz-align-items: center; -webkit-align-items: center; align-items: center; } .fa_centerY { position: relative; top: 50%; /*偏移*/ transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -webkit-transform: translateY(-50%); } /*------------------------------------------------------------------------------------------------------------*/ /*图片限制*/ .fa_Img { position: relative; width: 100%; overflow: hidden; } .fa_Img img { position: absolute; width: 100%; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: all 0.5s; } .fa_Imgmax img { max-width: 100%!important; max-height: 100%!important; min-width: 0%!important; min-height: 0%!important; width: auto!important; height: auto!important; } .fa_Imgmin img { object-fit: cover; } /*------------------------------------------------------------------------------------------------------------*/ /*字体大小*/ @media only screen and (max-width:768px) { .fa_mf26 { font-size: 26px!important; } .fa_mf24 { font-size: 24px!important; } .fa_mf22 { font-size: 22px!important; } .fa_mf20 { font-size: 20px!important; } .fa_mf18 { font-size: 18px!important; } .fa_mf16 { font-size: 16px!important; } .fa_mf14 { font-size: 14px!important; } } /*------------------------------------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------------------------------------*/ /*相关产品*/ .fa_AbList { margin: 80px 0 30px; } .fa_AbList h3 { font-size: 24px; color: #333; font-weight: 300; margin-bottom: 30px; } .fa_AbList .fa_Abli { display: block; background: #fafafa; } .fa_AbList .fa_Abli .fa_ABli_img { overflow: hidden; width: 100%; } .fa_AbList .fa_Abli .fa_ABli_img img { width: 100%; transition: all 0.5s; } .fa_AbList .fa_Abli:nth-child(4n) { margin-right: 0; } .fa_AbList .fa_Abli:hover img { transform: translate(-50%, -50%) scale(1.2); -ms-transform: translate(-50%, -50%) scale(1.2); /* IE 9 */ -webkit-transform: translate(-50%, -50%) scale(1.2); /* Safari 和 Chrome */ -o-transform: translate(-50%, -50%) scale(1.2); /* Opera */ -moz-transform: translate(-50%, -50%) scale(1.2); /* Firefox */ } .fa_AbList .fa_Abli .fa_ABli_tit { padding: 20px 15px; color: #333; width: 100%; text-align: center; text-transform: capitalize; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } @media only screen and (max-width:768px) { .fa_AbList { margin: 30px 0; } .fa_AbList h3 { font-size: 18px; } } /*------------------------------------------------------------------------------------------------------------*/ /*产品分类标题*/ .fa_PageCate .fa_CateTit h3 { font-size: 30px; font-weight: bold; margin-bottom: 10px; color: var(--main-color); text-align: center; } .fa_PageCate .fa_CateTit article { font-size: 16px; line-height: 2; margin: auto; max-width: 800px; color: #666; width: 80%; text-align: center; } .fa_PageCate { margin-bottom: 30px; } @media only screen and (max-width:768px) { .fa_PageCate .fa_CateTit h3 { font-size: 20px; } } /*------------------------------------------------------------------------------------------------------------*/ /*排列布局 fa_ln(一排n个)*/ .fa_l2 { display: block; width: calc((100% - 50px) / 2); margin-right: 50px; margin-bottom: 50px; } .fa_l3 { display: block; width: calc((100% - 60px) / 3); margin-right: 30px; margin-bottom: 30px; } .fa_l4 { display: block; width: calc((100% - 60px) / 4); margin-right: 20px; margin-bottom: 20px; } .fa_l5 { display: block; width: calc((100% - 80px) / 5); margin-right: 20px; margin-bottom: 20px; } @media only screen and (min-width: 769px) { .fa_l2:nth-child(2n), .fa_l3:nth-child(3n), .fa_l4:nth-child(4n), .fa_l5:nth-child(5n) { margin-right: 0; } } @media only screen and (max-width:768px) { .fa_l2, .fa_l3{ display: block; width: calc((100% - 10px) / 2); margin-bottom:10px; margin-right:10px; } .fa_l2:nth-child(2n), .fa_l3:nth-child(2n){ margin-right: 0; } .fa_l4, .fa_l5 { display: block; width: 100%; margin: 10px 0; } } /*------------------------------------------------------------------------------------------------------------*/ /*加载动效 topshow(从上往下)fa_LeftShow (从左往右) */ .delighter { position: relative; } .fa_TopShow, .fa_LeftShow, .fa_RightShow, .fa_BottomShow { overflow: hidden; } .fa_TopShow.delighter:before { width: 100%; position: absolute; height: 100%; top: 0; left: 0; transform: translateY(0%); display: block; background: #fff; z-index: 10; content: ""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .fa_TopShow.started.delighter:before { transform: translateY(100%); } .fa_LeftShow.delighter:before { width: 100%; position: absolute; height: 100%; top: 0; left: 0; transform: translateX(0%); display: block; background: #fff; z-index: 10; content: ""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .fa_LeftShow.started.delighter:before { transform: translateX(100%); } .fa_RightShow.delighter:before { width: 100%; position: absolute; height: 100%; top: 0; left: 0; transform: translateX(0%); display: block; background: #fff; z-index: 10; content: ""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .fa_RightShow.started.delighter:before { transform: translateX(-100%); } .fa_BottomShow.delighter:before { width: 100%; position: absolute; height: 100%; top: 0; left: 0; transform: translateX(0%); display: block; background: #fff; z-index: 10; content: ""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .fa_BottomShow.started.delighter:before { transform: translateY(-100%); } /*------------------------------------------------------------------------------------------------------------*/ /*swiper*/ .fa_swp_btn>div { /*banner*/ position: absolute; z-index: 20; transform: translateY(-50%); font-size: 3vw; /* width: 3vw; */ /* height: 3vw; */ background: rgba(0, 0, 0, 0.3); /* border-radius: 50%; */ color: #fff; text-align: center; padding: 5px 5px; /* line-height: 3vw; */ transition: all 0.5s; top: 50%; opacity: 0.5; cursor: pointer; /* display: flex; */ /* align-items: center; */ /* justify-content: center; */ } .fa_swp_btn>div:hover { opacity: 0.8; } .fa_swp_btn .fa_btn_l { left: 0; } .fa_swp_btn .fa_btn_r { right: 0; } .fa_list_btn>div { /*列表*/ position: absolute; z-index: 20; top: 50%; transform: translateY(-50%); font-size: 3vw; border-radius: 50%; color: #333; text-align: center; transition: all 0.5s; cursor: pointer; } .fa_list_btn .fa_btn_l { left: 0; } .fa_list_btn .fa_btn_r { right: 0; } .fa_page_btn { position: absolute; bottom: 6px; width: 100%; left: 0; right: 0; text-align: center; z-index: 10; } .fa_page_btn span { width: 35px; max-width: 30%; height: 6px; background: #808182; display: inline-block; margin: 0 5px; transition: all 0.5s; border-radius: 0; cursor: pointer; opacity: 0.8; } .fa_page_btn span.swiper-pagination-bullet-active { background: var(--main-color); } @media only screen and (max-width: 768px) { .fa_page_btn span{ width:8px; height:2px; margin:1px; } } /*------------------------------------------------------------------------------------------------------------*/ /*按钮*/ .fa_More a { display: inline-block; transition: all 0.5s; padding: 0 30px; text-align: center; font-size: 14px; color: #fff; background: var(--linearX); line-height: 40px; border-radius: 500px; }