



:root {

   

    --cpGreen: #1E69B8;

    --cpHeader:#f5f5f5;

    --cpWhite:#fff;

    --cpfooter:#73767A;

    --cpcarbg:#eee;

    --cpblack:#000;

}



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: 'Roboto', sans-serif;

    text-decoration: none;

}

body

{

    

    font-family: 'Roboto', sans-serif;

}

header

{

    background: var(--cpHeader);

}

h1 {

    font-family: 'Roboto', sans-serif;

    font-size: 2.0rem;

    text-transform: uppercase;

    line-height: 2.4rem;

}



h2 {

    font-family: 'Roboto', sans-serif;

    font-size: 2.0rem;

    text-transform: uppercase;

    line-height: 2.4rem;

}



h3 {

    font-family: 'Roboto', sans-serif;

    font-size: 1.6rem;

    text-transform: uppercase;

}



.cp-clear-fix {

    clear: both;

}



a {

    color: var(--kcbgmenu);

    cursor: pointer;

}



a:hover {

    color: var(--cpGreen);

}



ul li {

    list-style: none;

}



img {

    width: 100%;

    vertical-align: middle;

    object-fit: cover;

}



select {

    height: 40px;

    border: 1px solid #c7c5c5;

    

}



.cp-container {

    width: 1200px;

    margin: 0 auto;

}



.cp-loading-img {

    position: fixed;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    z-index: 99999;

    background: rgba(33,33,33,.5);

    display: none;

}



.cp-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;

}



.cp-car, .cp-new {

    font-family: 'Roboto', sans-serif;

    text-transform: capitalize;

    color: var(--alBlack);

    font-weight: 700;

    

}



.cp-price {

    font-family: 'Roboto', sans-serif;

    color: var(--alWhite);

    text-transform: capitalize;

    text-align: right;

    font-weight: 700;

}



.cp-title {

    

    padding-bottom: 0.3em;

}



.cp-title h2 {

    display: block;

    padding-bottom: 0.3rem;

    font-weight: bold;

    padding-bottom: 0.4em;

    margin-bottom: 10px;

}



.title-border {

    background: var(--kccolorlink);

    height: 5px;

    width: 100px;

    

    margin-bottom: 1.5em;

}



.year

{

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    align-items: center;

    color: var(--cpWhite);

    margin: 0.7em;

    

    background: var(--cpGreen);

    padding: 0.7em;

}

.year span

{

    flex-basis: 49%;

   

}

.gia-ban

{

    font-weight: bold;

    font-size: 1.2em;

    color: var(--cpWhite);

}

.tratruoc

{

    text-align: right;

}



.cp-item p

{

    margin-top: 0.5em;

}



.cp-item a:hover

{

    color: var(--kccolorlink) !important;

   

}

.quang-cao

{

    margin-top: 1em;

}

/*video youtube*/

.video

{
    background-image: url("../images/trang-chu/bg-news-tik.jpg"); /* The image used */
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    padding: 1em 0;
    color: #fff;
}

.video-container

{

    width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

}
 iframe
{
	max-width: 100%;
}


.video-container .tiktok-cp

{

    flex-basis: 57%;

}

.video-container .news-cp

{

    flex-basis: 40%;

}
.video-container .fanpage-cp

{

    flex-basis: 42%;

}
@media only screen and (max-width: 718px)
{
    .tiktok-cp
    {
        flex-basis: 100%;
    }
    .video-container .fanpage-cp
    {
        flex-basis: 100%;
    }
    .tiktok-embed
    {
        margin-left: 0 !important;
    }
}


.tiktok-cp p

{

    margin-top: 1.2em;

}

.cp-box {

   

    align-items: flex-start;

    justify-content: space-between;

    flex-wrap: wrap;

    

    

}

.cp-box .cp-item {

    flex-basis: 32%;

}

.video h2

{

    color: #fff !important;

}

.cp-box li a

{

    color: #fff !important;

}



.video-youtube

{

    background: none;

    padding: 1em 0;

}

.youtube-container

{

    

    width: 1200px;

    margin: 0 auto;

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

}

.youtube-col

{

    flex-basis: 32%;

    background: var(--cpcarbg);

    padding: 0.5em;

}

.youtube-title

{

    width: 1200px;

    margin: 0 auto;

    padding-bottom: 1em;

}

.cp-title-video

{

    margin-top: 0.5em;

}

/*tin tức trang chủ*/

.news-cp-col

{

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    align-items: flex-start;

   

}



.news-cp-col li

{

    flex-basis: 49%;

    margin-top: 1.2em;

}

.news-cp-col li img

