﻿.main{ 
    overflow:hidden;
    margin-bottom:60px;
}


.box{
    width: 285px; 
    float: left;
    margin-top: 10px;
}
    .box img {
        width: 285px;
        height: 285px;
    }

    .ml {
        margin-left: 15px;
    }

.box .g{ 
    width: 285px;
    position: relative;
}


    .box .g .mask {
        position: absolute;
        top: 0;
        left: 0;
        height:285px;
        width: 285px;
        background: rgba(0, 0, 0, 0.7);
        color: #e1e1e1;
        display: none
    }
.box .mask img {
    display: block;
    width: 230px;
    height: 230px;
    margin: 25px auto;
    border-radius: 5px;
}
.box h3 {
    text-align: center
}

/*补CSS案列*/
.cases_ulli {
    width: 270px;
    height: 290px;
    text-align:center;
    float: left;
    margin-left: 24px;
    margin-top: 20px;
    position: relative;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
    background-color: #f8f8f8;
}

.case_erweima:hover {
    opacity: 1 !important;
}

.cases_ulli div {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 14px;
    padding: 0 15px;
    box-sizing: border-box;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cases_ulli p {
    font-size: 14px;
    padding: 0 15px;
    box-sizing: border-box;
}

.ellipsis_two {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.cases_ulli .case_erweima {
    z-index: 999;
    width: 270px;
    height: 290px;
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    margin: 0;
    opacity: 0;
    transition: all .7s;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.case_erweima img {
    width: 206px;
    height: 206px;
}