
nav {
    position: relative;
}

.otobacninh-title {
    margin-top: 0.4em;
}

.otobacninh-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    
}

.otobacninh-wrapper .otobacninh-col-l {
    flex-basis: 70%;
   
}

.otobacninh-wrapper .otobacninh-col-r {
    flex-basis: 28%;
    margin-top: 0.7em;
}

.otobacninh-wrapper .otobacninh-col-l .otobacninh-title-car {
    
    margin-top: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.w3-bar .w3-button
{
    font-weight: bold;
}

.gia-ban-2
{
    background: var(--red-color);
    padding: 0.5em;
    margin-top: 1em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 4px 4px 0 0;
}
.gia-ban-2 span
{
    flex-basis: 49%;
}
.tra-truoc2
{
    text-align: right;
    color: #fff;
}
.gia2a
{
    font-size: 1.3em;
    color: #fff;
    font-weight: bold;
}

/*danh sách ảnh xe*/
.otobacninh-box-img {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#otobacninh-main-photo {
    flex-basis: 70%;
}

#otobacninh-main-photo img {
    height: 420px;
    border-radius: 5px;
}

.otobacninh-box-img .otobacninh-list-img {
    flex-basis: 29%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    
}

.otobacninh-box-img .otobacninh-list-img:after {
    content: '';
    flex-basis: 24%;
}

.otobacninh-list-img .otobacninh-item {
    flex-basis: 49%;
    margin-bottom: 0.5rem;
}

.otobacninh-list-img .otobacninh-item:last-child {
    margin-bottom: 0;
}


.otobacninh-list-img .otobacninh-item .otobacninh-photo-list img {
    height: 80px;
    border-radius: 5px;
}

.otobacninh-box-info-salon
{
    padding: 1em;
   background: fixed;
    padding-left: 0;
}
.tt-vt
{  
    padding-top: 2em;
}
.tt-vt h3
{
    font-weight: bold;
}

.active-btn
{
    background:var(--vtcolorlink);
}
.w3-black
{
    
    background-color: #c2c2be!important;
    color: #000 !important;
}
.w3-hover-black:hover
{
    background: var(--vtcolorlink) !important;
}

.w3-bar:hover .w3-button:hover
{
    background: var(--kccolorlink) !important;
}

.otobacninh-car
{
    display: inline-block;
    width: 100%;
    color: var(--vtcolorlink);
    
}
.otobacninh-car b {
    color: var(--vtbgmenu);
        
}
.otobacninh-item .otobacninh-car b:hover
{
    color: var(--vtcolorlink) !important;
}
.price-ok
{
    background: var(--vtcolorlink);
    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(--vtWhite);
}
/*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(--vtcolorlink);
    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*/

.otobacninh-box-info {
    padding: 0.6em;
    color: #000;
    background: #e9e9e9;
    border-radius: 0 0 4px 4px;
}

.otobacninh-box-info .otobacninh-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;
}

.otobacninh-box-info .otobacninh-info-car {
    
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem;
    padding-left: 0;
}

.otobacninh-box-info .otobacninh-info-car .otobacninh-item {
    flex-basis: 49%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.otobacninh-box-info .otobacninh-info-car .otobacninh-item label {
    flex-basis: 35%;
}

.gia-ban
{
    font-size: 1.3em;
    
}

ul.otobacninh-box
{
    flex-basis: 100%;
}
/*vay trả góp*/
.box-installment {
    margin-top: 20px;
    
    
}

.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 #bcb8b8;
    outline: none;
    padding-left: 10px;
    background: #fff;
    border-radius: 5px;
}

.installment .item .icon {
    color: var(--red-color);
    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(--red);
    font-weight: bold;
    padding: 6px 30px;
}

.installment .btn-send a:hover {
    background: var(--redHover);
}

.rs-installment {
    background: var(--vtWhite);
    padding: 5px 15px;
    margin: 15px 0 0;
    border: 1px solid #ccc;
    background: floralwhite;
    border-radius: 5px;
}

.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-installment .item:last-child {
    border-bottom: none;
}

.rs-installment .item label {
    margin-bottom: 5px;
   
}

.rs-installment .item span {
    font-weight: bold;
}

.btn-grad {
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    display: block;
    cursor: pointer;
}

.btn-grad a
{
    padding: 6px 25px;
    display: block;
}


.btn-grad:hover {
    background: var(--vtyellow);
    color: #000000 !important;
    text-decoration: none;
}
/*thông tin salon*/
.otobacninh-box-info-salon ul {
    padding: 0 1.5rem;
}

.otobacninh-box-info-salon p {
    margin-top: 1rem;
}

