
nav {
    position: relative;
}

.hnqauto-title {
    padding: .4rem 0;
}

.hnqauto-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hnqauto-wrapper .hnqauto-col-l {
    flex-basis: 70%;
}

.hnqauto-wrapper .hnqauto-col-r {
    flex-basis: 28%;
}

.hnqauto-wrapper .hnqauto-col-l .hnqauto-title-car {
    
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
}

.hnqauto-box-car-detail {
    
    border-radius: 4px;
}

/*danh sách ảnh xe*/
.hnqauto-box-img {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#hnqauto-main-photo {
    flex-basis: 70%;
}

#hnqauto-main-photo img {
    height: 420px;
    border-radius: 6px;
}

.hnqauto-box-img .hnqauto-list-img {
    flex-basis: 29%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hnqauto-box-img .hnqauto-list-img:after {
    content: '';
    flex-basis: 24%;
}

.hnqauto-list-img .hnqauto-item {
    flex-basis: 49%;
    margin-bottom: 0.5rem;
}

.hnqauto-list-img .hnqauto-item:last-child {
    margin-bottom: 0;
}

.hnqauto-list-img .hnqauto-item:nth-child(2) img {
   
}

.hnqauto-list-img .hnqauto-item .hnqauto-photo-list img {
    height: 80px;
   border-radius: 4px;
}

.hnqauto-box-info-salon
{
    padding: 1em;
    border: 1px dotted #6b6b69;
    padding-left: 0;
    
}
.tt-vt
{
    
    
    padding-top: 2em;
}
.active-btn
{
    background:var(--yellow);
}
.w3-black
{
    border-radius: 4px;
}

.ten-hang
{
    padding-left: 1rem;
    padding-top: .5em;
    text-transform: uppercase;
}
.hnqauto-car b {
    color: var(--vtbgmenu);
        
}
.hnqauto-item .hnqauto-car b:hover
{
    color: var(--yellow) !important;
}
.price-ok
{
     padding: 0.6em;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--Red);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gia-ban2
{
    font-size: 1.2em;
}

.hnqauto-item-info span {
    margin-right: 0.2rem;
    font-size: 1.2em;
}

.xe-da-ban
{
    background: var(--yellow);
    color: yellow;
    text-transform: uppercase;
    padding: 0.5em 1em;
    border-radius: 4px;
    font-weight: bold;
}
/*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(--yellow);
    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%);
    opacity: 0;
  }
  .image {
    display: block;
    width: 100%;
    height: auto;
  }
/*end lớp background trên ảnh sản phẩm*/

/*thông tin xe*/
.hnqauto-box-info {
    margin-top: -0.5rem;
}

.hnqauto-box-info .hnqauto-price-car {
    padding: 2rem 0;
    background: var(--vtbgmenu);
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--vtyellow);
    text-align: center;
    border-radius: 0 0 4px 4px;
}

.hnqauto-box-info .hnqauto-info-car {
    
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem;
    padding-left: 0;
}

