@keyframes progress {
    0% {
        stroke-dasharray: 0 100
    }
}

#ddfModal .modal-content {
    padding: 1% !important;
    background: #fff !important
}

@media only screen and (max-width:600px) {
    .modal-body {
        font-size: .5em;
        padding: 0 1%;
        background: #fffffff2;
        line-height: 1.5em
    }

    #ddfModal .modal-content {
        width: 80%
    }

    #ddfModal button.btn.btn-primary {
        min-width: 100%
    }

    #ddfModal button.btn.btn-primary.btn-o {
        min-width: 100%;
        color: #080199
    }
}

.listing_grid_loading, button.listing-favourite {
    display: flex;
    align-items: center;
    justify-content: center
}

.listing_grid_loading {
    grid-area: -1/1
}

article.listing_card {
    box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
    border-radius: 8px;
    overflow: hidden
}

article.listing_card a.listing_link {
    width: 100%;
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative
}

.listing_thumbnail, article.listing_card {
    width: 100%;
    height: 100%
}

.listing_thumbnail .listing_image {
    width: 100%;
    display: inline-block;
    height: 100%
}

.listing_thumbnail .listing_image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 5/3;
    object-fit: cover
}

button.listing-favourite {
    position: absolute;
    background: 0 0;
    padding: 0
}

button.listing-favourite:active, button.listing-favourite:focus, button.listing-favourite:hover {
    background: 0 0
}

button.listing-favourite svg {
    width: 100%;
    height: 100%;
    fill: #fff;
    filter: drop-shadow(0 0 2px #000);
    transform: scale(.9);
    transition: all 200ms ease-out;
    stroke: #d3d3d3;
    stroke-width: 8;
    paint-order: stroke;
    filter: drop-shadow(0-2px 2px rgba(0, 0, 0, .5)) drop-shadow(-2px 0 2px rgba(0, 0, 0, .5)) drop-shadow(2px 0 2px rgba(0, 0, 0, .5)) drop-shadow(0 2px 2px rgba(0, 0, 0, .5));
    pointer-events: none
}

button.listing-favourite:hover svg {
    transform: scale(1)
}

button.listing-favourite.favourited svg {
    fill: #dc143c;
    stroke: #dc143c
}

.listing_body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: absolute;
    z-index: 1;
    background: linear-gradient(0deg, rgb(0 0 0/85%), rgb(0 0 0/70%), transparent);
    bottom: 0;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    padding: 5rem 1rem 1rem
}

.listing_details {
    font-size: .9rem;
    font-weight: 400;
    display: flex;
    grid-gap: .5rem;
    gap: .5rem
}

.listing_details>span {
    padding-right: .5rem;
    position: relative
}

.listing_details>span:not(:last-child)::after {
    content: "";
    height: 60%;
    top: 50%;
    bottom: 50%;
    position: absolute;
    border-right: 1px solid #fff;
    right: 0;
    margin: auto;
    pointer-events: none
}

article.listing_card.hidden {
    display: none
}

section#realestate_archive {
    max-width: 1600px;
    margin: 5rem auto
}

.listing_title {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700
}

.listing_card .listing_mls {
    margin: 0;
    font-size: 1rem
}

#filters_wrapper, .pagination .page, div#listing_grid_footer, div#listing_grid_header {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.pagination {
    display: flex;
    grid-gap: 1em;
    gap: 1em;
    align-items: flex-end;
    margin: .5rem 0
}

.pagination .page {
    box-shadow: 0 0 16px -4px rgba(0, 0, 0, .3);
    width: 3.5rem;
    height: 3.5rem;
    white-space: nowrap;
    justify-content: center;
    cursor: pointer
}

.pagination .page.active, .pagination .page:hover {
    background: #87ceeb;
    color: #fff;
    font-weight: 700
}

#filters_wrapper {
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 1rem;
    gap: 1rem
}

.facet {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto
}

