* { box-sizing: border-box !important; font-family: "MicrosoftJhengHei","Gotham SSm A","Gotham SSm B"; word-break: break-word; word-wrap: normal; word-break: normal; } a { cursor: pointer; text-decoration: none !important; } body, html { overflow-x: hidden !important; } a:focus, a:active, a:hover, a:visited { outline: none !important; text-decoration: none !important; } i { font-style: normal; } .yx_iconfont{ font-family: 'yx_iconfont' !important; } .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; } /*文字*/ :root{ --yx_FS_BannerBig:48px; --yx_FSOne: 38px; --yx_FSTwo: 30px; --yx_FSThree:24px; --yx_FSFour: 20px; --yx_FSFive: 18px; --yx_FSSix: 18px; --yx_Color:#222; --yx_ColorTwo:#e62129; } h1 span,h1 *{ font-size:var(--yx_FSOne) !important; } h2 span,h2 *{ font-size:var(--yx_FSTwo) !important; } h3 span,h3 *{ font-size:var(--yx_FSThree) !important; } h4 span,h4 *{ font-size:var(--yx_FSFour) !important; } h5 span,h5 *{ font-size:var(--yx_FSFive) !important; } h6 span,h6 *{ font-size:var(--yx_FSSix) !important; } h1, h2, h3, h4, h5, h6 { font-weight: normal !important; } a:active, a:hover { color: #272727; text-decoration: none; } a:hover, a:focus { color: #060606; text-decoration: underline; } .container { width: 100%; max-width: 100%; margin: 0; padding: 0; } .background_info{ background:#f7f7f7; } .borderT_default{ border-top:1px solid #eee; } .yx_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 */ } .yx_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 */ } .yx_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 */ } .yx_Clear:before, .yx_Clear:after { display: table; clear: both; content: ""; } /*通用*/ .yx_Width{ margin:0 auto; width:90%; max-width:1600px; display: none; } .yx_floatL{ float:left; } .yx_floatR{ float:right; } .yx_positionR{ position: relative; } .yx_positionA{ position: absolute; } .yx_Title{ display:block; overflow:hidden; -webkit-box-orient:vertical; text-overflow:ellipsis; white-space : nowrap; } .yx_Summary{ display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; text-overflow:ellipsis; } .yx_More{ position: absolute; z-index: 2; top: 0; left:0; width: 100%; height: 100%; } /*Flex*/ .yx_flex { 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; } .yx_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; } .yx_flexJbetween { -webkit-box-pack: justify; -moz-justify-content: space-between; -webkit-justify-content: space-between; justify-content: space-between; } .yx_flexJend { -webkit-box-pack: end; -moz-justify-content: flex-end; -webkit-justify-content: flex-end; justify-content: flex-end; } .yx_flexJcenter { -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; } .yx_flexAend { -webkit-align-items: flex-end; align-items: flex-end; } .yx_flexAcenter { -webkit-box-align: center; -moz-align-items: center; -webkit-align-items: center; align-items: center; } .yx_flexDrowC{ flex-direction: row-reverse; } /*结束*/ /*内页按钮*/ .yx_NBut{ display:block; line-height:42px; width:140px; padding:0 6px; border-bottom:2px solid #fff; } .yx_NBut span{ z-index:2; font-size:var(--yx_FSSix); color:#fff; } .yx_NBut:before{ content:''; display:block; width:0; height:100%; background:#fff; position:absolute; left:0; top:0; } .yx_NBut:hover{ padding:0 12px; transition:all 0.6s ease; } .yx_NBut:hover:before{ width:100%; transition:all 0.6s ease; } .yx_NBut:hover span{ color:var(--yx_Color); transition:all 0.6s ease; } .yx_NBut:hover i{ transform: rotate(180deg); transition:all 0.6s ease; } /**/ /*图片样式*/ .yx_ImgContain,.yx_ImgCover{ position:relative; height:0; overflow: hidden; } .yx_ImgContain img{ position:absolute; max-height:100%; max-width:100%; top:50%; left:50%; width:auto; height:auto; transform:translate(-50%,-50%); transition: all 0.5s; } .yx_ImgCover img{ position:absolute; width:100%; height:100%; object-fit:cover; } /*结束*/ /*内页banner鼠标*/ .yx_Scroll_icon { display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height:45px; width:28px; font-size: 22px; color: rgba(255, 255, 255, 0.5); border-radius:16px; border: solid 2px; -webkit-transition: .4s; transition: .4s; margin:6% 0 0 !important } .yx_Scroll_icon::after { content: ''; width: 5px; height: 5px; background-color: #fff; border-radius: 50%; -webkit-animation: scroll-icon 2.2s infinite cubic-bezier(0.65, 0.05, 0.36, 1); animation: scroll-icon 2.2s infinite cubic-bezier(0.65, 0.05, 0.36, 1); } @keyframes scroll-icon{ 0% { -webkit-transform:translateY(-12px); transform: translateY(-12px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { -webkit-transform: translateY(12px); transform: translateY(12px); opacity: 0; } } /*结束*/ /*内页分类导航*/ .yx_PageNav{ margin:var(--yx_FSSix) 0; } .yx_PageNav a{ display:block; line-height:48px; color:#333; font-weight: bold; margin:5px 14px 5px 0px; padding:0 calc(1vw + 14px); background:#f5f5f5; transition:all 0.6s ease; } .yx_PageNav a:hover{ background:#570105; transition:all 0.6s ease; color:#fff; } .yx_PageNav .yx_Click{ background:#560004 !important; color:#fff !important; } .p_problemCategory .p_image{ display:none; } .p_categoryBox .p_linkBox.click{ background:#f5f5f5; color:var(--yx_Color); } .mouse_bac:hover{ background:#f5f5f5; color:var(--yx_Color); } .p_categoryBox .p_linkBox.click .color_assist, .p_categoryBox .p_linkBox.click a{ color:var(--yx_Color); } /*产品内页分类二级样式*/ .yx_PageNav_Con{ position:relative; } .yx_PageNav_Ej{ position: absolute; width: 100%; height: auto; top: 80px; left: 0; opacity: 0; visibility: hidden; z-index: 99; transition: all 0.6s ease; } .yx_PageNav_Con:hover .yx_PageNav_Ej{ top:53px; opacity: 1; visibility: visible; transition:all 0.6s ease; } /*结束*/ /*table样式*/ .yx_Table{ overflow:auto; } table{ background: #f7f7f7 !important; display: block; overflow-x: auto !important; border: 1px solid #eee !important; } table *{ text-align:center !important; } table th{ background:var(--yx_Color) !important; } table th *{ color:#fff !important; } table td{ padding:6px 0; } /*结束*/ input::-webkit-input-placeholder { /* WebKit browsers */ color: #ccc; font-size:14px; } input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #ccc; font-size:14px; } input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #ccc; font-size:14px; } input:-ms-input-placeholder { /* Internet Explorer 10+ */ color: #ccc; font-size:14px; } /*页面滚动条*/ html::-webkit-scrollbar { width: 3px; height: 3px; background-color: #ddd; } html::-webkit-scrollbar-track { border-radius: 0; background-color: #ddd; } html::-webkit-scrollbar-thumb { border-radius: 0; width: 17px; height: 17px; background-color:var(--yx_Color)} /*结束*/ @media only screen and (min-width:769px) { .yx_List4 { display: block; width: calc((100% - 60px) / 4); margin-right: 20px; margin-bottom: 20px; } .yx_List4:nth-child(4n) { margin-right: 0; } .yx_List3 { display: block; width: calc((100% - 60px) / 3); margin-right: 30px; margin-bottom: 30px; } .yx_List3:nth-child(3n) { margin-right: 0; } .p_problemCategory{ display:none; } } @media only screen and (max-width:768px) { .p_problemCategory{ display:block ; } .yx_PageNav_Box{ display:none !important; } .yx_List3 { display: block; width: 100% !important; margin-right: 0px; margin-bottom: 18px; } .yx_List4 { display: block; width: calc((100% - 10px) / 2) !important; margin-right: 10px; margin-bottom: 10px; } .yx_List4:nth-child(2n) { margin-right: 0; } } /*页码*/ .p_PromptNoneData .prompt_title .first, .p_nextBox a:hover{ color:#000!important } .p_pagebox .next, .p_pagebox .pre, .p_page .next:hover, .p_page .pre:hover, .p_page .pageNum:hover, .p_page .pageNum.active{ background-color: #060606 !important; color: #fff!important; border-color:#060606!important; } .p_pagebox .js_pageBtnDisable, .p_pagebox .js_pageBtnDisable:hover, .p_pagebox .js_pageBtnDisable:active{ background: #f5f5f5!important; border-color: #d9d9d9!important; color: #bfbfbf!important; cursor: default; } /*页码结束*/ .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: #060606; } .btn-primary{ color: #fff; background-color: #43100b !important; border-color: var(--yx_ColorTwo) !important; border-radius: 0px; width: 100%; line-height:30px; } .btn-primary:hover{ color: #fff; background-color: var(--yx_Color) !important; border-color: var(--yx_Color) !important; border-radius: 0px; width: 100%; line-height:30px; } .e_FlowCommonStyleBox-001 .stylebox_title{ color:var(--yx_Color); background:#f5f5f5; padding: 8px 0; text-align: center; } .e_FlowCommonStyleBox-001 .stylebox_top{ color:var(--yx_Color); background:#f5f5f5; height:auto; text-align:center; } .color_info{ color:var(--yx_Color); } .e_FlowCommonStyleBox-001 .title_main{ color: #2a2a2a; font-weight: bold !important; text-align: center; font-size: var(--yx_FSFour) !important; } .e_FlowCommonStyleBox-001 .stylebox_content{ margin-top: var(--yx_FSSix); border: none; } .e_FlowCommonStyleBox-001 .stylebox_bottom_line{ border-width:0px; display:none; } /*pad*/ @media only screen and (max-width:1440px) and (min-width:1025px){ :root{ --yx_FS_BannerBig:54px; } } @media only screen and (max-width:1024px) and (min-width:769px){ :root{ --yx_FS_BannerBig:45px; --yx_FSOne: 32px; --yx_FSTwo: 28px; --yx_FSThree:22px; --yx_FSFour: 18px; --yx_FSFive: 16px; --yx_FSSix: 18px; } } /*phone*/ @media only screen and (max-width:768px){ :root{ --yx_FS_BannerBig:38px; --yx_FSOne: 30px; --yx_FSTwo: 24px; --yx_FSThree:20px; --yx_FSFour: 18px; --yx_FSFive: 16px; --yx_FSSix: 18px; } }