.hnqauto-box-info .hnqauto-info-car .hnqauto-item {
    flex-basis: 49%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hnqauto-box-info .hnqauto-info-car .hnqauto-item label {
    flex-basis: 35%;
}

.gia-ban
{
    font-size: 1em;
    font-weight: 700;
    color: red;
}

/*vay trả góp*/
.box-installment {
    margin-top: 20px;
    
    border-radius: 4px;
}

.installment {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.installment .item {
    flex-basis: 49%;
    margin-bottom: 10px;
}

.installment .item:last-child {
    margin-bottom: 0;
}

.installment .item label {
    margin-bottom: 5px;
    display: inline-block;
}

.installment .item  input,  .installment .item  select {
    width: 100%;
    height: 35px;
    border: 1px solid #333;
    outline: none;
    padding-left: 10px;
    background: var(--gray4);
    border-radius: 5px;
}

.installment .item .icon {
    color: red;
    font-weight: bold;
}

.installment .item .car-price {
    cursor: no-drop;
}

.installment .btn-send {
    text-align: left;
    flex-basis: auto;
    margin-top: 5px;
}

.installment input[type="text"][disabled] {
    font-weight: bold;
}

.installment .btn-send a {
    display: inline-block;
    text-transform: uppercase;
    color: var(--white);
    background: var(--yellow);
    font-weight: bold;
    padding: 6px 30px;
    border-radius: 4px;
    
}

.installment .btn-send a:hover {
    background: var(--yellowHover);
}

.rs-installment {
    padding: 5px 15px;
    margin: 15px 0 0;
    background: darksalmon;
    border-radius: 4px;
}

.rs-installment .item {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px dotted var(--gray);
    color: #fff;
}

.rs-installment .item:last-child {
    border-bottom: none;
}

.rs-installment .item label {
    margin-bottom: 5px;
    font-weight: bold;
}

.rs-installment .item span {
    color: var(--yellow);
    font-weight: bold;
}


/*thông tin salon*/
.hnqauto-box-info-salon ul {
    padding: 0 1.5rem;
}

.hnqauto-box-info-salon p {
    margin-top: 1rem;
}

.hnqauto-box-info-salon .hnqauto-info-hotline {
    background: var(--alyellow);
    color: var(--alWhite);
    padding: 1.5rem 0;
    font-size: 2.1rem;
    text-align: center;
}

.hnqauto-info-hotline b {
    color: var(--alWhite);
    -webkit-text-fill-color: var(--alWhite);
    font-size: 2.6rem;
}

/*nội dung tin xe*/
.hnqauto-car-description {
    padding: 1.5rem;
    padding-left: 0;
}

.hnqauto-car-description p {
    display: block;
    margin-top: 1rem;
    width: 100%;
}

.hnqauto-box-info
{
    padding: 0 1em;
    margin-top: 1em;
    border: 1px solid #dfdfdf;
}
.material-icons-outlined
{
    font-size: 1em !important;
}
/*tính phí sang tên*/
.hnqauto-box-name-transfer-fee {
    margin-top: 1rem;
}

.hnqauto-name-transfer-fee {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-image: url("../images/gray-line-background.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.hnqauto-name-transfer-fee .hnqauto-box {
    flex-basis: 100%;
}

.hnqauto-name-transfer-fee .hnqauto-box-img {
    flex-basis: 49%;
}

.hnqauto-name-transfer-fee .hnqauto-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hnqauto-name-transfer-fee .hnqauto-item:last-child {
    margin-bottom: 0;
}

.hnqauto-name-transfer-fee .hnqauto-row {
    flex-basis: 58%;
}
.hnqauto-row span, .hnqauto-row label, .font-fix
{
    font-size: 0.9em !important;
}
.hnqauto-name-transfer-fee .hnqauto-pdb .hnqauto-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.hnqauto-name-transfer-fee .hnqauto-row input {
    margin-right: 0.5rem;
    position: relative;
    top: 1px;
}

.hnqauto-name-transfer-fee .hnqauto-choose {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hnqauto-name-transfer-fee .hnqauto-choose select {
    height: 30px;
    width: 100px;
    padding-left: 10px;
    font-size: 0.9em;
}

.hnqauto-name-transfer-fee .hnqauto-cacu {
    border-top: 1px solid #fff;
    padding-top: 1.5rem;
}

.hnqauto-name-transfer-fee .hnqauto-cacu label {
    font-weight: bold;
}

.hnqauto-name-transfer-fee .hnqauto-cacu span {
    font-weight: bold;
    
    font-size: 0.9em;
}
iframe
{
    max-width: 100%;
}

/*xe cùng khoảng giá*/
.hnqauto-box-other-car {
    margin-top: 1rem;
    flex-basis: 100%;
}

.hnqauto-other-car {
    --spaceing: 10px;
    display: flex;
    align-items:stretch;
    justify-content:flex-start;
    flex-wrap: wrap;
    margin: 0 calc(var(--spaceing) * (-1));
}

.hnqauto-other-car .hnqauto-item {
    border-radius: 4px;
    margin: 0 var(--spaceing);
    width: calc(33.33% - var(--spaceing) * 2);
    background: #f9dfdf;
    
}

.hnqauto-other-car .hnqauto-item a {
    display: inline-block;
    width: 100%;
    font-size: 1.2em;
}

.hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
    height: 230px;
    border-radius: 6px 6px 0 0;
}

.hnqauto-other-car .hnqauto-car {
    padding: 1rem 1rem 0;
    font-weight: 800;
    padding-top: .1em;
}

.hnqauto-other-car .hnqauto-box-price {
    
    margin: 1rem;
}

.hnqauto-other-car .hnqauto-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(--vtyellow);
}

.hnqauto-other-car .hnqauto-info-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 1rem 0;
    margin-top: 1em;
}

.hnqauto-other-car .hnqauto-info-car .hnqauto-item-info {
    flex-basis: 25%;
    margin-bottom: 1rem;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

.hnqauto-other-car .hnqauto-info-car .hnqauto-item-info i {
    color: var(--alGrayInfoCars);
    margin-right: 0.2rem;
}

.hnqauto-item-info img {
    width: 13px;
    height: 13px;
    object-fit: cover;
    vertical-align: middle;
    margin-top: -3px;
}
.car-name-nsg
{
    padding-top: .5em;
}
/*chỉ cần trả trước*/
.hnqauto-box-price
{
    text-align: center;
    padding-bottom: 1em;
}

/*tin tức*/
.hnqauto-wrapper .hnqauto-col-r .hnqauto-box-news {
    margin-bottom: 1rem;
}

.hnqauto-col-r .hnqauto-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hnqauto-news .hnqauto-item {
    flex-basis: 100%;
    border-bottom: 1px solid var(--alGray);
    padding: 1.5rem 0;
    color: var(--alBlack);
}

.hnqauto-news .hnqauto-item:last-child {
    border-bottom: none;
}

.hnqauto-box-news .hnqauto-item a {
    color: var(--alBlack);
    font-weight: 600;
}

@media only screen and (max-width: 1230px) {
    .hnqauto-wrapper {
        padding: 0 1.5rem 1.5rem;
        margin-bottom: 0;
    }

    /*thông tin xe*/
    .hnqauto-box-info .hnqauto-price-car {
        font-size: 2.1rem;
        padding: 1.5rem 0;
    }

    .hnqauto-box-info .hnqauto-info-car .hnqauto-item label {
        flex-basis: 40%;
    }

    /*thông tin salon*/
    .hnqauto-box-info-salon .hnqauto-info-hotline {
        font-size: 1.8rem;
    }

    .hnqauto-info-hotline b {
        font-size: 2.1rem;
    }

    /*phí sang tên*/
    

    .hnqauto-name-transfer-fee .hnqauto-choose {
        flex-basis: 85%;
    }

    .hnqauto-name-transfer-fee .hnqauto-item {
        justify-content: space-between;
    }

    .hnqauto-name-transfer-fee .hnqauto-choose {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 1080px)
{
    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info
    {
        flex-basis: 50%;
    }
}
@media only screen and (max-width: 1024px) {
    .hnqauto-wrapper .hnqauto-col-l {
        flex-basis: 100%;
    }

    .hnqauto-wrapper .hnqauto-col-r {
        margin-top: 1rem;
        flex-basis: 100%;
        
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .hnqauto-wrapper .hnqauto-col-r .hnqauto-box-news {
        flex-basis: 48%;
    }

    .hnqauto-wrapper .hnqauto-col-r .hnqauto-qc {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
        height: 212px;
    }
}
@media only screen and (max-width: 850px)
{
    .hnqauto-other-car .hnqauto-item a {
        /* display: inline-block; */
        width: 100%;
        display: table;
        height: 54px;
    }
}

@media only screen and (max-width: 768px) {
    .hnqauto-wrapper {
        padding: 0 1rem 1.5rem;
    }

    /*danh sách ảnh xe*/
    #hnqauto-main-photo img {
        height: 348px;
    }

    .hnqauto-list-img .hnqauto-item .hnqauto-photo-list img {
        height: 66px;
    }

    /*thông tin xe*/
    .hnqauto-box-info .hnqauto-info-car .hnqauto-item label {
        flex-basis: 50%;
    }

    /*phí sang tên*/
    .hnqauto-box-name-transfer-fee {
        margin-top: 0;
    }

    .hnqauto-name-transfer-fee .hnqauto-box-img {
        display: none;
    }

    .hnqauto-name-transfer-fee .hnqauto-box {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .hnqauto-box-other-car {
        margin-top: 0;
    }

    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
        height: 200px;
    }

    /*tin tức*/
    .hnqauto-news .hnqauto-item {
        padding: 1rem 0;
    }
    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info
    {
        font-size: 0.9em;
    }
    /*xe cùng khoảng giá*/
.hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
    height: 132px;
}
.hnqauto-other-car .hnqauto-item
{
    width: calc(50% - var(--spaceing) * 2);
}
/*ẩn xe số 3*/
.hnqauto-other-car .hnqauto-item:last-child
{
    display: none;
}

    /*xe cùng khoảng giá*/
    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
        height: 190px;
    }
 
}

@media only screen and (max-width: 640px) {
    /*danh sách ảnh xe*/
    #hnqauto-main-photo img {
        height: 289px;
    }

    .hnqauto-list-img .hnqauto-item .hnqauto-photo-list img {
        height: 54px;
    }
/*xe cùng khoảng giá*/
.hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
    height: 132px;
}
.hnqauto-other-car .hnqauto-item
{
    width: calc(50% - var(--spaceing) * 2);
}
/*ẩn xe số 3*/
.hnqauto-other-car .hnqauto-item:last-child
{
    display: none;
}

    /*xe cùng khoảng giá*/
    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
        height: 190px;
    }
   
}


