

































.auto-card {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        flex-shrink: 0;
        width: 25%;
        justify-content: flex-start;
        height: auto;
        background-color: #171717;
        color: white !important;
        text-align: left;
        border-radius: 6px;
        transition: 0.3s ease all;
        cursor: pointer;
    }
    
.auto-card:hover img{
    transform: scale(1.05);
}

    
.auto-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 6px 6px 0px 0px;
        transition: transform 0.3s;
    }
    


.card-details {
        height: auto;
        padding: 0px 20px 20px 20px;
        margin-top: -28px;
    }
    
.card-prijzen {
        /*background-color: orange;*/
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-left: -20px;
        /*margin-top: -30px;*/
    }
    
.prijs {
        position: relative;
        color: #fff;
        font-size: 24px;
        float: left;
        text-align: left;
        display: block;
        font-weight: bold;
        z-index: 333;
        padding: 10px 0px 10px 20px;
        float: left;
        border-radius: 0px;
        background: rgb(1,85,159);
        background: linear-gradient(135deg, rgba(1,85,159,1) 0%, rgba(1,128,201,1) 100%);
    }

.prijs::after{
        content: " ";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 4;
        z-index: -1;
        border-radius: 0px;
        background: rgb(1,85,159);
        background: linear-gradient(135deg, rgba(1,85,159,1) 0%, rgba(1,128,201,1) 100%);
        transform-origin: top right;
        -ms-transform: skew(20deg, 0deg);
        -webkit-transform: skew(20deg, 0deg);
        transform: skew( 20deg, 0deg);
}

.card-titel {
        min-height: 110px;
        display: flex;
        flex-direction: column;
        padding: 20px 0px 0px 0px;
    }
.card-kenteken {
    height: 24px;
    font-weight: 600;
    text-align: end;
    width: 100px;
    background-image: url('https://rvlautos.nl/wp-content/uploads/2023/12/kenteken.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: black;
    display: flex;
    justify-content: flex-end;
}

.card-kenteken span {
    width: 90px;
    text-align: center;
}
    
.titel-1 {
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.titel-2 {
    color: #c1c1c1;
    font-size: 15px;
    font-weight:500;
}

.image-card {
    border-radius: 6px 6px 0px 0px;
    aspect-ratio: 4 / 3;
    position: relative;
    /*height: 370px;*/
    overflow: hidden;
}

#cardLabel {
    z-index: 200;
}

.image-overlay-card-n {
    background: url('https://rvlautos.nl/wp-content/uploads/2023/11/thumbnail_Layer_RVL2023.png');
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
}

.image-overlay-card-j {
    background: url('https://rvlautos.nl/wp-content/uploads/2023/11/thumbnail_Layer_RVL2023_verkocht.png');
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
}


.image-overlay-n {
    background: url('https://rvlautos.nl/wp-content/uploads/2023/11/thumbnail_Layer_RVL2023.png');
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
}

.image-overlay-j {
    background: url('https://rvlautos.nl/wp-content/uploads/2023/11/thumbnail_Layer_RVL2023_verkocht.png');
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
}


.card-info {
    /*background-color: green;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
    
.card-info-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
}
    
.info-box-title {
    font-size: 12px;
}

.flex-invisible {
    visibility: hidden;
}

.favoriet-icon {
    z-index: 4000;
    position: absolute;
    right: 12px;
    bottom: 10px;
    fill: white;
}

.favoriet-icon svg {
    position: absolute;
    bottom: 0;
    right: 0;
}
    
    
  
  
  @media only screen and (max-width: 1120px) {
    
        .auto-card {
            width: 40%;
        }
        
        /*.image-card {*/
        /*    height: 280px;*/
        /*}*/

    }
    
    @media only screen and (max-width: 700px) {
    
        .auto-card {
            width: 100%;
        }
        
        /*.image-card {*/
        /*    height: 280px;*/
        /*}*/
    
    }
    
    @media only screen and (max-width: 390px) {
    
        /*.image-card {*/
        /*    height: 220px;*/
        /*}*/
        
        .card-prijzen {
            align-items: flex-start;
            flex-direction: column;
            gap: 20px;
            margin-top: 15px;
        }
        
        .prijs-lease {
            padding-left: 20px;
        }
        
        .card-kenteken {
            margin-top: 10px;
        }
    
    }

