

:root {
   
    --White: #ffffff;
    --alBlue: #DEE8F4;
    --alBlueHMb: #c6d7ec;
    --alGray: #F5F5F5;
    --alGrayListCars: #E1E1E1;
    --alGrayInfoCars: #555;
    --alBreadcrumb: #999;
    --red-color: #0e43b9;
    --RedHover: #bd0f15;
    --alListLink: #293241;
    --kcbackground:#262626;
    --yellow:#fcd000;
    --kcbghome:#f8f4da;
    --bgmenu:#f2f2f2;
   
}

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(--kcbgmenu);
}
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;
}

.otobacgiang-clear-fix {
    clear: both;
}

a {
    color: var(--kcbgmenu);
    cursor: pointer;
}

a:hover {
    color: var(--kccolorlink);
}

ul li {
    list-style: none;
}

img {
    width: 100%;
    vertical-align: middle;
    object-fit: cover;
}

select {
    height: 40px;
    border: 1px solid #c7c5c5;
    
}

.otobacgiang-container {
    width: 1200px;
    margin: 0 auto;
}

.otobacgiang-loading-img {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background: rgba(33,33,33,.5);
    display: none;
}

.otobacgiang-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;
}

.otobacgiang-car, .otobacgiang-new {
    font-family: 'Roboto', sans-serif;
    text-transform: capitalize;
    color: var(--alBlack);
    font-weight: 700;
    height: 44px;
}

.otobacgiang-price {
    font-family: 'Roboto', sans-serif;
    color: var(--alWhite);
    text-transform: capitalize;
    text-align: right;
    font-weight: 700;
}

.otobacgiang-title {
    
    padding-bottom: 0.3em;
}

.otobacgiang-title h2, .otobacgiang-title h1 {
    display: block;
    padding-bottom: 1.8rem;
   font-weight: bold;
   
}
.otobacgiang-title .news-home{
    padding-bottom: 1.3rem;
}
.otobacgiang-new:hover{
    color:#0e43b9;
}
.title-border {
    background: var(--kccolorlink);
    height: 5px;
    width: 100px;
    border-radius: 10px;
    margin-bottom: 1.5em;
}

.year
{
    padding: 0.7em;
    color: var(--red-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
}
.home_year
{
    color: var(--red-color);
}
.gia-ban
{
    font-weight: bold;
    font-size: 1.4em;
}

.tratruoc
{
    text-align: right;
}
.tra-truoc00
{
    padding-left: .7em;
   color: #555;
}
.al-title-video
{
    background: #fff;
    padding: .5em;
    border-radius: 0 0 6px 6px;
}

.al-box .al-item img
{
    border-radius: 6px 6px 0 0;
}

.al-title-video a
{
    color: #000 !important;
    font-weight: bold;
}

.al-item a:hover
{
    text-decoration: underline;
   
}
.quang-cao
{
    margin-top: 1em;
}


/*quy trình mua xe tai gia huy*/

.step {
    padding: 4rem 0;
    background-image: url(../images/step-bg.jpg);
    background-size: cover;
    background-position: bottom;
    position: relative;
    z-index: 0;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 100%;
    display: block;
    z-index: -1;
}

.step h2 {
    text-align: center;
    display: inline-block;
    width: 100%;
    margin-bottom: 4rem;
}

.step-list {
    margin: 3rem 0 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
}

.step-item {
    counter-increment: step;
    position: relative;
    flex-basis: 22%;
    text-align: center;
}

.step-item::before {
    content: counter(step, decimal-leading-zero);
    font-size: 80px;
    font-weight: 700;
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    display: block;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: 5px solid #fff;
    width: 20px;
    height: 20px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #d01818 none;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.step-title {
    font-size: 2rem;
    line-height: 2.6rem;
    font-weight: 700;
    margin: 2rem 0;
    text-transform: capitalize;
}

/*video youtube*/
.video
{
    background-image: url(../images/buoc-background.webp);
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.video video
{
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    z-index: -1000;
    overflow: hidden;
    object-fit: cover;
}

.video-container
{
    width: 1200px;
    object-fit: cover;
    margin: 0 auto;
}

.al-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #fff;
    
}

.al-box .al-item {
    flex-basis: 24%;
}

/*fix màu header fanpage & tiktok*/
.dangban
{
    margin-top: 2em;
}

/*phân trang*/
.otobacgiang-pagination ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 2.5rem;
}

.otobacgiang-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;
}

.otobacgiang-pagination ul li a:hover {
    background: var(--alRed) !important;
    color: var(--alWhite);
}

.otobacgiang-active-pag {
    background: var(--alRed) !important;
    color: var(--alWhite) !important;
    font-weight: 700;
}
.sub
{
    color: var(--kcWhite);
}