{

    height: 172px;

}

.news-cp-col li h3

{

    text-transform: none;

    margin-top: 0.5em;

    overflow: hidden;

    text-overflow: ellipsis;

    height: 44px;

}

/*fix màu header fanpage & tiktok*/

.fix-hd h2

{

    color: var(--kccolorlink) !important;

}





.dangban

{

    margin-top: 2em;

}







/*phân trang*/



.cp-pagination ul {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    margin-bottom: 2.5rem;

}



.cp-pagination ul li a {

    display: inline-block;

    text-align: center;

    color: var(--alBlack);

    width: 3.5rem;

    line-height: 3.5rem;

    margin: 0 0.5rem 0 0;

    background: var(--alGrayListCars);

    border-radius: 4px;

}



.cp-pagination ul li a:hover {

    background: var(--alRed) !important;

    color: var(--alWhite);

}



.cp-active-pag {

    background: var(--alRed) !important;

    color: var(--alWhite) !important;

    font-weight: 700;

}

.sub

{

    color: var(--kcWhite);

}



/*breadcrumb*/

.cp-breadcrumb {

    padding: 1.5rem 0 0.5rem;

    text-transform: capitalize;

    border-bottom: 1px solid #e9e8e8;

}



.cp-breadcrumb .fa-angle-right {

    margin: 0 3px;

    color: var(--alBreadcrumb);

}



/*tin tức trang chủ*/

.news-col

{

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

}



.list-news

{

    flex-basis: 32%;

    box-shadow: 0 0 10px rgb(0 0 0 / 10%);

    padding-bottom: 0.9em;

    margin-bottom: 1.5em;

    border-radius: 0 0 4px 4px;

    background-image: linear-gradient(#f8f4da, white, white);

}



.list-news h3

{

    margin-bottom: 1em;

    margin-top: 0.5em;

    height: 44px;

    overflow: hidden;

    padding-left: 0.5em;

    padding-right: 0.5em;

}

.photo

{

    position: relative;

    display: block;

    overflow: hidden;

}

.photo img

{

    opacity: 1;

    height: 210px;

    border-radius: 4px 4px 0 0;

    transform: scale(1);

    transition: .3s ease;

    overflow: hidden;

}

.photo img:hover

{

    transform: scale(1.1);

}

.time-news

{

    position: absolute;

    top: 4%;

    right: 4%;

    z-index: 99;

    background: var(--kcWhite);

    padding: 0.3em 0.8em;

    border-radius: 0 4px 0 4px;

}

.list-news p

{

    padding-left: 0.5em;

    padding-right: 0.5em;

    min-height: 66px;

    height: 66px;

    overflow: hidden;

}

.tiktok-embed

{

    margin-top: 0 !important;

}



.box-tiktiok blockquote

{

    width: 100%;

}

.css-wa4z0i

{

    width: 100% !important;

    flex-basis: 100% !important;

    background: red;

}

.box-tiktiok

{

    width: 1200px;

    margin: 0 auto;

}

.tiktok-embed

{

    width: 100%;

}


/*bắt đầu khách hàng nói về chúng tôi*/
.khach-nhan-xet
{
    padding: 1rem;
    background: #ccc;
}
.content-khach
{
    width: 1200px;
    margin: 0 auto;
    padding-top: 1em;
    padding-bottom: 1em;
}
.khach-box
{
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: baseline;
}
.khach-box .box
{
    flex-basis: 24%;
    margin-right: 2.8em;
}
.khach-box .box img
{
    width: 220px;
    height: 200px;
   
}

.note-vd
{
    color: #fff;
    margin-top: 1em;
    display: block;
    overflow: hidden;
    height: 64px;
}
.tieu-de-kh
{
    display: flex;
    margin-bottom: 1em;
    color: #fff;
}
/*kết thúc đầu khách hàng nói về chúng tôi*/
/*giao xe cho khách*/

.giao-xe

{

    display: flex;

    height: 200px;

    overflow: hidden;

    justify-content: space-between;

}

.giao-xe img

{

    object-fit: cover;
    vertical-align: middle;
    margin: 1em;
    width: 95%;
    height: 250px !important;
    overflow: hidden;
    border-radius: 4px;
}





/*nút gọi điện*/

.contact-box {

    position: fixed;
    display: flex;
    bottom: 0px;
    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 #8B0016;

}



.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: 30px;

    max-width: 30px;

}



/*nút lên đầu trangr*/

