﻿.filterHeader {
    margin: 15px 0 5px;
    font-weight: 600;
    font-size: 16px
}

#MainContainer {
    display: flex;
    margin-bottom: 80px;
}

#NavContainer {
    width: 15%;
    position: relative;
    box-sizing: border-box;
    padding-right: 10px;
    display:flex;
    justify-content:center;
}

#NavContainerInner {
    padding-top: 10px;
    position: sticky;
    top: 0;
}



#VehicleItemContainer {
    width: 85%;
}

#VehicleItemContainerInner {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.VehicleItem {
    width: 23%;
    cursor: pointer;
    margin: 1%;
    box-sizing: border-box;
    border-radius: 5px;
    outline: 1px solid #e1e1e1;
    overflow: hidden;
}


.checkboxContainer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0;
}

input[type=checkbox] {
    cursor: pointer;
}
label{
    font-size:14px;
}

label {
    cursor: pointer;
}

.filterInputContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filterInput {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    height: 30px;
    width: 48%;
    border: 1px solid #c7bcbcc9;
    border-radius: 5px;
    font-size: 14px;
}

input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.filterSelect {
    width: 100%;
    height: 30px;
    font-size: 14px;
    border: 1px solid #c7bcbcc9;
    border-radius: 5px;
}

#ColorsContainer {
    height: 150px;
    overflow-y: scroll;
}

.VehicleItemImgContanier {
    height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.VehicleItemDataContainer {
    box-sizing: border-box;
    padding: 18px 8px;
}

.VehicleItemBrandModel {
    font-weight: 600;
    font-size: 17px;
}

.VehicleItemVarient {
    height: 40px;
    font-size: 14px;
    margin-top: 10px;
}

.svgCont{
    height:20px;
}

.VehicleItemIconContainer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 5px 0
}

    .VehicleItemIconContainer div {
        text-align: center
    }

.VehicleItemIconContainerText {
    font-size: 14px;
    height: 30px;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
}

.VehicleItemPrice {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1rem;
    color: var(--darkblue)
}

#btnSearchContainer {
    position: sticky;
    bottom: 0px;
    padding: 20px;
    background-color:white;
}



#btnSearch {
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    background-color: var(--darkblue);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

#secFilteredItems {
    display: flex;
    align-items: baseline;
    flex-wrap:wrap;
}

#secFilteredItemsMobile {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    padding-top:10px;
}

.FilteredItem {
    margin: 2px;
    padding: 4px 8px;
    border-radius: 5px;
    background-color: #708598;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.FilteredItemHeader {
    font-size: 14px;
    padding:0 10px;
}

.FilteredItemRemove {
    background-color: white;
    color: #708598;
    border-radius: 3px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    height: 15px;
    width: 15px;
    font-weight: 600;
    cursor: pointer;
    
}

#ClearAllFilters {
    font-size: 14px;
    padding: 0 10px;
    cursor:pointer
}
#ClearAllFilters:hover {
    text-decoration:underline;
}

@media (max-width: 768px) {
    #MainContainer {
        display: flex;
        margin-bottom: 80px;
    }

    #NavContainer {
        display:none;
        width:100%;
        padding-right:0px;
    }


    #VehicleItemContainer {
        width:100%;
    }

    .VehicleItem {
        margin-top: 10px;
        width: 100%;
        cursor: pointer;
        box-sizing: border-box;
        border-radius: 5px;
        outline: 1px solid #00000033;
        /*-webkit-box-shadow: 0px 0px 5px 1px rgba(171, 171, 171, 1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(171,171,171,1);
    box-shadow: 0px 0px 5px 1px rgba(171,171,171,1);*/
        overflow: hidden;
    }

    .VehicleItemInner{
        display:flex;
    }
    .VehicleItemImgContanier{
        width:40%;
        height:142px;
    }
    .VehicleItemDataContainer{
        padding:5px;
        width:60%;
    }
    .VehicleItemBrandModel {
        font-size: 14px;
    }
    .VehicleItemVarient {
        height: 35px;
        font-size: 12px;
        margin-top: 5px;
        line-height:1.4
    }
    .VehicleItemPrice {
        font-size: 14px;
    }


    .VehicleItemIconContainerText {
        font-size: 12px;
    }

    .svgCont {
        height: 17px;
    }
    .mw{
        padding:0;
    }
}