.hide{
    display: none;
}

.card-box{
    position: relative;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.card-body-title{
    font-size: 1.05rem;
    line-height: 1.3rem;
    font-weight: bold;
    color: #152c5b;
    height: 2.6rem;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
   
.card-box .overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0.75rem;
    border: 0.6rem solid #f3f3f3ec;
}
.card-box:hover .overlay{
    opacity: 1;
    border: 0.6rem solid #f3f3f3ec;
    -webkit-transition: ease .2s;
    transition: ease .2s;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0.75rem;
}
.card-box-img{
    width: 12rem;;
    height: 12rem;
}

.container2 .card{
    box-shadow: none;
    background: transparent;
    border:none;;
}

.container2 .card-body{
    padding:0;
}
.container2 .card-box{
    margin:0 auto;
}
/* 宽度 >= 768 */
@media (min-width: 768px)
{
    .navbar-expand-lg .navbar-brand img {
        height: 2.5rem;
    }
    .container1 .card-box-img,.container2 .card-box-img{
        width: 10rem;;
        height: 10rem;
    }
}
/* 宽度 >= 992 */
@media (min-width: 992px){
    .navbar-expand-lg .navbar-brand img {
        height: 2.5rem;
    }
    .card-body{
        cursor: pointer;
        padding: 1.5rem;
    }   
    .card-body1{
        padding: 1.5rem;
    }  
    .container1 .card-box-img,.container2 .card-box-img{
        width: 13rem;;
        height: 13rem;
    }
}
/* @media (max-width: 992px){
    .navbar-expand-lg .navbar-brand img {
        height: 2rem;
    }
} */