.facet-select-mim::after, .fselect.no-select {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.fselect.no-select {
    width: 100%;
    cursor: not-allowed;
    background: #f0f0f0
}

#filters_wrapper label, .fselect.no-select~.ts-wrapper {
    display: none
}

.facet select {
    width: 100%;
    background: #fff
}

div#listing_grid_footer select, div#listing_grid_header select {
    width: 100%;
    background: #fff;
    border: 1px solid #d3d3d3;
    padding: .5rem
}

div#facet-select-dd-listing_price {
    background: #fff;
    padding: 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .3);
    max-width: 200%;
    width: 90vw;
    position: absolute;
    top: calc(100% - 1px);
    margin: 0 auto;
    border: 1px solid #d3d3d3;
    opacity: 0;
    pointer-events: none;
    transition: all 200ms
}

.facet-select-mim {
    border: 1px solid #d3d3d3;
    position: relative;
    cursor: pointer;
    padding: .4em
}

div#facet-select-dd-listing_price.active {
    opacity: 1;
    pointer-events: all
}

.facet>button.search_button {
    top: 0;
    right: 0;
    z-index: 1;
    height: 100%
}

.facet {
    position: relative
}

.facet-select-mim::after {
    position: absolute;
    content: "V";
    width: 16px;
    background: 0 0;
    right: 0;
    top: 0;
    font-family: monospace;
    transform: scale(1, .35)
}

.facet-slider-wrapper {
    position: relative;
    width: unset !important;
    padding: 0 !important
}

.facet.facet-listing_mls_number, .facet.facet-listing_system_id {
    width: calc(50% - 1rem)
}

.facet .ts-control {
    padding: 1em
}

.facet .ts-control input {
    font-size: 1em
}

.ts-dropdown-content::-webkit-scrollbar {
    -webkit-appearance: none
}

.ts-dropdown-content::-webkit-scrollbar:vertical {
    width: 11px
}

.ts-dropdown-content::-webkit-scrollbar:horizontal {
    height: 11px
}

.ts-dropdown-content::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid #fff;
    background-color: rgba(0, 0, 0, .5)
}

.ts-dropdown-content::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px
}

@media (max-width:800px) {
    .filters_main {
        flex-direction: column
    }

    .filters_main .facet {
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%
    }

    .filters_main .facet:not(:first-child) {
        border-top: 1px solid #d3d3d3
    }

    .filters_main button {
        padding: 2rem
    }

    #filters_wrapper .ts-wrapper .ts-control>div.item {
        width: 100%
    }
}

.facet-tooltip {
    display: flex;
    justify-content: center
}

.facet-tooltip .min {
    text-align: right;
    margin-right: 10px
}

.facet-tooltip .max {
    text-align: left;
    margin-left: 10px
}

.ts-control {
    background: #fff;
    padding: 1em
}

.facet.facet-minmax-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
}

.facet.facet-minmax-wrapper label {
    flex: 1 1 100%
}

.facet.facet-minmax-wrapper>div {
    flex: 1 1 auto;
    min-width: 120px
}

.search_button {
    flex: 1 1 80%;
    background: var(--wp--preset--color--accent);
    border: 1px solid var(--wp--preset--color--accent)
}

.search_button:focus, .search_button:hover {
    background: #fff;
    color: var(--wp--preset--color--accent)
}

button#mortgage_btn span.icon, button.notify_button {
    display: flex;
    align-items: center;
    justify-content: center
}

button.notify_button {
    flex: 0 1 auto;
    gap: .5rem
}

.notify_button .icon {
    display: inline-flex
}

.notify_button .icon svg {
    fill: currentColor;
    height: 1.25rem;
    width: 1.25rem;
    vertical-align: middle;
    display: inline-block
}

.advanced_search, .main_search {
    display: flex;
    width: 100%;
    align-items: stretch;
    flex-wrap: wrap
}

.main_search {
    grid-gap: 1em
}

.advanced_search {
    flex: min-content
}

div#filters_buttons {
    flex: 0 1 auto;
    display: flex
}

.filters_buttons {
    display: flex;
    grid-gap: .5em
}

