* {
    padding: 0;
    margin: 0;
}

body{
    min-width: 100%;
    min-height: 100%;
    font-family: sans-serif;
}
#container{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content:space-between;

}

#header {
    position: relative;
    flex: 1 0 auto;
    width: 100%;
    height: 670px;
}
#header_top{
    position: fixed;
    width: 100%;
    background-color: white;
    z-index: 100;
}
#header_text{
    position: relative;
    top: 70px;
    width: 100%;
    height: 600px;
    background-image: url("https://yj-website.oss-cn-hangzhou.aliyuncs.com/icon/hbgcpage/news.jpg");
    background-position:50% 50%; /*             图片上下左右居中  */
    /*background-size:contain;       !*           保持图像本身的宽高比例，将图片缩放到宽度或高度正好适应定义背景的区域  *!*/
    background-repeat:no-repeat;     /*         图像不重复显示  */
    background-size:cover;       /*          覆盖填充，将图片缩放到宽度或高度正好适应定义背景的区域  */
}

#header_top ul{
    position: relative;
    /*float: bottom;*/
    margin:10px 0px 10px 50px ;
    text-align: center;
}
#header_top ul li{
    font-size: 20px;
    color: black;
    display:inline-block; /*设置元素是否被视为块或者内联元素*/
    padding:10px 20px ; /*元素内填充*/
    height:30px;
    margin:0px 0px 0px -4px ; /*设置所有外边距属性*/
    /*line-height:34px;*/
    cursor:pointer; /*鼠标指针放在一个元素边界范围内时所用的光标形状*/
}

#header_top ul li:hover{
    color: #2387c7;
}
.active{
    border-bottom: #2387c7 2px solid;
}
.icon{
    position: relative; /*相对定位*/
    left: -110px;
    top: 10px;

}
.header_div{
    position: relative;
    display:none;
    width: 100%;

}
.header_div:nth-child(1){
    display:block;
}
#head_div{
    text-align: center;
}
#sywz1{
    position: relative;
    top: 170px;
    left: -300px;
    color: white;
    /*width: 370px;*/
    /*border: 1px solid;*/
    text-align: center;

}

#sywz2{
    position: relative;
    top: 180px;
    left: -200px;
    color: white;
    text-align: center;
}

#sydb{
    position: relative;
    /*bottom: 0px;*/
    top: 325px;
    height: 40px;
    width: 100%;
    background-color: rgba(1 0 0/ 10%);
    text-align: center;  /*文字水平对齐*/
}
#sydb samp{
    color: white;
    position: relative;
    margin:0px 50px 0px 50px;
    bottom: 12px;
}
#sydb img{
    position: relative;
    left: 0px;
    height: 40px;
    width: 70px;
    background-position:50% 50%; /*             图片上下左右居中  */
    /*background-size:contain;       !*           保持图像本身的宽高比例，将图片缩放到宽度或高度正好适应定义背景的区域  *!*/
    background-repeat:no-repeat;     /*         图像不重复显示  */
    background-size:cover;       /*          覆盖填充，将图片缩放到宽度或高度正好适应定义背景的区域  */
}
#homepage{
    position: relative;
    width: 100%;
}
#syhbgc{
    font-family: sans-serif;
    position: relative;
    height: 450px;
    display:block;
    width: 100%;
    text-align: center;
}
#syhbgc img{
    text-align: center;
    position: relative;
    top: 200px;
    left: -190px;
    width: 150px;
    height: 150px;
    margin:0px 30px 0px 20px;
}
#sywz3{
    font-family: sans-serif;
    font-size: 25px;
    color: #2385c6;
    position: relative;
    left: 700px;
    top: -50px;
    z-index: 1;
}
#sywz3:before{
    content: "";
    position: absolute;
    top: 32px;
    left: 30px;
    height: 2px;
    width: 45px;
    background-color: #2485c6;
}
#sywz3:after{
    font-family: sans-serif;
    content: "ENGINEFRING";
    position: absolute;
    top: -15px;
    left: -65px;
    width: 250px;
    color: #ededed;
    size: 30px;
    z-index: -1;
}
#sywz4{
    font-family: sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: black;
    position: relative;
    top: -15px;
    left: 530px;
}
#sywz5{
    text-align: center;
    position: relative;
    font-size: 15px;
    bottom: 80px;
}
#sywz5 samp{
    margin: 0px 80px 0px 50px;
    font-family: sans-serif;
}
#middle_samp{
    position: relative;
    height: 160px;
    text-align: center;
}
#sywz6{
    font-family: sans-serif;
    font-size: 25px;
    top: 70px;
    left: 160px;
    color: white;
    position: relative;
    z-index: 2;
}
#sywz7{
    font-family: sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: white;
    position: relative;
    top: 110px;
    left: -30px;

}
#sywz6:before{
    content: "";
    position: absolute;
    top: 38px;
    left: 35px;
    height: 4px;
    width: 30px;
    background-color: white;
}
#sywz6:after{
    font-family: sans-serif;
    content: "FQUIPMENT";
    position: absolute;
    top: -15px;
    left: -60px;
    width: 200px;
    color: #5398c8;
    size: 30px;
    z-index: -1;
}

