/*các hãng xe*/
main .thy-make-car {
    
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 1px dotted #f8f4da;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

main .thy-list-make {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.thy-list-make .thy-item {
    flex: 0 0 auto;
   
}

.thy-list-make .thy-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    cursor: pointer;
}

.thy-list-make .thy-item a img {
    width: 65px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.thy-list-make .thy-item a:hover img{
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.thy-list-make .thy-item a span {
    margin-top: 0.5rem;
    text-transform: capitalize;
    color: var(--vtWhite);
}

.thy-make-car .thy-sort {
    width: 170px;
    text-transform: capitalize;
    color: var(--vtWhite);
}

.thy-make-car .thy-sort option {
    text-transform: capitalize;
}

.thy-item-info
{
    display: block;
    
}
.thy-item-info img
{
    width: 15px;
    height: 15px;
    object-fit: cover;
    verticthy-align: middle;
}
/*danh sách xe đang bán*/

.thy-sell-car {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.thy-list-cars, .thy-list-cars-delete {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.thy-list-cars:after, .thy-list-cars-delete:after {
    content: '';
    flex-basis: 24%;
}

.thy-list-cars .thy-item,.thy-list-cars-delete .thy-item {
    flex-basis: 32%;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    box-shadow: 0 1px 3px #888;
}


.thy-list-cars .thy-item:last-child, .thy-list-cars-delete .thy-item:last-child {
    margin-bottom: 1rem;
}

.thy-list-cars .thy-item a, .thy-list-cars-delete .thy-item a {
   
    width: 100%;
    font-size: 1.2em;
}
.thy-item a:hover
{
    text-decoration: underline;
}
.thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: 230px;
   
}
.thy-list-cars .thy-item a .thy-img-car:hover, .thy-list-cars-delete .thy-item a .thy-img-car:hover {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
   
}


.thy-list-cars .thy-box-price, .thy-list-cars-delete .thy-box-price {
    text-align: left;
    margin: 1rem;
}

.thy-box-price .thy-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);
}

.thy-list-cars .thy-info-car, .thy-list-cars-delete .thy-info-car {
   
    margin-top: 1em;
    padding: 0.5rem 1rem 0;
    flex-basis: 42%;
}
.addon-price
{
    flex-basis: 56%;
    text-align: right;
    padding-right: 1em;
    margin-bottom: 0;
    margin-top: 6em;
    font-weight: bold;
}
.price-ok
{
    font-size: 1.3em;
    color: var(--red-color);
    margin-top: 0.5em;
}
.tra-truoc-h
{
    padding-left: .8em;
    padding-right: .8em;
    font-style: italic;
    font-weight: bold;
}
span.car-sold {
    background: var(--red-color);
    position: absolute;
    top: 25px;
    left: -57px;
    text-align: center;
    padding: 0.5em 1em;
    text-transform: uppercase;
    color: #fff;
    width: 200px;
    transform: rotate(-45deg);
    z-index: 9;
}
.fix-p
{
    text-decoration: line-through;
}
.thy-list-cars .thy-info-car .thy-item-info, .thy-list-cars-delete .thy-info-car .thy-item-info {
    flex-basis: 49%;
    color: #4a4a4a;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 1em;
}

.thy-list-cars .thy-info-car .thy-item-info span, .thy-list-cars-delete .thy-info-car .thy-item-info span {
    color: var(--red-color);
    margin-right: 0.2rem;
    font-size: 1em;
}

/*giới thiệu salon*/

.thy-intro-salon {
    background-image: url("../images/thy-qc.jpg");
    background-size: cover;
    background-position: center;
    height: 280px;
    position: relative;
}

/*mục tin tức*/

.thy-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: 4px;
    margin: 1em auto;
    background: var(--vtbghome);
    flex-wrap: wrap;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}

.thy-news .thy-box {
    flex-basis: 100%;
}

.thy-news .thy-list-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1.4em;
    border-radius: 4px;
    background: #efeded;
}

.thy-list-news .thy-item {
    background: #fff;
    padding: .5em;
    margin-bottom: 3rem;
    flex-basis: 32%;
    border-radius: 4px;
}

.thy-list-news .thy-item .thy-img {
    flex-basis: 25%;
}

.thy-list-news .thy-item .thy-img img {
    height: 220px;
    border-radius: 4px;
}

.thy-list-news .thy-item .thy-info {
    flex-basis: 73%;
}

