/*các hãng xe*/
main .nguyenthai-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 .nguyenthai-list-make {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nguyenthai-list-make .nguyenthai-item {
    flex: 0 0 auto;
   
}

.nguyenthai-list-make .nguyenthai-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    cursor: pointer;
}

.nguyenthai-list-make .nguyenthai-item a img {
    width: 65px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.nguyenthai-list-make .nguyenthai-item a:hover img{
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.nguyenthai-list-make .nguyenthai-item a span {
    margin-top: 0.5rem;
    text-transform: capitalize;
    color: var(--vtWhite);
}

.nguyenthai-make-car .nguyenthai-sort {
    width: 170px;
    text-transform: capitalize;
    color: var(--vtWhite);
}

.nguyenthai-make-car .nguyenthai-sort option {
    text-transform: capitalize;
}

.nguyenthai-item-info
{
    display: block;
    
}
.nguyenthai-item-info img
{
    width: 15px;
    height: 15px;
    object-fit: cover;
    vertical-align: middle;
}
/*danh sách xe đang bán*/

.nguyenthai-sell-car {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.nguyenthai-list-cars {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nguyenthai-list-cars:after {
    content: '';
    flex-basis: 24%;
}

.nguyenthai-list-cars .nguyenthai-item {
    flex-basis: 32.5%;
    background: #e7e7e7;
    border-radius: 4px;
    margin-bottom: 2.3rem;
    
}

.nguyenthai-list-cars .nguyenthai-item:last-child {
    margin-bottom: 1rem;
}

.nguyenthai-list-cars .nguyenthai-item a {
   
    width: 100%;
    font-size: 1.2em;
}
.nguyenthai-item a:hover
{
    color: var(--main-color);
}
.nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
    height: 250px;
   border-radius: 0 6px 0 0;
}
.nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car:hover {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
   
}


.nguyenthai-list-cars .nguyenthai-box-price {
    text-align: left;
    margin: 1rem;
}

.nguyenthai-box-price .nguyenthai-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);
}

.nguyenthai-list-cars .nguyenthai-info-car {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 1rem 0;
    
}

.nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info {
    flex-basis: 24%;
    margin-bottom: 1rem;
    background: white;
    align-items: center;
    font-size: .9em;
    padding: 0.2em 0.3em;
    border-radius: 0 6px 0  6px;
    text-align: center;
}

.nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info span {
    
    
    font-size: 1em;
    display: block;
}

.nguyenthai-item-info .material-icons-outlined
{
    font-size: 2.5rem !important;
    color: var(--main-color);
    margin-bottom: 0.5rem;
}
/*giới thiệu salon*/
.nguyenthai-intro-salon {
    background-image: url("../images/nguyenthai-qc.jpg");
    background-size: cover;
    background-position: center;
    height: 280px;
    position: relative;
}

/*mục tin tức*/

.nguyenthai-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: 4px;
    margin: 1em auto;
    padding: 1em;
    background: var(--vtbghome);
    flex-wrap: wrap;
}

.nguyenthai-news .nguyenthai-box {
    flex-basis: 100%;
}

.nguyenthai-news .nguyenthai-list-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1.4em;
}

.nguyenthai-list-news .nguyenthai-item {
    margin-bottom: 2rem;
    flex-basis: 32%;
    box-shadow: 1px 2px 3px #999;
    border-radius: 4px;
    padding: .5em;
}

.nguyenthai-list-news .nguyenthai-item .nguyenthai-img {
    flex-basis: 25%;
}

.nguyenthai-list-news .nguyenthai-item .nguyenthai-img img {
    height: 210px;
    border-radius: 4px 4px 0 0;
}

