@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: #001964;
    --xaBlueA: #0d4b54;
    --xaGray: #F5F5F5;
    --xaGrayListCars: #E1E1E1;
    --xaGrayInfoCars: #555;
    --xaGrayNote: #888;
    --xaBreadcrumb: #999;
    --xaRed: #ff6b00;
    --xaRedHover: #bd0f15;
    --xaListLink: #293241;
    --bgMenu: #0d4b54;
    --bgSite: #f4f1f1;
    --bgBtn: #0d4b54;
    --bgBtnHover: #18c8b6;
    --bgDetail: #f3d8d9;
}

html {
    font-size: 62.5%;
}

body {
    background: var(--bgSite);
}

* {
    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;
    color: var(--xaBlack);
    text-decoration: none;
}

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

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

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

a {
    color: var(--xaBlueA);
    cursor: pointer;
}

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

ul li {
    list-style: none;
}

nav {
    background: var(--bgBtn);;
}

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

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

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

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

.xa-btn-views {
    display: inline-block;
    background: var(--bgBtn);
    color: var(--xaWhite);
    padding: 0.8rem 6rem;
    text-transform: uppercase;
}

.xa-btn-views:hover {
    background: var(--bgBtnHover);
    color: var(--xaWhite);
}

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

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

.xa-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;
}

.xa-car, .xa-car-mb, .xa-news {
    font-family: 'openSansBold', sans-serif;
    text-transform: capitalize;
    color: var(--xaBlackTitle);
    font-size: 1.6rem;
    line-height: 2.4rem;
}

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

.xa-title {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.xa-polygon {
    width: 15px;
    height: 15px;
    background: var(--xaRed);
    clip-path: polygon(40% 0, 100% 0%, 60% 100%, 0% 100%);
    margin-right: 0.5rem;
}

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

.xa-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);
}

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

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

/*breadcrumb*/
.xa-breadcrumb {
    padding: 1.5rem 0;
    text-transform: capitalize;
}

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

/*quảng cáo*/
.xa-qc {
    margin-top: 2rem;
}

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

    /*breadcrumb*/
    .xa-breadcrumb {
        padding: 1.5rem 1.5rem 0.5rem;
    }
}

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

    .xa-title {
        margin-bottom: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {
    /*breadcrumb*/
    .xa-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;
    }

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

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

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

    select {
        height: 35px;
    }

    .xa-polygon {
        width: 13px;
        height: 13px;
    }
}

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


