.search-results {
    margin-top: 120px;
}

.search-results .search-results-filter {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-results .search-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.search-results .searchbar {
    width: 30%;
    margin-right: 15px;
    height: 45px;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid #ccc;
}

.search-results .searchbar input {
    box-shadow: none !important;
    border: none;
    border-radius: 0;
    margin: 0;
    border-right: 0;
    padding: 7px 15px;
    box-shadow: none !important;
}

.search-results .searchbar button {
    background-color: #c1b9a5;
    border-radius: 5px;
    padding: 0 10px;
}

.search-results .search-results-filter {
    width: 68%;
}

.search-results .search-results-filter li {
    width: 20%;
}

.search-results .search-results-filter li.dropdown {
    width: 20%;
}

.search-results .search-results-filter li.dropdown a {
    color: #000;
    font-size: 12px;
    padding: 10px 5px;
    display: inline-block;
    font-weight: 400;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none !important;
    width: 100%;
    text-align: center;
}

.search-results .search-results-filter li.dropdown .dropdown-menu {
    padding: 15px;
    width: max-content;
    min-width: 300px;
    max-height: 400px;
    overflow: auto;
}

.search-results .search-results-filter li.dropdown .dropdown-menu .main-btn {
    margin-top: 20px;
}

.dropdown-list .radio,
.dropdown-list .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.dropdown-list .radio:last-child {
    margin-bottom: 0;
}

.dropdown-list .radio input[type="radio"],
.dropdown-list .checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.dropdown-list .radio label,
.dropdown-list .checkbox label {
    font-size: 16px;
    color: #000;
    font-weight: 400;
}

.dropdown-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    gap: 15px;
}

.dropdown-flex label {
    display: block;
    font-size: 14px;
    color: #555;
}

.dropdown-flex select {
    padding: 10px;
    border-radius: 0;
    width: 120px;
    font-size: 14px;
}

.dropdown-flex .middle {
    padding-top: 20px;
}

.bb-section .numbers ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 3px;
    border: 1px solid grey;
    justify-content: space-between;
}

.bb-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.bb-section.no-border {
    margin-bottom: 0;
    border: none;
    padding-bottom: 0;
}

.bb-section h5 {
    margin-bottom: 5px;
    font-size: 14px;
}

.bb-section .numbers ul li {
    padding: 10px;
    border-right: 1px solid #7f8e9b;
    font-size: 14px;
    font-weight: 400;
    color: #7f8e9b;
    border-right: 1px solid #7f8e9b;
    width: inherit;
    text-align: center;
    cursor: pointer;
}

.bb-section .numbers ul li:last-child {
    border-right: 0;
}

.bb-section .numbers ul li.active {
    background-color: #c1b9a5;
    color: white;
    overflow: hidden;
}

.dropdown-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.dropdown-section:nth-last-child(1) {
    padding: 0;
    margin: 0;
    border: 0;
}

.dropdown-section h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.dropdown-section h6 {
    font-size: 14px;
}

.search-results .search-results-filter li .secondary-btn {
    padding: 10px;
}

.search-results-homes {
    margin: 50px 0 30px;
    padding-bottom: 50px;
    height: 600px;
    overflow: auto;
    padding-right: 20px;
}

.search-results-homes h3 {
    font-size: 24px;
    font-weight: 600;
}

.search-results .results-count {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
}

.search-results .sortby-right {
    display: flex;
    align-items: center;
}

.search-results .sortby-right p {
    margin: 0;
    font-size: 14px;
}

.search-results .sortby-right .dropdown-toggle {
    border: none;
    background-color: #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.search-result-card {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.search-result-card .search-result-top {
    position: relative;
}

.search-result-card .search-result-top .add-to-favourite {
    position: absolute;
    top: 2px;
    right: 8px;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 11;
}

.search-result-card .search-result-top .add-to-favourite.added i {
    font-weight: 600;
    color: red;
    -webkit-text-stroke: 2px #fff;
}

.search-result-card.search-result-card-main .search-result-top .owl-item {
    position: relative;
    margin-right: 0 !important;
    left: 4px;
}

.search-result-card .search-result-top .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    display: flex;
    justify-content: space-between;
}

.search-result-card .search-result-top .owl-nav button {
    color: #fff !important;
    font-size: 16px;
    padding: 5px !important;
    background-color: rgba(0, 0, 0, .5);
}

.property-gallery-img {
    display: none;
}

.search-result-card .search-result-content {
    padding: 10px;
    display: block;
    color: #111;
    position: relative;
    overflow: hidden;
}

.search-result-card .search-result-content .overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(193, 185, 165, .9);
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.search-result-card .search-result-content .overlay a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 14px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-card .search-result-content:hover .overlay {
    display: flex;
}

.search-result-card .search-result-content:before {
    content: "";
    background-image: url(../images/logo-overlay.png);
    position: absolute;
    bottom: 0;
    right: -30px;
    width: 150px;
    height: 100px;
    background-size: 150px 100px;
    filter: brightness(0.8);
}

.search-result-card .search-result-content .main-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.search-result-card .search-result-content .price-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-card .search-result-content .price-flex h5 {
    color: #c1b9a5;
    font-size: 24px;
    margin: 0;
    font-weight: 400;
}

.search-result-card .search-result-content .features {
    display: flex;
    gap: 10px;
    font-size: 10px;
    font-weight: 500;
    margin-top: 5px;
    align-items: flex-start;
}

.search-result-card .search-result-content .features li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-result-card .search-result-content h6 {
    font-size: 10px;
    margin-top: 10px;
}

#searchResultMap {
    height: 600px;
    width: 100%;
    margin-top: 50px;
}

