/*css 初始化 */ @charset "utf-8"; /* CSS Document */ div { /*margin: 0 auto*/ } * { margin: 0; padding: 0; border: 0; list-style: none; } * { font-family: Microsoft YaHei, iconfont !important; } body { font: 12px Microsoft YaHei, SimHei, SimSun, Verdana, Arial, Helvetica, sans-serif; } blockquote, body, button, dd, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, hr, input, legend, li, ol, p, pre, td, textarea, th, ul { margin: 0; padding: 0 } .fy { text-align: center; padding: 20px 0 20px 0; } .fy a { padding: 5px 15px 5px 15px; margin: 0 6px 0 6px; border: 1px solid #ccc; color: #4a4a4a; } .fy a:hover { border: 1px solid #ffca0a; background: #ffca0a; color: #A52A2A; } .fy .cur { border: 1px solid #ffca0a; background: #ffca0a; color: #A52A2A; } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; color: #222 } address, cite, dfn, em, var { font-style: normal } code, kbd, pre, samp { font-family: courier new, courier, monospace } small { font-size: 12px } s ol, ul { list-style: none } a { text-decoration: none; color: #222; } a:hover { text-decoration: none; color: #666; } sup { vertical-align: text-top } sub { vertical-align: text-bottom } legend { color: #000 } fieldset, img { border: 0; } button, input, select, textarea { font-size: 100% } table { border-collapse: collapse; border-spacing: 0 } .clearfix:before, .clearfix:after { display: table; content: ''; line-height: 0; } /*清除浮动*/ .clearfix:after { clear: both; } .clearfix { zoom: 1; } .iconfont { font-family: "iconfont" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; -moz-osx-font-smoothing: grayscale; } .pull-left { float: left; } .pull-right { float: right; } /*top*/ #top { height: 30px; border-bottom: 1px solid #ccc; line-height: 30px; } .top { margin: 0 auto; } .top-left { } .top-right { } .top-right > li { float: left; position: relative; margin-right: 11px; } .top-right > li:after { position: absolute; content: ''; width: 1px; height: 13px; background-color: #ccc; top: 9px; right: -6px; } .top-right > li:last-child:after { display: none; } .header { width: 1200px; height: 120px; margin: 0 auto; } .header_log {} .header_log img { margin-top: 30px; height: 60px; } .header_search {} .header_search form { margin-top: 30px; } .header_search .keyword { margin-top: 5px; font-weight: 700; } .header_search .k2 { color: #000; font-size: 18px; background: url(../images/t.png)no-repeat left center; padding-left: 76px; margin-top: 30px; line-height: 30px; } .header_search .k2 strong { font-size: 22px; font-weight: bold; color: #ef0602; } /*nav*/ .nav-search { border: 1px solid #efefef; width: 275px; height: 30px; margin: 8px 0 0 0; } .nav-search form { height: 30px; width: 275px; position: relative; } .nav-search form select { position: absolute; top: 5px; left: 5px; } .nav-search form input[type=text] { position: absolute; width: 150px; height: 20px; top: 5px; left: 80px; border-left: 1px solid #efefef; } .nav-search form input[type=submit] { background: #A52A2A; width: 40px; height: 30px; color: #fff; position: absolute; right: 0px; } .nav-keyword { position: absolute; right: 0px; bottom: 8px; } .nav-keyword h1 { font-weight: 700; display: inline-block; } #nav { background: #A52A2A; height: 46px; } .nav { width: 1200px; margin: 0 auto; } .nav>li { float: left; width: 140px; line-height: 46px; text-align: center; position: relative; } .nav>li:last-child { background: none; } .nav>li a { color: #fff; display: block; font-size: 14px; } .nav>li.list { position: relative; } .nav>li.list .list_ul { position: absolute; left: 0; display: none; width: 140px; z-index: 9999; } .nav>li.list .list_ul>li { position: relative; background: #efefef; } .nav>li.list .list_ul>li a { color: #555; } .nav>li.list .list_ul>li ul.list_children { position: absolute; z-index: 99999; top: 0px; left: 140px; width: 120px; display: none; } .nav>li.list .list_ul>li ul.list_children li { background: #efefef; position: relative; } .nav>li.list .list_ul>li ul.list_children li a { color: #555; } .nav > li.active{ background: #A52A2A; } /*toproll*/ #toproll { height: 51px; position: relative; z-index: 9999; } .toproll { width: 1200px; height: 51px; position: relative; margin: 0 auto; } .toproll span{ float: left; line-height: 51px; font-weight: bold; } .toproll h1 { float: left; width: 850px; line-height: 51px; } /*顶部新闻滚动*/ .swiper_wrap { position: relative; width: 695px; height: 51px; margin: 0 auto; overflow: hidden; } .swiper_wrap ul { position: relative; top: 0; left: 0; width: 695px; float: right; color: #fff; font-size: 14px; margin-top: 1px; } .swiper_wrap ul li { line-height: 51px; padding-left: 24px; } .swiper_wrap .lt { position: absolute; left: -1px; top: 7px; font-family: "宋体"; font-weight: bold; color: #AAAAAA; } .swiper_wrap .gt { position: absolute; right: 26px; top: 7px; font-family: "宋体"; font-weight: bold; color: #AAAAAA; } .swiper_wrap .font_inner a { color: #fff; } .swiper_wrap a:hover { color: #FA9101; } /*banner*/ #banner { min-width: 1200px; position: relative; } /*标题样式*/ .box-title { position: relative; } .box-title:before, .box-title:after { content: ''; position: absolute; } /*首页主体*/ #index { width: 1200px; margin: 50px auto; } /*首页关于我们*/ #index-about { width: 650px; height: 250px; border: 1px solid #ccc; margin-bottom: 20px; } .index-about-title { height: 40px; } .index-about-title:before { width: 3px; height: 20px; top: 10px; left: 8px; background: #A52A2A; } .index-about-title:after { width: 630px; height: 1px; top: 45px; left: 10px; background: #eee; } h2.index-about-h2 { line-height: 40px; font-size: 17px; font-weight: 700; display: inline-block; margin-left: 20px; } h3.index-about-h3 { line-height: 40px; font-size: 14px; display: inline-block; } .index-about-contact { padding: 20px; } .index-about-text { width: 350px; } .index-about-img { width: 250px; } /*首页联系我们*/ #index-connect { width: 530px; border: 1px solid #ccc; height: 250px; margin-bottom: 20px; } .index-connect-title { height: 40px; } .index-connect-title:before { width: 3px; height: 20px; top: 10px; left: 8px; background: #A52A2A; } .index-connect-title:after { width: 510px; height: 1px; top: 45px; left: 10px; background: #eee; } h2.index-connect-h2 { line-height: 40px; font-size: 17px; font-weight: 700; display: inline-block; margin-left: 20px; } h3.index-connect-h3 { line-height: 40px; font-size: 14px; display: inline-block; } .index-connect-contact { padding: 20px; } /*首页新闻*/ #index-cnew, #index-inew { width: 590px; /*border: 1px solid #ccc;*/ height: 500px; margin-bottom: 20px; } .index-cnew-one { padding: 20px 20px 2px 20px; position: relative;height:66px; } .index-cnew-one-img { position: absolute; width: 75px; height: 75px; } .index-cnew-one h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; margin-left: 85px; } .index-cnew-one span { margin-left: 85px; display: block; } .index-new-title { height: 40px; } .index-new-title:before { width: 3px; height: 20px; top: 10px; left: 8px; background: #A52A2A; } .index-new-title:after { width: 570px; height: 1px; top: 45px; left: 10px; background: #eee; } h2.index-new-h2 { line-height: 40px; font-size: 17px; font-weight: 700; display: inline-block; margin-left: 20px; } h3.index-new-h3 { line-height: 40px; font-size: 14px; display: inline-block; } .index-new-list { padding: 20px; } .index-new-list > li { height: 29px; border-bottom: 1px dashed #ccc; } .index-new-list > li:last-child { border: none; } .index-new-list > li > a { display: inline-block; line-height: 29px; } .index-new-list > li > span { float: right; display: inline-block; line-height: 29px; } /*首页展品展示*/ #index-product { height: 300px; border: 1px solid #ccc; margin-bottom: 20px; } .index-product-title { height: 40px; } .index-product-title:before { width: 3px; height: 20px; top: 10px; left: 8px; background: #A52A2A; } .index-product-title:after { width: 1180px; height: 1px; top: 45px; left: 10px; background: #eee; } h2.index-product-h2 { line-height: 40px; font-size: 17px; font-weight: 700; display: inline-block; margin-left: 20px; } h3.index-product-h3 { line-height: 40px; font-size: 14px; display: inline-block; } .index-product-sort { padding: 20px; width: 200px; position: relative; } .index-product-sort:after { position: absolute; content: ''; width: 1px; height: 230px; background: #ccc; top: 18px; right: 0; } .index-product-sort > li { height: 40px; margin: 10px 0px; position: relative; } .index-product-sort > li > a { display: block; text-align: center; line-height: 40px; font-size: 14px; background: #efefef; } .index-product-sort > li > a:hover { background: #A52A2A; font-size: 15px; color: #fff; } .index-product-scroll { padding: 20px; width: 918px; } .index-product-scroll-title { text-align: center; line-height: 24px; } /*首页案例展示*/ #index-case { /*border: 1px solid #ccc;*/ margin-bottom: 20px; } .index-case-title { height: 40px; } .index-case-title:before { width: 3px; height: 20px; top: 10px; left: 8px; background: #A52A2A; } .index-case-title:after { width: 1180px; height: 1px; top: 45px; left: 10px; background: #eee; } h2.index-case-h2 { line-height: 40px; font-size: 17px; font-weight: 700; display: inline-block; margin-left: 20px; } h3.index-case-h3 { line-height: 40px; font-size: 14px; display: inline-block; } .index-case-scroll { padding: 20px; } /*首页友情链接*/ #index-link { border: 1px solid #ccc; margin-bottom: 20px; } .index-link-title { height: 40px; } .index-link-title:before { width: 3px; height: 20px; top: 10px; left: 8px; background: #A52A2A; } .index-link-title:after { width: 1180px; height: 1px; top: 45px; left: 10px; background: #eee; } h2.index-link-h2 { line-height: 40px; font-size: 17px; font-weight: 700; display: inline-block; margin-left: 20px; } h3.index-link-h3 { line-height: 40px; font-size: 14px; display: inline-block; } .index-link-list { padding: 20px; } .index-link-list > li { display: inline-block; height: 30px; border-bottom: 1px dashed #ccc; margin: 0 10px; } .index-link-list > li > a { display: block; line-height: 30px; font-size: 12px; } .index-link-list > li > a img { width: 16px; height: 16px; margin: 7px; margin-right: 12px; } .index-link-list > li > a h4 { display: inline-block; } /*底部*/ .footer { width: 1200px; margin: 0px auto; } .footer-nav { background: #333; padding: 10px; border-radius: 5px; width: 720px; margin: 0 auto; } .footer-nav li { width: 100px; display: inline-block; margin: 0 8px; position: relative; } .footer-nav li:after { position: absolute; content: ''; width: 1px; height: 10px; background: #fff; top: 4px; right: -10px; } .footer-nav li:last-child:after { display: none; } .footer-nav > li > a { display: block; text-align: center; color: #fff; } /*关于我们页面*/ #page-about { width: 1200px; margin: 20px auto; } .page-about-left { width: 300px; } .left-box { border: 1px solid #efefef; margin-bottom: 15px; } .left-box:last-child { margin-bottom: 0px; } .left-box h2 { margin-bottom: 15px; position: relative; text-align: center; background: #A52A2A; color: #fff; font: 400 20px/50px "微软雅黑"; } .left-box ul { padding: 0 10px 10px 10px; } .left-box ul > li { border-bottom: 1px dashed #efefef; line-height: 45px; height: 45px; overflow: hidden; } .left-box ul > li a{ overflow: hidden; font-size: 14px; color: #222; background: url(../images/about_li1.png) no-repeat 15px center; padding: 0 15px 0 40px; } .left-box ul > li a:hover{ color: #666666;} .left-box-content p{font-size: 14px;line-height: 2em;padding-left: 20px;} .contentr { float: right; width: 880px; height: 50px; line-height: 50px; margin-bottom: 35px; background: #f7f7f7; border-bottom: 2px solid #A52A2A; } .contentr h2 { float: left; color: #fff; font-size: 18px; font-weight: bold; padding: 0 10px; background: #A52A2A; } .contentr span { float: right; font-size: 13px; padding-right: 18px; } .page-about-right { width: 880px; position: relative; } .page-about-right-title { font-size: 20px; font-weight: 700; padding: 20px; position: relative; } .page-about-right-title:before { position: absolute; content: ''; width: 3px; height: 16px; top: 27px; left: 0px; background: #A52A2A; } .page-frame { position: absolute; right: 0px; top: 25px; background: #f6f6f6; padding: 5px 10px; border-radius: 5px; } .page-frame li { float: left; margin-right: 15px; position: relative; } .page-frame li:after { position: absolute; content: ''; background: url(../images/frame.png) no-repeat 50%; width: 15px; height: 15px; background-size: 15px; top: 1px; right: -15px; } .page-frame li:last-child { margin-right: 0px; } .page-frame li:last-child:after { display: none; } .page-content p{font-size: 16px;line-height: 28px;} /*在线留言表单*/ .message-box { margin-bottom: 15px; } .message-box h3 { font-size: 17px; font-weight: 700; /* text-indent: 20px; */ position: relative; padding-bottom: 12px; margin-bottom: 15px; } .message-box h3:before { content: ''; position: absolute; top: 27px; left: 0px; width: 100px; height: 2px; background: #A52A2A; } .message-form { } .form-group { margin-bottom: 15px; } .form-group label { display: inline-block; font-size: 14px; width: 100px; } .form-group input, .form-group textarea { border-radius: 3px; border: 1px solid #ccc; padding: 5px; width: 50%; } .message-form button { width: 100px; height: 30px; } /*产品分类页面*/ #sort-product { width: 1200px; margin: 20px auto; } .sort-product-left { width: 300px; } .sort-product-right { width: 880px; position: relative; } .sort-product-list1 li{float: left;border-bottom: 1px solid #dedede;margin-bottom: 20px;min-height: 150px;width: 100%;} .sort-product-list1 li img{width:200px;height:130px;float: left;margin-right: 20px;} .sort-product-list1 li h3{font-size: 16px;} .sort-product-list1 li p{line-height:28px;} .sort-product-list li img { max-width: 100%; height:265px; } .sort-product-list li { display: inline-block; width: 267px; margin: 10px 12px; float: left;border: 1px solid #dedede; box-shadow: 2px 2px 2px #efefef; } .sort-product-list li a { display: block; text-align: center; } .sort-product-list li a h3 { text-align: center; line-height: 40px; } .sort-new-list { } .sort-new-list li { border-bottom: 1px dashed #efefef; padding: 10px 5px; } .sort-new-list li a { display: block; position: relative; } .sort-new-list li a img { width: 120px; height: 100px; } .sort-new-list li a h3 { position: absolute; top: 0px; left: 130px; font-size: 14px; font-weight: 700; } .sort-new-list li a span { position: relative; color: #888; float: right;margin-right: 20px; } .sort-new-list li a p { position: absolute; top: 30px; left: 130px; line-height: 25px; } /*分页*/ .pagination { border-radius: 5px; padding: 5px; margin-top: 15px; margin-bottom: 20px; text-align: center; } .pagination li { display: inline-block; font-size: 14px; border: 1px solid #bdbdbd; width: 75px; height: 26px; line-height: 26px; text-align: center; border-radius: 5px; } .pagination li a { display: block; color: #A52A2A; } .pagination li.active{ background-color: #A52A2A; color: #fff;} /*相关信息*/ .ln-box { margin-top: 20px; margin-bottom: 20px; } .ln-box h3 { font-size: 17px; font-weight: 700; /* text-indent: 20px; */ position: relative; padding-bottom: 12px; } .ln-box h3:before { content: ''; position: absolute; top: 27px; left: 0px; width: 100px; height: 2px; background: #A52A2A; } .ln-box ul { } .ln-box ul li { border-bottom: 1px dashed #efefef; width: 50%; float: left; } .ln-box ul li a { display: block; line-height: 30px; } /*产品详情*/ #info-product { width: 1200px; margin: 20px auto; } .info-product-left { width: 300px; } .info-product-right { width: 880px; position: relative; } ..info-product-right img{max-width: 100% !important;} .info-content img{max-width: 100%} #info-product-image { width: 400px; margin: 0 auto; } .info-parameter { margin: 10px 0; height: 30px; padding: 0 10px; line-height: 30px;font-size: 14px; display: inline-block; } .info-content p { font-size: 14px; line-height: 20px; } /*相邻详细信息*/ .info-siblings { margin: 15px 0; border-top: 1px dashed #efefef; } .info-siblings li { display: inline-block; line-height: 30px; } .info-siblings li:first-child { margin-right: 20px; } /*网站导航*/ #map { width: 1200px; margin: 20px auto; } #map li { display: inline-block; margin: 5px; padding: 5px 8px; background: #efefef; }