.nguyenthai-list-news .nguyenthai-item .nguyenthai-info {
    margin-top: 1.5em;
}
.nguyenthai-new
{
    height: 44px;
}
.nguyenthai-new, .nguyenthai-des
{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.nguyenthai-list-news .nguyenthai-item .nguyenthai-info .nguyenthai-des {
    margin-top: 0.5rem;
}

.news-box-home
{
    position: relative;
}
.news-box-home span
{
    position: absolute;
    bottom: -15px;
    left: 15px;
    background: var(--yellow);
    color: var(--red);
    padding: .5em 1em;
    border-radius: 5px;
    z-index: 2;
}
/*truyền thông*/

.nguyenthai-media {
    /*background-image: url(../images/bg-3.jpg); */
    /* background-color: #081336; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    /* background-size: cover;*/
    padding-top:3em;
    padding-bottom: 2em;
}

.nguyenthai-media .nguyenthai-container {
    
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}


.nguyenthai-media .nguyenthai-container .nguyenthai-box {
    flex-basis: 49%;
    padding-bottom: 2rem;
}

.nguyenthai-media .nguyenthai-container .nguyenthai-box iframe {
    border-radius: 4px;
}

/*liên hệ*/

.nguyenthai-contact {
    background: var(--alListLink);
}
/*nút tải thêm xe*/


.btn-grad {
    background: var(--main-color);
}

.btn-grad {
    margin: 0 auto;
    padding: 10px 25px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: var(--yellow);
    border-radius: 0 6px 0 6px;
    width: 40%;
    display: block;
    cursor: pointer;
}

.btn-grad:hover {
    background: var(--yellow);
    color: #000;
    text-decoration: none;
}

@media only screen and (max-width: 1230px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-make .nguyenthai-item {
        margin-right: 4rem;
    }

    .nguyenthai-sell-list-cars {
        padding: 0 1.5rem;
    }

    
    /*mục tin tức*/
    .nguyenthai-news {
        padding: 0 1.5rem;
    }
    /*truyển thông*/
    .nguyenthai-media {
        padding: 0 1.5rem;
    }
}
@media only screen and (max-width: 1090px)
{
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info
    {
        font-size: .8em;
    }
}


@media only screen and (max-width: 1024px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 155px;
    }

    main .nguyenthai-make-car {
        padding: 0.5rem 1rem;
    }

    .nguyenthai-list-make .nguyenthai-item {
        margin-right: 3.5rem;
    }

        
    /*truyền thông*/
    .nguyenthai-media iframe {
        width: 100%;
    }

    .nguyenthai-media .nguyenthai-container .nguyenthai-box {
        flex-basis: 49%;
        padding-bottom: 2rem;
    }
}

@media only screen and (max-width: 991px) {
    /*danh sách xe đang bán*/
    main .nguyenthai-make-car {
        background: var(--alWhite);
        padding: 0;
        justify-content: flex-end;
    }

    main .nguyenthai-list-make {
        flex-basis: 100%;
        margin-bottom: 1.5rem;
        padding: 0 1.5rem 1rem;
        border-radius: 4px;
    }
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info
    {
        flex-basis: 49%;
    }
    

    .nguyenthai-list-cars .nguyenthai-item {
        flex-basis: 32%;
        margin-bottom: 1.5rem;
    }

    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 204px;
    }

    
    .nguyenthai-list-make .nguyenthai-item {
        margin-right: 2.5rem;
    }

    /*mục tin tức*/
    .nguyenthai-news {
        padding: 0 1.5rem 2rem;
    }

    .nguyenthai-news .nguyenthai-box {
        flex-basis: 100%;
    }

    .nguyenthai-list-news .nguyenthai-item:last-child {
        margin-bottom: 0;
    }
    
}

