@font-face {
    font-family: openSans;
    src: url(../font/OpenSans-Regular.ttf);
}

@font-face {
    font-family: openSansBold;
    src: url(../font/OpenSans-Bold.ttf);
}

:root {
    --xaBlack: #3c3d3c;
    --xaBlackTitle: #000000;
    --xaBlackF: #242529;
    --xaWhite: #ffffff;
    --xaBlue: #dfdede;
    --xaBlueA: #2596cf;
    --xaBlueHover: #002db3;
    --xaBlueFooter: #081336;
    --xaBlueInstallment: #DEE8F4;
    --xaGray: #F5F5F5;
    --xaGrayListCars: #E1E1E1;
    --xaGrayInfoCars: #555;
    --xaGrayNote: #888;
    --xaBreadcrumb: #999;
    --xaRed: #e60000;
    --xaRedHover: #ff5400;
    --xaListLink: #293241;
}

html {
    font-size: 62.5%;
}
body
{
    
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: 2.3rem;
    font-size: 1.5rem;
    font-family: 'openSans', sans-serif;
    text-decoration: none;
}

h1 {
    font-family: 'openSansBold', sans-serif;
    font-size: 2.0rem;
    text-transform: uppercase;
    line-height: 2.8rem;
}

h2 {
    font-family: 'openSansBold', sans-serif;
    font-size: 2.0rem;
    text-transform: uppercase;
    line-height: 2.8rem;
    color: var(--xaRed);
}

h3 {
    font-family: 'openSansBold', sans-serif;
    font-size: 1.6rem;
    line-height: 2.4rem;
    text-transform: uppercase;
}

.sa-clear-fix {
    clear: both;
}

a {
   cursor: pointer;
}

a:hover {
    color: var(--xaRedHover);
}

ul li {
    list-style: none;
}

img {
    width: 100%;
    vertical-align: middle;
    object-fit: cover;
}

.sa-active-menu-make {
    opacity: 1 !important;
}

select {
    height: 35px;
    border-radius: 4px;
    border: 1px solid #c7c5c5;
}

.sa-box-btn {
    width: 100%;
    text-align: center;
   
}

.sa-btn-views {
    display: inline-block;
    background: var(--xaRed);
    color: var(--xaWhite);
    padding: 0.8rem 6rem;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 1px 2px 3px #888;
}

.sa-btn-views:hover {
    
    color: black;
}

.sa-container {
    width: 1200px;
    margin: 0 auto;
}

.sa-loading-img {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background: rgba(33,33,33,.5);
    display: none;
}

.sa-box-loading {
    background-repeat:no-repeat;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    height: 100%;
    z-index: 999999;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-car, .sa-car-mb, .sa-news {
    font-family: 'openSansBold', sans-serif;
    text-transform: capitalize;
    color: black;
    font-size: 1.6rem;
    line-height: 2.4rem;
    overflow: hidden;
    
    margin-top: 8px;
}

.sa-price {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--xaRed);
    text-transform: capitalize;
    text-align: right;
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 2.5rem;
}

.sa-title {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: var(--xaRed);
    position: relative;
}


.sa-polygon {
    width: 5px;
    height: 15px;
    background: var(--xaRed);
    
    margin-right: 0.5rem;
}

