@import url("./pagination.css?v=26072602");

.filter-wide-btn,
.hide-filter-wide-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .9rem;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.filter-wide-btn {
    border: 1px solid var(--color-6-1);
    background: var(--color-6-1);
}

.hide-filter-wide-btn {
    border: 1px solid #6c757d;
    background: #6c757d;
}

.filter-wide-ico,
.hide-filter-wide-ico {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.filter-wide-btn:hover,
.filter-wide-btn:focus {
    border-color: var(--color-6-1);
    background: #fff;
    color: var(--color-6-1);
}

.hide-filter-wide-btn:hover,
.hide-filter-wide-btn:focus {
    border-color: #6c757d;
    background: #fff;
    color: #6c757d;
}

.filter-wide-btn:focus-visible {
    outline: 2px solid rgba(128, 0, 128, .25);
    outline-offset: 2px;
}

.hide-filter-wide-btn:focus-visible {
    outline: 2px solid rgba(108, 117, 125, .25);
    outline-offset: 2px;
}

.btn-purple {
    border-color: var(--color-6-1);
    background-color: var(--color-6-1);
    color: #fff;
}

.btn-purple:hover {
    border-color: var(--color-6-1);
    background-color: #fff;
    color: var(--color-6-1);
}

.re-list-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
}

.re-launch-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: .65rem .9rem;
    gap: 8px;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.re-similar-action {
    border: 1px solid var(--color-6-1);
    background: var(--color-6-1);
}

.re-similar-action:hover,
.re-similar-action:focus {
    background: #fff;
    color: var(--color-6-1);
}

.re-filter-action {
    border-color: var(--color-2-1);
    background: var(--color-2-1);
}

.re-filter-action:hover,
.re-filter-action:focus {
    border-color: var(--color-2-1);
    color: var(--color-2-1);
}

.re-action-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.re-view-switch {
    display: flex;
    width: 100%;
    border: 1px solid var(--color-4-1);
}

.re-view-button {
    flex: 1 1 50%;
    min-width: 0;
    border: 0;
    border-right: 1px solid var(--color-4-1);
    background: #fff;
    color: var(--color-4-1);
    font-weight: 800;
}

.re-view-button:last-child {
    border-right: 0;
}

.re-view-button.is-active {
    background: var(--color-4-1);
    color: #fff;
}

.re-filter-close {
    border-color: var(--color-2-1);
    background: var(--color-2-1);
    color: #fff;
}

.re-filter-close:hover,
.re-filter-close:focus {
    border-color: var(--color-2-1);
    background: #fff;
    color: var(--color-2-1);
}

.re-filter-head strong,
.re-filter-head button,
.re-filter-footer button {
    font-weight: 800 !important;
}

.re-filter-reset {
    border-color: var(--color-1-1);
    background: var(--color-1-1);
    color: #fff;
}

.re-filter-reset:hover,
.re-filter-reset:focus {
    border-color: var(--color-1-1);
    background: #fff;
    color: var(--color-1-1);
}

.js-list-table,
.js-list-card {
    margin-top: 24px !important;
}

.js-list-card {
    padding: 22px 18px 6px !important;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31, 45, 61, .07);
}

.js-list-card > .row {
    margin-top: 0 !important;
}

.re-list-table-surface {
    padding: 16px;
    border: 0;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31, 45, 61, .07);
}

.filtered-estates-table {
    border-collapse: separate;
    border-spacing: 0;
    border-top: 0 !important;
}

.filtered-estates-table td,
.filtered-estates-table th {
    vertical-align: middle;
    text-align: center;
}

.filtered-estates-table > :not(caption) > * > * {
    border-width: 0 0 1px !important;
    border-color: #e7edf2 !important;
}

.filtered-estates-table thead {
    position: sticky;
    z-index: 20;
    top: 0;
}

.filtered-estates-table thead tr:nth-child(1) th,
.filtered-estates-table thead tr:nth-child(3) th {
    padding: 3px !important;
    border: 0 !important;
    background: #fff !important;
    line-height: 1 !important;
}

.filtered-estates-table thead tr:nth-child(1) th a,
.filtered-estates-table thead tr:nth-child(3) th a {
    display: inline-block;
    margin: 0 auto;
    color: #0d6efd;
    text-decoration: none !important;
}

.filtered-estates-table thead tr:nth-child(2) th {
    border: 0 !important;
    border-right: 3px solid #fff !important;
    background: var(--bs-table-bg, #f2f3f5) !important;
}

.filtered-estates-table thead tr:nth-child(2) th:last-child {
    border-right: 0 !important;
}

.filtered-estates-table thead tr:nth-child(2) th h2 {
    margin: 0;
    font: inherit;
    font-weight: 700;
}

.filtered-estates-table tbody {
    border-top: 5px solid #fff !important;
}

.filtered-estates-table tbody tr,
.filtered-estates-table tbody td {
    transition: background-color .18s ease;
}

.filtered-estates-table.table-hover tbody tr:hover td,
.filtered-estates-table.table-hover tbody tr:hover th {
    background: #f3f9fd !important;
}

.title-link {
    color: inherit;
    text-decoration: none;
}

.title-link:hover {
    color: #007bff;
}

.sort-square {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 28px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    color: #0d6efd;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

.sort-square:hover,
.sort-square:focus-visible {
    background: #0d6efd;
    color: #fff;
}

.re-filter-backdrop {
    position: fixed;
    z-index: 1080;
    inset: 0;
    background: rgba(0, 0, 0, .58);
}

.re-filter-panel {
    position: fixed;
    z-index: 1085;
    top: 20px;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: min(440px, calc(100vw - 32px));
    height: calc(100vh - 40px);
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%);
    border: 1px solid var(--color-5-3) !important;
    background: #fff;
}

.re-filter-head,
.re-filter-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 12px;
    gap: 8px;
    border-color: var(--color-5-1);
    background: #fff;
}

