#case{
    /* visibility: hidden; */
    visibility: visible;
}
.case_body{
    background: #fff;
}
.section-case{
    /* background: #F4F4F4; */
    width: 100%;
    padding: 30px;
    max-width: 1920px;
    margin: 0 auto;
}
.case{
    max-width: 1200px;
}
.section-top{
    width: 100%;
    height: 55px;
    line-height: 55px;
    background: #ffffff;
    border: 1px solid #eeeff2;
    font-size: 14px;
    font-weight: 400;
    color: #1d1d1d;
}
.section-top .middle a,
.section-top .right a{
    color: #1d1d1d;
}
.section-top .active,
.section-top .current{
    color: #DB010A;
}
.section-top .content{
    width: 100%;
    overflow: hidden;
}
.section-top .left{
    width: 144px;
    float: left;
    overflow: hidden;
}
.section-top .middle{
    float: left;
    margin-left: 56px;
}
.section-top .right{
    float: right;
    margin-right: -15px;
}
.section-top .left .icon{
    float: left;
    cursor: pointer;
}
.section-top .left .icon:nth-of-type(1){
    margin-right: 20px;
}
.section-top .middle span{
    margin-right: 5px;
    padding: 0 15px;
    cursor: pointer;
}
.section-top .right span{
    display: inline-block;
    margin-left: 5px;
    padding: 0 15px;
    cursor: pointer;
}
.masonry{
    /* -moz-column-count:3; 
    -webkit-column-count:3;
    column-count:3;
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    column-gap: 20px;
    display:inline-block; */
    width: calc(100% + 20px);
    min-height: 200px;
    margin-left: -10px;
    position: relative;
}
.item{
    /* -moz-page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    break-inside: avoid; */
    width: calc(100% / 5);
    box-sizing: border-box;
    cursor: pointer;
    float: left;
    padding: 3px;
    position: relative;
}
.pic,
.pic img{
    display: block;
    width: 100%;
}
.pic img{
    transition: all .5s;    
    height: auto;
}
.mode0 .item_inner{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}
.mode0 .pic{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all .5s;
}
.mode1 .item_inner{
    position: relative;
    width: 100%;
    overflow: hidden;
}
.mode1 .pic{
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: all .5s;
}
.mode0, .mode1{
    display: none;
    /* transition: all .5s; */
}
.block{
    display: block;
}
.desc{
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    /* color: #fff; */
    color: transparent;
    transition: all .2s;
    width: 100%;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
}
/* .item:hover{
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16); 
} */
.item:hover .pic{
    transform: scale(1.05);
} 
.item:hover .desc{
    color: #fff;
    background: linear-gradient(to top, #000 10%, transparent 100%);
}
.case_load{
    height: 200px;
}
.no-cases{
    text-align: center;
}
@media only screen and (max-width: 1600px){
    
}
@media only screen and (max-width: 1360px){
    .masonry{
        /* -moz-column-count:3; 
        -webkit-column-count:3;
        column-count:3;
        -moz-column-gap: 20px;
        -webkit-column-gap: 20px;
        column-gap: 20px; */
    }
}
@media only screen and (max-width: 1024px){
    .masonry{
        /* -moz-column-count:2; 
        -webkit-column-count:2; 
        column-count:2;
        -moz-column-gap: 20px;
        -webkit-column-gap: 20px;
        column-gap: 20px; */
    }
    .item{
        width: calc(100% / 2);
    }
}
/* @media only screen and (max-width: 767px */
@media only screen and (max-width:1024px){
    #case{
        visibility: visible;
    }
    .section-case{
        padding: 20px 0;
        overflow: auto;
    }
    .desc{
        font-size: 14px;
        color: #fff;
        background: linear-gradient(to top, #000 10%, transparent 100%);
    }
    .masonry{
        width: 100%;
        margin-left: 0px;
        /* -moz-column-count:1;
        -webkit-column-count:1;
        column-count:1;
        -moz-column-gap: 0;
        -webkit-column-gap: 0;
        column-gap: 0; */
    }
    .item{
        width: 100%;
        float: none;
        padding: 0px 20px 10px 20px;
    }
    .section-top{
        border: 0px solid #eeeff2;
        font-size: 14px;
        font-weight: 700;
        color: #1d1d1d;
    }
    .section-top .middle span{
        padding: 10px 5px;
        margin-right: 10px;
    }
    .section-top .middle span:last-child{
        margin-right: 0;
    }
    .section-top .middle .current{
        border-bottom: 2px solid #E60012;
    }
    .section-top .content {
        overflow: auto;
        margin: 0 10px;
    }
    .section-top .middle {
        /* width: 660px; */
        width: max-content;
        margin-left: 0;
    }
    .mode0{
        display: none;
    }
    .mode1{
        display: block;
    }
}