.sa-lazy-salon
{
    margin-top: 1em;
}
.sa-video
{
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.al-title-video
{
    display: block;
    overflow: hidden;
    height: 70px;
    text-overflow: ellipsis;
    font-size: 0.9em;
    line-height: 1em;
}

.al-title-video a
{
    display: inline;
}




/*phân trang*/
.sa-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.sa-pagination ul li a {
    display: inline-block;
    text-align: center;
    color: var(--xaBlack);
    width: 3.5rem;
    line-height: 3.5rem;
    margin: 0 0.5rem 0 0;
    background: var(--xaWhite);
    border-radius: 4px;
    border: 1px solid var(--xaGrayListCars);
}

.sa-pagination ul li a:hover {
    background: var(--xaBlue) !important;
    color: var(--xaWhite);
}

.sa-active-pag {
    background: var(--xaBlue) !important;
    color: var(--xaWhite) !important;
    font-weight: 700;
}

/*tin tức và tiktok*/
.tin-tuc
{
    padding: 1em;
    background: #e9e9e9 url(../images/trang-chu/transparent-bg.png) center top no-repeat;
    background-attachment: fixed;
    background-size: cover;
    
   
}
.col-tin-tuc
{
    width: 1200px;
    margin: 0 auto;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.list-news
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1em;
}
.item-list-news
{
    flex-basis: 24%;
    margin-bottom: 2em;
    
}
.item-list-news a, .item-list-news span
{
    color: black;
    line-height: 0.6em;
}
.item-list-news img
{
    border-radius: 4px;
    margin-top: 0.3em;
    margin-bottom: 0.5em;
    height: 179px;
}
.item-list-news a:hover
{
    color: var(--xaRedHover);
}

.item-list-news strong
{
    text-transform: uppercase;
    height: 42px;
    overflow: hidden;
    display: block;
}
.tiktok-icon
{
    background: var(--xaBlue);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-left: 0.8em;
    text-align: center;
}
.tiktok-icon img
{
    width: 17px;
    height: 20px;
    object-fit: cover;
    text-align: center;
}

.car-name-home
{
    display: inline-block;
    height: 45px;
    overflow: hidden;
}

.mo-ta-ngan
{
    color: black;
    margin-top: 1em;
    line-height: 22px;
    display: block;
    overflow: hidden;
    height: 65px;
}
/*breadcrumb*/
.sa-breadcrumb {
    padding: 1.5rem 0;
    text-transform: capitalize;
}

.sa-breadcrumb .fa-angle-right {
    margin: 0 3px;
    color: var(--xaBreadcrumb);
}

.item-list-news span
{
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 20px;
    -webkit-line-clamp: 3;
    height: 60px;
     display: -webkit-box;
    -webkit-box-orient: vertical;
}
/*quảng cáo*/
.sa-qc {
    margin-top: 2rem;
}
.sa-qc img{
   border-radius: 4px;
}


@media only screen and (max-width: 1230px) {
    .sa-container {
        width: 100%;
    }

    /*breadcrumb*/
    .sa-breadcrumb {
        padding: 1.5rem 1.5rem 0.5rem;
    }
}
@media only screen and (max-width: 1200px)
{
    .tin-tuc
    {
        width: 100%;
        display: inline-flex;
    }
    .tin-cay-col, .title-tin-cay
    {
        width: 100%;
        padding-left: 0.6em;
        padding-right: 0.6em;
    }
    .col-s h3
    {
        height: 48px;
    }
    .col-s p
    {
        height: 69px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

}
@media only screen and (max-width: 1024px) {
    * {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }

    .sa-title {
        margin-bottom: 1.5rem;
    }
    .col-tin-tuc
    {
        width: 100%;
    }
    .title-dang-ban
    {
        display: block;
        overflow: hidden;
        height: 48px;
        text-overflow: ellipsis;
    }
}

@media only screen and (max-width: 990px)
{
    .sa-list-cars .sa-item
    {
        flex-basis: 100% !important;
    }
}
@media only screen and (max-width: 870px)
{
    .item-list-news img
    {
        height: 171px;
    }
}
@media only screen and (max-width: 789px)
{
    .item-list-news img
    {
        height: 131px;
    }
    .col-s
    {
        flex-basis: 49%;
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 768px) {
    /*breadcrumb*/
    .sa-breadcrumb {
        padding: 1.5rem 1.5rem 0;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }

    .sa-title h2 {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }

    .sa-car, .sa-news {
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    .sa-price {
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    select {
        height: 35px;
    }

    .sa-polygon {
        width: 5px;
        height: 13px;
    }
    
    /*tin tức & tiktok*/
    .tin, .tiktok, .sa-list-cars .sa-item
    {
        flex-basis: 100% !important;
    }
    /*ảnh tin tức*/
    .item-list-news img
    {
        height: 200px;
    }
}

@media only screen and (max-width: 576px) {
    /*breadcrumb*/
    .sa-breadcrumb {
        padding: 1.5rem 1rem 0;
    }
    /*bỏ chiều cao Tên xe*/
    .sa-car
    {
        height: auto;
        font-size: 1.3em;
    }
}

@media only screen and (max-width: 480px)
{
    .item-list-news img
    {
        height: 131px;
    }
    .sa-box-btn
    {
        margin-top: 0;
        margin-bottom: 0;
    }
    .news-list-2
    {
        margin-bottom: 0 !important;
    }
    .sa-btn-views
    {
        width: 100%;
    }
}
@media only screen and (max-width: 420px)
{
    .item-list-news img
    {
        height: 190px;
    }
    .sa-car
    {
        font-size: 1.2em;
    }
    .col-s
    {
        flex-basis: 100%;
       
    }
    .title-tin-cay h2
    {
        font-size: 1.1em;
    }
}

@media only screen and (max-width: 360px)
{
    .title-dang-ban
    {
        display: inline;
        height: auto;
    }
}