.re-filter-head {
    justify-content: space-between;
    border-bottom: 1px solid var(--color-5-1);
}

.re-filter-head strong {
    color: var(--color-5-3);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.re-filter-head-actions {
    display: flex;
    gap: 8px;
}

.re-filter-head-actions button {
    min-width: 96px;
}

.re-filter-body {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-content: start;
    padding: 16px;
    margin: 0 !important;
    overflow-y: auto;
    gap: 8px;
}

.re-filter-footer {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    border-top: 1px solid var(--color-5-1);
}

.re-filter-footer .dropdown,
.re-filter-footer > button {
    width: 100%;
}

body.re-filter-open {
    overflow: hidden;
}

.re-tree-menu {
    width: 390px;
    max-height: 58vh;
    overflow-y: auto;
}

.re-tree-group {
    border-bottom: 1px solid #d9e6ee;
}

.re-tree-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px;
    border: 0;
    background: var(--color-5-4);
    color: var(--color-5-3);
    font-weight: 800;
    text-align: left;
}

.re-tree-toggle::after {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding-bottom: 3px;
    margin-left: 8px;
    background: #fff;
    color: var(--color-5-3);
    content: "+";
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.re-tree-toggle[aria-expanded="true"]::after {
    content: "−";
}

.re-tree-children {
    padding: 4px 0 8px 12px;
}

.re-tree-children[hidden] {
    display: none !important;
}

.re-tree-parent-row {
    background: var(--color-5-4);
    color: var(--color-5-3);
}

.re-tree-parent-row > .re-tree-check {
    color: var(--color-5-3);
    font-weight: 800;
}

.re-tree-parent-toggle,
.re-tree-child-toggle {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 4px;
}

.re-tree-parent-toggle {
    background: var(--color-5-4);
}

.re-tree-parent-toggle::after {
    background: #fff;
}

.re-tree-child-toggle {
    background: #fff;
    color: var(--color-7-1);
}

.re-tree-parent-toggle::after,
.re-tree-child-toggle::after {
    margin-left: 0;
}

.re-tree-child-toggle::after {
    background: var(--color-5-4);
}

.re-tree-check {
    padding: 6px 8px !important;
}

.re-filter-body > [class*="col-"] {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.re-filter-body > .col-12,
.re-filter-body > .col-6,
.re-filter-body > .col-4 {
    grid-column: span 6;
}

.re-filter-body > .re-filter-range-half {
    grid-column: span 3;
}

.re-filter-body .form-label {
    display: none !important;
}

.re-filter-body .dropdown {
    position: static;
}

.re-filter-body .dropdown-menu {
    position: static !important;
    inset: auto !important;
    display: block;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    padding: 0;
    margin: 4px 0 0 !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
}

.re-filter-body .dropdown-menu:not(.show) {
    display: none;
}

.re-vehicle-features-toggle {
    text-align: center;
}

.re-vehicle-features-body {
    padding: 4px;
    margin-top: 4px;
    border: 1px solid #d9e6ee;
}

.re-sort-options {
    padding: 0;
    margin: 4px 0 0;
    border: 1px solid var(--color-7-1);
    background: #fff;
    list-style: none;
}

.re-sort-options[hidden] {
    display: none !important;
}

.re-sort-options .sortLink {
    display: block;
    padding: 9px 12px;
    border-bottom: 1px solid var(--color-5-1);
    color: #111;
    text-decoration: none;
}

.re-sort-options li:last-child .sortLink {
    border-bottom: 0;
}

.re-sort-options .sortLink:hover,
.re-sort-options .sortLink:focus {
    background: var(--color-5-4);
    color: var(--color-5-3);
}

.re-sort-toggle {
    position: relative;
}

.re-sort-toggle::after {
    position: absolute;
    right: 12px;
    content: "+";
    font-size: 18px;
    font-weight: 900;
}

.re-sort-toggle[aria-expanded="true"]::after {
    content: "−";
}

@media (min-width: 992px) {
    .js-list-card.re-desktop-card-view {
        display: block !important;
    }

    .js-list-card.re-desktop-card-view .row {
        --bs-gutter-x: 1rem;
    }

}

@media (max-width: 767.98px) {
    #filterSection .row.g-3 {
        --bs-gutter-x: .5rem;
        --bs-gutter-y: .5rem;
    }

    #filterSection .dropdown-toggle::after {
        display: none !important;
    }

    #filterSection {
        padding: 0 !important;
        border: 0 !important;
    }

    .re-list-actions {
        grid-template-columns: 1fr;
        padding: 6px 0;
        background: #fff;
    }

    .js-list-card {
        padding: 18px 12px 2px !important;
    }

    .re-filter-panel {
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
        border: 0 !important;
    }

    .re-filter-head,
    .re-filter-footer {
        padding: 8px;
    }

    .re-filter-body {
        padding: 10px;
    }

    .re-filter-head-actions button {
        min-width: 78px;
        padding-right: 7px;
        padding-left: 7px;
    }

    .re-tree-menu {
        width: 100% !important;
        max-height: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .re-list-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