@media (max-width:800px) {
    .advanced_search, .filters_buttons, div#filters_buttons {
        flex: 1 1 auto
    }

    .advanced_search .facet.facet-slider-wrapper {
        min-width: 100%
    }

    .advanced_search .facet {
        flex: 1 1 50%;
        min-width: 300px
    }

    .main_search .facet {
        min-width: 300px;
        flex: 1 0 100%
    }

    .filters_buttons button, div#filters_buttons button {
        width: 100%
    }
}

body.single-listings #page {
    width: 100%;
    margin: 0;
    max-width: unset
}

body.single-listings div#banner_bar {
    width: 100%;
    padding: 3rem 3.75%;
    background: var(--contrast);
    color: var(--base);
    display: flex;
    flex-wrap: nowrap
}

body.single-listings div#banner_bar .listing_info, form#login>p {
    display: flex;
    flex-direction: column
}

body.single-listings div#banner_bar span.listing_address {
    font-size: 2rem
}

body.single-listings div#banner_bar span.listing_mls {
    font-size: .9rem
}

body.single-listings div#banner_bar span.listing_price {
    font-size: 1.5rem
}

body.single-listings div#banner_bar .listing_sub_info {
    display: flex;
    gap: 1rem
}

body.single-listings div#banner_bar .listing_sub_info>span {
    display: inline-block
}

body.single-listings div#banner_bar .listing_actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-self: flex-end;
    margin-left: auto
}

body.single-listings div#banner_bar .banner_toggles {
    display: flex;
    gap: 1rem;
    margin-right: 5rem;
    align-items: center
}

body.single-listings div#banner_bar .listing_actions button {
    min-width: max-content;
    padding: 1rem 2rem;
    background: 0 0;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    transition: all 200ms ease-out
}

body.single-listings div#banner_bar .listing_actions button.active, body.single-listings div#banner_bar .listing_actions button:hover {
    background: #fff;
    color: var(--contrast)
}

button#mortgage_btn {
    position: relative;
    height: 4rem
}

button#mortgage_btn span.icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: min-content;
    width: min-content
}

button#mortgage_btn span.icon svg {
    fill: #fff;
    height: 32px;
    width: 32px
}

button#mortgage_btn:hover span.icon svg {
    fill: #000
}

body.single-listings #gallery {
    position: relative;
    overflow: hidden;
    height: 60vw;
    max-height: 60vh;
    min-height: 250px
}

body.single-listings #gallery .swiper-wrapper .image img {
    display: block;
    height: 100%;
    width: auto;
    user-select: none;
    object-fit: contain
}

body.single-listings #gallery .swiper-wrapper .swiper-slide {
    width: auto;
    height: 100%;
    max-width: 100vw;
    background: #000
}

body.single-listings .inquire_wrapper>.gb-inside-container {
    height: 100%;
    position: relative
}

body.single-listings #inquire {
    position: sticky;
    top: 125px
}

body.single-listings #neighbourhood-highlights {
    width: 100%;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center
}

body.single-listings #neighbourhood-highlights:empty::after {
    content: "Failed to retrieve neighbourhood information."
}

#filters_wrapper div.filters_buttons, body.single-listings .hq-ah--container {
    width: 100%
}

body.single-listings .hq-ah--data-container {
    flex-wrap: wrap
}

body.single-listings .hq-ah--data-container>div {
    min-width: 200px;
    padding: 5%
}

body.single-listings #video, body.single-listings #video_alt {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vw;
    max-height: 60vh;
    min-height: 250px;
    z-index: 10;
    transition: opacity 200ms ease-out
}

body.single-listings #gallery-wrapper.hide, body.single-listings #video.hide, body.single-listings #video_alt.hide, div#schedule .form.hide {
    opacity: 0;
    pointer-events: none
}

.share, .share .share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem
}

.share h3 {
    margin: 0
}

.share .share-buttons {
    gap: .5rem
}

.share .share-buttons a {
    text-decoration: none;
    display: inline-flex
}