#myBtn {

    display: none;

    position: fixed;

    bottom: 20px;

    right: 30px;

    z-index: 99;

    font-size: 14px;

    border: none;

    outline: none;

    background-color: var(--kccolorlink);

    width: 40px;

    height: 40px;

    cursor: pointer;

    padding: 8px;

    text-align: center;

    border-radius: 50%;

}

  



#myBtn:hover

{

    background-color: #e5c231;

}



#myBtn i

{

    color: #fff;

    font-size: 18px;

}





/*giao diện cho mobile*/

@media only screen and (max-width: 1230px) {

    .cp-container {

        width: 100%;

    }

    .content-khach
    {
        width: 100%;
    }

    /*breadcrumb*/

    .cp-breadcrumb {

        padding: 1.5rem 1.5rem 0.5rem;

    }

    .video-container

    {

        padding-left: 0.8em;

        padding-right: 0.8em;

        width: 100%;

    }

}

@media only screen and (max-width: 1200px)
{
    .khach-box .box img
    {
       
        width: 180px;
        height: 180px;
    }
    
}

/*fix tin trang chủ*/

@media only screen and (max-width: 830px)

{

    .news-cp-col li

    {

        flex-basis: 100% !important;

    }

    .cp-fix2

    {

        display: none;

    }
     .news-cp-col li:last-child {
       
		display:none;
    }
/*bỏ tin thứ 2 từ dưới lên*/
     .news-cp-col li:nth-last-child(2){
      
	  display:none;
	}

}



@media only screen and (max-width: 768px) {

    /*breadcrumb*/

    .cp-breadcrumb {

        padding: 1.5rem 1rem 0;

    }



    h1 {

        font-size: 1.8rem;

    }



    h2 {

        font-size: 1.8rem;

        line-height: 2.4rem;

    }



    .cp-title h2 {

        font-size: 1.8rem;

        line-height: 2.4rem;

    }



    .cp-title {

        padding: 1.5rem 0;

        padding-bottom: 0;

    }



    select {

        height: 35px;

    }

    header

    {

        display: none;

    }

    .list-news

    {

        flex-basis: 49%;

    }

    .list-fix

    {

        display: none;

    }

    .list-fix img

    {

        height: 300px;

    }

    .fix-video

    {

        display: none;

    }

    .cp-box .cp-item

    {

        flex-basis: 49%;

        padding-bottom: 1em;

    }

    .video

    {

        padding: 0;

    }

    .dangban

    {

        margin-top: 0;

    }

    /*ẩn video youtube*/

    .fix-video2

    {

        display: none;

    }

    .youtube-col

    {

        flex-basis: 33%;

    }

    .car-sell h1

    {

        margin-bottom: 0 !important;

    }
    
    .khach-box .box img
    {
        width: 160px;
        height: 160px;
    }

}







@media only screen and (max-width: 556px)

{

    .year span

    {

        flex-basis: 100%;

    }

    .tratruoc

    {

        text-align: left;

    }

}



@media only screen and (max-width: 500px)

{

    .cp-box-price

    {

        font-size: 0.9em;

    }

}



@media only screen and (max-width: 480px)

{

    .list-news

    {

        flex-basis: 100%;

    }

    .list-fix

    {

        flex-grow: 0;

    }

    .list-fix img, .list-news img

    {

        height: 230px;

    }

    .list-news h3

    {

        height: auto;

    }

    .list-news h3 a

    {

        font-size: 1.1em;

    }

    .cp-box-price

    {

        min-height: 44px;

    }

    .cp-car b

    {

        font-size: 1.1em;

    }

    .fix-video

    {

        display: block;

    }

    .cp-box .cp-item

    {

        flex-basis: 100%;

        margin-bottom: 2em;

    }

}



@media only screen and (max-width: 420px)

{

    .cp-list-cars .cp-item

    {

        flex-basis: 100% !important;

    }

    .year span

    {

        flex-basis: 49%;

    }

    .tratruoc

    {

        text-align: right;

    }

    .cp-list-cars .cp-info-car .cp-item-info

    {

        flex-basis: 32% !important;

    }

    /*hiện video youtube*/

    .fix-video2

    {

        display: block;

    }

    .youtube-col

    {

        flex-basis: 100%;

        margin-bottom: 1em;

    }

}

@media only screen and (max-width: 360px)
{
    .khach-box .box img
    {
        width: 325px;
        height: 200px;
        margin-right: 2em;
    }
}

@media only screen and (max-width: 389px)

{

    .cp-list-cars .cp-box-price

    {

        font-size: 1em;

        min-height: auto;



    }

    .cp-list-cars .cp-car

    {

        height: 26px !important;

    }

    .cp-list-cars .cp-item a

    {
        height: auto !important;
    }
 

}





