/*các hãng xe*/
main .otobacgiang-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 .otobacgiang-list-make {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.otobacgiang-list-make .otobacgiang-item {
    
    flex: 0 0 auto;
    margin-right: 5rem;
}
.otobacgiang-list-make .otobacgiang-item:hover{
    box-shadow: none;
}
.otobacgiang-list-make .otobacgiang-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    cursor: pointer;
}

.otobacgiang-list-make .otobacgiang-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;
}

.otobacgiang-list-make .otobacgiang-item a:hover img{
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.otobacgiang-list-make .otobacgiang-item a span {
    margin-top: 0.5rem;
    text-transform: capitalize;
    font-size: 0.9em;
    text-align: center;
    overflow: hidden;
}

.otobacgiang-make-car .otobacgiang-sort {
    width: 170px;
    text-transform: capitalize;
    color: var(--kcWhite);
}

.otobacgiang-make-car .otobacgiang-sort option {
    text-transform: capitalize;
}

.otobacgiang-item-info
{
    display: block;
    
}
.otobacgiang-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;
}
.otobacgiang-sell-car {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.otobacgiang-list-cars {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.otobacgiang-list-cars:after {
    content: '';
    flex-basis: 24%;
}

.otobacgiang-list-cars .otobacgiang-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;
}
.otobacgiang-list-cars .otobacgiang-item:last-child {
    margin-bottom: 1rem;
}

.otobacgiang-list-cars .otobacgiang-item a {
    display: inline-block;
    width: 100%;
    font-size: 1.2em;
}
.otobacgiang-list-cars .otobacgiang-item a:hover
{
    color: var(--red-color);
}
.otobacgiang-item a:hover b
{
    color: var(--kccolorlink);
}

.otobacgiang-car b
{
    color: #000;
    font-weight: 900;
    line-height: 1.3em;
    font-size: 1.1em;
    
}
.otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
    height: 250px;
    transform: scale(1);
    transition: .3s ease;
    border-radius: 5px 5px 0 0;
    
}
.otobacgiang-list-cars .otobacgiang-item a .otobacgiang-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*/

.otobacgiang-list-cars .otobacgiang-car {
    padding: 1rem 1rem 0;
    overflow: hidden;
    height: 56px;
    
}

.otobacgiang-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;
}

.otobacgiang-box-price .otobacgiang-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);
}

.otobacgiang-list-cars .otobacgiang-info-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 1rem 0;
    padding-top: 1em;
    border-top: 1px solid #ddd;
}

.otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info {
    flex-basis: 24%;
    color: var(--alGrayInfoCars);
    margin-bottom: 1rem;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}
.otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info ion-icon
{
    font-weight: bold;
    padding-right: .2em;
    color: var(--red-color);
}
.otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info span {
    color: #333;
    margin-right: 0.2rem;
    font-size: 1.1em;
}
.otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info img
{
    width: 11px;
    height: 11px;
    margin-right: .2em;
    margin-top: .1em;
}
/*giới thiệu salon*/

.otobacgiang-intro-salon {
    background-image: url("../images/otobacgiang-qc.jpg");
    background-size: cover;
    background-position: center;
    height: 280px;
    position: relative;
}

.service {
    padding: 3rem 0;
    background: rgb(245,245,245);
background: linear-gradient(90deg, rgba(245,245,245,1) 0%, rgba(236,236,234,0.9867297260701156) 100%);
}
.service h2 {
    text-align: left;
    margin-bottom: 3rem;
}
.flex-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
}

.col_text
{

    justify-content: center;
    padding-top: 3em;
    flex-basis: 49%;
}

.col_02
{
    flex-basis: 49%;
}
.btn-quytrinh
{
    margin-top: 2em;
}
.btn-quytrinh a
{
    background: var(--red-color);

    padding: .5em 1em;
    border-radius: 20px;
    text-transform: uppercase;
    color: #fff;
}
.btn-quytrinh a:hover
{
    background: gold;
    color: red;
}
.col-inner
{
    background: none;
}
.col-inner li
{
    flex-basis: 49%;
    margin-bottom: 1em;
    border-radius: 7px;
    padding: 20px ;
    text-align: center;
    border: 1px solid #ccc;
}
.col-inner li img
{
    width: 20%;
    height: auto;
    margin: 0 auto;
}
.col-inner li h3
{
    font-size: 1em;
    margin-top: 1em;
    display: block;
}
[data-text-color="primary"] {
    color: #333!important;
    font-size: 100%;
}
/*mục tin tức*/

.otobacgiang-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 2em auto;
    flex-wrap: wrap;
}


.otobacgiang-news .otobacgiang-list-news {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.otobacgiang-list-news .otobacgiang-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-basis: 49%;
}

.otobacgiang-list-news .otobacgiang-item .otobacgiang-img {
    flex-basis: 25%;
}

.otobacgiang-list-news .otobacgiang-item .otobacgiang-img img {
    height: 96px;
   
}

.otobacgiang-list-news .otobacgiang-item .otobacgiang-info {
    flex-basis: 73%;
}

