﻿
[data-displaycompare="0"] {
    width: 300px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    background-color: #cb202f;
    border: 1px solid #cb202f;
    color: #fff;
/*    border-radius: 4px;*/
    margin: 0 auto 40px auto;
    transition: 0.4s;
    cursor: pointer;
}

    [data-displaycompare="0"]:hover {
        background-color: #000;
        border: 1px solid #000;
        color: #fff;
    }


[data-usedcontainer="0"] {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto 0 auto;
    background-color: #fff;
}

    [data-usedcontainer="0"] * {
        box-sizing: border-box;
    }

[data-usedgroupswitch] {
    width: 40px;
    height: 40px;
    /*background-color: #000;*/
    /*    border: 1px solid #cb202f;*/
    color: #000;
    text-align: center;
    line-height: 36px;
    /*    border-radius: 21px;*/
    cursor: pointer;
    transition: 0.4s;
    float: left;
    margin-right: 5px;
    margin-left: 10px;
    margin-bottom: 20px;
}

    [data-usedgroupswitch]:hover {
        background-color: #fff !important;
        color: #cb202f;
    }


/*---*/
[data-usedsearchbox="0"] {
    margin-left: 1%;
    background-color: #fff;
    /*box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 10px;*/
    border: 1px solid #dbdbdc;
    /*border-radius: 4px;*/
}

[data-useddisplaybox="0"] {

}

[data-usedvehiclebox="0"] {
    display: flex;
    width: 100%;
}

    [data-usedvehiclebox="0"] > :first-child {
        flex: 0 0 420px;
        margin-right: 20px;
        margin-top: 78px;
        position: sticky;
        top: 100px;
        align-self: start;
    }

    [data-usedvehiclebox="0"] > :last-child {
        flex: 1;
    }

/*---*/
[data-globalclear="0"] {
    clear: left;
}

[data-globalclear="1"] {
    clear: right;
}

[data-globalclear="2"] {
    clear: both;
}


/*---*/


[data-usedvehiclecardv0] {
    display: none;
    width: 32%;
    float: left;
    background-color: #fff;
/*    box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 10px;*/
    border: 1px solid #dbdbdc;
    color: #000;
    /*padding: 20px;*/
    min-height: 332px;
/*    border-radius: 4px;*/
    position: relative;
    margin-bottom: 20px;
    margin-right: 1.333333333%;
}

    [data-usedvehiclecardv0] * {
        font-style: normal;
        text-decoration: none;
    }


[data-usedcompare] {
    display: block;
    width: 100px;
    height: 40px;
    line-height: 36px;
    color: #fff;
    background-color: #cb202f;
    border: 1px solid #cb202f;
    text-align: center;
    font-size: 13px;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    transition: 0.5s;
    z-index: 1;

}

    [data-usedcompare]:hover {
        background-color: #000;
        border: 1px solid #000;
        color: #fff;
    }

[data-usedcompare="1"] {
    background-color: #000;
    border: 1px solid #000;
}


/*[data-usedvehiclecardv0] i {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 350px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

[data-usedvehiclecardv0] img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
}*/


[data-usedvehiclecardv0] i {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
/*    border-top-left-radius: 4px;
    border-top-right-radius: 4px;*/
    background-color: #6f6f6f;
    overflow: hidden;
    margin-bottom: 10px;
}

    [data-usedvehiclecardv0] i img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }



.container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
}

    .container img {
        width: 100%;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


[data-usedvehiclecardv0] h1 {
    font-size: 22px;
    color: #cb202f;
    margin: 0;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    color:#000;
}

[data-usedvehiclecardv0] h2 {
    color: #cb202f;
    font-size: 16px;
    margin: 0;
    font-weight: bold;
    margin-bottom: 10px;
    padding-top: 10px;
    color: #000;
}

[data-usedvehiclecardv0] h3 {
    display: block;
    width: 50%;
    height: 40px;
    line-height: 36px;
    text-align: center;
    color: #fff;
    background-color: #cb202f;
    /*    border-radius: 4px;*/
    font-size: 13px;
    margin: 0px;
    transition: 0.5s;
}

    [data-usedvehiclecardv0] h3:hover {
        background-color: #000;
        color: #fff;
    }

[data-usedvehiclecardv0] s {
    display: block;
    font-size: 13px;
    margin-bottom: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
    margin-bottom: 5px;
}

    [data-usedvehiclecardv0] s:nth-of-type(4) {
        margin-bottom: 15px;
    }

[data-usedvehiclecardv0] em {
    display: block;
    position: absolute;
    left: 10px;
    top: 10px;
    transform: rotate(-90deg);
    width: 40px;
    height: 40px;
    line-height: 45px;
    background-color: #f00;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
/*    border-radius: 21px;*/
    z-index: 1;
}


/*---*/
.TEMP_searchBox {
    padding: 0 10px;
}

.TEMP_search {
    width: 100%;
    height: 40px;
    line-height: 36px;
    background-color: #cb202f;
    border: 1px solid #cb202f;
    color: #fff;
    margin: 10px auto;
    /*    border-radius: 4px;*/
    text-align: center;
    font-weight: bold;
    transition: 0.4s;
    cursor: pointer;
}

    .TEMP_search:hover {
        background-color: #000;
        border: 1px solid #000;
        color: #fff;
    }

[data-usedsortprice] {
    width: 100%;
    max-width: 100px;
    height: 40px;
    background-color: #cb202f;
    border: 1px solid #cb202f;
    color: #fff;
    text-align: center;
    line-height: 36px;
    /*    border-radius: 4px;*/
    cursor: pointer;
    transition: 0.4s;
    float: left;
    margin-right: 5px;
    margin-bottom: 40px;
}

    [data-usedsortprice]:hover {
        background-color: #000;
        border: 1px solid #000;
        color: #fff;
    }




[data-usedgroupcontrols] {
    float: left;
}


/*---*/

[data-searchholder="0"] {
    /* padding: 20px 0 20px 0;*/
    /*  background-color: #9ee7ff;*/
}



[data-searchexpand] {
    width: 100%;
    height: 40px;
    line-height: 36px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 0 10px;
    text-align: start;
    border-top: 1px solid #d9d9d9;
    transition: 0.4s;
    cursor: pointer;
}

    [data-searchexpand]:hover {
        color: #777;
    }

[data-searchexpand="1"] {
    background-color: #fff;
}

    [data-searchexpand="1"]:hover {
        background-color: #000;
        border: 1px solid #000;
        color: #fff;
    }


[data-searchconn] {
    max-height: 0px;
    overflow-y: scroll;
    transition: 0.5s;
}

[data-s0] {
    width: 100%;
    height: 40px;
    line-height: 36px;
    text-align: center;
    background-color: #f8f8f8;
    color: #000;
    cursor: pointer;
    transition: 0.4s;
}

    [data-s0]:hover {
        /*background-color: #eeeeee;
                color: #777;*/
    }

[data-s0="1"] {
    background-color: #cb202f;
    color: #fff;
}

    [data-s0="1"]:hover {
        /*background-color: #fff;
                color: #000;*/
    }
/*
@media(max-width:1702px) {
    [data-usedvehiclecardv0] i {
        height: 278px;
    }
}

@media(max-width:1500px) {
    [data-usedvehiclecardv0] i {
        height: 238px;
    }
}

@media(max-width:1430px) {


    [data-usedvehiclecardv0] i {
        height: 220px;
    }
}*/

@media(max-width:1200px) {


    [data-usedvehiclecardv0] {
        display: none;
        width: 49%;
        margin-right: 1%;
    }

/*        [data-usedvehiclecardv0] i {
            height: 250px;
        }*/
}

@media(max-width: 1000px) {
    [data-usedvehiclebox="0"] {
        flex-direction: column;
        /* padding: 20px;*/
    }

    [data-usedcontainer="0"] {
        padding: 0 10px;
    }

    [data-usedvehiclebox="0"] > :first-child {
        flex: 1;
        width: 100%;
        position: static;
        margin: 0;
    }

    [data-usedvehiclebox="0"] > :last-child {
        margin-top: 40px;
    }

/*    [data-usedvehiclecardv0] i {
        height: 330px;
    }*/
}

@media(max-width: 850px) {
/*    [data-usedvehiclecardv0] i {
        height: 290px;
    }*/
}

@media(max-width: 630px) {
    /*            [data-usedvehiclebox="0"] {
                padding: 20px 0;
            }*/

    [data-usedvehiclecardv0] {
        display: none;
        width: 100%;
        margin-right: 0;
    }

/*        [data-usedvehiclecardv0] i {
            height: 430px;
        }*/
}


@media(max-width: 400px) {
}

@media(max-width: 500px) {



/*    [data-usedvehiclecardv0] i {
        height: 370px;
    }*/


}

@media(max-width: 400px) {
/*    [data-usedvehiclecardv0] i {
        height: 229px;
    }*/
}

@media(max-width: 320px) {
/*    [data-usedvehiclecardv0] i {
        height: 200px;
    }*/

    [data-displaycompare="0"] {
        width: 100%;
        font-size: 14px;
    }
}

@media(max-width: 300px) {
/*    [data-usedvehiclecardv0] i {
        height: 180px;
    }*/

    [data-displaycompare="0"] {
        font-size: 12px;
    }
}
/* SLIDERS */

.sliderPadder {
    padding: 14px 30px 14px 20px;
    font-weight: bold;
}


/* --- CSS --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 8px;
    background: #ddd;
    margin: 10px 10px 20px 0px;
/*    border-radius: 4px;*/
    box-sizing: border-box;
    padding: 0 15px;
}

.slider-range {
    position: absolute;
    height: 8px;
    background: #cb202f;
/*    border-radius: 4px;*/
}

.slider-handle {
    position: absolute;
    top: -6px;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    touch-action: none; /* important for mobile! */
}

.hold-sliders {
}

.setCentral {
    text-align: center;
}

.bottomCardSection {
    padding:20px;
}
/*WARNING PANELS*/
[data-usedcontainer="1"] {
    display: none;
    padding: 50px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

[data-comparewarning] {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.5);
    z-index: 999999999999;
}

[data-comparewarning="0"] {
    display: none;
}

[data-comparewarning="1"] {
    display: block;
}

[data-comparewarningbox="0"] {
    position: fixed;
    margin-left: 50%;
    left: -100px;
    margin-top: -150px;
    top: 50%;
    width: 300px;
    height: 300px;
    background-color: #fff;
    border: 1px solid #cb202f;
    padding: 10px;
    border: 1px solid #cb202f;
    text-align: center;
/*    border-radius: 4px;*/
}

    [data-comparewarningbox="0"] em {
        display: block;
        width: 40px;
        height: 40px;
        line-height: 43px;
        float: right;
        background-color: #cb202f;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        font-size: 20px;
        /*border-radius: 21px;*/
        text-align: center;
        font-style: normal;
        cursor: pointer;
        transition: 0.5s;
    }

        [data-comparewarningbox="0"] em:hover {
            background-color: #000;
        }

.searchboxtopbaxr {
    background-color: #cb202f;
    padding: 14px;
    margin:10px;
    color: #fff;
/*    border-top-left-radius: 4px;
    border-top-right-radius: 4px;*/
}

    .searchboxtopbaxr b {
        display: block;
        text-align: center;
        font-size: 22px;
    }

[data-totalvehicle="0"] {
    text-align: center;
    padding: 40px 0;
}

