﻿body {
    font-family: Arial, sans-serif !important;
}

h4.product-title a {
    color: black;
}

h1.page-title {
    text-transform: uppercase;
    color: #eb1b2e;
    text-align: center;
    margin: 85px 0 15px 0;
    font-weight: bold;
}

@media (max-width: 992px) {
    h1.page-title {
        text-transform: uppercase;
        color: #eb1b2e;
        text-align: center;
        margin: 20px 0 15px 0;
        font-weight: bold;
    }
}


.product-item {
    margin-top: 30px;
}

    .product-item .inner-image img {
        object-fit: contain;
    }

.wrp-effect-scale {
    position: relative;
    overflow: hidden;
}

    .wrp-effect-scale:hover .effect-scale::after {
        content: "";
        background-color: rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        -webkit-transition: all 0.25s ease;
        transition: all 0.25s ease;
    }

    .wrp-effect-scale .effect-scale {
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }

        .wrp-effect-scale .effect-scale:hover {
            -webkit-transform: scale(1.05);
            -ms-transform: scale(1.05);
            transform: scale(1.05);
        }

.wrp-effect-change-img {
    position: relative;
}

    .wrp-effect-change-img .effect-change-img img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        opacity: 0;
        filter: opacity(0);
        visibility: hidden;
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
        z-index: 10;
    }

    .wrp-effect-change-img:hover .effect-change-img img {
        opacity: 1;
        filter: opacity(1);
        visibility: visible;
    }

.wrp-effect-opacity img {
    opacity: 0.5;
    filter: alpha(opacity=50);
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.wrp-effect-opacity:hover img {
    opacity: 1;
    filter: alpha(opacity=100);
}

@media screen and (max-width: 991px) {
    div#content {
        margin-top: 45px !important;
    }
}

div#content {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.boder-pagination {
    border: 5px solid transparent;
}

.pagination button {
    padding: 10px;
    margin: 0 5px;
    background-color: #eaeaea;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #333;
}

    .pagination button:hover {
        background-color: #ccc;
    }

.pagination .active {
    background-color: red;
    color: white;
}



ul.pagination li.active a {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}

ul.pagination li.disabled a {
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-text-arrow {
    margin-left: 5px;
}

.wrp-effect-change-img.ratio-16-9 {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.img-fluid-main {
    width: 100%;
    height: 200px;
    object-fit: fill !important;
}

.product-item {
    position: relative;
}

.img-tr {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 10;
    content: url('/images/usedCar/deposit.png');
}

.inner-image {
    position: relative;
}

.price {
    position: absolute;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 30px;
    text-align: right;
    border: none;
}

    .price::after {
        position: absolute;
        bottom: 0;
        left: 65%;
        height: 30px;
        content: url('/images/usedCar/price.png');
        z-index: 10;
    }

h4.price-text {
    position: relative;
    margin: 5px;
    color: white;
    z-index: 11;
}

.wrp-effect-change-img.ratio-16-9 {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.img-fluid-khac {
    width: 100%;
    height: 200px;
    object-fit: fill !important;
}

.img-tr {
    position: absolute;
    top: 0px;
    right: 0px;
    content: url('/images/usedCar/deposit.png');
}

.img-tr-khac {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 30%;
    content: url(/images/usedCar/deposit.png);
}