.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;
}

/* 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: #120A21;
    padding: 6px 11px;
    background: #fff;
    box-shadow: 0px 4px 26px 0px rgba(66, 71, 76, 0.1215686275);
    width: max-content;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.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;
    height: 500px;
    object-fit: cover;
}

.property_quick_view_modal .modal-content .property-gallery .thumb-swiper .swiper-image {
    border-radius: 12px;
    height: 100px;
    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: 1rem;
}

.popup-property-container .property-content .inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    row-gap: 15px;
    column-gap: 20px;
}

.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 .value {
    font-weight: 700;
}

.popup-property-container .property-content .description .property-information {
    border-top: 1px solid #E4E4E4;
    padding: 0.75rem 0;
}

@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: 1320px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
}

.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: 30px;
    padding-left: 30px;
    padding-bottom: 30px;
    margin-right: -12px;
}

.cards-container.half-map-left .properties-list-wrap {
    padding-top: 30px;
    padding-right: 20px;
    padding-bottom: 30px;
}

.cards-container.half-map-right .tfre-heading-property {
    margin-top: 3px;
    font-family: 'Josefin Sans';
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
}

.cards-container.half-map-left .tfre-heading-property {
    margin-top: 3px;
    font-family: 'Josefin Sans';
    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 - 115px);
    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 - 115px) !important;
    overflow: hidden !important;
}

/* Navigation Property */

.btn-display-properties-list,
.btn-display-properties-grid {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A3ABB0;
    font-size: 21px;
    cursor: pointer;
}

.btn-display-properties-list.active,
.btn-display-properties-grid.active,
.btn-display-properties-list:hover,
.btn-display-properties-grid:hover {
    color: #161E2D;
}

.toolbar-search-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 12px;
    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: 'Josefin Sans';
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #161E2D;
    padding-right: 46px;
}

.toolbar-search-list .nice-select .current:after {
    font-size: 25px;
}

.tfre-heading-property {
    margin: 0;
    margin-top: 4px;
}

.cards-container .tf-properties-wrap {
    margin-top: 25px;
}

/* tool select column card */

.tf-control-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 15px;
    row-gap: 10px;
}

.tf-control-layout li {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}

.tf-control-layout li svg {
    max-width: 15px;
}