#syhbzb{
    text-align: center;
    position: relative;
    height: 920px;
    width: 100%;
    background-image:url(https://yj-website.oss-cn-hangzhou.aliyuncs.com/icon/homepage/sybj2.png);
    background-position:50% 50%; /*             图片上下左右居中  */
    /*background-size:contain;       !*           保持图像本身的宽高比例，将图片缩放到宽度或高度正好适应定义背景的区域  *!*/
    background-repeat:no-repeat;     /*         图像不重复显示  */
    background-size:cover;       /*          覆盖填充，将图片缩放到宽度或高度正好适应定义背景的区域  */

}

#home_img{
    /*display: flex;*/
    margin: 0 auto;
    width: 1200px;
    position: relative;
}

#middle {
    /*flex-shrink:1;*/
    /*flex-grow:1;*/
    width: 100%;
    padding-bottom: 150px;
    flex: 1 0 auto;
}

.img{
    display: inline-block;
    width: 350px;
    height: 300px;
    margin-left: 40px;
    margin-top: 40px;
    background-color: white;
    float: left;
}

.img img {
    width: 100%;
    height: 200px;
    display: block;
}
.desc{
    font-family: sans-serif;
    text-align: left;
    font-size: 15px;
    margin: 10px 20px 10px 15px;
}
.home_ul{
    list-style:none;
    word-wrap: break-word;
    text-align: left;
    margin-left: 10px;
    margin-right: 5px;
}
.home_ul li{
    font-family: sans-serif;
    font-size: 30%;
    color: #999999;
}
#gdcp1{
    float: left;
    background-color: #adcde2;
    width: 150px;
    height: 30px;
    position: relative;
    margin-top: 30px;
    margin-left: 550px;
    opacity: 0.9;
    color: white;
}
#gdcp1{
    font-family: sans-serif;
}
#gdcp1 img{
    position: relative;
    top: 5px;
}
#home_yjzz{
    height: 620px;
    width: 100%;
    position: relative;
    text-align: center;
}
#yjzz{
    position: relative;
    height: 160px;
    text-align: center;
}
#sywz8{
    font-family: sans-serif;
    font-size: 25px;
    top: 70px;
    color: #2485c6;
    position: relative;
    z-index: 1;
}

