.breadcrumb {
    padding: 10px 0 0;
}

#wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#wrapper .col-l {
    flex-basis: 70%;
}


#wrapper .col-r {
    flex-basis: 28%;
}


#wrapper .col-b {
    flex-basis: 100%;
    margin-top: 40px;
}

.col-r h2, .col-b h2 {
   padding-bottom: 10px;
   border-bottom: 3px solid var(--gray2);
}


/*chi tiết bài viết tin tức*/
.col-l h2 {
    margin-bottom: 25px;
    font-size: 2rem;
    line-height: 1.4em;
}
.col-l h3
{
    font-size: 1.5rem;
}
.col-l h4
{
    font-size: 1.2rem;
}
.col-l .description {
    margin-bottom: 12px;
    font-weight: bold;
}

.col-l .news-content p {
    margin-bottom: 1em;
    margin-top: 1em;
}


.col-l .news-content a:hover {
    color: var(--red);
}
.col-l .news-content ul
{
    margin-left: 2em;
}
.col-l .news-content ul li
{
    list-style: auto;
    margin-bottom: 1em;
}
.col-l .news-content figcaption
{
    text-align: center;
}

/*định dạnh table*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}
  
th, td {
    text-align: left;
    padding: 8px;
}
  
tr:nth-child(even){background-color: #f2f2f2}

/*xe mới về*/
.col-r .list .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--kBd);
}

.col-r .item .img {
    width: 30%;
}

.col-r .item .info {
    width: 67%;
}

.col-r .item .img img {
    height: 68px;
    border-radius: 4px;
}

.col-r .item .info .car {
    display: inline-block;
    margin-bottom: 3px;
}

.col-r .item .info .car:hover {
    color: var(--red);
}

.col-r .list .item:last-child {

    border: none;

}

/*tin mới nhất*/
.col-b .box-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: var(--kWhite);
    padding: 20px 20px;
    margin-top: 15px;
    border-radius: 4px;
}

.col-b .box-news .box {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.col-b .box-news .box .item {
    flex-basis: 48%;
    margin-bottom: 20px;
}

.col-b .box-news .box .item:last-child {
    margin-bottom: 0;
}


.col-b .box-news .box .item a .fa-angle-double-right {
    margin-right: 2px;
    color: var(--gray5)
}


.col-b .box-news .box .item a {
    color: var(--black);

}

.col-b .box-news .box .item a:hover {
    color: var(--red);

}


@media only screen and (max-width: 1200px) {

    #wrapper {

        padding: 15px;

    }



    /*breadcrumb*/

    .breadcrumb {

        padding: 10px 15px 5px;

    }



    /*tin mới nhất*/

    #wrapper .col-b {

        margin-top: 20px;

    }

}



@media only screen and (max-width: 1024px) {

    /*xe mới về*/

    .col-r .item .img img {

        height: 55px;

    }

}



@media only screen and (max-width: 991px) {

    h2 {

        font-size: 16px;

    }



    #wrapper {

        flex-wrap: wrap;

    }



    /*chi tiết bài viết tin tức*/

    #wrapper .col-l {

        flex-basis: 100%;

        margin-bottom: 15px;

    }



    /*xe mới về*/

    #wrapper .col-r {

        flex-basis: 100%;

        display: flex;

        align-items: flex-start;

        justify-content: space-between;

        flex-wrap: wrap;

    }



    #wrapper .col-r .title {

        flex-basis: 100%;

    }



    #wrapper .col-r .list {

        flex-basis: 68%;

    }



    #wrapper .col-r .box-advertisement {

        flex-basis: 30%;

        margin-top: 10px;

    }



    .col-r .item .img img {

        height: 130px;

    }

}



@media only screen and (max-width: 768px) {

    /*xe mới về*/

    .col-r .item .img img {

        height: 140px;

    }



    #wrapper .col-r .list {

        flex-basis: 100%;

    }



    /*ảnh quảng cáo*/



    #wrapper .col-r .box-advertisement {

        flex-basis: 100%;

    }



    #wrapper .col-r .box-advertisement a {

        width: 100%;

    }



    /*#wrapper .col-r .box-advertisement a img {*/

    /*height: 300px;*/

    /*}*/



    /*tin mới nhất*/

    .col-b .box-news {

        padding: 15px 10px 0;

        flex-wrap: wrap;

    }



    .col-b .box-news .box .item {

        flex-basis: 100%;

    }



    .col-b .box-news .box:first-child {

        margin-bottom: 15px;

    }



    /*chi tiết tin tức*/

    .news-content p img {

        height: 300px;

    }

}



@media only screen and (max-width: 640px) {

    /*xe mới về*/

    .col-r .item .img img {

        height: 120px;

    }

}



@media only screen and (max-width: 576px) {

    #wrapper {

        padding: 10px;

    }

    /*chi tiết bài viết tin tức*/

    .col-l h2 {

        margin-bottom: 15px;

    }



    /*xe mới về*/

    .col-r .item .img img {

        height: 105px;

    }



    /*chi tiết tin tức*/

    .news-content p img {

        height: 250px;

    }

}



@media only screen and (max-width: 480px) {

    /*xe mới về*/

    .col-r .item .img img {

        height: 85px;

    }



    .col-r .list .item {

        padding: 10px 0;

    }



    /*ảnh quảng cáo*/

    /*#wrapper .col-r .box-advertisement a img {*/

    /*height: 180px;*/

    /*}*/

}



@media only screen and (max-width: 375px) {

    /*xe mới về*/

    .col-r .item .img img {

        height: 70px;

    }



    /*ảnh quảng cáo*/

    /*#wrapper .col-r .box-advertisement a img {*/

    /*height: 140px;*/

    /*}*/

}



@media only screen and (max-width: 320px) {

    /*xe mới về*/

    .col-r .item .img img {

        height: 59px;

    }



    /*chi tiết tin tức*/

    .news-content p img {

        height: 200px;

    }

}