.thy-list-news .thy-item .thy-info .thy-des {
    margin-top: 0.5rem;
}

.text-custom-red
{
    color: var(--red-color);
    font-size: 2rem;
}
/*truyền thông*/

.thy-media {
    background-image: url("../images/trang-chu/bkg-dv.jpg"); 
    background-color: #081336; 
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover; 
    padding-top:3em;
    padding-bottom: 2em;
}

.thy-media .thy-container {
    
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}


.thy-media .thy-container .thy-box {
    flex-basis: 49%;
    padding-bottom: 2rem;
}

.thy-media .thy-container .thy-box iframe {
    border-radius: 4px;
}

/*liên hệ*/

.thy-contact {
    background: var(--alListLink);
}
/*nút tải thêm xe*/
.nut-tai-them a {
    color: var(--white);

    font-weight: bold;

}


.btn-grad {
    margin: 0 auto;
    padding: 10px 25px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 20px;
    width: 40%;
    display: block;
    cursor: pointer;
    background: var(--red-color);
}

.btn-grad:hover {
    background: var(--redHover);
    color: #000;
    text-decoration: none;
}

@media only screen and (max-width: 1230px) {
    /*danh sách xe đang bán*/
    .thy-list-make .thy-item {
        margin-right: 4rem;
    }

    .thy-sell-list-cars {
        padding: 0 1.5rem;
    }

    
    /*mục tin tức*/
    .thy-news {
        padding: 0 1.5rem;
    }
    /*truyển thông*/
    .thy-media {
        padding: 0 1.5rem;
    }
}

@media only screen and (max-width: 1024px) {
    /*danh sách xe đang bán*/
    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 155px;
    }

    main .thy-make-car {
        padding: 0.5rem 1rem;
    }

    .thy-list-make .thy-item {
        margin-right: 3.5rem;
    }

    /*truyền thông*/
    .thy-media iframe {
        width: 100%;
    }

    .thy-media .thy-container .thy-box {
        flex-basis: 49%;
        padding-bottom: 2rem;
    }
    .price-prod
    {
        margin-top: 1.3em;
    }
}

@media only screen and (max-width: 991px) {
    /*danh sách xe đang bán*/
    main .thy-make-car {
        background: var(--alWhite);
        padding: 0;
        justify-content: flex-end;
    }

    main .thy-list-make {
        flex-basis: 100%;
        margin-bottom: 1.5rem;
        padding: 0 1.5rem 1rem;
        border-radius: 4px;
    }

    

    .thy-list-cars .thy-item, .thy-list-cars-delete .thy-item {
        flex-basis: 32%;
        margin-bottom: 1.5rem;
    }

    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 204px;
    }

    
    .thy-list-make .thy-item {
        margin-right: 2.5rem;
    }

    /*mục tin tức*/
    .thy-news {
        padding: 0 1.5rem 2rem;
    }

    .thy-news .thy-box {
        flex-basis: 100%;
    }

    .thy-list-news .thy-item:last-child {
        margin-bottom: 0;
    }

    .thy-list-news .thy-item
    {
        flex-basis: 49%;
    }
}
@media only screen and (max-width: 816px)
{
    .thy-list-cars .thy-info-car, .addon-price, .thy-list-cars-delete .thy-info-car, .addon-price
    {
        flex-basis: 100%;
    }
    .addon-price
    {
        text-align: left;
        padding-left: .8em;
        margin-top: 1em;
        padding-bottom: 1em;
    }
    .thy-info-car
    {
        display: flex;
        flex-wrap: wrap;
    }
    .thy-item-info
    {
        flex-basis: 49% !important;
    }
}
@media only screen and (max-width: 768px) {
    /*danh sách xe đang bán*/
    .thy-sell-car {
        margin-top: 0.8rem;
    }

    .thy-sell-list-cars {
        padding: 0 1rem;
    }

    .thy-list-cars .thy-item:last-child, .thy-list-cars-delete .thy-item:last-child {
        margin-bottom: 0;
    }

    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 157px;
    }

    .thy-pagination ul {
        margin-bottom: 1.5rem;
    }

    /*mục tin tức*/
    .thy-news {
        padding: 0 1rem 1.5rem;
    }

    .thy-list-news .thy-item {
        margin-bottom: 1.5rem;
       
    }

    /*truyền thông*/
    .thy-media {
        padding: 0 1rem;
    }

    .thy-media .thy-container .thy-box {
        padding-bottom: 1.5rem;
    }

    .thy-media iframe {
        height: 250px;
    }
    .thy-list-cars .thy-car, .thy-list-cars-delete .thy-car
    {
        height: 54px;
        overflow: hidden;
    }
    .map
    {
        width: 100%;
    }
    .thy-title h2
    {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 640px) {
    /*danh sách xe đang bán*/
    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 132px;
    }

    .thy-list-cars .thy-info-car .thy-item-info, .thy-list-cars-delete .thy-info-car .thy-item-info
    {
        font-size: 0.9em;
    }
    .thy-item-info img
    {
        height: 12px;
        width: 12px;
    }
}

