﻿    *{
        font-family: "Blinker";   
    }
    .divFiltrado {
        display: block;
    }

    .div-filtros-responsive {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #f8f9fa; /* Color de fondo */
        padding: 10px;
        border: 1px solid #dee2e6;
        cursor: pointer;
    }

    .div-filtros-responsive i {
        color: black;
    }

    .container-filtros {
        margin-top: 60px;
        background-color: #fff;
        border: 1px solid #dee2e6;
        border-radius: 5px;
    }

    .container-general-vehiculos {
        display:grid;
        grid-template-columns:20% 80%;
        padding: 1vh 4vh 1vh 4vh;
    }
    .container-vehiculos{
        padding: 2vh;
    }

    .card-vehiculos {
        box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        -webkit-box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background-color: #fff;
    }

    .card-vehiculos:hover {
        background-color: rgba(0, 0, 0, 0.04);
    }

    .vehiculos{
        padding-top:1vh;
        justify-content: center;
    }

    .info-card-vehiculos {
        max-height: 20%;
        text-align: left;
        padding: 1vh 3vh 1vh 3vh;
    }
    .info-card-vehiculos > div{
        display: flex;
    }
    .img-card-vehiculos  {
        display:flex;
        justify-content:center;
        height:69%;
    }

        .img-card-vehiculos img {
            width: 100%;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            aspect-ratio: 16/10;
            /* object-fit:cover; */
            object-position: center;
        }

    .bottom-card-vehiculos {
        max-height: 20%;
        text-align: center;
        padding: 1.5vh 2vh 1vh 2vh;
        font-size:.8rem;
    }

.lbl-nombre-vehiculo {
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .lbl-precio-vehiculo {
        font-size: 1.25rem;
    }

    .back-wh{
        /*background-color:#fff;*/
    }

    .container-filtros {
        padding: 2vh;
    }

    .card-filtros {
        box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        -webkit-box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background-color:#fff;
        padding:1.5vh 2vh 1.5vh 2vh;
    }

    .div-notfound img{
        width:6vh;
    }

    .input-buscador {
        max-width: 40%;
    }

    .buscador {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .div-ordenar {
        padding: .8vh 1.6vh .8vh 1.6vh;
        text-align: center;
        display: flex;
        align-items: center;
        background: #ff1e1e;
        color:#fff;
        border-radius: 10px;
        box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        -webkit-box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
    }

    .div-ordenar i{
        margin-left:5px;
        transform:rotate(90deg);
    }

    .div-filtros-responsive{
        display:none;
    }

    .div-check, .div-check-marca {
        display: flex;
    }

    .checkbox-filtro input {
        width: 1em;
        height: 1em;
        margin-top: .25em;
        vertical-align: top;
        background-color: #ff0000;
        border-color: #ff0000;
    }

    .checkbox-filtro label {
        display:none;
    }


    input[type="checkbox"] {
        accent-color: #ff0000;    
    }

    .div-aplicar {
        text-align:right;
        padding-right:2vh;
    }

    .div-aplicar a{
        color: #ff0000;
    }

    .value-display {
        font-size: 1.2rem;
        font-weight: bold;
        margin-left: 10px;
        display: inline-block;
    }

    .overlayVehiculos {
        width: 77%;
        height: 100vh;
        position: absolute;
        background: #f6f5f5;
        opacity: .4;
        margin-left: -2vh;
        display: flex;
        justify-content: center;
        padding-top:15vh;
    }
        .overlayVehiculos img {
            width: 25%;
            height: fit-content;
        }

    .btn-filtrar {
        margin-top:2vh;
        padding: .8vh 1.6vh .8vh 1.6vh;
        text-align: center;
        display: flex;
        align-items: center;
        background: #ff1e1e;
        color: #fff;
        border-radius: 10px;
        box-shadow: 0px 0px 76px -21px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 0px 0px 76px -21px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 0px 76px -21px rgba(0, 0, 0, 0.3);
    }
    /* Estilo general del input range */
    input[type="range"] {
        -webkit-appearance: none;
        height: 6px;
        background: #ddd;
        border-radius: 3px;
        outline: none;
    }

    /* Estilo para el thumb en navegadores WebKit */
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: #ff1e1e; /* Cambia este color */
        border-radius: 50%;
        cursor: pointer;
        border: 2px solid #9f0000;
    }

    /* Estilo para el thumb en Firefox */
    input[type="range"]::-moz-range-thumb {
        width: 20px;
        height: 20px;
        background: #ff1e1e; /* Cambia este color */
        border-radius: 50%;
        cursor: pointer;
        border: 2px solid #9f0000;
    }

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

    .img-card-vehiculos {
        height: 60%;
    }

    .info-card-filtros {
        font-size: small;
    }

    .value-display {
        font-size: small;
    }

    .btn-filtrar {
        margin: 0;
    }

    .filtroPKM {
        margin-top: 2%;
        width: 100%;
    }

    .divFiltrado {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .divfiltroPKM {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .div-check, .div-check-marca {
        font-size: small;
        display: flex;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        padding: 0.25rem;
        gap: 0.5rem;
    }

    .container-filtros {
        position: fixed;
        top: 18%;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        padding: 1rem;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .buscador {
        align-items: normal;
        gap: 5px;
    }

    .div-ordenar {
        padding: 0;
    }

    .container-general-vehiculos {
        display: block;
        padding: 1vh 1vh 1vh 1vh;
    }

    .input-buscador {
        max-width: 80%;
    }

    .div-ordenar {
        display: none;
    }

    .container-vehiculos {
        padding: .5vh 1.5vh;
    }

    .div-filtros-responsive {
        padding: .6vh 1vh .6vh 1vh;
        text-align: center;
        display: flex;
        align-items: center;
        background: #cecdcd;
        border-radius: 5px;
        box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
        -webkit-box-shadow: 0px 0px 76px -21px rgba(0,0,0,0.3);
    }

    .div-filtros-responsive i {
        margin-left: 0px;
        transform: rotate(90deg);
    }

    .card-filtros {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .div-check input[type="checkbox"] {
        order: 2;
    }

    .div-check span,
    .div-check label {
        order: 1;
    }

    .div-check-marca {
        justify-content: flex-start;
    }

    .div-check-marca input[type="checkbox"] {
        order: 1;
        margin: 0;
    }

    .div-check-marca span,
    .div-check-marca label {
        order: 2;
        margin: 0;
    }

    @media screen and (max-width: 600px) {
        .divFiltrado {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media screen and (max-width: 400px) {
        .divFiltrado {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 30% !important;
    }
}