#sywz8:before{
    content: "";
    position: absolute;
    top: 35px;
    left: 30px;
    height: 4px;
    width: 40px;
    background-color: #2485c6;
}
#sywz8:after{
    font-family: sans-serif;
    content: "QUAl IEICATION";
    position: absolute;
    top: -15px;
    left: -60px;
    width: 200px;
    size: 30px;
    z-index: -1;
    color: #ededed;
}
#home_xwzx{
    text-align: center;
    position: relative;
    height: 620px;
    width: 100%;
    background-color: #eaeaea;
}
#xwzx{
    position: relative;
    height: 160px;
    text-align: center;
}
#sywz9{
    font-family: sans-serif;
    font-size: 25px;
    top: 70px;
    color: #2485c6;
    position: relative;
    z-index: 1;
}
#sywz9:before{
    content: "";
    position: absolute;
    top: 35px;
    left: 30px;
    height: 4px;
    width: 40px;
    background-color: #2485c6;
}
#sywz9:after{
    font-family: sans-serif;
    content: "NEWS CENTER";
    position: absolute;
    top: -15px;
    left: -60px;
    width: 200px;
    size: 30px;
    z-index: -1;
    color: #dbdbdb;
}
#xwzx2{
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    width: 1150px;
    height: 340px;
    background-color:white;
    margin: auto;
}
#xwzx2 div{
    position: relative;
    box-sizing: border-box;
    flex:0 0 20%;
    /*border: 1px solid black;*/
    height: 170px;
}
.xwzx_img{
    width: 100%;
    height: 100%;
}
.xwzx_wz{
    font-weight: bold;
    font-size: 80%;
    position: relative;
    top: 30px;
    width: 200px;
    height: 35px;
    border-bottom: 1px solid #999999;
    margin: auto;
    text-align: left;
}
.xwzx_wz2{
    position: relative;
    top: 40px;
    font-size: 30%;
    color: #999999;
    overflow: hidden;
    margin: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    width: 200px;
    height: 29px;
    text-align: left;
}
#xwzx_wz3{
    font-weight: bold;
    width: 150px;
    height: 80px;
    text-align: left;
    line-height: 30px;
    margin: 50px auto auto;
}
.xwzx_time{
    position: relative;
    top: 60px;
    text-align: left;
    margin: auto;
    width: 200px;
    font-size: 30%;
    color: #999999;
}
#gdcp{
    background-image:url(https://yj-website.oss-cn-hangzhou.aliyuncs.com/icon/homepage/xwzx07.png); /*图片地址*/
    background-position:50% 50%; /*             图片上下左右居中  */
    background-repeat:no-repeat;     /*         图像不重复显示  */
    background-size:cover;       /*          覆盖填充，将图片缩放到宽度或高度正好适应定义背景的区域  */
}
#gdcp_a{
    margin: 120px auto auto;
    color: white;
    position: relative;
}
#gdcp_a img{
    position: relative;
    top: 4px;
    left: 2px;
}
/*轮播图*/
#max{
    position: relative;
    margin: auto 180px auto auto;
    top: 0px;
    left: 210px;
    width: 600px;
    height: 350px;
    /*align-items: center;*/
    border: 3px solid #2387c7;
    border-radius: 10px;
    display: inline-block;
}
.re{
    margin: 20px auto;
    position: relative;
    width: 450px;
    height: 280px;
    border: 3px solid #0000;

}
.re ul{
    /*margin-left: 80px;*/
    /*margin-top: 20px;*/
    list-style-type:none ;
}
.re ul>li{
    width: 450px;
    height: 280px;
    position: absolute;
    transition: 1s;
    opacity: 0;
    color: #5f5f5f;
}
.re ul>li img{
    width: 450px;
    height: 280px;
}

#max ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5,75px);
    grid-template-rows: auto;
    grid-gap: 1em;
    gap: 1em;
    margin-top: 270px;
    list-style: none;
    top:40px;
    left:0;
}
#max ol li {
    width: 80px;
    height: 7px;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    border-radius: 5em;
    border: 1px solid #c7d3ee;
    background-color: #c7d3ee;
}
.rjzz{
    display: inline-block;
    width: 120px;
    margin: auto 30px auto auto;
    background-color: #f3f3f3;
    position: relative;
    left: 120px;
    bottom:200px;
    text-align: center;
    padding-bottom: 25px;
    padding-top: 25px;
}
.rjzz2{
    color: #2387c7;
    font-family: sans-serif;
    font-size: 40px;
}
.rjzz3{
    color: #2387c7;
    font-family: sans-serif;
    font-size: 15px;
}
.rjzz4{
    font-family: sans-serif;
    color: #5f5f5f;
    font-size: 12px;
}
#rjzz_ul{
    text-align: left;
    width: 300px;
    height:300px;
    position: relative;
    display: inline-block;
    right: 320px;
    top: 40px;
    color: #5f5f5f;
}
#rjzz_ul ul>li{
    margin-top: 25px;
}
/*环保工程*/
.hbgc_div{
    font-family: 黑体;
    position: relative;
    margin: 50px auto auto;
    width: 1000px;
    height: 300px;
    background-position:50% 50%; /*             图片上下左右居中  */
    /*background-size:contain;       !*           保持图像本身的宽高比例，将图片缩放到宽度或高度正好适应定义背景的区域  *!*/
    background-repeat:no-repeat;     /*         图像不重复显示  */
    background-size:cover;       /*          覆盖填充，将图片缩放到宽度或高度正好适应定义背景的区域  */
}
#hbgc_div{
    position: relative;
    margin: auto;
    right: 210px;
    top: 50px;
    width: 650px;
    height: 350px;
}
#hbgc_div img{
    width: 100%;
    height: 350px;
}
#hbgc_db{
    position: relative;
    top: 555px;
    height: 40px;
    width: 100%;
    background-color: rgba(1 0 0/ 10%);
    text-align: center;  /*文字水平对齐*/
}

