video { outline: none; } #banner .banner-box { position: relative; height: 100%; overflow: hidden; color: #fff; text-align: center; } #banner .banner-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../upload/banner.jpg) no-repeat center center; background-size: cover; transform: scale(1.5); -webkit-transform: scale(1.5); animation: bannerScale 35s infinite ; -webkit-animation: bannerScale 35s infinite linear; } @keyframes bannerScale { 0% { transform: scale(1.5); -webkit-transform: scale(1.5); } 50% { transform: scale(1); -webkit-transform: scale(1); } 100% { transform: scale(1.5); -webkit-transform: scale(1.5); } } @-webkit-keyframes bannerScale { 0% { transform: scale(1.5); -webkit-transform: scale(1.5); } 50% { transform: scale(1); -webkit-transform: scale(1); } 100% { transform: scale(1.5); -webkit-transform: scale(1.5); } } .banner-box .pos { position: absolute; z-index: 2; } .banner-box .title { font-size: 40px; width: 100%; letter-spacing: .2em; } .banner-box .desc { font-size: 50px; width: 100%; letter-spacing: .1em; } .banner-box .border { width: 600px; height: 25px; font-size: 20px; /*background: #fff;*/ top: 50%; left: 50%; margin-left: -300px; margin-top: -12px; /*border-radius: 2px;*/ } #stack { height: 760px; margin-top: 140px; } #stack .wrapper { height: 100%; } #stack .left-block { float: left; width: calc(60% - 10px); height: 100%; } #stack .left-block .block { height: calc(50% - 5px); } #stack .left-block .top-block { margin-bottom: 10px; } #stack .left-block .block .node { height: 100%; width: calc(50% - 5px); float: left; } #stack .right-node { float: right!important; } #stack .right-block { float: right; width: 40%; height: 100%; } #stack .scale-animate { width: 100%; height: 100%; } .stack-box { position: relative; } .stack-box .stack-cont { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; font-size: 40px; color: #fff; text-align: center; } .stack-cont .text { text-align: center; height: 80px; position: absolute; top: 50%; margin-top: -40px; width: 100%; letter-spacing: .1em; } .stack-cont .text .border { width: 70px; height: 4px; border-radius: 2px; background-color: #fff; margin: 15px auto 0; } #group { height: 760px; } #group .wrapper { height: 100%; } #group .group-grid{ margin-left: -10px; height: 100%; } #group .grid-item { width: calc((100% - 30px) / 3); height: calc(50% - 10px); float: left; margin-left: 10px; margin-bottom: 10px; } #group .grid-item .grid-item-box { width: 100%; height: 100%; } .grid-item-box .cont { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.5); color: #fff; text-align: center; padding: 15px 0; font-size: 20px; } #news { margin-bottom: 20px; } #news .wrapper { height: 100%; } #news .news-box::after { content: ''; display: block; overflow: hidden; clear: both; } #news .l-box { width: 780px; height: 688px; float: left; } #news .r-box { width: calc(100% - 780px); float: left; } #news-swipe { overflow: hidden; visibility: hidden; position: relative; height: 100%; } #news-swipe .img-box { font-size: 0; width: 780px; height: 496px; } #news-swipe .img-box img { width: 100%; height: 100%; } #news-swipe .con-box { padding: 26px 30px; background-color: #f2f2f2; } #news-swipe .con-box .title { font-size: 24px; color: #444444; font-weight: bold; margin-bottom: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #news-swipe .con-box .desc { font-size: 15px; color: #999999; line-height: 30px; height: 60px; overflow: hidden; } #news .news-list li { padding-left: 40px; background-color: #fff; transition: all .3s linear; overflow: hidden; } #news .news-list li.on { /* background: url(../images/new-bg.png) repeat; */ /* background-size: cover; */ background-color: #444; } #news .news-list li.on .box { border: 0; } #news .news-list .box { padding: 35px 0 25px 0; border-bottom: 2px solid #ddd; padding-right: 160px; position: relative; } #news .news-list li .time-box { position: absolute; width: 120px; top: 0; bottom: 0; right: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; } #news .news-list li .time-box .date { font-size: 35px; color: #838383; margin-bottom: 15px; } #news .news-list li .time-box .year { font-size: 15px; color: #838383; } #news .news-list li .title { font-size: 20px; color: #444444; margin-bottom: 12px; transition: all .3s linear; } #news .news-list li.on .title { font-weight: bold; } #news .news-list li.on .title, #news .news-list li.on .time-box .date, #news .news-list li.on .time-box .year { color: #fff; } #news .news-list li .desc { font-size: 15px; line-height: 30px; height: 30px; color: #AAAAAA; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all .3s linear; } #news .news-list li.on .desc { height: 64px; white-space: normal; } #news .news-list li.on .click-num { margin-top: 15px; height: 20px; } #news .news-list li .click-num { margin-top: 0px; height: 0px; overflow: hidden; line-height: 20px; padding-left: 30px; font-size: 13px; color: #c2c2c2; background: url(../images/news_click_num.png) center left no-repeat; background-size: auto 100%; transition: all .3s linear; } #map-box { /* padding-top: 80px; */ position: relative; margin-bottom: 45px; /* background-color: #000; */ } #map-box .map-pos { position: absolute; height: 280px; border-top: 20px solid #000; width: 300px; background: #fff; top: 50px; right: 50px; z-index: 2; } #map-box .map-pos .padding { height: 180px; width: 250px; margin: 50px auto; } #map-box .map-pos .title { font-size: 25px; font-weight: bold; } #map-box .map-pos .info { padding-top: 20px; line-height: 1.5em; color: #666; } #map-box .map-pos .info p { padding-bottom: 5px; } #map { height: 400px; } .vido-box { cursor: pointer; } .vido-box .stack-cont img { position: absolute; top: 50%; margin-top: -64px; left: 50%; margin-left: -64px; } .video-dialog { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(125, 125, 125, .7); z-index: 3; } .video-dialog .video-cont { position: absolute; background: #fff; left: 20px; right: 20px; top: 20px; bottom: 20px; max-width: 1000px; max-height: 500px; border-radius: 5px; margin:auto; padding: 20px; } .video-dialog .video-cont .close { position: absolute; z-index: 2; /* width: 50px; */ font-size: 15px; text-align: center; top: 5px; right: 5px; padding: 5px 10px; background: rgba(125, 125, 125, .6); cursor: pointer; color: #fff; border-radius: 5px; } @media screen and (max-width: 1400px) { #stack, #group { height: 665px; } #news .l-box, #news #news-swipe .img-box { width: 700px; } #news .l-box { height: auto; } #news #news-swipe .img-box { height: 441px; } #news .r-box { width: calc(100% - 700px); } #news .news-list .box { padding-top: 29px; padding-bottom: 20px; } } @media screen and (max-width: 1200px) { #stack, #group { height: 570px; } #news .l-box, #news #news-swipe .img-box { width: 600px; } #news #news-swipe .img-box { height: 376px; } #news .r-box { width: calc(100% - 600px); } #news .news-list .box { padding-top: 23px; padding-bottom: 13px; } } @media screen and (max-width: 1000px) { #news .l-box, #news #news-swipe .img-box { width: 500px; } #news #news-swipe .img-box { height: 311px; } #news .r-box { width: calc(100% - 500px); } #news .news-list li { padding-left: 20px; } #news .news-list .box { padding-top: 14px; padding-bottom: 9px; } } @media screen and (max-width: 750px) { #stack, #group { height: auto; } #stack .left-block { width: 100%; float: none; height: 400px; } #stack .right-block { width: 100%; float: none; height: 200px; margin-top: 10px; } #group .grid-item { height: 300px; width: calc((100% - 20px) / 2); } #news .l-box, #news .r-box, #news #news-swipe .img-box { width: 100% !important; float: none; } #news #news-swipe .img-box { height: 250px; } #news #news-swipe .img-box img { height: 100%; } #news .r-box { width: calc(100% - 500px); } #news .news-list li { padding-left: 20px; } #news .news-list .box { padding-top: 13px; padding-bottom: 9px; } #map-box { display: none; } .vido-box .mark-bg img { width: 80px; height: 80px; margin-top: -40px; margin-left: -40px; } } @media screen and (max-width: 440px) { #stack .stack-cont .text { font-size: 20px; height: 40px; margin-top: -20px; } #banner { display: none; } #stack { margin-top: 15px; } #group .group-grid { margin-left: 0; } #group .grid-item { height: 150px; width: 100%; margin-left: 0; } #news-swipe .con-box .title { font-size: 18px; margin-bottom: 10px; } #news .news-list li .title { font-size: 15px; } #news-swipe .con-box { padding: 15px; } #news .news-list li .time-box { width: 80px; } #news .news-list .box { padding-right: 80px; } #news .news-list li .time-box .date { font-size: 25px; } .grid-item-box .cont { font-size: 15px; } .vido-box .mark-bg img { width: 64px; height: 64px; margin-top: -32px; margin-left: -32px; } }