@font-face {
    font-family: openSans;
    src: url(../font/OpenSans-Regular.ttf);
}

@font-face {
    font-family: openSansBold;
    src: url(../font/OpenSans-Bold.ttf);
}

:root {
    --alBlack: #000000;
    --alBlackF: #242529;
    --white: #ffffff;
    --alBlue: #DEE8F4;
    --alBlueA: #2596cf;
    --alBlueHMb: #c6d7ec;
    --alGray: #F5F5F5;
    --alGrayListCars: #f2f2f2;
    --alGrayInfoCars: #555;
    --alBreadcrumb: #999;
    --alRedHover: #bd0f15;
    --alListLink: #293241;
    --yellow:#f9dc67;
    --main-color:#e7050d;
}


html {
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: 2.2rem;
    font-size: 1.4rem;
    font-family: 'openSans', sans-serif;
    color: #000;
    text-decoration: none;
}

h1 {
    font-family: 'openSansBold', sans-serif;
    font-size: 2.0rem;
    text-transform: uppercase;
    line-height: 2.4rem;
}

h2 {
    font-family: 'openSansBold', sans-serif;
    font-size: 2.0rem;
    text-transform: uppercase;
    line-height: 2.4rem;
}

h3 {
    font-family: 'openSansBold', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.dinhthangauto-clear-fix {
    clear: both;
}

a {
    cursor: pointer;
}

a:hover {
    color: var(--main-color);
}

ul li {
    list-style: none;
}

img {
    width: 100%;
    vertical-align: middle;
    object-fit: cover;
}

select {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #4e4e4e;
   padding-left: 10px;;
}

.car-home
{
    position: relative;
    overflow: hidden;
}
.da-ban
{
    position: absolute;
    top: 20px;
    left: -37px;
    text-align: center;
    width: 150px;
    background: var(--main-color);
    color: var(--alBlack);
    padding: 0.5em 1em;
    font-weight: bold;
    transform: rotate(-45deg);
    color: var(--yellow);
}
.car-home-tieu-de
{
    display: block;
    height: 48px;
    overflow: hidden;
    margin: 0.6em 0.6em 0 0.7em;
}

.dinhthangauto-container {
    width: 1200px;
    margin: 0 auto;
}

.dinhthangauto-loading-img {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background: rgba(33,33,33,.5);
    display: none;
}

.dinhthangauto-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;
}

.dinhthangauto-car, .dinhthangauto-new {
    font-family: 'openSansBold', sans-serif;
    text-transform: capitalize;
    
    font-size: 1.1em;
}

.dinhthangauto-price {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--main-color);
    text-transform: capitalize;
    font-weight: 700;
}

.dinhthangauto-title {
    padding: 2rem 0;
}

.dinhthangauto-title h2 {
    display: inline-block;
    padding-bottom: 0.3rem;
    display: inline-block;
    position: relative;
    padding: 0 15px 0 0px
}

.dinhthangauto-qc img
{
    border-radius: 6px;
    border: 1px solid #333;
}

/*Tải thêm tin xe*/
.pagination
{
    margin-bottom: 2em;
    text-align: center;
}
.tai-them
{
    background: var(--main-color);
    padding: 0.6em 0;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
    width: 30%;
    border-radius: 20px;
}

.tai-them:hover
{
    color: #f2f2f2;
}
.material-icons-outlined
{
    font-size: 1em !important;
}

/*quy trình*/
.quy_trinh
{
    background: rgb(255,249,227);
    background: radial-gradient(circle, rgba(255,249,227,1) 0%, rgba(250,236,196,1) 100%);
    padding: 1em 0;
}
.title_quy_trinh
{
    text-align: center;
}
.title_quy_trinh h2
{
    margin-bottom: .5em;
    
}
.title_quy_trinh h3 strong
{
    font-weight: bold;
    color: var(--main-color);
    font-size: 1.1em;
}
.bon_quy_trinh
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2em 0;
}
.quy_trinh_cols
{
    flex-basis: 24%;
}

.kiem_tra
{
    background: none;
    margin-top: 2em;
    position: relative;
    text-align: center;
}

.kiem_tra::before
{
    
    font-size: 100px;
    font-weight: 700;
    top: 80px;
    color: #bcb8b8;
    position: relative;
    opacity: .3;

}
.kiem_tra h3
{
    margin-bottom: 1em;
    color: var(--main-color);
}

.anh_svg
{
    display: block;
    text-align: center;
   
}
.anh_svg_icon 
{
    border-radius: 50%;
    padding: 1em;
    width: 27%;
    margin: auto;
    display: flex;
    background: var(--main-color);
}

/*tin tức và sự kiện*/
.title_news_home
{
    display: block;
    text-align: center;
    margin-bottom: 1em;
}
.news_list_home
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.news_list_home div
{
    flex-basis: 32%;
}
.list_item_news
{
    position: relative;
}
.list_item_news img
{
    height: 238px;
    overflow: hidden;
    border-radius: 6px;
}
.list_item_news h3
{
    margin-top: 3em;
    margin-bottom: .6em;
    height: 44px;
    overflow: hidden;
}
.post_news
{
    position: absolute;
    top: 206px;
    right: 15px;
    background: var(--main-color);
    text-align: center;
    padding: .5em;
    color: #fff;
    border-radius: 5px;
}

