﻿.viewcat-page h1,
.viewcat-list h1{
    font-size: 22px;
    text-transform: uppercase;
}

.viewcat-page-item{
    position: relative;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
}

.viewcat-page-item h2{
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.viewcat-page-item img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.viewcat-page-content{
    padding: 20px 15px 10px;
}

.viewcat-page-content .publtime{
    margin: 2px 0 5px;
}

.others-post{
    margin-bottom: 20px;
}

.others-post .heading{
    margin: 30px 0 20px;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    background-color: #2869970d;
    border-left: 3px solid #01529d;
    padding-left: 15px;
}

.others-post ul{
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.others-post ul li{
    position: relative;
    font-size: 16px;
}

.others-post ul li img{
    width: 110px;
    height: 75px;
    margin-right: 10px;
    object-fit: cover;
}

.others-post span{
    display: block;
    font-size: 14px;
    margin-top: 2px;
    color: #555;
}

.table tbody tr td, .table thead tr th {
    padding: 8px 10px;
    border: 1px solid #ddd !important;
    font-size: 16px;
    min-width: 200px;
    vertical-align: middle;
}

.block_groups{
    padding-top: 20px !important;
}

.block_groups img{
    border-radius: 6px;
    margin-right: 15px;
}

.block_groups span{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-size: 14px;
}

.block_groups .bi{
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .table tbody tr td, .table thead tr th{
        min-width: 160px;
    }
}

@media (max-width: 767.98px) {
    .others-post ul{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .table-fix table, .table-fix thead, .table-fix tbody, .table-fix th, .table-fix td, .table-fix tr { 
        display: block; 
    }

    .table-fix thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-fix.table tr { border: 1px solid #ccc; }
    
    .table-fix.table td {
        border: none !important;
        border-bottom: 1px solid #eee !important; 
        position: relative;
        padding-left: 45% !important; 
    }
    
    .table-fix.table td:before { 
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
    }

    .table-fix .text-center{
        text-align: left;
    }

    .table-fix td:nth-of-type(1):before { content: "Thông báo đấu giá"; }
    .table-fix td:nth-of-type(2):before { content: "Hạn nộp hồ sơ"; }
    .table-fix td:nth-of-type(3):before { content: "Thời gian đấu giá"; }
    .table-fix td:nth-of-type(4):before { content: "Địa điểm"; }
}

@media (max-width: 499.98px) {
    .viewcat-page img{
        width: 100%;
        margin: 0 0 10px 0;
    }
}