nav {
    position: relative;
}

.auto31-title {
    padding-top: 0;
    padding-bottom: 0.5rem;
}

.auto31-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.auto31-wrapper .auto31-col-l {
    flex-basis: 70%;
}

.auto31-wrapper .auto31-col-r {
    flex-basis: 28%;
    padding-top: 1em;
}

.auto31-wrapper .auto31-col-l .auto31-title-car {
   
    margin: 1.5rem 0;
}

.auto31-box-car-detail {
    background: var(--alGray);
    border-radius: 4px;
}

.detail-gia
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1em;
    align-items: center;
}
.detail-gia span
{
    flex-basis: 49%;
}
.gia-xe-al
{
    background: var(--alyellow);
    padding: 0.5em 1em;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
}
.da-ban-detail
{
    font-size: 2.2rem;
    font-weight: bold;
    color: red;
    text-transform: uppercase;
}
/*danh sách ảnh xe*/
.auto31-box-img {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#auto31-main-photo {
    flex-basis: 70%;
}

#auto31-main-photo img {
    height: 420px;
   border-radius: 6px;
}

.auto31-box-img .auto31-list-img {
    flex-basis: 29%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.auto31-box-img .auto31-list-img:after {
    content: '';
    flex-basis: 24%;
}

.auto31-list-img .auto31-item {
    flex-basis: 49%;
    margin-bottom: 0.5rem;
}

.auto31-list-img .auto31-item:last-child {
    margin-bottom: 0;
}



.auto31-list-img .auto31-item .auto31-photo-list img {
    height: 80px;
    border-radius: 4px;
}

/*thông tin xe*/
.auto31-box-info {
    margin-top: -0.5rem;
}

.auto31-box-info .auto31-price-car {
    padding: 2rem 0;
    background: var(--alBlue);
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--alRed);
    text-align: center;
}

.auto31-box-info .auto31-info-car {
    background: var(--alGray);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem;
}