.post_news span
{
    display: block;
    color: #fff;
}

span.news_date
{
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #444444;
    padding-bottom: 0.2em;
}

.sa-box, .media_list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    
}

.video_home, .media_cols
{
    padding-top: 2em;
    padding-bottom: 2em;
}

.title_video_home
{
    margin-bottom: 1em;
}

.sl-khachang
{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.sl-khachang .sa-box
{
    flex-basis: 24% !important;
    width: 24%;
}

.sl-khachang .sa-box img
{
    height: 200px;
    border-radius: 5px;
}

.sa-video {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.tiktok_box
{
    flex-basis: 60%;
}

.fanpage_box
{
    flex-basis: 38%;
}

.tiktok_box h2, .fanpage_box h2
{
    display: block;
    margin-bottom: 1em;
}

iframe, blockquote
{
    max-width: 100%;
}

.backg_tiktok
{
    background: #f5f6f7;
    height: 473px;
}

/*hình ảnh*/
.giao-xe
{
    padding: 1em;
    background-size: cover;
    background-position: center;
    margin-top: 2em;
    margin-bottom: 2em;
    background: linear-gradient(59deg, rgb(216 235 245) 0%, rgb(4 122 224) 27%, rgb(124 158 232) 100%);;
}

.giao-xe-tieu-de
{
    width: 1200px;
    margin: 0 auto;
    display: block;
    margin-bottom: 1em;
}
.giao-xe section
{
    width: 1200px;
    margin: 0 auto;
    
}
.giao-xe section .box img
{
    width: 95%;
    height: 300px;
    border-radius: 8px;
}

/*breadcrumb*/
.dinhthangauto-breadcrumb {
    padding: 1.5rem 0 0.5rem;
    text-transform: capitalize;
}

.dinhthangauto-breadcrumb .fa-angle-right {
    margin: 0 3px;
    color: var(--alBreadcrumb);
}
.fanepage-anh-luong
{
        /* background: #f5f6f7; */
        width: 100%;
}
.fanepage-anh-luong iframe
{
    border: none;
    width: 100%;
}
._2lqg
{
    border: 1px solid #f5f6f7 !important;
}

iframe
{
    max-width: 100%;
}

/*ảnh quảng cáo*/
.dinhthangauto-qc
{
    margin-top: 2rem;
}

/*nút gọi điện*/
.contact-box {
    position: fixed;
    bottom: 5px;
    z-index: 100;
    left: 10px;
}

@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 #fe4949;
}

.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;
}


/*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;
}

@media only screen and (max-width: 1230px) {
    .dinhthangauto-container {
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
    }
    
    /*breadcrumb*/
    .dinhthangauto-breadcrumb {
        padding: 1.5rem 1.5rem 0.5rem;
    }
}
@media only screen and (max-width: 1200px)
{
    .giao-xe-tieu-de, .giao-xe section
    {
        width: 100%;
    }
}

@media only screen and (max-width: 884px)
{
    .fanpage_box
    {
        margin-top: 2em;
    }
    .fanpage_box
    {
        flex-basis: 100%;
    }
    .anh_svg_icon
    {
        width: 38%;
    }
    .backg_tiktok
{
    background: none;
    height: auto;
}
}

@media only screen and (max-width: 768px) {
    /*breadcrumb*/
    .dinhthangauto-breadcrumb {
        padding: 1.5rem 1rem 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .dinhthangauto-title h2 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .dinhthangauto-title {
        padding: 1.5rem 0;
    }

    select {
        height: 35px;
    }
    .tiktok-box
    {
        margin-top: 1.5em;
    }
    .list_item_news img
    {height: 200px;}

    .post_news
    {
        top: 168px;
    }
    .quy_trinh_cols
    {
        flex-basis: 49%;
        margin-bottom: 2em;
    }
    .anh_svg_icon {
        width: 22%;
    }
}
@media only screen and (max-width: 630px)
{
    .news_list_home div
    {
        flex-basis: 49%;
    }
    .list_item_news:last-child
    {
        display: none;
    }
}
@media only screen and (max-width: 590px)
{
    .anh_svg_icon {
        width: 26%;
    }
}
@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;
    }
    .dinhthangauto-car, .dinhthangauto-new
    {
        font-size: 1em;
    }
    .anh_svg_icon {
        width: 32%;
    }
}
@media only screen and (max-width: 420px)
{
    .news_list_home div
    {
        flex-basis: 100%;
    }
    .list_item_news:last-child
    {
        display: block;
        margin-bottom: 0;
    }
    .list_item_news
    {
        margin-bottom: 2em;
    }
    .anh_svg_icon {
        width: 40%;
    }
}
@media only screen and (max-width: 360px)
{
    .anh_svg_icon {
        width: 46%;
    }
}

