/*các hãng xe*/
main .ngocanhauto-make-car {
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    border: 1px dotted #ccc;
}

main .ngocanhauto-list-make {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.ngocanhauto-list-make .ngocanhauto-item {
    
    flex: 0 0 auto;
    margin-right: 5rem;
}
.ngocanhauto-list-make .ngocanhauto-item:hover{
    box-shadow: none;
}
.ngocanhauto-list-make .ngocanhauto-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    cursor: pointer;
}

.ngocanhauto-list-make .ngocanhauto-item a img {
    width: 45px;
    height: 45px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.ngocanhauto-list-make .ngocanhauto-item a:hover img{
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.ngocanhauto-list-make .ngocanhauto-item a span {
    margin-top: 0.5rem;
    text-transform: capitalize;
    font-size: 0.9em;
    height: 44px;
    text-align: center;
    overflow: hidden;
}

.ngocanhauto-make-car .ngocanhauto-sort {
    width: 170px;
    text-transform: capitalize;
    color: var(--kcWhite);
}

.ngocanhauto-make-car .ngocanhauto-sort option {
    text-transform: capitalize;
}

.ngocanhauto-item-info
{
    display: block;
    
}
.ngocanhauto-item-info img
{
    width: 13px;
    height: 13px;
    object-fit: cover;
    vertical-align: middle;
    margin-top: -3px;
}

/*danh sách xe đang bán*/
.car-sell
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
}
.sell-total
{
    border: 1px dotted var(--kccolorlink);
    border-radius: 4px;
    padding-left: 0.8em;
    padding-right: 0.8em;
}
.ngocanhauto-sell-car {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.ngocanhauto-list-cars {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ngocanhauto-list-cars:after {
    content: '';
    flex-basis: 24%;
}

.ngocanhauto-list-cars .ngocanhauto-item {
    flex-basis: 32%;
    margin-bottom: 2.3rem;
    background: #f2f2f2;
   border-radius: 6px;
}

.car-thumbnail
{
    position: relative;
    overflow: hidden;
}
.gia-kc
{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 99;
    font-size: 1.5em;
    background: rgba(41, 41, 41, 0.8);
   
    padding: 0.4em 1em;
    color: var(--kccolorlink);
    border-top-left-radius: 5px;
    font-weight: bold;
   
}
.gia-kc sub
{
    color: var(--kcWhite);
    font-weight: 400;
}
.ngocanhauto-list-cars .ngocanhauto-item:last-child {
    margin-bottom: 1rem;
}

.ngocanhauto-list-cars .ngocanhauto-item a {
    display: inline-block;
    width: 100%;
    font-size: 1.2em;
}
.ngocanhauto-list-cars .ngocanhauto-item a:hover
{
    color: var(--red-color);
}
.ngocanhauto-item a:hover b
{
    color: var(--kccolorlink);
}

.ngocanhauto-car b
{
    color: #000;
    font-weight: 900;
    line-height: 1.3em;
    font-size: 1.1em;
    
}
.ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
    height: 250px;
    transform: scale(1);
    transition: .3s ease;
    border-radius: 5px 5px 0 0;
    
}
.ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car:hover {
    transform: scale(1.1);
   
}

/*giá xe trang chủ*/
.price-ok
{
    background: var(--kccolorlink);
    text-align: center;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    border-radius: 0 0 4px 4px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--kcWhite);
}
/*begin lớp background trên ảnh sản phẩm*/
.anh-sp
{
    position: relative;
}
.anh-sp:hover .overlay {
    width: 100%;
  }
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
    background: var(--kccolorlink);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
    opacity: 0.6;
}
.text {
    
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .image {
    display: block;
    width: 100%;
    height: auto;
  }
/*end lớp background trên ảnh sản phẩm*/

.ngocanhauto-list-cars .ngocanhauto-car {
    padding: 1rem 1rem 0;
    overflow: hidden;
    height: 56px;
    padding-top: 0;
}

.ngocanhauto-box-price
{
    color: var(--kcbgmenu);
    text-align: center;
    margin: 0em 0 1em 0;
    font-style: italic;
    font-weight: 600;
}

.ten-hang
{
    padding: .5em 0 0 .7em;
}

.ngocanhauto-box-price .ngocanhauto-price {
    display: inline-block;
    clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0% 100%);
    background: #1f1f1f;
    background-image: linear-gradient(to right, black , #1f1f1f);
    padding: 0.4rem 1.6rem;
    color: var(--kcyellow);
}

.ngocanhauto-list-cars .ngocanhauto-info-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 1rem 0;
    padding-top: 1em;
   border-radius: 0 0 5px 5px;
    background: powderblue;
}

.ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info {
    flex-basis: 24%;
    color: var(--alGrayInfoCars);
    margin-bottom: 1rem;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}
.ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info ion-icon
{
    font-weight: bold;
    padding-right: .2em;
    color: var(--red-color);
}
.ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info span {
    color: #333;
    margin-right: 0.2rem;
    font-size: 1.1em;
}

/*giới thiệu salon*/

.ngocanhauto-intro-salon {
    background-image: url("../images/ngocanhauto-qc.jpg");
    background-size: cover;
    background-position: center;
    height: 280px;
    position: relative;
}

/*mục tin tức*/

.ngocanhauto-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 2em auto;
    flex-wrap: wrap;
}


.ngocanhauto-news .ngocanhauto-list-news {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ngocanhauto-list-news .ngocanhauto-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-basis: 49%;
}

.ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img {
    flex-basis: 25%;
}

.ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
    height: 96px;
   
}

.ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-info {
    flex-basis: 73%;
}

.ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-info .ngocanhauto-des {
    margin-top: 0.5rem;
}

/*truyền thông*/

.ngocanhauto-media {
    background-image: url(../images/trang-chu/back-tiktok.jpg);
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center;
    padding-top:2em;
}

.ngocanhauto-media .ngocanhauto-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    
    flex-wrap: wrap;
}


.ngocanhauto-box {
    
    padding-bottom: 2rem;
    flex-basis: 100%;
}

.ngocanhauto-box-2
{
    flex-basis: 48%;
}

.ngocanhauto-media .ngocanhauto-container .ngocanhauto-box-2 iframe {
    background: #f5f6f7;
    height: 475px;
}
._2lqg
{
    border: none !important;
}

blockquote
{
    max-width: 100%;
}
/*liên hệ*/



/*nút tải thêm xe*/
.nut-tai-them a {
    font-weight: bold;
    width: 30%;
}

.btn-grad {
    margin: 0 auto;
    padding: 10px 25px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    display: block;
    cursor: pointer;
    background-color: var(--red-color);
    border-radius: 20px;
}

.btn-grad:hover {
    text-decoration: none;
    color: #333 !important;
}


/*quảng cáo*/
.quang-cao
{
   margin-top: 2em;
}
iframe
{
    max-width: 100%;
}

/*giao diện cho phiên bản Mobile và Tablet*/
@media only screen and (max-width: 1230px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-make .ngocanhauto-item {
        width: 11%;
    }

    .ngocanhauto-sell-list-cars {
        padding: 0 1.5rem;
    }

    .ngocanhauto-list-cars .ngocanhauto-car {
        min-height: 54px;
    }

    /*mục tin tức*/
    .ngocanhauto-news {
        padding: 0 1.5rem;
    }
    /*truyển thông*/
    .ngocanhauto-media {
        padding: 0 1.5rem;
        margin-top: 1em;
    }
}
@media only screen and (max-width: 1140px)
{
    .ngocanhauto-box iframe
    {
        width: 100%;
    }
}

@media only screen and (max-width: 1100px)
{
    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info
    {
        flex-basis: 45%;
    }
}
@media only screen and (max-width: 1055px)
{
    .ngocanhauto-list-make .ngocanhauto-item {
        width: 12%;
    }
}