.properties-details-header {
    background-color: #000;
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: space-between;
}

.properties-details-header a {
    color: #fff;
}

.properties-details-header button {
    background-color: transparent;
    color: #fff;
    border: none;
}

.properties-header-flex {
    display: flex;
    gap: 30px;
}

.properties-header-flex a {
    color: #fff;
}

.properties-header-flex button.dropdown-toggle {
    padding: 0;
}

.properties-header-flex .properties-save {
    width: 75px;
}

.properties-header-flex .after-save {
    color: #c1b9a5;
}

.properties-header-flex .dropdown-menu {}

.properties-header-flex .dropdown-menu a {
    color: #111;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    background-color: #fff;
}

.properties-header-flex button.dropdown-toggle::after {
    display: none;
}

.properties-details-gallery a {
    position: relative;
    display: block;
}

.properties-details-gallery .overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.properties-details-content {
    padding: 30px 0;
}

.properties-details-content .properties-details-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.properties-details-content .properties-details-content-header h6 {
    color: #c1b9a5;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
}

.properties-details-content .properties-details-content-header h2 {
    font-size: 45px;
    font-weight: 600;
    color: #000;
}

.properties-details-content .properties-details-content-header h5 {
    font-size: 16px;
    color: #777;
    font-weight: 400;
}

.properties-details-content .properties-details-content-header .property-features ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.properties-details-content .properties-details-content-header .property-features ul li {
    font-size: 18px;
    color: #000;
    line-height: 1;
    border-right: 1px solid #aaa;
    padding: 10px 10px 0;
}

.properties-details-content .properties-details-content-header .property-features ul li:last-child {
    padding-right: 0;
    border: none;
}

.properties-details-content .properties-details-content-header .property-features ul li span {
    font-size: 24px;
    padding-right: 5px;
}

.properties-details-content .properties-details-content-header .get-prequalified {
    background-color: #e0f2ff;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    border-radius: 5px;
    margin-top: 15px;
}

.properties-details-content .properties-details-content-header .get-prequalified p {
    font-size: 14px;
    margin: 0;
}

.properties-details-content .properties-details-content-header .get-prequalified p span {
    font-weight: 700;
}

.properties-details-content .properties-details-content-header .get-prequalified a {
    color: #002375;
    font-size: 14px;
    font-weight: 700;
}

.properties-details-content .properties-details-content-header .property-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.properties-details-content .properties-details-content-header .property-actions a {
    width: 100%;
    height: 50px;
}

.properties-details-content .properties-details-content-header .property-actions .main-btn i {
    font-size: 24px;
    color: #000;
}

.properties-details-content .properties-details-content-header .property-actions .main-btn h5 {
    color: #000;
    font-size: 12px;
    margin: 0;
}

.properties-details-content .properties-details-content-header .property-actions .main-btn h5 span {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.properties-details-content .properties-details-content-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 80%;
    margin: 40px 0;
}

.properties-details-content .properties-details-content-boxes .content-box {
    background-color: #f3f3f3;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 30%;
    border-radius: 5px;
    font-size: 14px;
    height: 80px;
}

.properties-details-content .properties-details-content-content h3 {
    color: #c1b9a5;
    font-size: 30px;
    font-weight: 500;
}

.properties-details-content .properties-details-content-content h5 {
    font-weight: 600;
}

.properties-details-content .properties-details-content-content p {
    padding: 20px 0 40px;
}

.properties-details-content .properties-details-content-content h4 {
    font-size: 18px;
    padding-bottom: 40px;
}

.properties-details-content .properties-details-content-content h4 span {
    font-weight: 700;
}

.properties-details-content .properties-details-content-content ul li {
    display: flex;
    padding-bottom: 5px;
}

.properties-details-content .properties-details-content-content ul li span {
    width: 180px;
}

#propertyDetailMap {
    height: 500px;
    margin-bottom: 30px;
}

.property-details-map-section a {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.property-details-container {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.list-map-switch {
    display: none;
}

.show-filter-mobile {
    display: none;
}

.mobile-filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1050;
    overflow-y: auto;
    transition: transform 0.3s ease-out;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
}

.mobile-filter-panel.is-open {
    transform: translateX(0);
    display: flex !important;
}

.mobile-filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
}

.mobile-filter-panel-title {
    margin-bottom: 0;
}

.mobile-filter-panel-body {
    flex-grow: 1;
    padding: 1rem;
}

.mobile-filter-panel-footer {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    flex-shrink: 0;
}

.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 59;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.mobile-filter-overlay.is-visible {
    opacity: 1;
    display: block !important;
}

.open-textUs {
    cursor: pointer;
}

.textUs {
    display: none;
}

.textUs.opened {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    z-index: 11;
    background: #fff;
    padding: 20px;
    left: 50%;
    /* top: 50%; */
    transform: translateX(-50%);
    width: 100%;
}

.close-textUs {
    border: 0;
    background: #fff;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    line-height: 1;
}

.external-popup .modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.popup-dropdown {
    width: 600px;
    padding: 20px;
    text-align: center;
}

.popup-dropdown h3 {
    text-transform: uppercase;
    font-size: 24px;
}

.search-result-top-img img {
    height: 200px;
    width: 100% !important;
    object-fit: cover;
}

.modal .search-result-top-img img {
    height: 300px;
}

.external-popup .modal-dialog {
    height: 96vh;
    margin: 0 auto;
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
}

.external-popup .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.external-popup .modal-header,
.modal-footer {
    flex-shrink: 0;
}


/* The crucial part: Modal Body */

.external-popup .modal-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.modal .search-result-card .search-result-top .add-to-favourite {
    right: 50px;
    font-size: 24px;
}