.share .share-buttons svg {
    width: 1em;
    height: 1em
}

.date_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, calc(16.666% - 1px)));
    grid-auto-rows: 150px;
    grid-gap: 1px
}

.date_grid .date {
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    height: 100%;
    width: 100%;
    padding: 5%;
    transition: background 200ms ease-out;
    cursor: pointer
}

.date_grid .date:hover {
    background: var(--wp--preset--color--accent)
}

.date_grid .date span:nth-child(2) {
    font-size: 2rem;
    line-height: 1
}

div#schedule .form {
    position: fixed;
    width: 90%;
    max-width: 800px;
    height: min-content;
    max-height: 98%;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .3);
    border: 2px solid #000;
    overflow: hidden;
    overflow-y: auto;
    transition: opacity 200ms ease-out
}

div#schedule .form .gform_wrapper {
    background: #fff;
    padding: 5%;
    padding-top: calc(5% + 3rem)
}

div#schedule .form:not(.hide)::before {
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .3)
}

.schedule_form_close {
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3rem;
    font-size: 3ch;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 200ms ease-out;
    cursor: pointer
}

.schedule_form_close:hover {
    background: red;
    color: #fff
}

.walkscore-charts {
    display: flex;
    flex-flow: row wrap
}

.single-chart {
    width: 33%;
    flex: 1 1 33%;
    justify-content: space-around
}

.single-chart .chart_header .icon svg {
    width: 64px;
    height: 64px
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 80%;
    max-height: 250px
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards
}

.circular-chart.orange .circle {
    stroke: #ff9f00
}

.circular-chart.green .circle {
    stroke: #4cc790
}

.circular-chart.blue .circle {
    stroke: #3c9ee5
}

.percentage {
    fill: #666;
    font-family: sans-serif;
    font-size: .5em;
    text-anchor: middle
}

.walkscore-charts>a, .walkscore-charts>small, .walkscore-description {
    width: 100%;
    flex: 1 1 100%
}

.walkscore-charts>small {
    text-align: right
}

.description {
    font-size: .115em;
    text-anchor: middle
}

.single-chart .chart_header, .single-chart>a {
    display: flex;
    flex-direction: column;
    align-items: center
}

.single-chart>a {
    text-decoration: none;
    color: inherit
}

.single-chart .chart_header {
    margin-bottom: 1em
}

.single-chart .chart_header img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    margin-bottom: 10px
}

form#settings_form, section#account_settings {
    display: flex;
    align-items: center;
    justify-content: center
}

section#account_settings {
    padding: 2% 5%;
    flex-direction: column
}

form#settings_form {
    margin: 2%0;
    flex-wrap: wrap;
    gap: 5px
}

form#settings_form input:not([type=submit]) {
    flex: 1 1 calc(50% - 5px);
    border: 0;
    border-bottom: 2px solid #000;
    background: 0 0
}

form#settings_form input[type=submit] {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 20px
}

form#settings_form input[type=submit][disabled=disabled] {
    cursor: not-allowed;
    color: #a9a9a9
}

form#settings_form input[readonly]:not([type=submit]) {
    background: #e7e7e7;
    color: #a9a9a9;
    cursor: not-allowed
}

form#login, section#login_form {
    display: flex;
    flex-direction: column
}

form#login {
    max-width: 500px;
    width: 100%;
    gap: 5px
}

section#login_form {
    align-items: center;
    justify-content: center
}

.form_footer {
    margin-top: 40px
}

form#login input:not([type=submit]) {
    flex: 1 1 calc(50% - 5px);
    border: 0;
    border-bottom: 2px solid #000;
    background: 0 0
}

form#login input[type=submit] {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 20px
}

form#login input[type=submit][disabled=disabled] {
    cursor: not-allowed;
    color: #a9a9a9
}

form#login input[readonly]:not([type=submit]) {
    background: #e7e7e7;
    color: #a9a9a9;
    cursor: not-allowed
}

.modal.save_search_modal>.save_search_form, section#account_favourites {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

