@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 {
    --red: #f67e12;
    --redHover: #e8713c;
    --blue: #4EB3D0;
    --white: #ffffff;
    --gray: #f5f5f5;
    --black: #000000;
    --yellow: #F7DB70;
    --bd: #E1E1E1;
    --bgBody: #141f1f;
    --bgV: #fce8eb;
    --bgInfoCar: #061B2E;
}

* {
    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(--white);
}

body {
    background: var(--bgBody);
}

h1, h2 {
    font-family: 'neoSansIntelBold', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 31px;
    color: var(--red);
}

h4 {
    font-family: 'neoSansIntelBold', sans-serif;
    font-size: 16px;
}

.clear-fix {
    clear: both;
}

a {
    outline: none;
    text-decoration: none;
    color: var(--blue);
}

ul li {
    list-style: none;
}

img {
    width: 100%;
    max-width: 100%;
    vertical-align: middle;
    object-fit: cover;
}

table {
    width: 100%;
}

table tr:nth-child(odd) {
    background: var(--gray4);
}

table tr:nth-child(even) {
    background: var(--white);
}

table tbody tr:first-child td {
    background: var(--yellow4);
    color: #fff;
    font-weight: bold;
    text-transform: capitalize;
}

.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 {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--white);
    font-size: 14px;
}

.price {
    font-family: 'neoSansIntelBold', sans-serif;
    color: #f67e12;
    font-size: 16px;
    text-justify: center;
}

.news-title {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--white);
    text-transform: uppercase;
    font-size: 18px;
    line-height: 26px;
}

#wrapper {
    padding: 20px 0;
}

/*phân trang*/

.pagination ul {
    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);
}

/*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;
}

/*Xem thêm tin*/
.btn-car {
    text-align: center;
}

.btn-car a {
    display: inline-block;
    padding: 10px 100px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    background: var(--red);
    font-weight: bold;
    margin-top: 5px;
}

.btn-car a:hover {
    background: var(--redHover);
}

@media only screen and (max-width: 1200px) {
    .container {
        width: 100%;
    }
    /*breadcrumb*/
    .breadcrumb {
        padding: 10px 15px;
    }

    /*phân trang*/
    .pagination {
        justify-content: center;
        padding: 0 10px;
    }
}

@media only screen and (max-width: 1024px) {
    h1, h2 {
        font-size: 18px;
        line-height: 28px;
    }
}

@media only screen and (max-width: 768px) {
    h1, h2 {
        font-size: 16px;
        line-height: 26px;
    }

    .car {
        font-size: 14px;
    }

    .price {
        font-size: 16px;
    }
}

@media only screen and (max-width: 576px) {
    h1, h2 {
        font-size: 16px;
    }

    .breadcrumb {
        padding: 10px 10px;
    }
}