.otobacgiang-list-news .otobacgiang-item .otobacgiang-info .otobacgiang-des {
    margin-top: 0.5rem;
}

/*truyền thông*/

.otobacgiang-media {
    background-image: url(../images/trang-chu/back-tiktok.jpg);
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center;
    padding-top:2em;
}

.otobacgiang-media .otobacgiang-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    
    flex-wrap: wrap;
}


.otobacgiang-box {
    
    padding-bottom: 2rem;
    flex-basis: 100%;
}

.otobacgiang-box-2
{
    flex-basis: 48%;
}

.otobacgiang-media .otobacgiang-container .otobacgiang-box-2 iframe {
    background: #f5f6f7;
    height: 475px;
}
._2lqg
{
    border: none !important;
}

blockquote
{
    max-width: 100%;
}
/*liên hệ*/

.otobacgiang-contact {
    _0background: var(--alListLink);
}

/*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 {
    background: red;
    text-decoration: none;
    color: #fff !important;
}

/*quảng cáo*/
.quang-cao
{
   margin-top: 2em;
}


@media only screen and (max-width: 1230px) {
    /*danh sách xe đang bán*/
    
    .otobacgiang-sell-list-cars {
        padding: 0 1.5rem;
    }

    .otobacgiang-list-cars .otobacgiang-car {
        min-height: 54px;
    }

    /*mục tin tức*/
    .otobacgiang-news  {
        padding: 0 1.5rem;
    }
    /*truyển thông*/
    .otobacgiang-media {
        padding: 0 1.5rem;
        margin-top: 1em;
    }
    .service
    {
        padding-left: 1em;
        padding-right: 1em;
    }
   
}
@media only screen and (max-width: 1140px)
{
    .otobacgiang-box iframe
    {
        width: 100%;
    }
}

@media only screen and (max-width: 1100px)
{
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info
    {
        flex-basis: 45%;
    }
}


@media only screen and (max-width: 1024px) {
    /*danh sách xe đang bán*/
    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 155px;
    }

    main .otobacgiang-make-car {
        padding: 0.5rem 1rem;
    }

    /*mục tin tức*/
   
    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img img {
        height: 79px;
    }

    /*truyền thông*/
    .otobacgiang-media iframe {
        width: 100%;
    }
    .otobacgiang-box-2
    {
        flex-basis: 41%;
    }
}

@media only screen and (max-width: 991px) {
    /*danh sách xe đang bán*/
    main .otobacgiang-make-car {
        background: var(--alWhite);
        padding: 0;
        justify-content: flex-end;
    }

    main .otobacgiang-list-make {
        flex-basis: 100%;
        border-radius: 4px;
    }

    

    .otobacgiang-list-cars .otobacgiang-item {
        flex-basis: 32%;
        margin-bottom: 1.5rem;
    }

    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 204px;
    }

    
    .otobacgiang-list-make .otobacgiang-item {
        font-size: 0.8em;
        margin-right: 1em;
        display: inline-table;
        height: 92px;
    
    }

    /*mục tin tức*/
    .otobacgiang-news {
        padding: 0 1.5rem 2rem;
    }

    .otobacgiang-list-news .otobacgiang-item:last-child {
        margin-bottom: 0;
    }

    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img img {
        height: 100px;
    }
    
}
@media only screen and (max-width: 886px)
{
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-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) 
{
    .otobacgiang-media .otobacgiang-container .otobacgiang-box iframe
    {
        height: 385px;
    }   
}


@media only screen and (max-width: 768px) {
    /*danh sách xe đang bán*/
    .otobacgiang-sell-car {
        margin-top: 1.5rem;
    }

    .otobacgiang-sell-list-cars {
        padding: 0 1rem;
    }

    .otobacgiang-list-cars .otobacgiang-item:last-child {
        margin-bottom: 0;
    }

    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 220px;
    }

    .otobacgiang-pagination ul {
        margin-bottom: 1.5rem;
    }

    /*mục tin tức*/
    .otobacgiang-news {
        padding: 0 1rem 1.5rem;
    }

    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img img {
        height: 122px;
    }

    .otobacgiang-list-news .otobacgiang-item {
        margin-bottom: 1.5rem;
        flex-basis: 100%;
    }

    /*truyền thông*/
    .otobacgiang-media {
        padding: 0 1rem;
    }

    .otobacgiang-media .otobacgiang-container .otobacgiang-box {
        padding-bottom: 1.5rem;
    }

    .otobacgiang-media iframe {
        height: 250px;
    }
    .otobacgiang-list-cars .otobacgiang-car
    {
        height: 54px;
        overflow: hidden;
    }
    .map
    {
        width: 100%;
    }
    .otobacgiang-title h2
    {
        font-size: 1.2em;
    }
    /*2 xe 1 dòng*/
    .otobacgiang-list-cars .otobacgiang-item
    {
        flex-basis: 49%;
    }
    /*thông số xe*/
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info
    {
        flex-basis: 49%;
    }
    .year span
    {
        flex-basis: 49%;
    }
    .tratruoc, .tra-truoc
    {
        text-align: right;
    }
    .otobacgiang-box, .otobacgiang-box-2
    {
        flex-basis: 100%;
    }
}
@media only screen and (max-width: 744px)
{
    .otobacgiang-media .otobacgiang-container .otobacgiang-box-2 iframe
    {
        height: 451px;
    }
}
@media only screen and (max-width: 675px)
{
    .otobacgiang-media .otobacgiang-container .otobacgiang-box-2 iframe
    {
        height: 369px;
    }
    .col_text, .col_02
    {
        flex-basis: 100%;
    }
    .col_02
    {
        margin-top: 1.5em;
    }
    .col_text
    {
        padding-top: 0;
    }
}
@media only screen and (max-width: 666px)
{
    .otobacgiang-media .otobacgiang-container .otobacgiang-box-2 iframe
    {
        height: 366px;
    }
    .tra-truoc
    {
        text-align: left;
    }
}
@media only screen and (max-width: 600px)
{
    .otobacgiang-media .otobacgiang-container .otobacgiang-box, .otobacgiang-box-2
    {
        flex-basis: 100%;
    }
    .otobacgiang-media .otobacgiang-container .otobacgiang-box-2 iframe
    {
        height: auto !important;
    }
}