.otobacninh-box-info-salon .otobacninh-info-hotline {
    background: var(--alRed);
    color: var(--alWhite);
    padding: 1.5rem 0;
    font-size: 2.1rem;
    text-align: center;
}

.otobacninh-info-hotline b {
    color: var(--alWhite);
    -webkit-text-fill-color: var(--alWhite);
    font-size: 2.6rem;
}

/*nội dung tin xe*/
.otobacninh-car-description {
    padding: 1.5rem;
    padding-left: 0;
}

.otobacninh-car-description h3
{
    font-weight: bold;
}
.otobacninh-car-description p {
    display: block;
    margin-top: 1rem;
    width: 100%;
}

/*tính phí sang tên*/
.otobacninh-box-name-transfer-fee {
    margin-top: 1rem;
}

.otobacninh-name-transfer-fee {
    
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    background: floralwhite;
    border-radius: 5px;
    
}


.otobacninh-name-transfer-fee .otobacninh-box {
    flex-basis: 100%;
}

.otobacninh-name-transfer-fee .otobacninh-box-img {
    flex-basis: 49%;
}

.otobacninh-name-transfer-fee .otobacninh-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.otobacninh-name-transfer-fee .otobacninh-item:last-child {
    margin-bottom: 0;
}

.otobacninh-name-transfer-fee .otobacninh-row {
    flex-basis: 58%;
}
.otobacninh-row span, .otobacninh-row label, .font-fix
{
    font-size: 0.9em !important;
}
.otobacninh-name-transfer-fee .otobacninh-pdb .otobacninh-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.otobacninh-name-transfer-fee .otobacninh-row input {
    margin-right: 0.5rem;
    position: relative;
    top: 1px;
}

.otobacninh-name-transfer-fee .otobacninh-choose {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.otobacninh-name-transfer-fee .otobacninh-choose select {
    height: 30px;
    width: 100px;
    
    font-size: 0.9em;
}

.otobacninh-name-transfer-fee .otobacninh-cacu {
    border-top: 1px solid #fff;
    padding-top: 1.5rem;
}

.otobacninh-name-transfer-fee .otobacninh-cacu label {
    font-weight: bold;
}

.otobacninh-name-transfer-fee .otobacninh-cacu span {
    font-weight: bold;
    
    font-size: 0.9em;
}
h1, h2, h3, h4, h5, h6
{
    margin: 0;
}

.btn-grad:hover {
    background: #ff9900;
}

/*xe cùng khoảng giá*/
.otobacninh-box-other-car {
    margin-top: 2rem;
    flex-basis: 100%;
}

.otobacninh-other-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.otobacninh-other-car .otobacninh-item {
    flex-basis: 32%;
   background: #f0f0f0;
   border-radius: 6px;
    
}

.otobacninh-other-car .otobacninh-item a {
    display: inline-block;
    width: 100%;
}

.otobacninh-other-car .otobacninh-item a .otobacninh-img-car {
    height: 260px;
    transform: scale(1);
    transition: .3s ease;
    border-radius: 6px 6px 0 0;
}

.otobacninh-other-car .otobacninh-item a .otobacninh-img-car:hover
{
    transform: scale(1.1);
    border-radius: 6px 6px 0 0;
}
.otobacninh-other-car .otobacninh-car {
    padding: 1rem 1rem 0;
    font-weight: 800;
}
.otobacninh-other-car .otobacninh-car:hover{
	
    color: #fb4848;

}
.otobacninh-other-car .otobacninh-box-price {
    
    margin: 1rem;
}

.otobacninh-other-car .otobacninh-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);
}

.otobacninh-other-car .otobacninh-info-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 1rem 0;
    border-top: 1px solid #e8e6e6;
}

.otobacninh-other-car .otobacninh-info-car .otobacninh-item-info {
    flex-basis: 32%;
    color: var(--alGrayInfoCars);
    margin-bottom: 1rem;
    font-size: 0.9em;
    display: flex;
    align-items: center;

}

.otobacninh-other-car .otobacninh-info-car .otobacninh-item-info ion-icon {
    margin-right: 0.2rem;
    color: var(--red-color);
}

.otobacninh-item-info img {
    width: 13px;
    height: 13px;
    object-fit: cover;
    vertical-align: middle;
    margin-top: -3px;
}

/*chỉ cần trả trước*/
.otobacninh-box-price
{
    text-align: center;
    padding-bottom: 1em;
}

/*tin tức*/
.otobacninh-wrapper .otobacninh-col-r .otobacninh-box-news {
    margin-bottom: 1rem;
}