@media only screen and (max-width: 576px) {
    /*danh sách ảnh xe*/
    .hnqauto-box-img {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #hnqauto-main-photo {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    #hnqauto-main-photo img {
        height: 370px;
        border-top-left-radius: 0;
    }

    .hnqauto-list-img .hnqauto-item .hnqauto-photo-list img {
        height: 89px;
    }

    .hnqauto-list-img .hnqauto-item:nth-child(2) img {
        border-top-right-radius: 0;
    }

    .hnqauto-box-img .hnqauto-list-img {
        flex-basis: 100%;
    }

    .hnqauto-list-img .hnqauto-item {
        flex-basis: 24%;
    }

    /*thông tin xe*/
    .hnqauto-box-info {
        margin-top: 0;
    }

    .hnqauto-box-info .hnqauto-info-car .hnqauto-item {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .hnqauto-other-car .hnqauto-item {
        
        margin-bottom: 1rem;
    }

    .hnqauto-other-car .hnqauto-item:last-child {
        margin-bottom: 0;
    }

    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
        height: 181px;
    }
    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info
    {
        flex-basis: 49%;
    }
}

@media only screen and (max-width: 480px) {
    .hnqauto-wrapper .hnqauto-col-r {
        margin-top: 0;
    }

    /*danh sách ảnh xe*/
    #hnqauto-main-photo img {
        height: 306px;
    }

    .hnqauto-list-img .hnqauto-item .hnqauto-photo-list img {
        height: 74px;
    }

    /*xe cùng khoảng giá*/
    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
        height: 150px;
    }

    /*tin tức*/
    .hnqauto-wrapper .hnqauto-col-r .hnqauto-box-news {
        flex-basis: 100%;
        margin-bottom: 0;
    }
    .hnqauto-other-car .hnqauto-item a
    {
        font-size: 1.1em;
    }
}

