@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: #FF0000;
    --redHover: #cc0014;
    --blue: #E6ECF5;
    --blue2: #228ec3;
    --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(--gray4);
}

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);
}

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 {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--black);
    font-size: 16px;
}

.price {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--red);
    font-size: 16px;
}

.news-title {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--black);
    text-transform: uppercase;
    font-size: 18px;
    line-height: 26px;
}

#wrapper {
    padding: 20px 0;
}
/*xem thêm*/
/*xem thêm*/
.xem_them
{
    display: block;
    text-align: center;
}
.xem_them a
{
    background: #333;
    border-radius: 20px;
    padding: .6em 1.2em;
    text-transform: uppercase;
    color: #fff;
}
.xem_them a:hover
{
    background: red;
}

.nut-tai-them
{
    display: block;
    text-align: center;
    width: 33%;
    margin: auto;
}
.nut-tai-them a
{
    background: #333;
    border-radius: 20px;
    padding: .6em 1.2em;
    text-transform: uppercase;
    color: #fff;
}
.nut-tai-them a:hover
{
    background: red;
}
/*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: 50%;
}

.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);
}
/*mobile-nav-footer*/
.mobile-nav {
    background: white;
    width: 100%;
    border-radius: 0;
    color: #fff;
    height: 60px;
    line-height: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    padding: 5px;
    margin: 0;
    box-shadow: 0 4px 10px 0 #000;
    display: none;
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav li {
    float: left;
    width: 33%;
    list-style: none;
    height: 50px;
}
.mobile-nav ul>li a i.ticon-heart {
    background: url(../images/icon-map.png) no-repeat;
    background-size: contain;
    width: 36px;
    height: 36px;
    display: block;
}
.mobile-nav ul>li a i {
    width: 33px;
    height: 33px;
    display: block;
    margin: auto;
}
.mobile-nav ul li .button .phone_animation i {
    display: inline-block;
    width: 27px;
    font-size: 26px;
    margin-top: 12px;
}

.phone-mobile {
    display: block !important;
}
.mobile-nav ul>li a {
    border: none;
    padding: 3px;
    display: block;
    border-radius: 5px;
    text-align: center;
    font-size: 10px;
    line-height: 15px;
    color: #515151;
    font-weight: 700;
    max-width: 72.19px;
    max-height: 54px;
    text-decoration: none;
}
.mobile-nav li .button .phone_animation {
    box-shadow: none;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #6cb917;
    line-height: 15px;
    border: 2px solid white;
}
.mobile-nav li .button {
    background: transparent;
}
.mobile-nav ul>li a {
    padding: 0;
    margin: 0 auto;
}
.mobile-nav ul>li a i.icon-phone-w {
    background: url(../images/icon-phone.png) no-repeat;
    background-size: contain;
}
.mobile-nav ul li .button .btn_phone_txt {
    position: relative;
    top: 35px;
    font-size: 10px;
    font-weight: bold;
    text-transform: none;
}
.mobile-nav ul>li a i.ticon-messenger {
    background: url(../images/icon-messenger.png) no-repeat;
    background-size: contain;
    width: 36px;
    height: 36px;
    display: block;
}


/*nút gọi điện*/
.contact-box {
    position: fixed;
    bottom: 5px;
    z-index: 100;
}

@keyframes img-phone {
    0% {
        transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg);
    }
}

.kh-phone {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

@keyframes zoomEffect {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

.phone-box {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    background-color: rgba(255,0,0, .9);
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animation: zoomEffect 1.3s infinite;
    animation: zoomEffect 1.3s infinite;
    opacity: .7;
    box-shadow: 0 0 0 0 red;
}

.img-phone {
    background-color: red;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    -webkit-animation: img-phone 1s infinite ease-in-out;
    animation: img-phone 1s infinite ease-in-out;
}

.img-phone a {
    display: block;
    line-height: 37px;
}

.img-phone img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

/*chat zalo*/
.kh-zalo {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.kh-zalo .phone-box {
    box-shadow: 0 0 0 0 #0091ff;
    background-color: rgba(0,145,255,.9);
}

.kh-zalo .img-phone {
    background-color: #0091ff;
}

/*chat messenger fb*/
.kh-fbm {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.kh-fbm .phone-box {
    box-shadow: 0 0 0 0 #126bd1;
    background-color: rgba(18,107,209,.9);
}

.kh-fbm .img-phone {
    background-color: #126bd1;
}

.kh-fbm .img-phone img {
    max-height: 45px;
    max-width: 40px;
}

@media only screen and (max-width: 1200px) {
    .container {
        width: 100%;
    }
    /*breadcrumb*/
    .breadcrumb {
        padding: 10px 15px;
    }

    /*phân trang*/
    .pagination {
        justify-content: center;
    }
}

@media only screen and (max-width: 1024px) {
    h2 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 768px) {
    h2 {
        font-size: 16px;
    }

    .car {
        font-size: 14px;
    }

    .price {
        font-size: 16px;
    }
}

@media only screen and (max-width: 576px) {
    h2 {
        font-size: 16px;
    }

    .breadcrumb {
        padding: 10px 10px;
    }
}
@media only screen and (max-width: 480px)
{
    /*quay ngang 3 nút*/
    .contact-box
    {
        display: none;
        
    }
    /*ẩn nút lên đầu trang*/
    #myBtn
    {
        display: none !important;
    }
    .mobile-nav
    {
        display: block;
    }
}