/*breadcrumb*/
.otobacgiang-breadcrumb {
    padding: 1.5rem 0 0.5rem;
    text-transform: capitalize;
}

.otobacgiang-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
{
    display: flex;
    margin-bottom: 1.5em;
    justify-content: space-between;
    flex-basis: 49%;
    flex-direction: row-reverse;
}

.list-news h3
{
    margin: 0 0 1em 0;
    height: 44px;
    overflow: hidden;
}

.photo
{
    position: relative;
    display: block;
    width: 22%;
    height: auto;
    overflow: hidden;
}

.photo img
{
    opacity: 1;
    height: 100px;
    transform: scale(1);
    transition: .3s ease;
    overflow: hidden;
   border-radius: 4px;
}

.photo img:hover
{
    transform: scale(1.1);
}
.box02
{
    flex-basis: 75%;
}
.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
{
    min-height: 48px;
    height: 48px;
    overflow: hidden;
}
.tiktox
{
    margin-top: 1em;
}
.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%;
}
iframe
{
    max-width: 100%;
}
/*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;
    bottom: 6px;
    z-index: 100;
    left: 5px;
}

@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;
}

/*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: #232323;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    color: yellow;
   align-items: center;
}
  

#myBtn:hover
{
    background-color: #e5c231;
    color: #000;
}
#myBtn ion-icon
{
    font-size: 1.5em;
}
#myBtn i
{
    color: #fff;
    font-size: 18px;
}


/*giao diện cho mobile*/
@media only screen and (max-width: 1230px) {
    .otobacgiang-container {
        width: 100%;
    }

    /*breadcrumb*/
    .otobacgiang-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: 930px)
{
    .year span
    {
        flex-basis: 100%;
    }
}


@media only screen and (max-width: 768px) {
    /*breadcrumb*/
    .otobacgiang-breadcrumb {
        padding: 1.5rem 1rem 0;
    }

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    .otobacgiang-title h2 {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    .otobacgiang-title {
        padding: 1.5rem 0;
        padding-bottom: 0;
    }

    select {
        height: 35px;
    }
    header
    {
        display: none;
    }
    
    .list-fix
    {
        display: none;
    }
    
    .fix-video
    {
        display: none;
    }
    .al-box .al-item
    {
        flex-basis: 49%;
        padding-bottom: 1em;
    }
    .dangban
    {
        margin-top: 0;
    }
    .step-item
    {
        flex-basis: 49%;
        margin-bottom: 4em;
    }
   
}
@media only screen and (max-width: 668px)
{
    .year span
    {
        flex-basis: 100% !important;
      
    }
}

@media only screen and (max-width: 556px)
{
    .year span
    {
        flex-basis: 100%;
    }
    .tratruoc
    {
        text-align: left;
    }
}

@media only screen and (max-width: 500px)
{
    .otobacgiang-box-price
    {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 480px)
{
    .list-news
    {
        flex-basis: 100%;
       
    }
    .list-fix
    {
        flex-grow: 0;
        display: block;
        border-bottom: none;
    }
    
    .list-news h3 a
    {
        font-size: 1em;
    }
    .otobacgiang-box-price
    {
        min-height: 44px;
    }
    .otobacgiang-car b
    {
        font-size: 1.1em;
    }
    
    
}

@media only screen and (max-width: 420px)
{
    .otobacgiang-list-cars .otobacgiang-item
    {
        flex-basis: 100% !important;
    }
    .year span
    {
        flex-basis: 49%;
    }
    .tratruoc
    {
        text-align: right;
    }
    .otobacgiang-list-cars .otobacgiang-info-car .otobacgiang-item-info
    {
        flex-basis: 24% !important;
    }
    .year span
    {
        flex-basis: 49% !important;
               
    }
}

@media only screen and (max-width: 389px)
{
    .otobacgiang-list-cars .otobacgiang-box-price
    {
        font-size: 1em;
        min-height: auto;

    }
    .otobacgiang-list-cars .otobacgiang-car
    {
        height: 26px !important;
    }
    .otobacgiang-list-cars .otobacgiang-item a
    {
        height: auto !important;
    }
    .step-item
    {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 360px)
{
    .al-box .al-item, .box02
    {
        flex-basis: 100%;
    }
    .photo
    {
        width: 100%;
    }
    .list-news
    {
        display: block;
    }
    .photo img
    {
        height: 200px;
    }
    .list-news h3
    {
        height: auto;
        margin-top: .5rem;
    }
}

@media only screen and (max-width: 336px)
{
    .year span
    {
        flex-basis: 100% !important;
      
    }
}


