@font-face {
    font-family: openSans;
    src: url(../font/OpenSans-Regular.ttf);
}

@font-face {
    font-family: openSansBold;
    src: url(../font/OpenSans-ExtraBold.ttf);
}

:root {
    --tqGray: #CACFD6;
    --tqWhite: #ffffff;
    --tqBlack: #202C45;
    --tqYellow: #ff4605;
    --tqBlue: #006BA0;
    --tqBgCars: #232732;
    --tqBreadcrumb: #99999;
    --tqBorder: #313540;
    --tqYellowHover: #e6cf00;
    --tqBorderNews: #f2f2f2;
    --tqInfoDetail: #F2F5FA;
    --tqBgNews: #DEDEDC;
    --tqTextNews: #555;
    --tqTextHover: #808000;
    --dtred:#F2184F ;
    --dtxebackg:#ededed;
    --dtmauphu:#175cd8;
}

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.3rem;
    font-size: 1.5rem;
    font-family: 'openSans', sans-serif;
    text-decoration: none;
}

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

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

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

a {
    color: black;
    cursor: pointer;
}

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

ul li {
    list-style: none;
}

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

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

.ductoanauto-container {
    width: 1250px;
    margin: auto;
}

.ductoanauto-car,  .ductoanauto-news {
    font-family: 'openSansBold', sans-serif;
    text-transform: capitalize;
    font-size: 1.6rem;
    line-height: 2.6rem;
}

.ductoanauto-price {
    font-family: 'openSansBold', sans-serif;
    text-transform: capitalize;
    font-size: 1.8rem;
    color: var(--dtmauphu);
    margin-bottom: 0.1em;
    margin-top: 0.6em;
    line-height: 2.8rem;
}

.ductoanauto-title-page {
    margin-bottom: 2rem;
}

.ductoanauto-title-page h1, .ductoanauto-title-page h2 {
    position: relative;
    border-bottom: 1px dotted #ccc;
    display: inline-block;
}
.ductoanauto-title-page h1:after, .ductoanauto-title-page h2:after {
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 50px;
    background: #175cd8;
}
.ductoanauto-light {
    width: auto;
    margin-top: -0.5rem;
}

iframe
{
    max-width: 100%;
}
/*hình ảnh xe và span*/
.hinh-anh-xe
{
    position: relative;
}

.coc-xe
{
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--dtmauphu);
    padding: 0.2em 0.5em;
    color: #fff;
    border-radius: 15px;
}
/*phân trang*/
.ductoanauto-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.ductoanauto-pagination ul li a {
    display: inline-block;
    text-align: center;
    color: var(--tqBlack);
    width: 3.5rem;
    line-height: 3.5rem;
    margin: 0 0.5rem 0 0;
    background: var(--tqWhite);
    border-radius: 4px;
    border: 1px solid var(--tqGray);
}

.ductoanauto-pagination ul li a:hover {
    background: var(--tqBlue) !important;
    color: var(--tqWhite);
}

.ductoanauto-active-pag {
    background: var(--tqBlue) !important;
    color: var(--tqWhite) !important;
    font-weight: 700;
}
.ten-xe1
{
    height: 48px;
    display: block;
    overflow: hidden;
}
.ten-xe1 a
{
    display: inline !important;
}
/*thông số xe*/
.thong-so-phu
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dotted #d5d5d5;
    border-bottom: 1px dotted #d5d5d5;
    padding-top: 0.4em;
    padding-bottom: .5em;
   
}
.thong-so-phu li
{
    display: flex;
   font-size: 0.9em;
    align-items: center;
}
.thong-so-phu li span
{
    font-size: 1em;
    padding-right: 0.1em;
}
.month-dtr
{
    background: var(--dtmauphu);
    border-radius: 13px;
    padding: 0.2em 0.5em;
    color: #fff;
}
/*quảng cáo*/
.ductoanauto-qc {
    margin-top: 2rem;
}

/*nút xem thêm*/
.ductoanauto-load-more {
    text-align: center;
    margin-top: 1rem;
}

.ductoanauto-btn-load-more {
    background: var(--dtmauphu);
    color: #fff;
    padding: 0.8rem 4rem;
    border-radius: 30px;
    text-transform: capitalize;
    font-weight: bold;
    display: inline-block;
    font-size: 1.6rem;
}

.ductoanauto-btn-load-more:hover {
    background: var(--dtxebackg);
   
}

