
:root {
    --red: #A2001C;
    --redHover: #800015;
    --blue: #2596cf;
    --white: #ffffff;
    --gray: #B9B9B9;
    --gray2: #E1E1E1;
    --gray3: #999999;
    --gray4: #f8f8f8;
    --gray5: #333333;
    --gray6: #DADBDD;
    --black: #000000;
    --bgfooter: #0a0a0a;
    --bgSite: #efdedc;
    --bd: #E55B67;
    --bd2: #fce9ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: 22px;
    font-size: 14px;
    font-family: 'Mulish', sans-serif;
    font-weight: 300;
}

body {
    background: var(--bgSite);
}

h2 {
    font-family: 'Mulish', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 24px;
    font-weight: 700;
}

h4 {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.clear-fix {
    clear: both;
}

a {
    outline: none;
    text-decoration: none;
    color: var(--red);
}

ul li {
    list-style: none;
}

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

.container {
    width: 1200px;
    margin: 0 auto;
}

.light {
    width: 100%;
    margin: 5px 0;
    position: relative;
    height: 3px;
}

.light:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 25%;
    background: var(--red);
}

.loading-img {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background: rgba(33, 33, 33, .5);
    display: none;
}

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

.car {
    font-family: 'Mulish', sans-serif;
    color: var(--black);
}

.price {
    font-family: 'Mulish', sans-serif;
    color: var(--white);
    font-size: 1.1em;
    font-weight: bold;
}

.news-title {
    font-family: 'Mulish', sans-serif;
    color: var(--black);
    text-transform: uppercase;
    font-size: 18px;
    line-height: 26px;
}

#wrapper {
    padding: 20px 0;
}

/*định dạng Table*/
.flat-table {
    margin-bottom: 20px;
    border-collapse: collapse;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    border: none;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

.flat-table th, .flat-table td {
    box-shadow: inset 0 -1px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(0, 0, 0, 0.25);
}

.flat-table th {
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    padding: 1em;
    color: rgba(0, 0, 0, 0.45);
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    font-size: 1.5em;
}

.flat-table td {
    color: #f7f7f7;
    padding: 0.7em 1em 0.7em 1.15em;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
    font-size: 1.4em;
}

.flat-table tr {
    -webkit-transition: background 0.3s, box-shadow 0.3s;
    -moz-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
}

.flat-table-1 {
    background: #a9a9a9;
    width: 100%;
}

.flat-table-1 tr:hover {
    background: rgba(0, 0, 0, 0.19);
}

.flat-table-2 tr:hover {
    background: rgba(0, 0, 0, 0.1);
}


/*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 #d01818;
}

.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%);
}

/*thông số phụ*/
.cm-tag {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px;
}

.cm-tag span {
    color: #000;
    font-weight: 300;
}

/*giá xe trang chủ*/
.giaban-cm {
    background: var(--red);
    text-align: center;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    color: var(--white);
}

/*phân trang*/

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.pagination li a {
    display: inline-block;
    text-align: center;
    color: var(--black);
    width: 35px;
    line-height: 35px;
    margin: 0 5px 0 0;
    background: var(--gray);
    border-radius: 4px;
}

.pagination li a:hover {
    background: var(--blue) !important;
}

.active-pag {
    background: var(--blue) !important;
    font-weight: bold;
}

/*banner ảnh quảng cáo*/

.advertisement-img {
    display: inline-block;
    margin-top: 5px;
}

/*breadcrumb*/

.breadcrumb {
    padding: 10px 0;
    text-transform: capitalize;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb .fa-angle-right {
    margin: 0 3px;
    color: var(--gray3);
}

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

.call-me {
    position: fixed;
    bottom: 30px;
    left: 30px;
}

.call-me a {
    display: flex;
    align-items: center;
}

.call-me img {
    width: 55px;
    z-index: 10;
}

.call-me span {
    background: #EA0000;
    padding: 5px 10px;
    border-radius: 4px 30px 30px 4px;
    color: var(--white);
    font-weight: bold;
    position: relative;
    left: -5px;
}

h2 i {
    font-size: 1em;
    padding-right: 0.3em;
}

/*nút về đầu*/
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--red);
    color: white;
    cursor: pointer;
    border-radius: 4px;
	width: 40px;
    align-items: center;
    justify-content: center;
    height: 40px;
}

#myBtn:hover {
    background-color: var(--redHover);
}

@media only screen and (max-width: 1200px) {
    .container {
        width: 100%;
    }

    /*breadcrumb*/
    .breadcrumb {
        padding: 10px 15px;
    }
}

@media only screen and (max-width: 1024px) {
    h2 {
        font-size: 18px;
    }

    .light:after {
        width: 15%;
    }
}

@media only screen and (max-width: 768px) {
    h2 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 576px) {
    h2 {
        font-size: 16px;
    }

    .breadcrumb {
        padding: 10px 10px;
    }

    .cm-tag span:first-child {
        margin: 3px 0;
    }
}