@media only screen and (max-width: 420px) {
    /*danh sách ảnh xe*/
    #hnqauto-main-photo img {
        height: 266px;
    }

    .hnqauto-list-img .hnqauto-item .hnqauto-photo-list img {
        height: 64px;
    }

    /*thông tin salon*/
    .hnqauto-box-info-salon .hnqauto-info-hotline {
        font-size: 1.6rem;
    }

    .hnqauto-info-hotline b {
        font-size: 1.8rem;
    }

    /*xe cùng khoảng giá*/
    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car {
        height: 240px;
    }

    .hnqauto-other-car .hnqauto-box-price {
        margin: 0.5rem;
    }

    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info {
        line-height: 2.0rem;
        font-size: 1.3rem;
    }

    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info i {
        line-height: 2.0rem;
        font-size: 1.3rem;
        margin-right: 0.1rem;
    }
    .tinh
    {
        width: 100%;
    }
    .hnqauto-other-car .hnqauto-item
    {
        flex-basis: 100%;
    }
    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info
    {
        flex-basis: 25%;
    }
    /*hiện xe số 3*/
    .hnqauto-other-car .hnqauto-item:last-child
    {
        display: block;
    }
    .hnqauto-other-car .hnqauto-item a
    {
        height: auto;
    }
}

@media only screen and (max-width: 400px)
{
    .hnqauto-other-car .hnqauto-item
    {
        flex-basis: 100%;
    }
    .hnqauto-other-car .hnqauto-item a .hnqauto-img-car
    {
        height: 200px;
    }
}

@media only screen and (max-width: 375px) {
    /*danh sách ảnh xe*/
    #hnqauto-main-photo img {
        height: 237px;
    }

    .hnqauto-list-img .hnqauto-item .hnqauto-photo-list img {
        height: 57px;
    }

    /*xe cùng khoảng giá*/
    
}

@media only screen and (max-width: 360px) {
    /*thông tin xe*/
    .hnqauto-info-hotline b {
        font-size: 1.6rem;
    }

    /*phí trước bạ*/
    .hnqauto-name-transfer-fee {
        padding: 1.5rem 0.5rem;
    }

    /*danh sách xe đang bán*/
    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
    }
}
@media only screen and (max-width: 350px)
{
    .hnqauto-other-car .hnqauto-info-car .hnqauto-item-info
    {
        flex-basis: 50%;
    }
}