section#account_favourites {
    padding: 2% 5%
}

p.dismissable.message {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-weight: 700;
    position: relative;
    padding-right: calc(3rem + 15px)
}

p.dismissable.message.error {
    background: var(--wp--preset--color--vivid-red);
    color: #fff;
    border-color: #fff
}

p.dismissable.message span.close {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3rem;
    border-left: 1px solid rgba(0, 0, 0, .5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 0 0;
    transition: all 200ms ease-out
}

p.dismissable.message span.close::after {
    content: "×"
}

p.dismissable.message span.close:hover {
    background: rgba(0, 0, 0, .2);
    color: #fff
}

p.dismissable.message.success {
    background: var(--wp--preset--color--vivid-green-cyan);
    color: #000
}

#video .perfmatters-lazy-youtube, #video_alt .perfmatters-lazy-youtube {
    height: 100%;
    padding-bottom: 0
}

#video-wrapper, #video-wrapper [class^=elementor] {
    position: static
}

div#loader, div#loader::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

div#loader, div#loader span {
    display: flex;
    align-items: center;
    justify-content: center
}

div#loader {
    position: fixed;
    z-index: 998;
    bottom: 0;
    right: 0
}

div#loader span {
    background: #fff;
    padding: 2rem;
    grid-gap: 1rem;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .3);
    max-width: 90vw;
    width: max-content
}

div#loader::before {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, .5);
    z-index: -1
}

.modal, div.modal.save_search_modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
    z-index: 10;
    min-height: 280px;
    min-width: 280px;
    width: min-content;
    height: min-content;
    max-width: 800px;
    max-height: 60vh;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3)
}

.modal.save_search_modal>.save_search_form {
    padding: 5rem;
    gap: 1rem
}

.modal_close, span.listing_status.new {
    background: red;
    color: #fff;
    position: absolute
}

.modal_close {
    top: 0;
    right: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid red;
    cursor: pointer
}

.modal_close:hover {
    background: #fff;
    color: red
}

@media (max-width:1500px) {
    body.single-listings div#banner_bar {
        flex-wrap: wrap;
        grid-gap: 1rem
    }

    body.single-listings div#banner_bar .listing_actions {
        flex: 1 1 100%
    }
}

@media (max-width:1232px) {
    .date_grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))
    }
}

@media (max-width:1198px) {
    body.single-listings div#banner_bar {
        flex-flow: column;
        align-items: center;
        justify-content: center;
        text-align: center
    }

    body.single-listings div#banner_bar .listing_info {
        margin-bottom: 2rem
    }

    body.single-listings div#banner_bar .listing_sub_info {
        align-items: center;
        justify-content: center;
        flex-wrap: wrap
    }

    body.single-listings div#banner_bar .banner_toggles, body.single-listings div#banner_bar .listing_actions {
        margin: unset;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center
    }
}

@media (max-width:560px) {
    body.single-listings div#banner_bar .banner_toggles {
        width: 100%;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #fff
    }

    body.single-listings div#banner_bar .listing_actions button {
        width: 100%;
        max-width: unset
    }

    .walkscore-charts {
        flex-wrap: wrap;
        gap: 2rem
    }

    .single-chart {
        width: 100%;
        flex: 1 1 100%
    }
}

.listing_grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(calc(260px - 1rem), 100%/5)), 1fr));
    grid-auto-rows: minmax(200px, 1fr);
    grid-gap: 1rem;
    display: grid;
}

.listing_grid .listing_card.layout_2 .listing_body {
    background: #fff;
    color: black;
    position: static;
    padding-top: 1rem;
    flex: 1 1 auto
}

.listing_grid .listing_card.layout_2 article.listing_card a.listing_link {
    display: flex;
    flex-direction: column;
    align-items: stretch
}

.listing_grid .listing_card.layout_2 .listing_title {
    color: black;
}

.listing_grid .listing_card.layout_2 .listing_thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 32/25
}

.listing_grid .listing_card.layout_2 .listing_title {
    margin-bottom: auto
}

