.home {
    /* border: 2px red solid; */
    font-family: Microsoft YaHei;

    /* position: relative; */
}


/* 轮播图 */
  .banner{
    width: 100vw;
    height: 20vh;
    overflow: hidden;

}
.slider{
    width: 300vw;
    height: 20vh;
    display: flex;
    animation-name: banner;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.banner .slider img{
    width:100vw;
    height: 20vh;
}

@keyframes banner{
    0%{
        transform: translate(0,0);
    }
    20%{
        transform: translate(0,0);
    }
    40%{
        transform: translate(-100vw,0);
    }
    60%{
        transform: translate(-100vw,0);
    }
    80%{
        transform: translate(-200vw,0);
    }
    100%{
        transform: translate(-200vw,0);
    }

} 



.line {
    width: 100%;
    height: 12px;
    background-color: #eee;
}

.tongzhi {
    width: 100%;
    height: 46px;
    /* background-color: red; */
    font-size: 14px;
    font-fami0y: Source Han Sans CN;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* 滚动效果 */

}

/* 通知栏滚动效果 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.tongzhi .sp {
    display: block;
    /* width: 80%; */
    animation: scroll 5s linear infinite;

}

.tongzhi .img {
    width: 6%;
    height: 100%;
    /* background-color: red; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tongzhi .img img {
    width: 80%;
    height: 16px;
}

.tongzhi .more {
    /* background-color: red; */
    display: block;
    width: 15%;
    color: #00A893;
    text-align: center;
    line-height: 15px;
}

.news {
    width: 100%;
    /* height: 550px; */
    /* background-color: red; */
    font-size: 13px;
}

.top {
    font-weight: 600;
    width: 100%;
    height: 68px;
    font-size: 18px;
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.top span {
    display: block;
    margin: 0 10px;
}

.top img {
    width: 24px;
    height: 10px;
}

.news .box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.news .box .one {
    width: 42%;
    height: 190px;
    /* background-color: blueviolet; */
    margin-bottom: 20px;
}


.news .box .one img {
    width: 100%;
}

.news .box .one .font {
	height: 86px;
    font-size: 12px;
    padding: 10px;
    font-family: Microsoft YaHei;
    color: #000000;
    box-shadow: 1px 1px 16px 2px rgba(134, 134, 134, 0.24);
}

.news .box .one .font .xq {
    font-weight: 600;
}

.news .box .one .font .time {
    display: block;
    font-size: 11px;
    opacity: 0.8;
    line-height: 18px;
}

.btn {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}

button {
    background-color: white;
    width: 130px;
    height: 40px;
    border: 1px solid #B3B3B3;
    border-radius: 60px;
    font-size: 12px;
    color: #000000;
    line-height: 40px;
    opacity: 0.8;
}

.threeBox {
    width: 100%;
    height: 240px;
    /* background-color: red; */
}

.threeBox .content {
    font-size: 11px;
    width: 100%;
    /* background-color: chartreuse; */
    display: flex;
    justify-content: space-evenly;
}

.threeBox .content .item {
    width: 30%;
    height: 160px;
    /* background-color: pink; */
}

.threeBox .content .item .title {
    width: 200px;
    /* text-align: center; */
    color: #3C3C3C;

}

.threeBox .content .item .title span {
    color: #00A893;
    font-size: 13px;
}

.threeBox .content .item .pic {
    margin-top: 20px;
    position: relative;
}

.threeBox .content .item .pic img {
    width: 100%;
}

.threeBox .content .item .pic .bg {
    font-size: 12px;
    color: white !important;
    text-align: center;
    opacity: 0.8;
}

.threeBox .content .item .pic .bg::after {
    content: '陆上电风';
    width: 112px;
    height: 20px;
    background: #000000;
    background: rgba(100, 100, 100, 0.5);
    border-radius: 0px 0px 10px 10px;
    position: absolute;
    left: 0;
    bottom: 16px;
}

.threeBox .content .item .pic .bg1::after {
    content: '集中式光伏';
    bottom: 0;
}

.threeBox .content .item .pic .bg2::after {
    content: '分布式光伏';
    bottom: 0;
}

.fourBox {
    width: 100%;
    /* height: 260px; */
    /* background-color: red; */
    position: relative;
}

.fourBox .itemBox {
    width:100%;
    overflow: hidden;
    /* display: flex;
    justify-content: space-evenly; */
}

.fourBox .itemBox .oneItem {
    /* position: relative; */
    /* width:200%; */
    /* background-color: aqua; */
    display: flex;
    transition: transform 0.5s ease;
}

.fourBox .itemBox .oneItem img {
    width: 45%;
    margin-left:5.5%;
    /* height: 116px; */
}

#prev {
    width: 16px;
    height: 40px;
    position: absolute;
    /* left: 5%; */
    /* bottom: 1%; */
}

#next {
    width: 16px;
    height: 40px;
    position: absolute;
    /* right: 2%; */
    /* bottom: 46%; */
}



.fourBox .btn {
    margin-top: 16px;
}
