.form-control.error,
.form-control.error:active,
.form-control.error:focus,
.select2-container--default.error .select2-selection,
.form-check-input.is-invalid,
.was-validated .form-check-input:invalid {
    border: 1px solid #dc3545 !important;
}

.is-invalid label {
    color: #a94442;
}

.star.active {
    color: gold;
}

.disabled-click {
    pointer-events: none;
}

.features-list .checkbox label input[type="checkbox"] {
    margin-right: 7px;
}

.tfre-light-gallery:hover a.zoomGallery {
    opacity: 1;
}

.tfre-light-gallery a.zoomGallery {
    position: absolute;
    top: 15px;
    bottom: 0;
    left: 15px;
    right: 0;
    opacity: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    cursor: pointer;
}

.tfre-light-gallery {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
    z-index: 2;
}

.tfre_profile-form .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid var(--theme-primary-color);
    border-radius: 10px !important;
}

.tfre_profile-form .select2-container--default .select2-selection--multiple {
    padding: 0px 18px;
    height: 50px;
}

/* btn popup */

.mfp-arrow {
    width: 70px !important;
    height: 70px !important;
}

.mfp-arrow:after {
    top: -13px !important;
}

.mfp-arrow::before {
    display: none !important;
}

.mfp-arrow-right:after {
    margin-left: 32px !important;
}

.mfp-arrow-left:after {
    margin-left: 20px !important;
}

.hv-tool {
    position: relative;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.hv-tool::before {
    --translate-y: calc(-100% - var(--arrow-size));
    content: attr(data-tooltip);
    color: #2b2b2b;
    padding: 6px 11px;
    background: #fff;
    box-shadow: 0px 4px 10px 0px rgba(66, 71, 76, 0.1215686275);
    width: max-content;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2em;
}

.hv-tool::after {
    --translate-y: calc(-1.1 * var(--arrow-size));
    content: "";
    border: 6px solid transparent;
    border-top-color: #fff;
}

.hv-tool::after,
.hv-tool::before {
    opacity: 0;
    visibility: hidden;
    --arrow-size: 6px;
    position: absolute;
    top: 0px;
    left: 45%;
    transform: translateX(-50%) translateY(var(--translate-y, 0));
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

.hv-tool:hover::before,
.hv-tool:hover::after {
    opacity: 1;
    top: -6px;
    visibility: visible;
}

.hv-tool:hover {
    z-index: 2;
}

/* Property Quick View Popup */
.property_quick_view_modal .modal-content .modal-body .loading {
    display: flex;
    justify-content: center;
}

.property_quick_view_modal .modal-content {
    border-radius: 16px;
}

.property_quick_view_modal .modal-content .property-gallery .main-swiper .swiper-image {
    border-radius: 12px;
    object-fit: cover;
    height: 390px;
}

.property_quick_view_modal .modal-content .property-gallery .thumb-swiper .swiper-image {
    border-radius: 12px;
    height: 90px;
    object-fit: cover;
}

.property_quick_view_modal .modal-content .modal-body {
    padding: 20px 20px;
}

.property_quick_view_modal .modal-content .modal-body button.close {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 5;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 200;
    background-color: var(--theme-primary-color);
    color: #FFF;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

.property_quick_view_modal .modal-content .modal-body button.close:hover {
    background-color: #222;
}

.popup-property-container {
    display: flex;
}

.popup-property-container .property-gallery {
    flex: 0 0 50%;
    max-width: 50%;
}

.popup-property-container .property-gallery .thumb-swiper .swiper-slide:not(.swiper-slide-thumb-active) {
    opacity: 0.5;
}

.popup-property-container .property-content {
    flex: 1;
    padding: 27px 8px 20px 37px;
}

.popup-property-container .property-content .inner h5 {
    margin: 0;
}

.popup-property-container .property-content .property-title {
    display: inline-block;
}

.popup-property-container .property-content .featured-text {
    background: #198754;
    font-size: 12px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.08em;
    padding: 0 8px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
}

.popup-property-container .property-content .sale-text {
    background: #0B213266;
    font-size: 12px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.08em;
    padding: 0 8px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
}

.popup-property-container .property-content .tfre-property-price {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0em;
    color: #161E2D;
    margin-top: 20px;
}

.popup-property-container .property-content .tfre-property-price .tfre-prop-price-postfix,
.popup-property-container .property-content .tfre-property-price .tfre-prop-price-prefix {
    color: #5C6368;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.popup-property-container .property-content .entry-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.popup-property-container .property-content .description {
    display: flex;
    flex-direction: column;
}

.popup-property-container .property-content .description .property-information,
.popup-property-container .property-content .header-user {
    display: flex;
    align-items: center;
    column-gap: 7px;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0em;
    color: #161E2D;
}

.popup-property-container .property-content .description .property-information i,
.popup-property-container .property-content .header-user i {
    color: #5C6368;
    font-size: 18px;
    font-weight: 500;
}

.popup-property-container .property-content .description .property-information svg {
    width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: left;
    margin-right: 5px;
    flex-shrink: 0;
}

.popup-property-container .property-content .description .property-information svg * {
    fill: #aaaaaa;
}

.popup-property-container .property-content .description .property-information .value {
    font-weight: 700;
}

.popup-property-container .property-content .description .property-information {
    border-top: 1px solid #E4E4E4;
    padding: 0.75rem 0;
}

.popup-property-container .header-content {
    margin-bottom: 16px;
}

.popup-property-container .header-content .property-status {
    font-size: 15px;
    font-weight: 500;
    color: #2b2b2b;
}

.popup-property-container .header-content .property-status::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--theme-primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 3px;
    display: inline-block;
}

.popup-property-container .header-content .inner-title {
    display: flex;
    align-items: baseline;
    column-gap: 15px;
}

.popup-property-container .header-content .property-title {
    margin: 0;
    margin-top: 6px;
    font-weight: 800;
    font-size: 28px;
}

.popup-property-container .header-content .tfre-property-price {
    font-size: 18px;
    color: #2b2b2b;
}

.popup-property-container .property-content .infor-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.popup-property-container .property-content .infor-bottom .tfre-features-infor {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
}

.popup-property-container .property-content .infor-bottom .tfre-features-infor .inner {
    font-family: 'TTHoves';
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #555;
}

.popup-property-container .property-content .infor-bottom .tfre-features-infor .inner .property-info-value {
    font-weight: 700;
    color: #2b2b2b;
}

.popup-property-container .property-content .btn-question {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--theme-primary-color);
    border-radius: 6px;
    padding: 10.5px 40px;
    margin-top: 37px;
}

.popup-property-container .property-content .btn-question:hover {
    background: #2b2b2b;
}

.popup-property-container .infor-overview {
    margin-top: 34px;
}

.popup-property-container .tfre-property-info {
    display: flex;
    flex-wrap: wrap;
    row-gap: 32px;
    margin-left: -20px;
}

.popup-property-container .property-location a {
    color: #555;
}

.popup-property-container .tfre-property-info>* {
    width: calc(33.33333% - 20px);
    margin-left: 20px;
}

.popup-property-container .tfre-property-info .inner {
    display: flex;
}

.popup-property-container .tfre-property-info .inner .icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid rgb(234, 234, 234);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary-color);
    margin-right: 9px;
    font-size: 27px;
    flex-shrink: 0;
}

