
.container {min-height:50vh;}

.imgs_box {
    padding:2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.imgs_box.col3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:1rem;
}
.imgs_box.col4{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:1rem;
}
.imgs_box.col5{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap:1rem;
}


.imgs_box dt {
    border: 1px solid #e5e5e5;
    background: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.imgs_box dt a {
    width:100%;
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.imgs_box dl dt a img{
    display: block;
    width: 100%;
}
.imgs_box dd{
    height: 4rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #d7d7d7;
    cursor:pointer;
}

@media  screen and (max-width: 1400px){
    .imgs_box.col4{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap:1rem;
    }
    .imgs_box.col5{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap:1rem;
    }
}

@media  screen and (max-width: 1000px){
    .imgs_box.col3{
        grid-template-columns: repeat(2, 1fr);
    }
    .imgs_box.col4{
        grid-template-columns: repeat(2, 1fr);
    }
    .imgs_box.col5{
        grid-template-columns: repeat(2, 1fr);
    }
}
