@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;
    --alWhite: #ffffff;
    --alBlue: #DEE8F4;
    --alBlueA: #2596cf;
    --alBlueHMb: #c6d7ec;
    --alGray: #F5F5F5;
    --alGrayListCars: #f2f2f2;
    --alGrayInfoCars: #555;
    --alBreadcrumb: #999;
    --alRed: #f0151f;
    --alRedHover: #bd0f15;
    --alListLink: #293241;
    --alyellow:#F5B900;
}

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: var(--alBlack);
    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;
}

.autominhquang-clear-fix {
    clear: both;
}

sub {
    vertical-align: baseline;
    font-size: inherit;
    color: var(--alRed);
}

  a {
    color: var(--alBlueA);
    cursor: pointer;
}

a:hover {
    color: var(--alyellow);
}

ul li {
    list-style: none;
}

img {
    width: 100%;
    vertical-align: middle;
    object-fit: cover;
}

select {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #c7c5c5;
}

.car-home
{
    position: relative;
    overflow: hidden;
}
.da-ban
{
        background: var(--alRed);
    position: absolute;
    top: 25px;
    right: -57px;
    text-align: center;
    padding: 0.5em 1em;
    text-transform: uppercase;
    color: #fff;
    width: 200px;
    transform: rotate(45deg);
    z-index: 9;
}
.car-home-tieu-de
{
    display: block;
    height: 48px;
    overflow: hidden;
    margin: 0.6em;
}

.autominhquang-container {
    width: 1200px;
    margin: 0 auto;
}

.autominhquang-loading-img {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background: rgba(33,33,33,.5);
    display: none;
}

.autominhquang-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;
}

.autominhquang-car, .autominhquang-new {
    font-family: 'openSansBold', sans-serif;
    text-transform: capitalize;
    color: var(--alBlack);
}

.autominhquang-price {
    font-family: 'neoSansIntelBold', sans-serif;
    color: var(--alWhite);
    text-transform: capitalize;
    text-align: right;
    font-weight: 700;
}

.autominhquang-title {
    padding: 2rem 0;
}

.autominhquang-title h2 {
    display: inline-block;
    padding-bottom: 0.3rem;
    display: inline-block;
    position: relative;
    padding: 0 15px 0 20px;
    margin-top:12px;
}
.autominhquang-title h2:before
{
    content: '';
    position: absolute;
    width: 5px;
    left: 5px;
    top: 2px;
    bottom: 2px;
   
    background-color: var(--alRed);
}

iframe, blockquote
{
    max-width: 100%;
}

/*Tải thêm tin xe*/
.pagination
{
    margin-bottom: 2em;
    text-align: center;
}
.tai-them
{
    background: var(--alRed);
    padding: 0.6em 1.5em;
    color: #fff;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 1px 2px 2px #ccc;
}

.tai-them:hover
{
    color: var(--alyellow);
}
.material-icons-outlined
{
    font-size: 1em !important;
}

/*hình ảnh*/

.giao-xe
{
    padding: 1em;
    margin-top: 2em;
    background: url(../images/bkg-giaoxe.jpg);
    z-index: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.giao-xe-tieu-de
{
    width: 1200px;
    margin: 0 auto;
    display: block;
    margin-bottom: 1em;
}
.giao-xe-tieu-de h2
{
    color: #fff;
}
.giao-xe section
{
    width: 1200px;
    margin: 0 auto;
    
}
.giao-xe section .box img
{
    width: 95%;
    height: 330px;
    border-radius: 4px;
}

/*video box*/
.video-box
{
    background: url(../images/bg-video.jpg);
    z-index: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1em;
}
.container-video
{
    width: 1200px;
    margin: 0 auto;
}
.container-video h2
{
    color: #fff;
}
.flex-box
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1em;
}
.flex-box li
{
    flex-basis: 24%;
}
.flex-box li img
{
    height: 200px;
    border-radius: 4px 4px 0 0;
}
.flex-box li a
{
    color: #000;
}
.flex-box li a:hover
{
    color: var(--alRed);
}
.al-title-video
{
    background: #fff;
    padding: .5rem;
    border-radius: 0 0 4px 4px;
}
/*breadcrumb*/
.autominhquang-breadcrumb {
    padding: 1.5rem 0 0.5rem;
    text-transform: capitalize;
}

.autominhquang-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;
}


/*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 #4971fe;
}

.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;
    border: none;
    outline: none;
    background-color: var(--alRed);
    cursor: pointer;
   
    border-radius: 4px;
}

#myBtn span
{
    font-size: 1.5em !important;
    color: #fff;
    padding: .3em .3em 0 .3em !important;
}
#myBtn span:hover
{
	color:#000;
}
/*style cho phiên bản mobile*/
@media only screen and (max-width: 1230px) {
    .autominhquang-container {
        width: 100%;
    }

    /*breadcrumb*/
    .autominhquang-breadcrumb {
        padding: 1.5rem 1.5rem 0.5rem;
    }
}
@media only screen and (max-width: 1200px)
{
    .giao-xe-tieu-de, .giao-xe section, .container-video
    {
        width: 100%;
    }
}


@media only screen and (max-width: 768px) {
    /*breadcrumb*/
    .autominhquang-breadcrumb {
        padding: 1.5rem 1rem 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .autominhquang-title h2 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .autominhquang-title {
        padding: 1.5rem 0;
    }

    select {
        height: 35px;
    }
    .tiktok-box
    {
        margin-top: 1.5em;
    }
    .flex-box li
    {
        flex-basis: 49%;
        margin-bottom: 1em;
    }
}