@media only screen and (max-width: 640px) {
    /*danh sách xe đang bán*/
    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 185px;
    }

    /*mục tin tức*/
    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img img {
        height: 103px;
    }
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info
    {
        font-size: 0.9em;
    }
    .otobacgiang-item-info img
    {
        height: 12px;
        width: 12px;
    }
}

@media only screen and (max-width: 576px) {
    /*danh sách xe đang bán*/
    .otobacgiang-list-cars .otobacgiang-item {
        flex-basis: 49%;
    }

    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 181px;
    }

    /*mục tin tức*/
    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img {
        flex-basis: 30%;
    }

    .otobacgiang-list-news .otobacgiang-item .otobacgiang-info {
        flex-basis: 68%;
    }

    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img img {
        height: 109px;
    }

    /*truyền thông*/
    .otobacgiang-media .otobacgiang-container .otobacgiang-box {
        flex-basis: 100%;
    }

    .otobacgiang-media .otobacgiang-container .otobacgiang-box:first-child {
        padding-bottom: 0;
    }

    .otobacgiang-list-news .otobacgiang-item .otobacgiang-info .otobacgiang-des {
        display: none;
    }
    /*thông số xe*/
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-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*/
    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 150px;
    }

    /*!*mục tin tức*!*/
    .otobacgiang-list-news .otobacgiang-item .otobacgiang-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*/
    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 230px;
    }
  
    .otobacgiang-list-cars .otobacgiang-box-price {
        margin: 0.5rem
    }

    .otobacgiang-list-cars .otobacgiang-info-car {
        padding: 1.1rem 0.5rem 0 .7em;
    }

    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info {
        margin-bottom: 0.8rem;
    }

    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info i {
        line-height: 2.0rem;
        font-size: 1.3rem;
        margin-right: 0.1rem;
    }

    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info {
        line-height: 2.0rem;
        font-size: 1.3rem;
    }

    /*mục tin tức*/
    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img {
        flex-basis: 35%;
    }

    .otobacgiang-list-news .otobacgiang-item .otobacgiang-info {
        flex-basis: 63%;
    }

    .otobacgiang-list-news .otobacgiang-item .otobacgiang-img img {
        height: 91px;
    }
    .btn-grad
    {
        width: 100%;
    }
    
    .sell-total
    {
        display: none;
    }
    .year span
    {
        flex-basis: 49%;
    }
    .year span.tra-truoc
    {
        text-align: end;
    }

    .otobacgiang-list-cars .otobacgiang-car
    {
        height: auto;
        overflow: initial;
    }
    .otobacgiang-list-cars .otobacgiang-car
    {
        min-height: 44px;
    }
    .tratruoc
    {
        text-align: right;
    }
    .otobacgiang-list-cars .otobacgiang-item a
    {
        margin-bottom: .6em;
    }
}
@media only screen and (max-width: 390px)
{
    .otobacgiang-list-cars .otobacgiang-item
    {
        flex-basis: 100%;
    }
    /*ảnh sp*/
    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car
    {
        height: 220px;
    }
    /*thông số xe*/
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info
    {
        flex-basis: 32%;
    }
    .otobacgiang-list-cars .otobacgiang-car
    {
        height: auto;
        min-height: auto;
    }
        
}

@media only screen and (max-width: 375px) {
    /*danh sách xe đang bán*/
    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car {
        height: 116px;
    }
    .otobacgiang-list-cars .otobacgiang-item
    {
        flex-basis: 100%;
    }
    .otobacgiang-list-cars .otobacgiang-car
    {
        height: auto !important;
    }
    .otobacgiang-list-cars .otobacgiang-item a .otobacgiang-img-car
    {
        height: 210px;
    }
    
}

@media only screen and (max-width: 360px) {
    /*danh sách xe đang bán*/
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
        flex-basis: 49% !important;
    }
    .vtcategory .otobacgiang-item
    {
        flex-basis: 50% !important;
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 340px)
{
    .year span
    {
       flex-basis: 100%;
       text-align: left !important;
    }
}