@media only screen and (max-width: 1024px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 155px;
    }

    main .ngocanhauto-make-car {
        padding: 0.5rem 1rem;
    }

    /*mục tin tức*/
   
    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
        height: 79px;
    }

    /*truyền thông*/
    .ngocanhauto-media iframe {
        width: 100%;
    }
    .ngocanhauto-box-2
    {
        flex-basis: 41%;
    }
}

@media only screen and (max-width: 991px) {
    /*danh sách xe đang bán*/
    main .ngocanhauto-make-car {
        background: var(--alWhite);
        padding: 0;
        justify-content: flex-end;
    }

    main .ngocanhauto-list-make {
        flex-basis: 100%;
        border-radius: 4px;
    }

    

    .ngocanhauto-list-cars .ngocanhauto-item {
        flex-basis: 32%;
        margin-bottom: 1.5rem;
    }

    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 204px;
    }

    
    .ngocanhauto-list-make .ngocanhauto-item {
        font-size: 0.8em;
        margin-right: 1em;
        display: inline-table;
        width: 18%;
        height: 92px;
        margin-bottom: 1em;
    
    }

    /*mục tin tức*/
    .ngocanhauto-news {
        padding: 0 1.5rem 2rem;
    }

    .ngocanhauto-list-news .ngocanhauto-item:last-child {
        margin-bottom: 0;
    }

    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
        height: 100px;
    }
    
}
@media only screen and (max-width: 886px)
{
    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info
    {
        flex-basis: 49%;
    }
    .year span
    {
        flex-basis: 100%;
    }
    .tratruoc
    {
        text-align: left;
    }
}

/*fix chiều cao Fanpage*/
@media only screen and (max-width: 791px) 
{
    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box iframe
    {
        height: 385px;
    }   
}


@media only screen and (max-width: 768px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-sell-car {
        margin-top: 1.5rem;
    }

    .ngocanhauto-sell-list-cars {
        padding: 0 1rem;
    }

    .ngocanhauto-list-cars .ngocanhauto-item:last-child {
        margin-bottom: 0;
    }

    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 220px;
    }

    .ngocanhauto-pagination ul {
        margin-bottom: 1.5rem;
    }

    /*mục tin tức*/
    .ngocanhauto-news {
        padding: 0 1rem 1.5rem;
    }

    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
        height: 122px;
    }

    .ngocanhauto-list-news .ngocanhauto-item {
        margin-bottom: 1.5rem;
        flex-basis: 100%;
    }

    /*truyền thông*/
    .ngocanhauto-media {
        padding: 0 1rem;
    }

    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box {
        padding-bottom: 1.5rem;
    }

    .ngocanhauto-media iframe {
        height: 250px;
    }
    .ngocanhauto-list-cars .ngocanhauto-car
    {
        height: 54px;
        overflow: hidden;
    }
    .map
    {
        width: 100%;
    }
    .ngocanhauto-title h2
    {
        font-size: 1.2em;
    }
    /*2 xe 1 dòng*/
    .ngocanhauto-list-cars .ngocanhauto-item
    {
        flex-basis: 49%;
    }
    /*thông số xe*/
    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info
    {
        flex-basis: 49%;
    }
    
    .ngocanhauto-box, .ngocanhauto-box-2
    {
        flex-basis: 100%;
    }
    .list-news
    {
        flex-basis: 100%;
    }
}
@media only screen and (max-width: 744px)
{
    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box-2 iframe
    {
        height: 451px;
    }
}
@media only screen and (max-width: 675px)
{
    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box-2 iframe
    {
        height: 369px;
    }
}
@media only screen and (max-width: 666px)
{
    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box-2 iframe
    {
        height: 366px;
    }
    .tra-truoc
    {
        text-align: left;
    }
}
@media only screen and (max-width: 600px)
{
    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box, .ngocanhauto-box-2
    {
        flex-basis: 100%;
    }
    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box-2 iframe
    {
        height: auto !important;
    }
}


