@font-face {
    font-family: neoSansIntel;
    src: url(../font/UTM_Neo_Sans_Intel.ttf);
}

@font-face {
    font-family: neoSansIntelBold;
    src: url(../font/UTM_Neo_Sans_IntelBold.ttf);
}

:root {
    --yellow: #FDF6E4;
    --yellow2: #FCECB8;
    --yellow3: #F9DD7A;
    --yellow4: #f7d455;
    --yellow5: #f5c724;
    --yellow6: #B08D1E;
    --red: #C00151;
    --redHover: #e40160;
    --blue: #365ddd;
    --blue2: #4a6de0;
    --white: #ffffff;
    --gray: #B9B9B9;
    --gray2: #E1E1E1;
    --gray3: #999999;
    --gray4: #f5f5f5;
    --gray5: #333333;
    --gray6: #DADBDD;
    --black: #010101;
    --black2: #1a1a1a;
    --green: #00afa0;
    --greenHover: #008075;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: 22px;
    font-size: 14px;
    font-family: 'UTM_Neo_Sans_Intel', sans-serif;
    color: var(--black);
}

body {
    background: var(--white);
}

h1 {
    font-family: 'neoSansIntelBold', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 28px;
    margin-bottom: 20px;
}

h2 {
    font-family: 'neoSansIntelBold', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 24px;
}

h4 {
    font-family: 'neoSansIntelBold', sans-serif;
    font-size: 16px;
}

.clear-fix {
    clear: both;
}

a {
    outline: none;
    text-decoration: none;
    color: var(--blue2);
}

.top-link {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    position: relative;
    padding: 0.3em 0;
    margin: 0 auto;

}

.top-link div {
    flex-basis: 28%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-link div img {
    margin-right: 5px;
}

.tab-sanpham {
    display: flex;
    justify-content: flex-end;
}

.tab-sanpham a {
    font-size: 1.4em;
    text-transform: uppercase;
    border-right: 1px solid #cdcdcd;
    padding: 0 0.4em;
    color: var(--black);
}

a.tab-fix {
    border-right: none;
}

.tab-sanpham a:hover {
    color: var(--red);
    text-decoration: underline;
}

a.tab-active {
    color: var(--red);
    text-decoration: underline;
    padding-left: 0;
}

/*khối tĩnh 3 khối*/
.khoi-tinh {
    color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.khoi-tinh .tieude {
    text-transform: uppercase;
    font-size: 1.2em;
    padding-bottom: 1em;
    padding-top: 0.8em;
    text-align: center;
    color: var(--white);
}

.khoi-tinh p {
    color: var(--white);
}

.khoi01 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.khoi01 .khoi02 {
    display: flex;
    flex-basis: 31%;
    font-size: 10px;
    margin: 2em 0;
}

.khoi02 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

i.car-icon {
    font-size: 2em;
    color: var(--white);
    background: var(--red);
    padding: 0.5em;
    border-radius: 50%;
}

.khoi03 {
    flex-basis: 5%;
}

.khoi04 {
    flex-basis: 80%;
    padding-left: 0.8em;
}

.khoi04 strong {
    color: var(--white) !important;
    text-transform: uppercase;
    font-size: 0.9em;
}

.khoi04 p {
    color: #B9B9B9;
    line-height: 1.4em;
    margin-top: 0.5em;
    font-size: 0.9em;
}

ul li {
    list-style: none;
}

img {
    width: 100%;
    max-width: 100%;
    vertical-align: middle;
    object-fit: cover;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.light {
    width: 100%;
    margin: 5px 0;
    position: relative;
    height: 3px;
}

.loading-img {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background: rgba(33, 33, 33, .5);
    display: none;
}

.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;
}

.car {
    display: block;
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--black);
    font-size: 15px;
    padding: 0.3em 0.5em;
}

.price {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--white);
    font-size: 16px;
}

.car2 {
    font-weight: bold;
    color: var(--black);
    font-size: 16px;
    padding-left: 0;
}

.price2 {
    color: var(--red);
    font-weight: bold;

}

.news-title {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--black);
    text-transform: uppercase;
    font-size: 18px;
    line-height: 26px;
    margin-top: 1em;
}

#wrapper {
    padding: 20px 0;
}

/*tin tức*/
.news-title {
    position: relative;
    padding-left: 1em;
}

.news-title:after {
    width: 6px;
    height: 16px;
    background-color: var(--red);
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 8px;
    transform: skew(-20deg, -10deg);
}

.tin-xe {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2em;
    margin-bottom: 1em;
}

.list-tin {
    flex-basis: 31%;

}

.list-tin img {
    padding-bottom: 1em;
    height: 240px;
}

.list-tin p {
    margin: 1em 0;

}

