@charset "utf-8";

.head-page .walk_item span{
    color: #B21623;
    font-weight: 600;
}
.head-page .walk_item >a:after {
    transform: scale(1);
    opacity: 1;
}
.head-page .walk_item >a::before{
    opacity: 1;
    transform: scale(1);
}

.chenxin_photo .lists .list{
    width: 32%;
    margin-right: 2%;
    margin-bottom: 35px;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
    cursor: pointer;
}
.chenxin_photo .lists .list:nth-child(3n){
    margin-right: 0px;
}
.project-com-img{
    width: 100%;
    /* height: 384px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F3F3;
    overflow: hidden;
}
.project-com-img img{
   display: block;
   max-height: 100%;
   transition: all .4s;
}
.project-com-text{
    width: 100%;
    height: 80px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F3F3;
    transition: all .4s;
}
@media only screen and (min-width: 960px) {
    .chenxin_photo .lists .list:hover .project-com-img img{
        transform: scale(1.08);
    }
    .chenxin_photo .lists .list:hover .project-com-text{
        background: #B21623;
        color: #fff;
    }
}

@media only screen and (max-width: 1280px){
    .project-com-text {
        height: 75px;
    }
}
@media only screen and (max-width: 1200px){
    .project-com-text {
        height: 70px;
    }
}
@media only screen and (max-width: 1043px){
    .chenxin_photo .lists .list{
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 960px) {
    .project-com-text {
        height: 65px;
    }
}
@media only screen and (max-width: 768px){
    .chenxin_photo .lists .list {
        margin-bottom: 20px;
        width: 48.5%;
        margin-right: 3%;
        border-radius: 10px 10px 0px 0px;
    }
    .chenxin_photo .lists .list:nth-child(3n){
        margin-right: 3%;
    }
    .chenxin_photo .lists .list:nth-child(2n){
        margin-right: 0;
    }
}
@media only screen and (max-width: 640px) {
    .chenxin_photo .lists .list {
        width: 100%;
        margin-right: 0;
        border-radius: 10px 10px 0px 0px;
    }
    .chenxin_photo .lists .list:nth-child(3n) {
        margin-right: 0;
    }
    .chenxin_photo .lists .list:last-child{
        margin-bottom: 0;
    }
    .project-com-text {
        height: 60px;
    }
}