span.listing_status {
    display: none;
}

span.listing_status.new {
    display: block;
    width: 280px;
    text-align: center;
    font-weight: bolder;
    text-transform: uppercase;
    pointer-events: none;
    font-size: 1rem;
    left: -110px;
    top: 20px;
    transform: rotate(-45deg)
}

button.listing-favourite {
    border: 0;
    cursor: pointer;
    padding: .5rem;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px
}

div#listing_grid_footer, div#listing_grid_header {
    flex-wrap: wrap
}

.pagination_wrapper {
    max-width: 100%
}

.noUi-horizontal .noUi-handle {
    cursor: grab
}

.noUi-horizontal .noUi-active {
    cursor: grabbing
}

.listing_grid .listing_grid_loading, .listing_grid>p {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: center
}

.advanced_filters {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 1rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 400ms ease-in-out
}

.advanced_filters.show {
    max-height: 1000px;
    overflow: visible;
    padding: 0 0 1rem
}

button.toggle_advanced {
    cursor: pointer;
    font-size: 1em;
    padding: .575rem 1%;
    border: 2px solid #fff;
    transition: all 100ms ease-in-out;
    min-width: 200px;
    text-align: center;
    justify-content: center;
    flex: 1 1 auto;
    background: #fff;
    margin-top: 1.75rem;
    margin-bottom: 0;
    font-family: "Open Sans", sans-serif
}

.global_filters button.toggle_advanced {
    margin-top: .85rem
}

button.toggle_advanced:hover {
    border-color: #fff
}

div.modal.save_search_modal {
    opacity: 1;
    pointer-events: all
}

.saved_searches {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(calc(260px - 1rem), 100%/5)), 1fr));
    grid-auto-rows: minmax(200px, 1fr);
    grid-gap: 1rem;
    width: 100%;
    display: grid
}

.saved_search, button.toggle_advanced:hover {
    background: var(--e-global-color-secondary);
    color: #fff
}

.saved_search {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .3)
}

.account_actions a.button, .saved_search .actions .button, input#settings_form_submit {
    text-align: center;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    font-size: 1rem;
    border: 0;
    line-height: 1;
    cursor: pointer
}

.saved_search .actions .button {
    width: 100%;
    display: inline-block;
    color: #000;
    background: #fff;
    padding: .5rem
}

.saved_search .actions {
    grid-gap: .5rem;
    margin-top: 1rem
}

.saved_search .actions a.button {
    color: #fff;
    background: var(--e-global-color-primary)
}

.saved_search .actions, .search_params {
    display: flex;
    flex-direction: column
}

.search_name {
    border-bottom: 1px solid #fff;
    padding-bottom: .5rem;
    margin-bottom: .5rem
}

.account_actions a.button, input#settings_form_submit {
    padding: 1rem 2%;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    color: #fff;
    background: var(--e-global-color-primary)
}

.swiper-button-next, .swiper-button-prev, .swiper-container-rtl .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: none !important
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: #fff;
    text-shadow: 0 0 8px #000
}

.info-cols>div {
    width: calc(50% - 4rem);
    min-width: 300px;
    flex-grow: 1;
    display: flex;
    flex-flow: column-reverse;
    padding: 0;
    justify-content: flex-end
}

.info-cols dl.data-wrap {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0
}

.info-cols dl.data-wrap .data-item {
    display: flex;
    border-bottom: 1px solid #e1e1e1;
    justify-content: space-between;
    padding: .5em 0
}

.info-cols dl.data-wrap .data-item .label {
    width: 10em
}

.info-cols dl.data-wrap .data-item .value {
    text-align: right
}

#neighbourhood_details:not(:has(:nth-child(2))), .listing-field-box:not(:has(:nth-child(2))) {
    display: none
}

div.data-item.description-list-item.listing_rooms {
    flex-direction: column
}

.data-item-table.description-list-subitem-room {
    display: flex;
    flex-direction: row;
    text-align: left;
    padding-left: 2em
}