@media only screen and (max-width: 576px) {
    /*danh sách xe đang bán*/
    .thy-list-cars .thy-item, .thy-list-cars-delete .thy-item {
        flex-basis: 49%;
    }



    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 181px;
    }

    /*mục tin tức*/
    .thy-list-news .thy-item .thy-img {
        flex-basis: 30%;
    }

    .thy-list-news .thy-item .thy-info {
        flex-basis: 68%;
    }

    
    /*truyền thông*/
    .thy-media .thy-container .thy-box {
        flex-basis: 100%;
    }

    .thy-media .thy-container .thy-box:first-child {
        padding-bottom: 0;
    }
    .xe-so-3
    {
        display: none;
    }
    
}

@media only screen and (max-width: 480px) {
    /*danh sách xe đang bán*/
    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 150px;
    }

    /*!*mục tin tức*!*/
    
    .thy-list-make .thy-item a img
    {
        width: 55px;
    }
}

@media only screen and (max-width: 420px) {
    /*danh sách xe đang bán*/
    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 130px;
    }

    .thy-list-cars .thy-car, .thy-list-cars-delete .thy-car {
        padding-left:.1em ;
    }

    .thy-list-cars .thy-box-price,  .thy-list-cars-delete .thy-box-price {
        margin: 0.5rem
    }

    .thy-list-cars .thy-info-car, .thy-list-cars-delete .thy-info-car {
        padding: 0.5rem 0.5rem 0;
    }

    .thy-list-cars .thy-info-car .thy-item-info, .thy-list-cars-delete .thy-info-car .thy-item-info {
        margin-bottom: 0.8rem;
    }

    .thy-list-cars .thy-info-car .thy-item-info i, .thy-list-cars-delete .thy-info-car .thy-item-info i {
        line-height: 2.0rem;
        font-size: 1.3rem;
        margin-right: 0.1rem;
    }

    .thy-list-cars .thy-info-car .thy-item-info, .thy-list-cars-delete .thy-info-car .thy-item-info {
        line-height: 2.0rem;
        font-size: 1.3rem;
    }

    /*mục tin tức*/
    .thy-list-news .thy-item .thy-img {
        flex-basis: 35%;
    }
    .thy-list-news .thy-item
    {
        flex-basis: 100%;
    }
    .thy-list-news .thy-item .thy-info {
        flex-basis: 63%;
    }

    
    .btn-grad
    {
        width: 100%;
    }
}

@media only screen and (max-width: 375px) {
    /*danh sách xe đang bán*/
    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car {
        height: 116px;
    }
    .thy-list-cars .thy-item, .thy-list-cars-delete .thy-item
    {
        flex-basis: 100%;
    }
    .thy-list-cars .thy-car, .thy-list-cars-delete .thy-car
    {
        height: auto !important;
    }
    .thy-list-cars .thy-item a .thy-img-car, .thy-list-cars-delete .thy-item a .thy-img-car
    {
        height: 230px;
    }
    .thy-list-cars .thy-item a, .thy-list-cars-delete .thy-item a
    {
        display: inline;
    }
    .xe-so-3
    {
        display: block;
    }
    .thy-list-news .thy-item .thy-img img
    {
        height: 190px;
    }
}

@media only screen and (max-width: 360px) {
    /*danh sách xe đang bán*/
    .thy-list-cars .thy-info-car .thy-item-info i, .thy-list-cars-delete .thy-info-car .thy-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .thy-list-cars .thy-info-car .thy-item-info, .thy-list-cars-delete .thy-info-car .thy-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
    }
    .vtcategory .vt-item
    {
        flex-basis: 50% !important;
        margin-bottom: 1em;
    }
    h1
    {
        font-size: 1.5rem;
    }
}