#hbgc_db h5{
    display: inline-block;
    height: 40px;
    color: white;
    position: relative;
    font-size: 20px;
    font-family: sans-serif;
    font-weight: normal;
    padding-right: 38px;
    padding-left: 38px;
    padding-top: 5px;
    border-right: 1px white solid;
    border-left: 1px white solid;
}
.gccd{
    background-color: #5f5f5f;
}
.hbgc_wz{
    position: relative;
    width: 400px;
    height: 250px;
    top: 40px;
    left: 20px;
    text-align: left;
}
.hbgc_wz2{
    position: relative;
    width: 450px;
    height: 250px;
    top: 40px;
    left: 540px;
    text-align: left;

}
.hbgc_cz1{
    text-align: left;
    color: #2387c7;
    font-size: 35px;
    position: relative;
    top: 30px;
}
.hbgc_cz2{
    font-size: 25px;
    line-height: 30px;
    position: relative;
    top: 50px;
    /*margin-left: 5px;*/
}


.jdal{
    text-align: center;
    border: #2387c7 1px solid;
    border-radius: 7px;
    display: inline-block;
    color: #2387c7;
    padding: 5px 10px;
}
#Cun_div{
    position: relative;
    top: 50px;
    margin:auto;
    width: 100%;
    height: 150px;
}
#Cun_div h2{
    text-align: center;

}
#Cun_div h4{
    margin-top: 10px;
    color: #999999;
    text-align: center;
}
.Cun_img{
    position: relative;
    margin: auto;
    width: 1030px;

}
.Cun_ic{
    /*text-align: center;*/
    /*display: inline-block;*/
    margin: 20px 20px 20px 20px;
    /*margin-left: 5px;*/
    /*margin-right: 5px;*/
    /*margin-bottom: 20px;*/
    position: relative;
    width: 1000px;
    height: 200px;
    vertical-align:top;
    font-family: sans-serif;
    border-radius: 10px;
    background-color: RGB(241,243,244);
}
.Cun_ic img{
    margin-top: 40px;
    margin-left: 30px;
    border-radius:10px;
    float: left;
    width: 20%;
    height: 120px;
    /*margin-bottom: 10px;*/
}
.news-list{
    width: 100%;
    min-width: 1366px;
    max-width: 4096px;
    height: 350px;
    position: relative;
    /*border: 1px solid red;*/
}
.card{
    position: absolute;
    width: 400px;
    height: 270px;
    background-color: #F1F3F4;
    /*border: 1px solid blue;*/
}
.card:hover{
    background-color: #2691d1;
    color: #FFFFFF;

}
.one{
    left: 0;
    right: 850px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.two{
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.three{
    left: 850px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.news-img{
    width: 400px;
    height: 170px;

}
.line{
    height: 1px;
    width: 380px;
    margin: auto;
    background-color: #333333;
}
.news-title{
    padding: 10px 5px 0px 15px;
    font-size:14px;
    font-weight: bold;
    width: 380px;
    height: 45px;
    text-align: left;
}
.news-date{
    font-size: 12px;
    padding-left: 20px;
    padding-right: 20px;
}























.xmbj{
    margin: 20px auto auto;
    width: 1000px;
    height: 150px;
}
.xmbj ul>li{
    text-indent: 30px;
    list-style-type: none;
    line-height: 27px;
}
.xmjs{
    margin: auto;
    width: 1000px;
    height: 220px;
}
.xmjs ul>li{
    text-indent: 30px;
    list-style-type: none;
    line-height: 27px;
}
.sscx{
    margin: auto;
    width: 1000px;
    height: 100px;
}
.sscx ul>li{
    text-indent: 30px;
    list-style-type: none;
    line-height: 27px;
}
.Cun_h3{
    color: #2387c7;
}
.input{
    text-align: center;
    margin: auto;
    width: 1000px;
    height: 50px;
}
.fhlb{
    background-color: #2387c7;
    color: white;
    display: inline-block;
    border: #2387c7 1px solid;
    border-radius: 7px;
    padding: 5px 10px;
}
.footer {
    margin: auto;
    text-align: center;
    position: relative;
    clear: both;
    width: 100%;
    min-width: 1366px;
    flex: 1 0 auto;
    height:440px;
    background-color: white;
}
#footer_img{
    position: relative;
    margin: 50px auto auto;
    width: 100%;
    min-width: 1366px;
    height:400px;
    background-image:url(https://yj-website.oss-cn-hangzhou.aliyuncs.com/icon/homepage/db.png) ; /*图片地址*/
    background-position:50% 50%; /*             图片上下左右居中  */
    /*background-size:contain;       !*           保持图像本身的宽高比例，将图片缩放到宽度或高度正好适应定义背景的区域  *!*/
    background-repeat:no-repeat;     /*         图像不重复显示  */
    background-size:cover;       /*          覆盖填充，将图片缩放到宽度或高度正好适应定义背景的区域  */
}