.label.description-list-subitem-level {
    text-align: left
}

.label.description-list-subitem-title {
    width: 67%
}

.label.description-list-subitem-level {
    margin-top: .5em
}

.value.description-list-subitem-value {
    width: 90%
}

[lightbox-toggle] {
    cursor: zoom-in
}

[lightbox-toggle]:after {
    position: absolute;
    content: url(data:image/svg+xml;\ utf8,\ );
    height: 32px;
    width: 32px;
    bottom: 0;
    right: 0;
    opacity: 0;
    will-change: opacity;
    transition: opacity .2s
}

[lightbox-toggle]:hover:after {
    opacity: 1;
    filter: drop-shadow(2px 4px 6px #000)
}

.agent-contact, .c-lightbox {
    display: flex;
    flex-direction: column
}

.c-lightbox {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    pointer-events: none;
    position: fixed;
    opacity: 0;
    width: 100%;
    height: 100vh;
    z-index: 9000000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .85);
    justify-content: center;
    align-items: center;
    transition: opacity .3s
}

.c-lightbox .c-lightbox__container {
    width: 100%;
    height: 100%
}

.c-lightbox .c-lightbox__close {
    z-index: 999999;
    position: absolute;
    cursor: pointer;
    top: 1vh;
    right: 1vw;
    font-size: 30px;
    padding: 20px;
    color: #fff
}

.c-lightbox .c-lightbox__close:hover, .c-lightbox .swiper-button-next:hover, .c-lightbox .swiper-button-prev:hover {
    color: red
}

.agent-image img, .c-lightbox .swiper-container {
    width: 100%;
    height: 100%
}

.c-lightbox .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center
}

.agent-contact h3, .agent-contact-fields a, .c-lightbox .swiper-button-next, .c-lightbox .swiper-button-prev, .c-lightbox .swiper-pagination {
    color: #fff
}

.c-lightbox .swiper-button-next:after, .c-lightbox .swiper-button-prev:after {
    font-size: 30px
}

.c-lightbox .c-lightbox__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 75%;
    width: 75%;
    text-align: center;
    cursor: zoom-in
}

.c-lightbox .c-lightbox__image img {
    width: auto;
    height: auto;
    max-height: 90vh;
    max-width: 90vw
}

.c-lightbox.open, div#facet-select-dd-global_listing_price.active {
    opacity: 1;
    pointer-events: all
}

body.single-listings div#banner_bar {
    position: relative
}

body.single-listings div#banner_bar .banner_toggles {
    position: absolute;
    top: -3.5em;
    left: 3.75%;
    z-index: 10
}

body.single-listings div#banner_bar .listing_actions .banner_toggles button.button {
    background: #606060;
    border: 1px solid #606060;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: .5em;
    padding: .5em 2em;
    font-weight: 400
}

body.single-listings div#banner_bar .listing_actions button.button .icon svg {
    fill: #fff;
    height: 1.5em
}

body.single-listings div#banner_bar .banner_toggles button.button.active, body.single-listings div#banner_bar .listing_actions .banner_toggles button.button:hover {
    background: var(--secondary);
    border: 1px solid var(--secondary);
    color: #fff
}

body.single-listings div#banner_bar .listing_actions button.button .icon {
    display: flex;
    align-items: center;
    justify-content: center
}

@media (max-width:560px) {
    body.single-listings div#banner_bar .listing_actions .banner_toggles button.button {
        padding: .5em;
        width: 2.5em;
        height: 2.5em
    }

    body.single-listings div#banner_bar .banner_toggles button span.label {
        display: none
    }

    body.single-listings div#banner_bar .banner_toggles {
        width: max-content
    }
}

section#agent-single {
    display: flex;
    flex-direction: row-reverse;
    grid-gap: 5rem;
    flex-wrap: wrap;
    width: 100%
}

.agent-contact {
    text-align: center;
    padding-top: 2rem;
    background: var(--primary)
}

.agent-contact-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
    color: #fff
}

