@charset "utf-8"; #banner { width: 100%; min-width: 1200px; height: 150px; position: relative; } #banner .banner-con .mainBox { padding-top: 30px; text-shadow: 0 0 15px rgba(100,32,39,.3); } #main { position: relative; z-index: 1; } #main .mainBox{ padding:0px 0; overflow:hidden; } .leftBox{ float: right; width: 960px; } /* 图文页面 */ .page-1{ padding: 20px; background:#fff; border:1px solid #eee; margin-bottom:30px; } #main .title { margin-bottom: .4rem; } #main .title h1 { color: #e52027; font-size: .3rem; padding-bottom: .1rem; text-transform: uppercase; } #main .title span { width: .3rem; display: block; height: 3px; background-color: #e52027; } #main .about { overflow: hidden; } #main .about .box { padding: 0; font-size: 16px; color: #4c4c4c; line-height: 1.6em; } #main .about .box p { margin-bottom: 1em; /* text-indent: 2em; */ } #main .about .box .con { padding-bottom: .7rem; } #main .about .box .pic { float: right; padding-top: 6px; padding-left: 20px; text-indent: 0; } /* 新闻列表 */ .page-2{ padding: 10px 20px ; background:#fff; border:1px solid #eee; margin-bottom:30px; } #main .newsBlock{ padding: 0; } #main .newsList{ overflow: hidden; border-bottom: 1px dotted #ccc; padding: 20px 0; -webkit-transition: all 0.2s ease-in; -moz-transition: all 0.2s ease-in; transition: all 0.2s ease-in; } #main .newsList:hover{ background: #FFFFFF; /* box-shadow: 0 0 30px rgba(89,115,115,0.15); */ } #main .newsList a{ display: block; overflow: hidden; } #main .newsList .productPic{ float: right; line-height: 0; margin-left: 20px; width: 200px; } #main .newsList .productPic img{ width: 100%; background-position: center; background-size: cover; } #main .newsList .deta{ float: left; width: 150px; font-size: 16px; letter-spacing:1px; color: #000; } #main .newsList .deta .line{ width: 15px; height: 2px; background-color: #333; display: block; margin-top:3px; } #main .newsList a:hover .deta .line{ background-color: #0e6eb8; } #main .newsList .newsCon{ overflow: hidden; } #main .newsList .newsCon h1{ font-size: 18px; margin-bottom: 15px; letter-spacing:1px; } #main .newsList .newsCon .describe{ color: #888; letter-spacing:0.5px; } /* 图片列表 */ .page-3{ padding: 0px; background:#fff; margin-top: -20px; } #main .picBlock{ padding: 0; margin: 20px -10px; } #main .picBlock .list{ display: inline-block; vertical-align: top; width:300px; margin: 0 10px 30px; background: #fff; position: relative;} #main .picBlock .list img{ display: block; width: 100%; background-size: cover;} #main .picBlock .list h2{padding: 10px 0; font-size:16px; font-weight: normal; text-align: center;} /* 视频列表 */ .page-4{ padding: 0px; background:#fff; margin-top: -20px; } #main .videoBlock{ padding: 0; margin: 20px -10px; } #main .videoBlock .list{ display: block; float: left; width:460px; margin: 0 10px 30px; background: #fff; position: relative;} #main .videoBlock .list .play_video{position: relative;} #main .videoBlock .list .icon{ text-indent: -999em; opacity: 0; display: block; position: absolute; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6) url(../img/play.png) no-repeat center center; background-size: 60px; transition: all 0.2s ease-out; } #main .videoBlock .list:hover .icon{opacity: 1;} #main .videoBlock .list img{ display: block; width: 100%; height: 260px;} #main .videoBlock .list video{width: 100%; position: absolute; top: 0;} #main .videoBlock .list h2{padding: 10px 0; font-size:16px; font-weight: normal;} /* 产品列表 */ .page-5{ float: right; width: 940px; padding: 0px; background:#fff; margin-top: -20px; } #main .proBlock{padding: 20px 0 .5rem 0; line-height: 1.8em; margin: 0 -10px; overflow: hidden; } #main .proBlock .list{ display: block; width: 33.3%; position: relative; float: left; margin-bottom: .2rem;} #main .proBlock .list .con{ display: block; position: relative; z-index: 0; margin: 0 10px;} #main .proBlock .list .pic{ position: relative; transition: all 0.2s ease-in-out;} /* #main .proBlock .list:hover .pic{transform:scale(1.05)} */ #main .proBlock .list .pic img{ display: block; width: 100%; background-size: cover;} #main .proBlock .list .pic div{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(0,0,0,.5); transition: all 0.2s ease-in-out; opacity: 0;} #main .proBlock .list:hover .pic div{ opacity: 1;} #main .proBlock .list .pic span{ position: absolute; width: 120px; height: 32px; font-size: 12px; border-radius: 20px; text-align: center; background-color: #fff; color: #e52027; line-height: 32px; left: 50%; top: 50%; margin: -16px 0 0 -60px;} #main .proBlock .list .t{ padding-top: 10px; text-align: center; height: 3em;} #main .proBlock .list h1{ font-size: 16px; font-weight: normal; height: 3em;} #main .proBlock .list i{ display: block; font-size: 14px; line-height: 34px; color: #888; font-style: normal;} @media screen and (max-width: 768px) { #banner { width: 100%; min-width: 100%; height: 26vw; min-height: 26vw; position: relative; } #banner .banner-con .mainBox { padding-top: 25px; text-shadow: 0 0 15px rgba(0, 82, 174, .5); } #main { position: relative; z-index: 1; } #main .mainBox{ padding:0px 0; overflow:hidden; } .leftBox{ float: none; width: 100%; } /* 图文页面 */ .page-1{ padding: 15px; background:#fff; border: 0; margin-bottom:0px; } #main .title { margin-bottom: 20px; } #main .title h1 { color: #e52027; font-size: 20px; padding-bottom: 5px; text-transform: uppercase; } #main .title span { width: 15px; display: block; height: 3px; background-color: #e52027; } #main .about { overflow: hidden; } #main .about .box { padding: 0; font-size: 16px; color: #4c4c4c; line-height: 1.6em; } #main .about .box p { margin-bottom: 1em; /* text-indent: 2em; */ } #main .about .box .con { padding-bottom: .7rem; } #main .about .box .con img{ width: 100%; } #main .about .box .pic { float: none; padding-top: 6px; padding-left: 0; text-indent: 0; margin-left: 0px; } #main .about .box .pic img{ width: 100%; max-width: 100%; } /* 新闻列表 */ .page-2{ padding: 15px ; background:#fff; border:0; margin-bottom:30px; } #main .newsBlock{ padding: 0; } #main .newsList{ overflow: hidden; border-bottom: 1px dotted #ccc; padding: 15px 0; -webkit-transition: all 0.2s ease-in; -moz-transition: all 0.2s ease-in; transition: all 0.2s ease-in; } #main .newsList:hover{ background: #FFFFFF; /* box-shadow: 0 0 30px rgba(89,115,115,0.15); */ } #main .newsList a{ display: block; overflow: hidden; position: relative; } #main .newsList .productPic{ float: right; line-height: 0; margin-left: 10px; width: 120px; } #main .newsList .productPic img{ width: 100%; background-position: center; background-size: cover; } #main .newsList .deta{ position: absolute; bottom: 0; left: 0; float: none; width: 100%; font-size: 12px; letter-spacing:0; color: #888; } #main .newsList .deta .line{ width: 15px; height: 2px; background-color: #333; display: block; margin-top:3px; display: none; } #main .newsList a:hover .deta .line{ background-color: #0e6eb8; } #main .newsList .newsCon{ overflow: hidden; margin-bottom: 1.2em; } #main .newsList .newsCon h1{ font-weight: normal; font-size: 16px; margin-bottom: 0px; letter-spacing:0px; } #main .newsList .newsCon .describe{ color: #888; letter-spacing:0.5px; display: none; } /* 图片列表 */ .page-3{ padding: 15px; background:#fff; margin-top: 0px; } #main .picBlock{ padding: 0; margin: 0px; } #main .picBlock .list{ display: block; float: none; width:100%; margin: 0 0 20px 0; background: #fff; position: relative;} #main .picBlock .list img{ display: block; width: 100%; background-size: cover;} #main .picBlock .list h2{padding: 10px 0; font-size:16px; font-weight: normal; text-align: center;} /* 视频列表 */ .page-4{ padding: 15px; background:#fff; margin-top: 0px; } #main .videoBlock{ padding: 0; margin: 0px; } #main .videoBlock .list{ display: block; float: none; width:100%; margin: 0 0 20px 0; background: #fff; position: relative;} #main .videoBlock .list .play_video{position: relative;} #main .videoBlock .list .icon{ text-indent: -999em; opacity: 0; display: block; position: absolute; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6) url(../img/play.png) no-repeat center center; background-size: 60px; transition: all 0.2s ease-out; } #main .videoBlock .list:hover .icon{opacity: 1;} #main .videoBlock .list img{ display: block; width: 100%; height: 260px;} #main .videoBlock .list video{width: 100%; position: absolute; top: 0;} #main .videoBlock .list h2{padding: 10px 0; font-size:16px; font-weight: normal; text-align: center;} /* 产品列表 */ .page-5{ float: none; width: 100%; padding: 10px 15px; background:#fff; margin-top: 0; } #main .proBlock{padding: 0; line-height: 1.8em; margin: 0 -10px; overflow: hidden; display: flex; flex-wrap: wrap;} #main .proBlock .list{ display: block; width: 50%; position: relative; float: none; margin-bottom: 20px;} #main .proBlock .list .con{ display: block; position: relative; z-index: 0; margin: 0 5px;} #main .proBlock .list .pic{ position: relative; transition: all 0.2s ease-in-out;} #main .proBlock .list:hover .pic{transform:scale(1.05)} #main .proBlock .list .pic img{ display: block; width: 100%; border: 1px solid #f1f1f1; background-size: cover;} #main .proBlock .list .pic div{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(0,0,0,.5); transition: all 0.2s ease-in-out; opacity: 0;} #main .proBlock .list:hover .pic div{ opacity: 1;} #main .proBlock .list .pic span{ position: absolute; width: 120px; height: 32px; font-size: 12px; border-radius: 20px; text-align: center; background-color: #fff; color: #e52027; line-height: 32px; left: 50%; top: 50%; margin: -16px 0 0 -60px;} #main .proBlock .list .t{ padding-top: 10px; text-align: center;} #main .proBlock .list h1{ font-size: 16px; font-weight: normal; height: auto; line-height: 1.3em;} #main .proBlock .list i{ display: block; font-size: 14px; line-height: 34px; color: #888; font-style: normal;} }