@media only screen and (max-width: 768px) {
    /*danh sách xe đang bán*/
    .nguyenthai-sell-car {
        margin-top: 0.8rem;
    }

    .nguyenthai-sell-list-cars {
        padding: 0 1rem;
    }

    .nguyenthai-list-cars .nguyenthai-item:last-child {
        margin-bottom: 0;
    }

    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 157px;
    }

    .nguyenthai-pagination ul {
        margin-bottom: 1.5rem;
    }

    /*mục tin tức*/
    .nguyenthai-news {
        padding: 0 1rem 1.5rem;
    }

    .nguyenthai-list-news .nguyenthai-item {
        margin-bottom: 1.5rem;
        flex-basis: 49%;
    }

    /*truyền thông*/
    .nguyenthai-media {
        padding: 0 1rem;
    }

    .nguyenthai-media .nguyenthai-container .nguyenthai-box {
        padding-bottom: 1.5rem;
    }

    .nguyenthai-media iframe {
        height: 250px;
    }
    .nguyenthai-list-cars .nguyenthai-car
    {
        height: 54px;
        overflow: hidden;
    }
    .map
    {
        width: 100%;
    }
    .nguyenthai-title h2
    {
        font-size: 1.2em;
    }
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info
    {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 640px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 132px;
    }
    
    .nguyenthai-item-info img
    {
        height: 12px;
        width: 12px;
    }
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info
    {
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 576px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-cars .nguyenthai-item {
        flex-basis: 49%;
    }

    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 181px;
    }

    /*mục tin tức*/
    .nguyenthai-list-news .nguyenthai-item .nguyenthai-img {
        flex-basis: 30%;
    }

    .nguyenthai-list-news .nguyenthai-item .nguyenthai-info {
        flex-basis: 68%;
    }

    .nguyenthai-list-news .nguyenthai-item .nguyenthai-img img {
        height: 180px;
    }

    /*truyền thông*/
    .nguyenthai-media .nguyenthai-container .nguyenthai-box {
        flex-basis: 100%;
    }

    .nguyenthai-media .nguyenthai-container .nguyenthai-box:first-child {
        padding-bottom: 0;
    }
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info
    {
        font-size: 0.9em;
    }
    .dich-vu3 li strong
    {
        font-size: 1.3em;
    }
}

@media only screen and (max-width: 480px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 150px;
    }

    /*!*mục tin tức*!*/
    .nguyenthai-list-news .nguyenthai-item .nguyenthai-img img {
        height: 160px;
    }
    .nguyenthai-list-make .nguyenthai-item a img
    {
        width: 55px;
    }
	.nguyenthai-item-info .material-icons-outlined {
		font-size: 2.0rem !important;
	}
	.nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info span {
	  
	  font-size: 0.9em;
	  
	}
}

@media only screen and (max-width: 420px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 130px;
    }

    .nguyenthai-list-cars .nguyenthai-car {
        padding: 0.5rem 0.5rem 0;
    }

    .nguyenthai-list-cars .nguyenthai-box-price {
        margin: 0.5rem
    }

    .nguyenthai-list-cars .nguyenthai-info-car {
        padding: 0.5rem 0.5rem 0;
    }

    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info {
        margin-bottom: 0.8rem;
    }

    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info i {
        line-height: 2.0rem;
        font-size: 1.3rem;
        margin-right: 0.1rem;
    }

    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info {
        line-height: 2.0rem;
        font-size: 1.3rem;
    }

    /*mục tin tức*/
    .nguyenthai-list-news .nguyenthai-item .nguyenthai-img {
        flex-basis: 35%;
    }

    .nguyenthai-list-news .nguyenthai-item .nguyenthai-info {
        flex-basis: 63%;
    }

    .nguyenthai-list-news .nguyenthai-item .nguyenthai-img img {
        height: 200px;
    }
    .btn-grad
    {
        width: 100%;
    }
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info
    {
        font-size: 0.8em;
    }
    .nguyenthai-list-news .nguyenthai-item
    {
        flex-basis: 100%;
    }
	.nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info span {
	  
	  font-size: 0.9em !important;
	  
	}
}

@media only screen and (max-width: 375px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car {
        height: 116px;
    }
    .nguyenthai-list-cars .nguyenthai-item
    {
        flex-basis: 100%;
    }
    .nguyenthai-list-cars .nguyenthai-car
    {
        height: auto !important;
    }
    .nguyenthai-list-cars .nguyenthai-item a .nguyenthai-img-car
    {
        height: 230px;
    }
    .nguyenthai-list-cars .nguyenthai-item a
    {
        display: inline;
    }
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info
    {
        font-size: 1em;
    }
    /*bản đồ trang chủ*/
    .map-row iframe
    {
        height: 290px;
    }
}

@media only screen and (max-width: 360px) {
    /*danh sách xe đang bán*/
    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .nguyenthai-list-cars .nguyenthai-info-car .nguyenthai-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
    }
    .vtcategory .vt-item
    {
        flex-basis: 50% !important;
        margin-bottom: 1em;
    }
}
.add
{
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 10px;
    padding: .4rem .5rem;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    font-size: 1em;
}
.add span
{
    font-size: 1.3em;
    color: var(--main-color);
}