.otobacninh-col-r .otobacninh-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.otobacninh-news .otobacninh-item {
    flex-basis: 100%;
    border-bottom: 1px solid var(--alGray);
    padding: 1.5rem 0;
    color: var(--alBlack);
}

.otobacninh-news .otobacninh-item:last-child {
    border-bottom: none;
}

.otobacninh-box-news .otobacninh-item a {
    color: var(--alBlack);
    font-weight: 600;
}

@media only screen and (max-width: 1230px) {
    .otobacninh-wrapper {
        padding: 0 1.5rem 1.5rem;
        margin-bottom: 0;
    }

    /*thông tin xe*/
    .otobacninh-box-info .otobacninh-price-car {
        font-size: 2.1rem;
        padding: 1.5rem 0;
    }

    .otobacninh-box-info .otobacninh-info-car .otobacninh-item label {
        flex-basis: 40%;
    }

    /*thông tin salon*/
    .otobacninh-box-info-salon .otobacninh-info-hotline {
        font-size: 1.8rem;
    }

    .otobacninh-info-hotline b {
        font-size: 2.1rem;
    }

    /*phí sang tên*/
    

    .otobacninh-name-transfer-fee .otobacninh-choose {
        flex-basis: 85%;
    }

    .otobacninh-name-transfer-fee .otobacninh-item {
        justify-content: space-between;
    }

    .otobacninh-name-transfer-fee .otobacninh-choose {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 1080px)
{
    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info
    {
        flex-basis: 50%;
    }
}
@media only screen and (max-width: 1024px) {
    .otobacninh-wrapper .otobacninh-col-l {
        flex-basis: 100%;
    }

    .otobacninh-wrapper .otobacninh-col-r {
        margin-top: 1rem;
        flex-basis: 100%;
        
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .otobacninh-wrapper .otobacninh-col-r .otobacninh-box-news {
        flex-basis: 48%;
    }

    .otobacninh-wrapper .otobacninh-col-r .otobacninh-qc {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .otobacninh-other-car .otobacninh-item a .otobacninh-img-car {
        height: 212px;
    }
}
@media only screen and (max-width: 850px)
{
    .otobacninh-other-car .otobacninh-item a {
        /* display: inline-block; */
        width: 100%;
        display: table;
        height: 54px;
    }
}

@media only screen and (max-width: 768px) {
    .otobacninh-wrapper {
        padding: 0 1rem 1.5rem;
    }

    /*danh sách ảnh xe*/
    #otobacninh-main-photo img {
        height: 348px;
    }

    .otobacninh-list-img .otobacninh-item .otobacninh-photo-list img {
        height: 66px;
    }

    /*thông tin xe*/
    .otobacninh-box-info .otobacninh-info-car .otobacninh-item label {
        flex-basis: 50%;
    }

    /*phí sang tên*/
    .otobacninh-box-name-transfer-fee {
        margin-top: 0;
    }

    .otobacninh-name-transfer-fee .otobacninh-box-img {
        display: none;
    }

    .otobacninh-name-transfer-fee .otobacninh-box {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .otobacninh-box-other-car {
        margin-top: 0;
    }

    .otobacninh-other-car .otobacninh-item a .otobacninh-img-car {
        height: 158px;
    }

    /*tin tức*/
    .otobacninh-news .otobacninh-item {
        padding: 1rem 0;
    }
    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info
    {
        font-size: 0.9em;
    }
    .otobacninh-title
    {
        padding-bottom: 0 !important;
    }
    .year span
    {
        flex-basis: 100% !important;
    }
    .tratruoc
    {
        text-align: left !important;
    }
}

@media only screen and (max-width: 640px) {
    /*danh sách ảnh xe*/
    #otobacninh-main-photo img {
        height: 289px;
    }

    .otobacninh-list-img .otobacninh-item .otobacninh-photo-list img {
        height: 54px;
    }

    /*xe cùng khoảng giá*/
    .otobacninh-other-car .otobacninh-item a .otobacninh-img-car {
        height: 190px;
    }
    .otobacninh-other-car .otobacninh-item
    {
        flex-basis: 49%;
        margin-bottom: 1em;
    }
    /*ẩn xe thứ 3*/
	 .otobacninh-other-car .otobacninh-item:last-child
    {
        display: none;
    }
    .fix02
    {
        display: none;
    }
}


@media only screen and (max-width: 576px) {
    /*danh sách ảnh xe*/
    .otobacninh-box-img {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #otobacninh-main-photo {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    #otobacninh-main-photo img {
        height: 370px;
        border-top-left-radius: 0;
    }

    .otobacninh-list-img .otobacninh-item .otobacninh-photo-list img {
        height: 89px;
    }

    .otobacninh-list-img .otobacninh-item:nth-child(2) img {
        border-top-right-radius: 0;
    }

    .otobacninh-box-img .otobacninh-list-img {
        flex-basis: 100%;
    }

    .otobacninh-list-img .otobacninh-item {
        flex-basis: 24%;
    }

    /*thông tin xe*/
    .otobacninh-box-info {
        margin-top: 0;
    }

    .otobacninh-box-info .otobacninh-info-car .otobacninh-item {
        flex-basis: 100%;
    }

    /*xe cùng khoảng giá*/
    .otobacninh-other-car .otobacninh-item {
        flex-basis: 49%;
        margin-bottom: 1rem;
    }

    .otobacninh-other-car .otobacninh-item:last-child {
        margin-bottom: 0;
    }

    .otobacninh-other-car .otobacninh-item a .otobacninh-img-car {
        height: 181px;
    }
    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info
    {
        flex-basis: 49%;
    }
    .otobacninh-box-price
    {
        height: 56px;
    }
}

@media only screen and (max-width: 480px) {
    .otobacninh-wrapper .otobacninh-col-r {
        margin-top: 0;
    }

    /*danh sách ảnh xe*/
    #otobacninh-main-photo img {
        height: 306px;
    }

    .otobacninh-list-img .otobacninh-item .otobacninh-photo-list img {
        height: 74px;
    }

    /*xe cùng khoảng giá*/
    .otobacninh-other-car .otobacninh-item a .otobacninh-img-car {
        height: 150px;
    }

    /*tin tức*/
    .otobacninh-wrapper .otobacninh-col-r .otobacninh-box-news {
        flex-basis: 100%;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 420px) {
    /*danh sách ảnh xe*/
    #otobacninh-main-photo img {
        height: 266px;
    }

    .otobacninh-list-img .otobacninh-item .otobacninh-photo-list img {
        height: 64px;
    }

    /*thông tin salon*/
    .otobacninh-box-info-salon .otobacninh-info-hotline {
        font-size: 1.6rem;
    }

    .otobacninh-info-hotline b {
        font-size: 1.8rem;
    }

    /*xe cùng khoảng giá*/
    .otobacninh-other-car .otobacninh-item a .otobacninh-img-car {
        height: 240px;
    }

    .otobacninh-other-car .otobacninh-car {
        padding: 0.5rem 0.5rem 0;
    }

    .otobacninh-other-car .otobacninh-box-price {
        margin: 0.5rem;
    }

    .otobacninh-other-car .otobacninh-info-car {
        padding: 0.5rem 0.5rem 0;
    }

    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info {
        line-height: 2.0rem;
        font-size: 1.3rem;
    }

    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info i {
        line-height: 2.0rem;
        font-size: 1.3rem;
        margin-right: 0.1rem;
    }
    .tinh
    {
        width: 100%;
    }
    .otobacninh-other-car .otobacninh-item
    {
        flex-basis: 100%;
    }
    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info
    {
        flex-basis: 33%;
    }
    .otobacninh-other-car .otobacninh-item a, .otobacninh-box-price
    {
        height: auto;
        min-height: auto;
    }
    /*tab mô tả chi tiết*/
    .w3-container, .w3-panel
    {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .year span
    {
        flex-basis: 49% !important;
    }
    .tratruoc
    {
        text-align: right !important;
    }
    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info
    {
        flex-basis: 33%;
    }
    /*hiện xe thứ 3*/
	.otobacninh-other-car .otobacninh-item:last-child
    {
        display: block;
    }
    .fix02
    {
        display: block;
    }
}

@media only screen and (max-width: 400px)
{
    .otobacninh-other-car .otobacninh-item
    {
        flex-basis: 100%;
    }
    .otobacninh-other-car .otobacninh-item a .otobacninh-img-car
    {
        height: 200px;
    }
}

@media only screen and (max-width: 375px) {
    /*danh sách ảnh xe*/
    #otobacninh-main-photo img {
        height: 237px;
    }

    .otobacninh-list-img .otobacninh-item .otobacninh-photo-list img {
        height: 57px;
    }

    /*xe cùng khoảng giá*/
    
}

@media only screen and (max-width: 360px) {
    /*thông tin xe*/
    .otobacninh-info-hotline b {
        font-size: 1.6rem;
    }

    /*phí trước bạ*/
    .otobacninh-name-transfer-fee {
        padding: 1.5rem 0.5rem;
    }

    /*danh sách xe đang bán*/
    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
    }
}
@media only screen and (max-width: 350px)
{
    .otobacninh-other-car .otobacninh-info-car .otobacninh-item-info
    {
        flex-basis: 50%;
    }
}