.auto31-box-info .auto31-info-car .auto31-item {
    flex-basis: 49%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.auto31-box-info .auto31-info-car .auto31-item label {
    flex-basis: 35%;
}

/*thông tin salon*/
.auto31-box-info-salon ul {
    padding: 0 1.5rem;
}

.auto31-box-info-salon p {
    margin-top: 1rem;
    color: var(--alBlack);
}

.auto31-box-info-salon .auto31-info-hotline {
    background: var(--Red);
    color: var(--alWhite);
    padding: 1.5rem 0;
    font-size: 2.1rem;
    text-align: center;
}

.auto31-info-hotline b {
    color: var(--alWhite);
    -webkit-text-fill-color: var(--alWhite);
    font-size: 2.6rem;
}

/*nội dung tin xe*/
.auto31-car-description {
    padding: 1.5rem;
}

.auto31-car-description p {
    display: block;
    margin-top: 1rem;
    width: 100%;
}

/*tính phí sang tên*/
.auto31-box-name-transfer-fee {
    margin-top: 1rem;
}

.auto31-name-transfer-fee {
   margin-top: 3rem;
   margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 4px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.auto31-name-transfer-fee .auto31-box {
    flex-basis: 49%;
}

.tinh-vay-tra-gop
{
    flex-basis: 49%;
}


.btn-grad
{
    background: var(--alyellow);
    
    padding: 0.5em 1em;
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: center;
    color: var(--alBlack);
    font-weight: bold;
}
.rs-installment {
    padding: 5px 15px;
    margin: 15px 0 0;
    background: #f5f5f5;
    
}
.rs-installment .item {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px dotted var(--gray);
    color: #000;
}
.rs-price-installment, .lai-hang-thang, .rs-pay-monthly
{
    color: red;
}
.auto31-name-transfer-fee .auto31-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.installment .item
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 1em;
}
.installment .item label
{
    flex-basis: 30%;
}
.installment .item input, .installment .item select
{
    flex-basis: 69%;
    padding-left: 10px;
}
.auto31-name-transfer-fee .auto31-item:last-child {
    margin-bottom: 0;
}

.auto31-name-transfer-fee .auto31-row {
    flex-basis: 50%;
}

.auto31-name-transfer-fee .auto31-pdb .auto31-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.auto31-name-transfer-fee .auto31-row input {
    margin-right: 0.5rem;
    position: relative;
    top: 1px;
}

.auto31-name-transfer-fee .auto31-choose {
    flex-basis: 75%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auto31-name-transfer-fee .auto31-choose select {
    height: 30px;
    width: 100px;
    padding-left: 10px;
}

.auto31-name-transfer-fee .auto31-cacu {
    border-top: 1px solid #fff;
    padding-top: 1.5rem;
}

.auto31-name-transfer-fee .auto31-cacu label {
    font-weight: bold;
}

.auto31-name-transfer-fee .auto31-cacu span {
    font-weight: bold;
    color: var(--alRed);
}

.auto31-text, .auto31-box-info .auto31-info-car .auto31-item label, .auto31-item span, .auto31-car-description p, .installment .item label, .auto31-row label, .item label
{
    color: var(--alBlack);
}

.colored-separator
{
    font-size: 0;
    
}
.colored-separator .first-long, .colored-separator .last-short {
    display: inline-block;
    verticauto31-align: top;
    width: 33px;
    height: 5px;
    -webkit-transform: skew(-40deg, 0deg);
    transform: skew(-40deg, 0deg);
    border-radius: 2px;
    background-color: var(--Red);
}
.colored-separator .first-long {
    margin-right: 3px;
}
.stm-base-background-color {
    background-color: var(--Red) !important;
}
.colored-separator .last-short {
    width: 16px;
}
/*xe cùng khoảng giá*/
.auto31-box-other-car {
    margin-top: 2.5rem;
}

.auto31-other-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.auto31-other-car .auto31-item {
    flex-basis: 32%;
    background: #f2f2f2;
}

.auto31-other-car .auto31-item a {
    width: 100%;
    display: block;
    overflow: hidden;
    font-size: 1.1em;
}

.auto31-other-car .auto31-item a .auto31-img-car {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: 179px;
}

.auto31-other-car .auto31-box-price {
        display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    
}

.auto31-box-price .auto31-price {
    display: inline-block;
    font-size: 1.1em;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    color: var(--Red);
}

.tra-truoc-al {
    font-size: 0.9em;
    margin-right: 0.5em;
}

.auto31-other-car .auto31-info-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 1rem 0;
}

.auto31-other-car .auto31-info-car .auto31-item-info {
    flex-basis: 49%;
    color: var(--alGrayInfoCars);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.auto31-other-car .auto31-info-car .auto31-item-info i {
    color: var(--alGrayInfoCars);
    margin-right: 0.2rem;
}

/*cột tin tức bên phải*/
.auto31-wrapper .auto31-col-r .auto31-box-news {
    margin-bottom: 2rem;
}

.auto31-col-r .auto31-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
   
}

.auto31-news .auto31-item {
    flex-basis: 100%;
    border-bottom: 1px solid var(--alGray);
    color: var(--alBlack);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.auto31-news .auto31-item span
{
    flex-basis: 30%;
}
.auto31-news .auto31-item img
{
    border-radius: 4px;
}

.auto31-news .auto31-item h3
{
    flex-basis: 68%;
    text-transform: capitalize;
    font-weight: bold;
    padding-top: 0;
    margin-top: -6px;
}

.auto31-news .auto31-item:last-child {
    border-bottom: none;
}

.auto31-box-news .auto31-item a {
    color: var(--alBlack);
    font-weight: 600;
}

.auto31-box-news .auto31-item a:hover
{
    text-decoration: underline;
}
.auto31-qc img
{
    border-radius: 4px;
}

option
{
    color: var(--alBlack);
}
/*giao diện cho Mobile*/
@media only screen and (max-width: 1230px) {
    .auto31-wrapper {
        padding: 0 1.5rem 1.5rem;
        margin-bottom: 0;
    }

    /*thông tin xe*/
    .auto31-box-info .auto31-price-car {
        font-size: 2.1rem;
        padding: 1.5rem 0;
    }

    .auto31-box-info .auto31-info-car .auto31-item label {
        flex-basis: 40%;
    }

    /*thông tin salon*/
    .auto31-box-info-salon .auto31-info-hotline {
        font-size: 1.8rem;
    }

    .auto31-info-hotline b {
        font-size: 2.1rem;
    }

    /*phí sang tên*/
    .auto31-name-transfer-fee .auto31-row {
        flex-basis: 60%;
    }

    .auto31-name-transfer-fee .auto31-choose {
        flex-basis: 85%;
    }

    .auto31-name-transfer-fee .auto31-item {
        justify-content: space-between;
    }

    .auto31-name-transfer-fee .auto31-choose {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    .auto31-wrapper .auto31-col-l {
        flex-basis: 100%;
    }

    .auto31-wrapper .auto31-col-r {
        margin-top: 2.5rem;
        flex-basis: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .auto31-wrapper .auto31-col-r .auto31-box-news {
        flex-basis: 100%;
    }

    .auto31-wrapper .auto31-col-r .auto31-qc {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .auto31-other-car .auto31-item a .auto31-img-car {
        height: 212px;
    }
}

@media only screen and (max-width: 810px) 
{
    .tra-truoc-al
    {
        flex-basis: 100%;
        margin-top: 0.6em;
    }
}


@media only screen and (max-width: 768px) {
    .auto31-wrapper {
        padding: 0 1rem 1.5rem;
    }

    /*danh sách ảnh xe*/
    #auto31-main-photo img {
        height: 348px;
    }

    .auto31-list-img .auto31-item .auto31-photo-list img {
        height: 66px;
    }

    /*thông tin xe*/
    .auto31-box-info .auto31-info-car .auto31-item label {
        flex-basis: 50%;
    }

    /*phí sang tên*/
    .auto31-box-name-transfer-fee {
        margin-top: 0;
    }

    .auto31-name-transfer-fee .auto31-box-img {
        display: none;
    }

    .auto31-name-transfer-fee .auto31-box {
        flex-basis: 100%;
    }

    
    .auto31-other-car .auto31-item a .auto31-img-car {
        height: 158px;
    }

    /*tin tức*/
    .auto31-news .auto31-item {
        padding: 1rem 0;
    }

    .tinh-vay-tra-gop
    {
        flex-basis: 100%;
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 640px) {
    /*danh sách ảnh xe*/
    #auto31-main-photo img {
        height: 289px;
    }

    .auto31-list-img .auto31-item .auto31-photo-list img {
        height: 54px;
    }

    /*xe cùng khoảng giá*/
    .auto31-other-car .auto31-item a .auto31-img-car {
        height: 132px;
    }
    .auto31-other-car .auto31-item
    {
        flex-basis: 49%;
    }
    /*ẩn xe số 3*/
    .auto31-other-car .auto31-item:nth-last-child(2)
    {
        display: none;
    }
    .xe-so3
    {
        display: none;
    }
    .tra-truoc-al {
        flex-basis: auto;
        margin-top: 0;
    }
}


@media only screen and (max-width: 576px) {
    /*danh sách ảnh xe*/
    .auto31-box-img {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #auto31-main-photo {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    #auto31-main-photo img {
        height: 370px;
        border-top-left-radius: 0;
    }

    .auto31-list-img .auto31-item .auto31-photo-list img {
        height: 89px;
    }

    .auto31-list-img .auto31-item:nth-child(2) img {
        border-top-right-radius: 0;
    }

    .auto31-box-img .auto31-list-img {
        flex-basis: 100%;
    }

    .auto31-list-img .auto31-item {
        flex-basis: 24%;
    }

    /*thông tin xe*/
    .auto31-box-info {
        margin-top: 0;
    }

    .auto31-box-info .auto31-info-car .auto31-item {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .auto31-other-car .auto31-item {
        flex-basis: 49%;
        margin-bottom: 1rem;
    }

    .auto31-other-car .auto31-item:last-child {
        margin-bottom: 0;
    }

    .auto31-other-car .auto31-item a .auto31-img-car {
        height: 181px;
    }
}
@media only screen and (max-width: 524px)
{
    .tra-truoc-al {
        flex-basis: 100%;
        margin-top: 0.6em;
        margin-left: 0.6em;
    }
}
@media only screen and (max-width: 480px) {
    
    /*danh sách ảnh xe*/
    #auto31-main-photo img {
        height: 306px;
    }

    .auto31-list-img .auto31-item .auto31-photo-list img {
        height: 74px;
    }

    /*xe cùng khoảng giá*/
    .auto31-other-car .auto31-item a .auto31-img-car {
        height: 150px;
    }

    /*tin tức*/
    .auto31-wrapper .auto31-col-r .auto31-box-news {
        flex-basis: 100%;
        margin-bottom: 0;
    }
    
    /*đánh giá xe*/
    .danh-gia-xe
    {
        margin-top: 2em;
        margin-bottom: 1em !important;
    }
}

@media only screen and (max-width: 420px) {
    /*danh sách ảnh xe*/
    #auto31-main-photo img {
        height: 266px;
    }

    .auto31-list-img .auto31-item .auto31-photo-list img {
        height: 64px;
    }

    /*thông tin salon*/
    .auto31-box-info-salon .auto31-info-hotline {
        font-size: 1.6rem;
    }

    .auto31-info-hotline b {
        font-size: 1.8rem;
    }

    /*xe cùng khoảng giá*/
    .auto31-other-car .auto31-item a .auto31-img-car {
        height: 180px;
    }

    .car-home-tieu-de
    {
        height: auto;
    }

    .auto31-other-car .auto31-box-price {
        margin: 0.5rem;
    }

    .auto31-other-car .auto31-info-car {
        padding: 0.5rem 0.5rem 0;
    }

    .auto31-other-car .auto31-info-car .auto31-item-info {
        line-height: 2.0rem;
        font-size: 1.3rem;
    }

    .auto31-other-car .auto31-info-car .auto31-item-info i {
        line-height: 2.0rem;
        font-size: 1.3rem;
        margin-right: 0.1rem;
    }
    .auto31-other-car .auto31-item
    {
        flex-basis: 100%;
    }
    .auto31-other-car .auto31-item:nth-last-child(2)
    {
        display: block;
    }
    
    .auto31-box-price .auto31-price{
        flex-basis:45%;
        text-align: left;
    }
    .auto31-box-price .tra-truoc-al{
        flex-basis:45% !important;
    }
    .tra-truoc-al
    {
        flex-basis: 49%;
        margin-top: 0;
        text-align: end;
    }
}

@media only screen and (max-width: 375px) {
    /*danh sách ảnh xe*/
    #auto31-main-photo img {
        height: 237px;
    }

    .auto31-list-img .auto31-item .auto31-photo-list img {
        height: 57px;
    }

    /*xe cùng khoảng giá*/
    .auto31-other-car .auto31-item a .auto31-img-car {
        height: 116px;
    }
}

@media only screen and (max-width: 360px) {
    /*thông tin xe*/
    .auto31-info-hotline b {
        font-size: 1.6rem;
    }

    /*phí trước bạ*/
    .auto31-name-transfer-fee {
        padding: 1.5rem 0.5rem;
    }

    /*danh sách xe đang bán*/
    .auto31-other-car .auto31-info-car .auto31-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .auto31-other-car .auto31-info-car .auto31-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
    }
    /*tính vay trả góp*/
    .installment .item input, .installment .item select
    {
        flex-basis: 60% !important;
    }
    .installment .item label
    {
        flex-basis: 39%;
    }
}
@media only screen and (max-width: 330px) 
{
    .auto31-other-car .auto31-item
    {
        flex-basis: 100%;
    }
    
    /*hiện xe số 3*/
    .xe-so3
    {
        display: block;
    }
    .tra-truoc-al
    {
        flex-basis: auto;
        margin-top: 0;
    }
    .car-home-tieu-de
    {
        height: auto;
    }
    .auto31-other-car .auto31-item a .auto31-img-car
    {
        height: 160px;
    }
}