.agent-contact-fields a:hover {
    color: var(--accent)
}

.agent-card {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, .3);
    border-radius: 10px;
    width: calc(30% - 5rem);
    min-width: 190px;
    overflow: hidden
}

.agent-contact-fields a.card-button {
    margin-top: 1em;
    width: calc(100% - 2em)
}

.agent-image {
    display: flex;
    max-height: 400px;
    min-height: 300px;
    height: 40vh
}

.agent-image img {
    object-fit: cover;
    object-position: top center
}

.agent-body {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

section.agent-listing-archive {
    width: 100%;
    padding-top: 5em
}

section.agent-listing-archive h2 {
    text-align: center
}

@media (max-width:865px) {
    .agent-body {
        width: 60%
    }

    .agent-card {
        width: calc(40% - 5rem)
    }
}

@media (max-width:664px) {
    section#agent-single {
        flex-direction: column
    }

    .agent-body, .agent-card {
        width: 100%
    }
}

/* Filters Updated */
.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {
    padding: .5rem;
    background: 0 0;
    border-radius: 0
}

.facet .ts-control, .facet .ts-wrapper.single.input-active .ts-control {
    background-color: transparent
}

.facet input, .facet select {
    background: 0 0;
    border: 1px solid #d3d3d3;
    padding: .5rem;
    color: #000;
    height: 100%;
    flex: 1 1 auto
}

.facet select option {
    color: #000
}

.facet>button.search_button, div#filters_buttons button {
    color: #000;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
    padding: .5rem 1rem
}

.facet>button.search_button {
    position: relative;
    flex: 0 1 auto
}

.facet-select-mim {
    min-width: 110px
}

div#facet-select-dd-listing_price {
    z-index: 10;
    color: #000
}

.facet.facet-fselect-wrapper {
    flex: 1 1 25%
}

div#filters_buttons {
    height: auto;
    align-self: stretch
}

div#filters_buttons button {
    padding-top: .5em;
    padding-bottom: .5em
}

#filters_wrapper div.filters_buttons button {
    color: #fff;
    background-color: #0f4c6e;
    border: 0;
    padding: .5em 2em;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase
}

.fselect.no-select {
    background-color: #0f4c6e66;
    border: 1px solid #d3d3d3
}

.facet-minmax-wrapper, .facet-slider-wrapper {
    flex: 1 1 10%;
    height: auto
}

.facet-fselect-wrapper {
    flex: 1 1 50%
}

.facet.facet-fselect-wrapper span {
    padding: 0;
    height: 36px
}

div#facet-select-dd-global_listing_price {
    background: #fff;
    padding: 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .3);
    max-width: 200%;
    width: 90vw;
    position: absolute;
    top: calc(100% - 1px);
    margin: 0 auto;
    border: 1px solid #d3d3d3;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: all 200ms
}

.facet.facet-listing_mls_number, .facet.facet-listing_system_id {
    min-width: 200px;
    grid-gap: 1rem;
    flex-direction: row
}

@media (max-width:1200px) {
    .facet-slider-wrapper {
        width: 100%;
        flex: 1 1 100%
    }
}

.container-facet-search-box ::-webkit-input-placeholder,
.container-facet-search-box ::placeholder {
    font-weight: 400
}

.facet-select-mim {
    padding: .5rem;
    line-height: 1.55;
    font-weight: 400;
    height: 100%
}

.facet.facet-minmax-wrapper>div {
    display: flex
}

.button.notify_button {
    display: none
}

.button.clear_search {
    padding: .5rem 1rem;
    min-width: 120px;
    border: 0;
    cursor: pointer;
    text-transform: uppercase
}

.filters_buttons {
    margin-top: .5rem
}

.ts-wrapper {
    flex: 1 1 auto
}

#filters_wrapper {
    padding: 0;
    border: 0;
    margin: 1rem 0
}

.advanced_search {
    grid-gap: 1rem
}

.listing_options {
    display: flex;
    grid-gap: 4px;
    flex-wrap: wrap;
}
