#vehicleFilters {
    position: sticky;
    top: 72px;
    margin-top: -2px;
    z-index: 7;
}

    #vehicleFilters label,
    #vehicleFilters button {
        font-size: 14px !important;
    }

#vehicleFilterForm {
    width: 100%;
    height: 100%;
}

.filter-search{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;

    .lowercase{
        text-transform: lowercase;
    }
}

.vehicle-filter-container {
    margin-top: -100px;
    z-index: 7;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 992px) {
    .vehicle-filter-container {
          align-items: center;
          height: 80px;
    }
}

@media screen and (max-width: 992px) {
    .filter-wrapper.row{
        row-gap: 10px;
    }
}

.filter-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #fff;
    padding: 13px;
    border-radius: 8px;
    box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.1);
}

    .filter-wrapper .search-btn {
        width: 105px;
        height: 48px;
        margin: 0px 5px;
        padding: 15px;
        border-radius: 8px;
        background-color: #000;
        color: #fff;
        border: 1px solid #000;
    }

    .filter-wrapper .show-filters-btn {
        width: 105px;
        height: 48px;
        margin: 0px 5px;
        padding: 15px;
        border-radius: 8px;
        background-color: #fff;
        color: #000;
        border: 1px solid #000;
        display: flex;
        justify-content: center;
        box-shadow:none;
    }

.vehicle-filter-container .filter-select-wrapper {
    /*margin: 0px 5px;*/
    border-radius: 5px;
    background-color: #ebfaff;
    border: none;
    display: flex;
    flex-direction: column;
    position: relative;
}

.focus {
    background-color: #fff !important;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
}

.vehicle-filter-container .filter-select-wrapper .filter-select {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 15px 22px;
}

    .vehicle-filter-container .filter-select-wrapper .filter-select label {
        padding: 0px;
        margin: 0px;
    }

    .vehicle-filter-container .filter-select-wrapper .filter-select span {
        margin: auto 0px;
    }

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

        .filter-select-wrapper{
            height: 32px !important;
            display: flex !important; 
            align-items: center;
            justify-content: center;
        }

        .filter-select-wrapper .filter-select{
            padding: 0px 16px !important;
            min-height: unset !important;
        }

        .show-filters-btn {
            font-weight: 700;
            background-color: #000 !important;
            color: #fff !important;
            height: 32px !important;
            padding: 0px 16px !important;
            display: flex !important; 
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease-in-out;
        }

        .show-filters-btn:hover {
            background-color: #fff !important;
            color: #000 !important;
        }


        .homepage .filter-select-wrapper {
            height: 48px !important;
        }

        .homepage .show-filters-btn{
            height: 48px !important;
        }
        
        
    }

@media screen and (min-width: 1380px) {
    .vehicle-filter-container .filter-select-wrapper {
        width: 100%;
    }
}

@media (max-width: 1380px) {
    .vehicle-filters-list .vehicle-filter-select {
        width: fit-content !important;
        position: static;
    }
}

@media (max-width: 1380px) {
    .vehicle-filters-list .filter-select-wrapper {
        width: 200px;
        position: static !important;
    }
}

.filter-select-options {
    position: absolute;
    display: none;
    flex-direction: column;
    background-color: #fff;
    margin-top: 50px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 10px 12px 0 rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 7;
    left: 0;
    right: 0;
    top: 0;
}

    .filter-select-options label span:hover {
        background-color: #ebfaff;
    }

#vehicleKm .filter-select-options,
#vehiclePrice .filter-select-options {
    max-height: fit-content;
    overflow-y: hidden;
}

.filter-select-options input[type="checkbox"],
.filter-select-options input[type="radio"] {
    display: none;
}

.filter-select-options label {
    width: 100%;
}

.filter-select-options input[type="checkbox"] + span,
.filter-select-options input[type="radio"] + span {
    display: flex;
    padding: 15px 22px;
}

.filter-select-options input[type="checkbox"]:checked + span,
.filter-select-options input[type="radio"]:checked + span {
    background-color: #7fe5ff;
    color: black;
}

.filter-input-wrapper {
    padding: 7px 17px;
}

.filter-input {
    background-color: #ebfaff;
    border-radius: 8px;
    padding: 5px 10px;
    border: none;
}

    .filter-input:focus-visible {
        outline: none;
    }

@media (min-width: 1381px) {
    #vehicleFilterForm [class*="col-"] {
        width: 16.66%;
    }

    #vehicleFilterForm {
        max-width: 1280px;
    }
}

.translation-altr.hidden{
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    position: absolute;
    top: 0;
}

@media (max-width: 1380px) {
    .vehicle-filter-container {
        margin-top: 0px;
    }

   .vehicle-filters-list .filter-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0px;
        width: 100%;
        border-radius: 0px;
    }

     .vehicle-filters-list .filter-select-wrapper {
        width: 200px;
    }

    .vehicle-filters-list  .filter-wrapper .search-btn,
    .vehicle-filters-list  .filter-wrapper .show-filters-btn {
        width: fit-content !important;
    }

    .vehicle-filters-list  .vehicle-filter-select {
        width: fit-content !important;
    }
}

.filter-tag {
    margin: 10px;
    padding: 4px 12.5px 4px 11.7px;
    border-radius: 4px;
    background-color: #ebfaff;
    font-size: 14px;
}

#vehicleTotalRecords {
    font-weight: bold;
    font-size: 20px;
}


.dropdown {
    position: relative;
    display: inline-block;
    width: 200px;
}

.dropdown-toggle {
    background-color: transparent;
    color: black;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-align: end;
    box-shadow: none;
    position: relative;
}

    .dropdown-toggle:after {
        all: unset;
        content: "\e902";
        font-family: "neostar-icons" !important;
        font-size: 16px;
        margin-left: 5px;
    }

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 100%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border: 1px solid #ccc;
    border-radius: 5px;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
}

    .dropdown-item:hover {
        background-color: #ebfaff;
    }

.selected {
    background-color: #7fe5ff;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.filter-search-input,
.filter-search-input:focus-visible,
.filter-search-input:focus {
    border-radius: 8px;
    margin: 2px;
    padding: 5px;
    border: 1px solid lightgray;
}

.filter-select-item,
.filter-select-item * {
    font-family: "Regular Int'l", sans-serif;
    font-weight: 400;
    font-size: 14px;
}

@media (max-width: 576px) {
    .filter-wrapper .vehicle-filter-select {
        padding: 0 4px;
    }

    .filter-wrapper .filter-select {
        padding: 4px 8px;
        font-size: 12px;
        min-height: 36px;
    }

    .filter-wrapper .filter-select-options {
        font-size: 12px;
    }

        .filter-wrapper .filter-select-options label {
            padding: 4px 6px;
        }

    .filter-wrapper .filter-select-item {
        font-size: 12px;
    }

    .filter-wrapper .search-btn,
    .filter-wrapper .show-filters-btn {
        height: 48px;
        font-size: 13px;
        padding: 14px 10px;
        min-width: 100px;
    }

    .filter-wrapper input[type="text"] {
        height: 34px;
        font-size: 12px;
        padding: 4px 6px;
    }

    .vehicle-filters-list .filter-select-wrapper {
        width: 150px;
    }
}