.tf-control-layout li svg * {
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.tf-control-layout li svg * {
    stroke: #B6B6B6;
    fill: #B6B6B6;
    width: 4px;
    height: 4px;
}

.tf-control-layout li:hover svg *,
.tf-control-layout li.active svg * {
    stroke: var(--theme-primary-color);
    fill: var(--theme-primary-color);
}

/* Filter Loader */
.overlay-filter-tab {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
}

.filter-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--theme-primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.properties-empty{
    width: auto;
    margin: 150px auto;
    text-align: center;
}

.properties-switch-map .properties-empty{
    position: absolute;
    z-index: 15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.properties-empty .item-not-found{
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: #000;
    margin-bottom: 15px;
}

.properties-empty .item-another{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #545454;
    margin: 8px 0 0;
}

.properties-empty .btn-clear-all{
    display: inline-block;
    color: #fff;
    margin: 30px auto 0;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    background: var(--theme-primary-color);
    border-radius: 10px;
}

.properties-empty .btn-clear-all:hover {
    background: #1C1C1E;
    color: #fff;
}

.properties-empty .btn-clear-all.active::after {
    animation: spin 1s linear infinite;
    margin: 3px;
} 

/* clear option */

.clear-option {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.clear-option::after {
    content: "\e93f";
    color: var(--theme-primary-color);
    font-family: 'homelengo';
    font-size: 14px;
    font-weight: 700;
    transform: rotate(45deg);
}


/* reset filter */

.wrapper-action a {
    display: inline-block;
}

.wrapper-action {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #ECECEC;
}

.wrapper-action .btn-show-properties {
    padding: 17px 40px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #fff;
}

.wrapper-action .btn-show-properties i {
    margin-left: 6px;
    font-size: 20px;
    vertical-align: bottom;
}

.btn-clear-all.active::after {
    content: "" !important;
    vertical-align: middle;
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid #161E2D;
    border-radius: 50%;
    border-right: 1px solid #fff;
    margin: 3px;
    vertical-align: middle;
} 

.btn-clear-all.search-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
} 

.btn-clear-all.search-sidebar .icon-homelengo-plus {
    font-weight: 700;
}

.btn-clear-all.search-sidebar:hover {
    transform: rotate(90deg);
}

.btn-clear-all.search-sidebar::after {
    display: none;
}

.btn-clear-all.card-clear {
    display: flex;
    align-items: center;
    gap: 5px;
    display: none;
}

.btn-clear-all.card-clear.show {
    display: block;
}

.btn-clear-all.card-clear::after {
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin: 3px;
    vertical-align: middle;
    content: "\e93f";
    color: #161E2D;
    font-family: 'homelengo';
    font-size: 14px;
    font-weight: 700;
    transform: rotate(45deg);
}


.btn-clear-all.card-clear.active::after {
    content: '\e962';
    animation: spin 1s linear infinite;
} 

.popup-search-map .tfre-advanced-search-wrap .btn-clear-all {
    display: none;
}

.count-properties-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #5C5E61;
    margin-top: 10px;
}

.count-properties-desc .count-total {
    color: var(--theme-primary-color);
}

.filter-popup {
    border-radius: 10px;
    padding: 8px 19px;
    background: var(--theme-primary-color);
    color: #fff;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    font-weight: 500;
    line-height: 22.4px;
    flex-shrink: 0;
}

.filter-popup:hover {
    background: #2C2E33;
}

body.enable-filter::-webkit-scrollbar {
    opacity: 0;
    visibility: hidden;
}

/* Filter Loader */
.overlay-filter-tab {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
}

.filter-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--theme-primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.properties-empty{
    width: auto;
    margin: 150px auto;
    text-align: center;
}

.properties-switch-map .properties-empty{
    position: absolute;
    z-index: 15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.properties-empty .item-not-found{
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: #000;
    margin-bottom: 15px;
}

.properties-empty .item-another{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #545454;
    margin: 8px 0 0;
}

.properties-empty .btn-clear-all{
    display: inline-block;
    color: #fff;
    margin: 30px auto 0;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    background: var(--theme-primary-color);
    border-radius: 10px;
}

.properties-empty .btn-clear-all:hover {
    background: #1C1C1E;
    color: #fff;
}

/* filter search */

.tfre-filter-search .overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 99999;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
    cursor: url(../../../includes/elementor-widget/assets/images/icons/close.svg), auto;
}

.tfre-filter-search .popup-search-map .tfre-sidebar {
    background: #fff;
    width: 450px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    will-change: transform;
    overflow: hidden;
    transform: translateX(100%);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 99999;
    left: auto;
    right: 0;
    overflow-y: auto;
    padding: 20px;
    padding-top: 50px;
    padding-right: 5px;
}

.tfre-filter-search .tf-btn-close {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #2C2E33;
    transform: rotate(45deg);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.tfre-filter-search .tf-btn-close i {
    font-weight: 900;
}

.tfre-filter-search .tf-btn-close:hover {
    color: var(--theme-primary-color);
    transform: rotate(-45deg);
}

.tfre-filter-search.active .popup-search-map .tfre-sidebar {
    transform: translateX(0%);
}

.tfre-filter-search.active .overlay {
    opacity: 1;
    visibility: visible;
}

.tfre-filter-search .popup-search-map .tfre-sidebar::-webkit-scrollbar {
    width: 8px;
    border-radius: 999px;
}

.tfre-filter-search .popup-search-map .tfre-sidebar::-webkit-scrollbar-thumb {
    background-color: #E4E4E4;
}

.tfre-filter-search .popup-search-map .tfre-sidebar::-webkit-scrollbar-track {
    background-color: transparent;
}

.filter-popup {
    border-radius: 10px;
    padding: 8px 19px;
    background: var(--theme-primary-color);
    color: #fff;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    font-weight: 500;
    line-height: 22.4px;
    flex-shrink: 0;
}

.filter-popup:hover {
    background: #2C2E33;
}

body.enable-filter::-webkit-scrollbar {
    opacity: 0;
    visibility: hidden;
}

/* sibar popup */

.tfcl-popup-sidebar .btn-toggle-sidebar {
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--theme-primary-color);
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    z-index: 999;
    color: #fff;
    font-size: 30px;
    border-radius: 10px 0 0 10px;
    display: none;
  
  }
  
  .tfcl-popup-sidebar.active-mobile .btn-toggle-sidebar {
    display: flex;
  }
  
  .tfcl-popup-sidebar .overlay-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    will-change: opacity;
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
  }
  
  .tfcl-popup-sidebar.active-mobile.active .content-sidebar {
    transform: translateX(0%);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  
  }
  
  .tfcl-popup-sidebar .search-properties-form .tf-search-form .tf-search-form-top.desktop {
    display: flex !important;
  }
  
  .tfcl-popup-sidebar.active .overlay-sidebar {
    opacity: 1;
    visibility: visible;
  }
  
  .tfcl-popup-sidebar.active-mobile {
    z-index: 9999;
    position: relative;
  }
  
  .tfcl-popup-sidebar.active-mobile .content-sidebar {
    position: fixed;
    top: 0px !important;
    right: 0;
    background: #fff;
    z-index: 99;
    transform: translateX(100%);
    overflow: unset;
    height: 100%;
    width: 60%;
  }
  
  .tfcl-popup-sidebar.active-mobile .content-sidebar > .tfre_sidebar,
  .tfcl-popup-sidebar.active-mobile .content-sidebar > .sidebar,
  .tfcl-popup-sidebar.active-mobile .content-sidebar > .tfre_single_sidebar {
    height: 100vh;
    overflow-y: scroll;
    padding: 20px;
    padding-top: 40px;
  }
  
  .tfcl-popup-sidebar.active-mobile .tfcl_single_sidebar > .inner {
    height: 100%;
    overflow-y: scroll;
  }
  
  .tfcl-popup-sidebar.active-mobile .tfcl_single_sidebar .listing-info-header,
  .tfcl-popup-sidebar.active-mobile .tfcl_single_sidebar .single-listing-element.listing-info-overview {
    margin-bottom: 30px;
  }
  
  .tfcl-popup-sidebar.active-mobile .tfcl_single_sidebar .btn-toggle-sidebar {
    display: flex;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  
  .tfcl-popup-sidebar.active-mobile .tfcl_single_sidebar .btn-toggle-sidebar:hover {
    background: #24272C;
    color: #fff;
  }
  
  .tfcl-popup-sidebar.active-mobile .tfcl_single_sidebar {
    padding-top: 40px;
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .tfcl-popup-sidebar.active-mobile .sidebar {
    padding: 0 10px;
    padding-bottom: 30px;
    margin-top: 0 !important;
  }

/* Pagination */


.cards-container.no-sidebar .paging-navigation {
    text-align: center;
}

.cards-container .paging-navigation {
    margin-top: 25px;
    text-align: left;
}

.cards-container .paging-navigation>span,
.cards-container .paging-navigation a:hover,
.cards-container .paging-navigation .current {
    color: #fff;
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.cards-container .paging-navigation>* {
    position: relative;
    color: #161E2D;
    margin-right: 8px;
    width: 48px;
    height: 50px;
    border: 1px solid transparent;
    text-align: center;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Josefin Sans';
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
}

.cards-container .navigation.loadmore a,
.wrapper-btn-load-more .btn-load-more {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--theme-primary-color);
    padding: 12px 31px;
    border-radius: 16px;
    position: relative;
    display: inline-block;
}

.wrapper-btn-load-more .btn-load-more::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;
}

.wrapper-btn-load-more .btn-load-more.active::after {
    opacity: 1;
}

.wrapper-btn-load-more .btn-load-more.active span {
    opacity: 0;
}

.wrapper-btn-load-more .btn-load-more:hover {
    background: #2C2E33;
    color: #fff;
}

.wrapper-btn-load-more {
    margin-top: 12px;
    text-align: center;
}

.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: 12px;
}

.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: 1320px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 70px;
}

.cards-container.hide-map {
    padding-top: 80px;
    padding-bottom: 50px;
}

.btn-enable-features .fa-chevron-down::before {
    content: "\e93f";
    font-family: 'homelengo';
}

.btn-enable-features .fa-chevron-up::before {
    content: "\e93e";
    font-family: 'homelengo';
}

.btn-enable-features i {
    font-size: 14px;
    margin-left: 5px;
    vertical-align: inherit;
}

.cards-container.half-map-right-with-search.row {
    margin-left: unset !important;
    margin-right: unset !important;
}

@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;
    }
    .cards-container.half-map-right.no-sidebar .properties-list-wrap,
    .cards-container.half-map-right.no-sidebar .map-container,
    .cards-container.half-map-left.no-sidebar .properties-list-wrap,
    .cards-container.half-map-left.no-sidebar .map-container {
        height: 100% !important;
        overflow-x: unset;
        overflow-y: unset;
    }

    .side-bar-properties {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    .tf-control-layout.col-md-4 {
        display: none;
    }
}

@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;
    }
}