.divFilterMain
{
    display: none;
    min-width: 320px;
    max-width: 1470px;
    width: 100%;
    background-color: #F1F1F1;
    text-align: center;
    position: relative;
    margin-top: 10px;
    border: 1px solid #000;
    padding-top: 20px;
    padding-bottom: 10px;
}

.divFilterSub
{
    min-width: 170px;
    display: inline-block;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
    font-size: 8pt;
    font-weight: 700;
    vertical-align: top;
    min-height: 50px;
}

.selectStyle
{
    width: 150px;
    height: 24px;
    margin-top: 2px;
    padding: 1px 4px;
    border: 1px solid #777;
    background-color: #FFF;
    color: #000;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 8pt;
}

input.selectStyle
{
    box-sizing: border-box;
}


/*
 * MULTIPLE SELECT DROPDOWNS
 */

.multiSelect
{
    width: 150px;
    position: relative;
    margin: 2px auto 0;
    text-align: left;
}

.multiSelectButton
{
    width: 150px;
    height: 24px;
    padding: 1px 22px 1px 5px;
    border: 1px solid #777;
    background-color: #FFF;
    color: #000;
    text-align: left;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 8pt;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
}

.multiSelectButton::after
{
    content: "▼";
    position: absolute;
    top: 5px;
    right: 6px;
    font-size: 7px;
}

.multiSelectButton:disabled
{
    background-color: #E5E5E5;
    color: #777;
    cursor: not-allowed;
}

.multiSelectOptions
{
    display: none;
    width: 220px;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 1000;
    padding: 5px;
    border: 1px solid #555;
    background-color: #FFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
}

.multiSelectOptions.show
{
    display: block;
}

.multiSelectOptions label
{
    width: 100%;
    min-height: 25px;
    display: flex;
    align-items: center;
    padding: 3px 4px;
    box-sizing: border-box;
    color: #000;
    font-size: 8pt;
    font-weight: 400;
    cursor: pointer;
}

.multiSelectOptions label:hover
{
    background-color: #F1F1F1;
}

.multiSelectOptions input[type="checkbox"]
{
    margin: 0 7px 0 0;
}

.filterHelpText
{
    width: 150px;
    min-height: 12px;
    margin: 2px auto 0;
    color: #777;
    font-size: 7pt;
    font-weight: 400;
    line-height: 10px;
}


/*
 * SEARCH AND CLEAR BUTTONS
 */

.searchFilter
{
    margin-top: 12px;
}

.filterClearButton
{
    width: 100px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #333;
    background-color: #FFF;
    color: #333;
    text-decoration: none;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 8pt;
    font-weight: 700;
}

.filterClearButton:hover
{
    border-color: #F50505;
    background-color: #F50505;
    color: #FFF;
}


/*
 * EXISTING FILTER TOGGLE
 */

.filterPopMain
{
    width: 100%;
    position: relative;
    display: inline-block;
    margin: 5px auto;
    border-top: 3px solid #c1121f;
}

.filterPop
{
    width: 170px;
    background-color: #333;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
    color: #FFF;
    cursor: pointer;
    position: relative;
    margin: 0 auto;
    padding: 5px;
    font-family: "Open Sans", sans-serif;
}

.filterPop:hover
{
    background-color: #F50505;
    font-weight: 700;
}


/*
 * SMALL-SCREEN HANDLING
 */

@media screen and (max-width: 600px)
{
    .divFilterMain
    {
        min-width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        box-sizing: border-box;
    }

    .divFilterSub
    {
        width: 100%;
        min-width: 100%;
        box-sizing: border-box;
    }

    .selectStyle,
    .multiSelect,
    .multiSelectButton,
    .filterHelpText
    {
        width: 100%;
        max-width: 280px;
    }

    .multiSelectOptions
    {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }
}

/* AutoHUMP Vehicle Pedigree toggle
 * Keeps the original Pedigree=all / Pedigree=enabled radio contract.
 */
.pedigreeToggleRow { display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; }
.pedigreeToggleText { font-size:12px; font-weight:800; line-height:1.25; text-align:left; }
.pedigreeSwitch { position:relative; display:inline-block; flex:0 0 52px; width:52px; height:28px; }
.pedigreeState { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.pedigreeToggleButton { position:relative; display:block; width:52px; height:28px; margin:0; padding:0; border:0; background:transparent; cursor:pointer; }
.pedigreeSlider { position:absolute; inset:0; border:1px solid #9a9a9a; border-radius:20px; background:#d1d1d1; transition:background .18s ease,border-color .18s ease; }
.pedigreeSlider::before { content:""; position:absolute; width:22px; height:22px; left:2px; top:2px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.28); transition:transform .18s ease; }
.pedigreeStateOn:checked ~ .pedigreeToggleButton .pedigreeSlider { background:#c1121f; border-color:#c1121f; }
.pedigreeStateOn:checked ~ .pedigreeToggleButton .pedigreeSlider::before { transform:translateX(24px); }
.pedigreeToggleButton:focus-visible .pedigreeSlider { outline:2px solid #3B5999; outline-offset:2px; }
