﻿.banner{
    width:100%;
    height:600px;
    background-image:url(images/5.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

/*
.banner::before{
    position:absolute;
    left:0;
    top:0;
    right:0;
    background:url('images/mask.png') repeat 0 0;
    z-index:1;
    content:"";
    opacity: 0.2;
    height:600px;
}    
*/

.main{
    width:1080px;
    margin:21px auto 80px;
    background:#fff;
    padding:2% 1% 3%;
    border-radius: 10px;
}
.main h1{
    font-weight:bold;
    text-align:center;
    margin:30px auto 5px;
    font-size:30px;
}

.main h3{
    font-weight:bold;
    text-align:left;
    margin:30px auto 5px;
    font-size:26px;
}
.main h4{
    text-align:right;
    margin:30px auto 10px;
    color:#aaa;
}


.main div, .main p{
    font-size:16px;
    line-height:2.5em;
    font-family:'Microsoft YaHei';
    margin-bottom:1.5em;
}

.main .layui-carousel div{
    background-size:cover;
    background-position: center center;
}

.main #test1{
    margin-bottom:2em;
}

.main .layui-progress{
    margin-bottom:2em;
}

.main .more{
    margin-top:10px;
    margin-bottom:50px;
}

.main li{
    
}

.main li{
    margin-bottom: 40px;
    box-shadow:2px 2px 10px #d3cece;
}

.main li a{
    position: relative;
    padding-left: 250px;
    display: block;
    outline: none;
    text-decoration: none;
}

.main li .img{
    left: 0px;
    width: 250px;
    position: absolute;
    height: 180px;
    overflow: hidden;
    top: 0px;
    box-sizing: border-box;
    border:none;
}

.main li .img .img_bg{
    width: 100%;
    height: 100%;
    transition: .4s;
    background-size: cover;
}

.main li .text{
    padding:0px 28px 0 20px;
    background: #fafafa;
    height: 180px;
    overflow: hidden;
}

.main li .text h4{
    font-size: 20px;
    line-height: 34px;
    margin-bottom: 8px;
    height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color:#444;
    text-align: left;
}


.main li .text p{
    line-height: 24px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2px;
    color: #666;
}


.main li .text div{
    margin-top: 12px;
    display: block;
    color: #999;
    text-align:right;
}


.main li:hover .text,.main li:hover .text h4{
    background: #fff;
    color:#000;
}



.pnlink a,.pnlink{
    color:#666;
    line-height:30px;
}
.pnlink a:hover{
    color:#2c8dfb;
}

#prelink {
    margin-bottom:1em;
}

.main .huace::after{
    content:'';
    display:block;
    clear:both;
    margin-bottom:10px;
}

.main .huace .gallery{
    width:100%;
}

.main .huace .gallery .gallery-item{
 width:29.3%;
 float:left;
 box-shadow: 2px 2px 10px #ccc;
 margin:1%;
 padding:1%;
 border-radius: 10px;
 transition:all linear 0.3s;
 cursor:pointer;
}

.main .huace .gallery .gallery-item:hover{
    background:#2c8dfb;
    color:#fff;
    transition:all linear 0.4s;
}


.main .huace .gallery img{
   width:100%; 
   height:200px;
}

@media (max-width:767px){
    .layui-carousel{
        display:none1;
    }
    .main{
        width:98%;
        margin-top:5px;
    }

    .main h3{
        margin-top:30px;
        font-size:20px;
    }

    .main .more{
        display:none;
    }
    .main li {
       margin-bottom:20px;
    }

    .main li a{
        padding-left: 100px;
        display: block;
    }
    
    .main li .img{
        width: 100px;
    }

    .main li .img .img_bg{
        background-size:cover;
        background-position: center center;
    }

    .main li .text h4{
        font-size:14px;
    }

    .main li .text p{
        font-size:12px;
    }
    .main li .text div{
        font-size:11px;
    }

    .main .huace .gallery .gallery-item{
        width:92%;
        float:left;
        box-shadow: 2px 2px 10px #ccc;
        margin:2%;
        padding:2%;
        border-radius: 10px;
       }
}