.flex-col-2 img
{
    height: 150px;
    border-radius: 4px 4px 0 0;
}
/*truyền thông*/
.truyen-thong-bg
{
    background-image: url("../images/home/bg-truyen-thong.jpg"); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    padding: 1em;
}
.truyen-thong-container
{
    width: 1250px;
    margin: 0 auto;
}
h2.truyen-thong-color
{
    color: var(--dtmauphu);
}
/*breadcrumb*/
.ductoanauto-breadcrumb .ductoanauto-container {
    position: relative;
    height: 150px;
}

.ductoanauto-breadcrumb .ductoanauto-box {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.ductoanauto-breadcrumb .ductoanauto-box h2 {
    color: var(--tqWhite);
    margin-bottom: 1rem;
}

.ductoanauto-breadcrumb .ductoanauto-box .ductoanauto-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.ductoanauto-breadcrumb .ductoanauto-content i {
    color: var(--tqGray);
    margin: 0 0.5rem;
}

.ductoanauto-breadcrumb .ductoanauto-content a, .ductoanauto-breadcrumb .ductoanauto-content strong , .ductoanauto-breadcrumb .ductoanauto-content span {
    color: var(--tqGray);
    text-transform: capitalize;
}

.ductoanauto-breadcrumb .ductoanauto-content a:hover {
    color: var(--tqYellow);
}

/*tin tức trang chủ*/
.tin-trang-chu
{
    background: #f2f5fb;
    padding: 0.6em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    margin-top: 1em;
}

.tin-trang-chu li
{
    flex-basis: 32%;

}
.tin-trang-chu li img
{
    
    display: block;
    overflow: hidden;
    border-radius: 4px;
    height: 230px;
}

.tieu-de-tin
{
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 25px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 1em;
    max-height: 61px;
    background: #fff;
    padding: 0.5em;
    border-radius: 0 0 4px 4px;
}
.tieu-de-tin a
{
    font-size: 1.1em;
    font-weight: bold;
}
.mo-ta-ngan
{
    margin-top: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 25px;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/*fanpage facebook*/
.fanpage1
{
    background: #fff;height: 438px;border-radius: 5px 5px 4px 4px;
}


/*nút gọi điện*/
.contact-box {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 100;
    left: 50%;
    transform: translate(-50%, -50%);
}

@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;
   
    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;
    
    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;
}

/*giao diện cho mobile*/
@media only screen and (max-width: 1270px) {
    .ductoanauto-container {
        width: 100%;
    }

    /*breadcrumb*/
    .ductoanauto-breadcrumb .ductoanauto-box {
        left: 15px;
    }
}
@media only screen and (max-width: 1250px)
{
    .truyen-thong-container
    {
        width: 100%;
    }
}


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

    .ductoanauto-title-page {
        margin-bottom: 1.5rem;
    }

    /*breadcrumb*/
    .ductoanauto-breadcrumb {
        background-position: right;
    }
}
@media only screen and (max-width: 991px)
{
    .thong-so-phu li
    {
        flex-basis: 49%;
        margin-bottom: 1em;
    }
    .thong-so-phu
    {
        padding-top: 1em;
        margin-top: 0.5em;
    }
    .month-dtr
    {
        flex-basis: 20% !important;
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }

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

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

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

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

    select {
        height: 35px;
    }

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

    /*breadcrumb*/
    .ductoanauto-breadcrumb .ductoanauto-box {
        left: 10px;
    }
    /*video trang chu*/
    .tin-trang-chu li
    {
        flex-basis: 49%;
    }
    .video-hiden
    {
        display: none;
    }
    .fanpage1
    {
        height: auto;
    }
    .flex-col-2 img
    {
        height: 220px;
    }
}
@media only screen and (max-width: 630px) 
{
    .flex-col-2 img, .tin-trang-chu li img
    {
        height: 200px;
    }
}
@media only screen and (max-width: 576px) 
{
    .flex-col-2 img, .tin-trang-chu li img
    {
        height: 180px;
    }
}
@media only screen and (max-width: 480px) 
{
    .flex-col-2 img
    {
        height: 150px;
    }
}
@media only screen and (max-width: 420px) 
{
    .tin-trang-chu li
    {
        flex-basis: 100%;
        margin-bottom: 1em;
    }
    .video-hiden
    {
        display: block;
    }
    .flex-col-2
    {
        flex-basis: 100% !important;
    }
    .flex-col-2 img
    {
        height: 190px;
    }
    
}

@media only screen and (max-width: 390px) 
{
    .ductoanauto-list-cars .ductoanauto-item
    {
        flex-basis: 100% !important;
    }
    .ductoanauto-list-cars .ductoanauto-item img
    {
        height: 190px !important;
    }
    .ten-xe1
    {
        height: auto;
    }
    .month-dtr {
        flex-basis: 15% !important;
    }
}