.list-tin h3 a {
    color: #000;
}

.list-tin h3 a:hover {
    text-decoration: underline;
    color: var(--red);
}

.btn-sile-news {
    margin: 0 auto;
    padding-bottom: 2em;
    text-align: center;
}

.owl-dot {
    background: #008075;
    border: 1px solid #000;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.fix-dot {
    background: var(--white);
}

.iconf1 {
    font-size: 2.5em;
    color: var(--red);
    padding-right: 0.3em;
}

/*nút gọi điện*/
.call-me {
    position: fixed;
    bottom: 30px;
    left: 20px;
}

.call-me a {
    display: flex;
    align-items: center;
}

.call-me img {
    width: 55px;
    z-index: 10;
}

.call-me span {

    background: #EA0000;
    padding: 5px 10px;
    border-radius: 4px 30px 30px 4px;
    color: var(--white);
    font-weight: bold;
    position: relative;
    left: -5px;

}

/*phân trang*/

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.pagination li a {
    display: inline-block;
    text-align: center;
    color: var(--black);
    width: 35px;
    line-height: 35px;
    margin: 0 5px 0 0;
    background: var(--gray2);
    border-radius: 4px;
}

.pagination li a:hover {
    background: var(--red) !important;
    color: var(--white);
}

.active-pag {
    background: var(--red) !important;
    color: var(--white) !important;
    font-weight: bold;
}

/*banner ảnh quảng cáo*/

.advertisement-img {
    display: inline-block;
    margin-top: 5px;
}

/*breadcrumb*/

.breadcrumb {
    padding: 10px 0;
    text-transform: capitalize;
}

.breadcrumb a:hover {
    color: var(--red);
}

.breadcrumb .fa-angle-right {
    margin: 0 3px;
    color: var(--gray3);
}

.btn-news-more, .btn-them {
    text-align: center;
}

.btn-news-more a, .btn-them a {
    display: inline-block;
    background: var(--red);
    padding: 0.6em 8em;
    color: #ffffff;
    border-radius: 4px;
}

.btn-news-more a:hover, .btn-them a:hover {
    background: var(--redHover);
}


/*css cho di động*/
@media only screen and (max-width: 1200px) {
    .container {
        width: 100%;
    }

    /*breadcrumb*/
    .breadcrumb {
        padding: 10px 15px;
    }

    /*phân trang*/
    .pagination {
        justify-content: center;
    }

    /*khối tin tức trang chủ*/
    .tab-tintuc {
        padding-left: 1em;
        padding-right: 1em;
    }
}

@media only screen and (max-width: 1044px) {
    /*tên xe trang chủ*/
    .car {

        min-height: 50px !important;
        display: block;
    }
}

@media only screen and (max-width: 1024px) {
    h2 {
        font-size: 18px;
    }

    .khoi04 {
        flex-basis: 73%;
    }
}

@media only screen and (max-width: 916px) {
    .khoi-tinh, .khoi01 {
        width: auto;
        margin-left: 0.6em;
        margin-right: 0.6em;
    }

    .top-link {
        display: none;
    }

    menu .container .logo img {
        padding-top: 0 !important;
    }
}

@media only screen and (max-width: 897px) {
    .khoi01, .khoi-tinh {
        width: auto;
        padding-left: 1em;
        padding-right: 1em;
    }

    .khoi04 {
        flex-basis: 73%;

    }

    .khoi01 .khoi02 {
        flex-basis: 100%;
    }

    .khoi-tinh p {
        font-size: 0.9em;
    }

}

@media only screen and (max-width: 768px) {
    h2 {
        font-size: 16px;
    }

    .tab-sanpham a {
        font-size: 1.1em;
    }

    .car {
        font-size: 14px;
        min-height: 50px !important;
        display: block;
    }

    .price {
        font-size: 16px;
    }

    .khoi01, .khoi-tinh {
        width: auto;
        padding-left: 1em;
        padding-right: 1em;
    }

    .khoi01 .khoi02 {
        flex-basis: 99%;
    }

    .khoi-tinh p {
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 20px;
        -webkit-line-clamp: 5;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .list-tin {
        flex-basis: 99%;
        border-bottom: 1px solid gainsboro;
        margin-bottom: 1.5em;
    }

}

@media only screen and (max-width: 576px) {
    h2 {
        font-size: 16px;
    }

    .breadcrumb {
        padding: 10px 10px;
    }

    .btn-them {
        width: 100%;
    }

    .news-title:after {
        top: 8px;
        height: 13px;
    }
}

@media only screen and (max-width: 395px) {
    .car {
        min-height: auto !important;
        padding-bottom: 0.3em;
    }

    .khoi-tinh .tieude {
        font-size: 1.1em !important;
    }
}