.popup-property-container .tfre-property-info .inner .icon svg {
    max-width: 18px;
    height: 18px;
}

.popup-property-container .tfre-property-info .inner .icon * {
    color: #a4a4a9;
    fill: #a4a4a9;
}

.popup-property-container .content-property-info {
    margin-top: -5px;
}

.popup-property-container .tfre-property-info .inner .property-info-title {
    font-family: 'TTHoves';
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    color: #2b2b2b;
}

.popup-property-container .tfre-property-info .inner .property-info-value {
    font-family: 'TTHoves';
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    color: #555;
    margin-top: -6px;
}

.popup-property-container .tfre-property-info .property-type::before {
    display: none;
}

.popup-property-container  .swiper-button-next,
.popup-property-container .swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgb(43 43 43 / 70%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    z-index: 10;
}

.popup-property-container  .swiper-button-next::after,
.popup-property-container .swiper-button-prev::after {
    font-size: 14px;
}

@media screen and (max-width: 480px) {
    .popup-property-container {
        flex-direction: column;
    }

    .popup-property-container .property-gallery {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* End Property Quick View Popup */

/* Layout with Map */

.cards-container.map-header {
    max-width: 1810px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
    margin-top: 80px;
}

.cards-container.has-sidebar.sidebar-left,
.cards-container.half-map-left {
    flex-direction: row-reverse;
}

.cards-container.half-map-right .properties-list-wrap {
    padding-top: 35px;
    padding-left: 37px;
    padding-bottom: 30px;
    margin-right: 0px;
    padding-right: 42px;
}

.cards-container.half-map-left .properties-list-wrap {
    padding-top: 35px;
    padding-right: 37px;
    padding-left: 42px;
    padding-bottom: 30px;
}

.cards-container.half-map-right .tfre-heading-property {
    margin-top: -2px;
    margin-bottom: -1px;
    font-family: 'TTHoves';
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
}

.cards-container.half-map-right .tf-properties-wrap {
    margin-top: 12px;
}

.cards-container.half-map-right > .col-md-6:not(.properties-list-wrap),
.cards-container.half-map-left > .col-md-6:not(.properties-list-wrap) {
    padding: 0;
}

.cards-container.half-map-left .tfre-heading-property {
    margin-top: 3px;
    font-family: 'TTHoves';
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
}

.cards-container.half-map-right .cards-container .tf-properties-wrap {
    margin-top: 15px;
}

.cards-container.half-map-left .cards-container .tf-properties-wrap {
    margin-top: 15px;
}

/* .cards-container.half-map-right.no-sidebar .properties-list-wrap,
.cards-container.half-map-left.no-sidebar .properties-list-wrap {
    height: calc(100vh - 293px);
    overflow-x: hidden;
    overflow-y: auto;
} */

.cards-container.half-map-right.no-sidebar .properties-list-wrap::-webkit-scrollbar-track,
.cards-container.half-map-left.no-sidebar .properties-list-wrap::-webkit-scrollbar-track {
    background: #E4E4E4;
}

.cards-container.half-map-right.no-sidebar .properties-list-wrap::-webkit-scrollbar {
    width: 8px;
}

.cards-container.half-map-left.no-sidebar .properties-list-wrap::-webkit-scrollbar {
    width: 20px;
}

.cards-container.half-map-right.no-sidebar .properties-list-wrap::-webkit-scrollbar-thumb,
.cards-container.half-map-left.no-sidebar .properties-list-wrap::-webkit-scrollbar-thumb {
    background: #5C6368;
}

/* .cards-container.half-map-right.no-sidebar .map-container,
.cards-container.half-map-left.no-sidebar .map-container {
    height: calc(100vh - 293px) !important;
    overflow: hidden !important;
} */

/* Navigation Property */

.btn-display-properties-list,
.btn-display-properties-grid {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgb(234, 234, 234);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A3ABB0;
    font-size: 21px;
    cursor: pointer;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.03);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.btn-display-properties-list svg,
.btn-display-properties-grid svg {
    max-width: 13px;
    max-height: 13px;
}

.btn-display-properties-list svg path,
.btn-display-properties-grid svg path {
    fill: #555;
}

.btn-display-properties-list.active,
.btn-display-properties-grid.active,
.btn-display-properties-list:hover,
.btn-display-properties-grid:hover {
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.btn-display-properties-list.active svg *,
.btn-display-properties-grid.active svg *,
.btn-display-properties-list:hover svg *,
.btn-display-properties-grid:hover svg * {
    fill: #fff;
}

.toolbar-search-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 9px;
    row-gap: 10px;
    justify-content: right;
}

.toolbar-search-list .nice-select {
    margin: 0;
    border: 1px solid #E4E4E4;
    padding: 10px 15px;
}

.toolbar-search-list .nice-select .current {
    font-family: 'TTHoves';
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #555;
    padding-right: 72px;
    text-transform: capitalize;
}

.toolbar-search-list .nice-select .current:after {
    color: #aaaaaa;
    font-weight: 900;
}

.tfre-heading-property {
    margin: 0;
    margin-top: 4px;
}

.cards-container .tf-properties-wrap {
    margin-top: 20px;
}

/* Pagination */


.cards-container.no-sidebar .paging-navigation {
    text-align: center;
}

.cards-container .paging-navigation {
    margin-top: 36px;
    text-align: left;
}

.cards-container .paging-navigation a:hover,
.cards-container .paging-navigation .current {
    color: var(--theme-primary-color);
    background: #fff;
    border-color: var(--theme-primary-color);
}

.cards-container .paging-navigation>* {
    position: relative;
    margin-right: 6px;
    width: 43px;
    height: 43px;
    border: 2px solid rgb(234, 234, 234);
    background: #fff;
    text-align: center;
    border-radius: 6px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'TTHoves';
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #959595;
}

.cards-container .paging-navigation .next.page-numbers,
.cards-container .paging-navigation .prev.page-numbers {
    all: unset;
    font-size: 16px;
    font-weight: 600;
    color: #959595;
    cursor: pointer;
    padding: 0 8px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.cards-container .paging-navigation .next.page-numbers:hover,
.cards-container .paging-navigation .prev.page-numbers:hover {
    color: var(--theme-primary-color);
}

.cards-container .paging-navigation .next.page-numbers i {
    margin-left: 4px;
}

.cards-container .paging-navigation .prev.page-numbers i {
    margin-right: 4px;
}

.tf-properties-wrap.style2 .wrap-properties-post.column-4 .item,
.tf-properties-wrap.style2 .wrap-properties-post.column-3 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.cards-container .navigation.loadmore a {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--theme-primary-color);
    padding: 12px 31px;
    border-radius: 6px;
    position: relative;
}

.cards-container .navigation.loadmore a::after {
    width: 18px;
    height: 18px;
    border-radius: 100%;
    border: solid 2px #fff;
    border-top-color: transparent !important;
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: rotating .6s linear infinite;
    opacity: 0;
}

.cards-container .navigation.loadmore a.active::after {
    opacity: 1;
}

.cards-container .navigation.loadmore a.active span {
    opacity: 0;
}

@keyframes rotating {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cards-container .navigation.loadmore {
    text-align: center;
    margin-top: 35px;
}

.cards-container .navigation.loadmore a:hover {
    background: #222;
    color: #fff;
}
  

/* Archive */

.archive.post-type-archive-real-estate .page-header,
.archive.tax-property-type .page-header,
.archive.tax-property-status .page-header,
.archive.tax-property-feature .page-header,
.archive.tax-property-label .page-header,
.archive.tax-province-state .page-header,
.archive.tax-neighborhood .page-header,
.archive.tax-property-status .page-header,
.class-name-page-advanced-search .page-header {
    display: none;
}

.archive.post-type-archive-real-estate #themesflat-content,
.archive.tax-property-type #themesflat-content,
.archive.tax-property-status #themesflat-content,
.archive.tax-property-feature #themesflat-content,
.archive.tax-property-label #themesflat-content,
.archive.tax-province-state #themesflat-content,
.archive.tax-neighborhood #themesflat-content,
.archive.tax-property-status #themesflat-content,
.class-name-page-advanced-search  #themesflat-content {
    padding-top: 0px;
    padding-bottom: 0;
}

.archive.post-type-archive-real-estate .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search),
.archive.tax-property-type .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search),
.archive.tax-property-status .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search),
.archive.tax-property-feature .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search),
.archive.tax-property-label .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search),
.archive.tax-province-state .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search),
.archive.tax-neighborhood .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search),
.archive.tax-property-status .cards-container:not(.half-map-right, .half-map-left, .half-map-right-with-search)  {
    max-width: 1800px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.archive .tfre-advanced-search-wrap.hide-map {
    margin-top: 0;
}

.cards-container.hide-map {
    padding-top: 40px;
    padding-bottom: 50px;
}

.cards-container .tf-properties-wrap .wrap-properties-post .group-card-item-property {
    margin-left: -6px;
    margin-right: -8px;
}

.cards-container .tf-properties-wrap .wrap-properties-post .item {
    padding: 15px 10px 15px 10px;
}

@media only screen and (max-width: 1110px) {
    .cards-container.half-map-left .tf-properties-wrap .wrap-properties-post .item,
    .cards-container.half-map-right .tf-properties-wrap .wrap-properties-post .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .cards-container.half-map-right .tfre-my-property-search .col-lg-6,
    .cards-container.half-map-left .tfre-my-property-search .col-lg-6 {
        width: 100%;
    }
    .cards-container.half-map-left .tfre-my-property-search .toolbar-search-list,
    .cards-container.half-map-right .tfre-my-property-search .toolbar-search-list {
        justify-content: left !important;
        margin-top: 20px;
    }
    .popup-property-container .tfre-property-info>* {
        width: calc(50% - 20px);
        margin-left: 20px;
    }
    .property_quick_view_modal .modal-dialog {
        max-width: 100%;
        padding: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .cards-container.half-map-left .properties-list-wrap,
    .cards-container.half-map-right .properties-list-wrap {
        padding: 50px 30px;
    }
    .popup-property-container .property-content {
        padding: 0;
        padding-top: 30px;
    }
}