@media only screen and (max-width: 640px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 185px;
    }

    /*mục tin tức*/
    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
        height: 103px;
    }
    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info
    {
        font-size: 0.9em;
    }
    .ngocanhauto-item-info img
    {
        height: 12px;
        width: 12px;
    }
}

@media only screen and (max-width: 576px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-cars .ngocanhauto-item {
        flex-basis: 49%;
    }

    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 181px;
    }

    /*mục tin tức*/
    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img {
        flex-basis: 30%;
    }

    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-info {
        flex-basis: 68%;
    }

    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
        height: 109px;
    }

    /*truyền thông*/
    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box {
        flex-basis: 100%;
    }

    .ngocanhauto-media .ngocanhauto-container .ngocanhauto-box:first-child {
        padding-bottom: 0;
    }

    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-info .ngocanhauto-des {
        display: none;
    }
    /*thông số xe*/
    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info
    {
        flex-basis: 49%;
    }
    .year span
    {
        flex-basis: 100%;
    }
    .tratruoc
    {
        text-align: left;
        margin-top: 0.5em;
    }
}

@media only screen and (max-width: 480px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 150px;
    }

    /*!*mục tin tức*!*/
    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
        height: 90px;
    }
    .nut-tai-them a
    {
        width: 100% !important;
    }
    
}

@media only screen and (max-width: 420px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 230px;
    }
  
    .ngocanhauto-list-cars .ngocanhauto-box-price {
        margin: 0.5rem
    }

    .ngocanhauto-list-cars .ngocanhauto-info-car {
        padding: 1.1rem 0.5rem 0 .7em;
    }

    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info {
        margin-bottom: 0.8rem;
    }

    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info i {
        line-height: 2.0rem;
        font-size: 1.3rem;
        margin-right: 0.1rem;
    }

    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info {
        line-height: 2.0rem;
        font-size: 1.3rem;
    }

    /*mục tin tức*/
    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img {
        flex-basis: 35%;
    }

    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-info {
        flex-basis: 63%;
    }

    .ngocanhauto-list-news .ngocanhauto-item .ngocanhauto-img img {
        height: 91px;
    }
    .btn-grad
    {
        width: 100%;
    }
    
    .sell-total
    {
        display: none;
    }
    .year span
    {
        flex-basis: 49%;
    }
    .year span.tra-truoc
    {
        text-align: end;
    }

    .ngocanhauto-list-cars .ngocanhauto-car
    {
        height: auto;
        overflow: initial;
    }
    .ngocanhauto-list-cars .ngocanhauto-car
    {
        min-height: 44px;
    }
    .tratruoc
    {
        text-align: right;
    }
    .ngocanhauto-list-cars .ngocanhauto-item a
    {
        margin-bottom: .6em;
    }
}
@media only screen and (max-width: 390px)
{
    .ngocanhauto-list-cars .ngocanhauto-item
    {
        flex-basis: 100%;
    }
    /*ảnh sp*/
    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car
    {
        height: 220px;
    }
    /*thông số xe*/
    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info
    {
        flex-basis: 32%;
    }
    .ngocanhauto-list-cars .ngocanhauto-car
    {
        height: auto;
        min-height: auto;
    }
        
}

@media only screen and (max-width: 375px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car {
        height: 116px;
    }
    .ngocanhauto-list-cars .ngocanhauto-item
    {
        flex-basis: 100%;
    }
    .ngocanhauto-list-cars .ngocanhauto-car
    {
        height: auto !important;
    }
    .ngocanhauto-list-cars .ngocanhauto-item a .ngocanhauto-img-car
    {
        height: 210px;
    }
    
}

@media only screen and (max-width: 360px) {
    /*danh sách xe đang bán*/
    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .ngocanhauto-list-cars .ngocanhauto-info-car .ngocanhauto-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
        flex-basis: 49% !important;
    }
    .vtcategory .ngocanhauto-item
    {
        flex-basis: 50% !important;
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 340px)
{
    .year span
    {
       flex-basis: 100%;
       text-align: left !important;
    }
}



