#wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#wrapper .col-l {
    flex-basis: 70%;
}

#wrapper .col-r {
    flex-basis: 28%;
}

/*liên hệ*/

.col-l .note {
    margin-bottom: 20px;
    font-weight: bold;
}

.col-l .box-contact {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1em;
    background-image: url(../images/contact/bg-contact.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.col-l .box-contact .item {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    margin-bottom: 20px;
}


.col-l .box-contact .item label {
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: bold;
}

.col-l .box-contact .item .char {
    color: var(--red);
}

.col-l .box-contact .item input {
    height: 35px;
    border-radius: 4px;
    border: 1px solid #dedede;
    outline: none;

    padding-left: 10px;
}

.col-l .box-contact .item textarea {
    height: 200px;
    border-radius: 4px;
    border: 1px solid #dedede;
    outline: none;

    padding: 10px;
}

.col-l .box-contact .item input:focus, .col-l .box-contact .item textarea:focus {
    border-color: var(--red);
}

.col-l .box-contact .btn-send {
    text-align: left;
    flex-basis: 100%;
}

.col-l .box-contact .btn-send a {
    display: inline-block;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    font-weight: bold;
    padding: 6px 40px;
    border-radius: 4px 0 4px 0;
}

.col-l .box-contact .btn-send a:hover {
    background: var(--redHover);
}

/*bản đồ map*/
.col-l .map-salon {
    margin-top: 30px;
}

/*xe mới về*/

.col-r h2 {
    padding-bottom: 10px;

}

.col-r .list .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dotted var(--bd);
}

.col-r .list .item img {
    height: 68px;
}

.col-r .item .img {
    width: 30%;
}

.col-r .item .info {
    width: 67%;
}

.col-r .item .info .car {
    display: inline-block;
    margin-bottom: 3px;
    font-weight: bold;
    font-size: 1em;
}

.price {
    color: var(--red) !important;
}

.col-r .item .info .car:hover {
    color: var(--red);
}

.col-r .list .item:last-child {
    border: none;
}

.warning {
    margin: 15px 0 -5px;
    color: red;
    font-weight: bold;
    overflow: hidden;
    display: none;
}

@media only screen and (max-width: 1200px) {
    #wrapper {
        padding: 15px;
    }
}

@media only screen and (max-width: 1024px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 55px;
    }

    /*bản đồ map*/
    .map-salon iframe {
        height: 350px;
    }
}

@media only screen and (max-width: 991px) {
    h2 {
        font-size: 16px;
    }

    #wrapper {
        flex-wrap: wrap;
    }

    /*giới thiệu*/
    #wrapper .col-l {
        flex-basis: 100%;
        margin-bottom: 15px;
    }

    /*xe mới về*/
    #wrapper .col-r {
        flex-basis: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #wrapper .col-r .title {
        flex-basis: 100%;
    }

    #wrapper .col-r .list {
        flex-basis: 68%;
    }

    #wrapper .col-r .box-advertisement {
        flex-basis: 30%;
        margin-top: 10px;
    }

    .col-r .item .img img {
        height: 130px;
    }
}

@media only screen and (max-width: 768px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 140px;
    }

    #wrapper .col-r .list {
        flex-basis: 100%;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement {
        flex-basis: 100%;
    }

    #wrapper .col-r .box-advertisement a {
        width: 100%;
    }

    #wrapper .col-r .box-advertisement a img {
        height: 300px;
    }
}

@media only screen and (max-width: 640px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 120px;
    }
}

@media only screen and (max-width: 576px) {
    #wrapper {
        padding: 10px;
    }

    /*liên hệ*/
    .col-l .box-contact .item-cd {
        flex-basis: 100%;
    }

    .col-l .box-contact .item input {
        height: 40px;
    }

    /*xe mới về*/
    .col-r .item .img img {
        height: 105px;
    }

    /*bản đồ map*/
    .map-salon iframe {
        height: 300px;
    }
}

@media only screen and (max-width: 480px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 85px;
    }

    .col-r .list .item {
        padding: 10px 0;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement a img {
        height: 180px;
    }

    /*bản đồ map*/
    .map-salon iframe {
        height: 250px;
    }

    .col-l .box-contact .btn-send a {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 375px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 70px;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement a img {
        height: 140px;
    }

    /*bản đồ map*/
    .map-salon iframe {
        height: 200px;
    }
}

@media only screen and (max-width: 320px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 59px;
    }
}
