.properties {
    position: relative;
    padding: 57px 0 160px;
}

.properties-card-flex {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.properties-card__items {
    margin-bottom: 32px;
}

.properties-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    background: #F8F6F0;
}

.properties-card__img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
}

.properties-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.properties-card__details {
    padding: 23px 25px 35px;
}

.properties-card__title {
    font-size: 26px;
    color: #000000;
    margin: 0;
    padding: 0 0 14px;
    font-weight: 400;
    line-height: 1.16em;
}

.properties-card__details h5 {
    font-size: 18px;
    color: #BDA76C;
    margin: 0;
    padding: 0 0 25px;
    font-weight: 400;
    line-height: 1.5em;
    font-family: 'Poppins', sans-serif;
}

.properties-card__details p {
    color: #1F1F1F;
    font-weight: 400;
    padding-left: 28px;
    position: relative;
}

.properties-card__details p i {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 23px;
    color: #BDA76C;
}

.properties-card__details .time {
    padding-left: 0;
    padding-bottom: 10px;
}

.properties-card__details .time h5 {
    padding-bottom: 0;
}

.properties-card__price {
    font-size: 20px;
    color: #1A254E;
    margin: 0;
    padding: 0 0 26px;
    font-weight: 600;
    line-height: 1.16em;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2em;
}

.properties-card__bottom {
    padding: 0 25px 30px;
}

.properties-status {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 29px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #1A254E;
}

.sold {
    background: #AD0101;
}

.Sale {
    background: #1A254E;
}

.all-properties-card-btn .btn {
    background: #1A254E;
    color: #ffffff;
    margin: 0 auto;
    border: 2px solid #1A254E;
}

.all-properties-card-btn .load-more__btn.is-disabled {
    background-color: #4a4a4a;
    border: none;
}

.all-properties-card-btn .load-more__btn.is-disabled:hover {
    background-color: #565656;
    border: none;
    color: #fff;
}

.properties-toggle-btn input {
    display: none;
}

.properties-toggle-btn label {
    background: #9A9A9A;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
    outline: 0;
    display: block;
    width: 85px;
    height: 40px;
    position: relative;
    cursor: pointer;
}

.properties-toggle-btn input:checked + label {
    background: #1A254E;
}

.properties-toggle-btn label:after {
    position: relative;
    display: block;
    content: "";
    width: 26px;
    left: 8px;
    top: 5px;
    height: 26px;
    border-radius: 2em;
    background: #fbfbfb;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 10%), 0 4px 0 rgb(0 0 0 / 8%);
}

.properties-toggle-btn input:checked + label:after {
    left: 48px;
}

.fx-location {
    visibility: hidden;
    height: 0;
}

.map-view-show .fx-location {
    visibility: visible;
    height: auto;
}

.properties-heading-toggle {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.properties-toggle-btn p {
    text-align: center;
    color: #000;
    padding-bottom: 10px;
}

.map-view-show .listing-properties {
    display: none;
}

.property-child-listing {
    padding: 0;
}

.property-child-listing h2 {
    text-align: center;
}

.property-child-listing .icon-zz-leaf2 {
    font-size: 63px;
    color: #BDA76C;
    font-weight: 400;
    position: relative;
    top: 6px;
    right: 5px;
    z-index: 1;
}

@media (min-width: 768px) {
    .properties-type-button {
        display: flex;
        justify-content: space-evenly;
        max-width: 1200px;
        margin: auto;
        margin-bottom: 20px;
        gap: 10px;
    }

    .properties-type-button .btn {
        margin: 0;
    }

    .properties-card__img-wrap {
        position: relative;
        width: 100%;
        height: 250px;
    }

    .property-child-listing {
        padding: 0 0 30px 0;
    }
}

@media (min-width: 1200px) {
    .properties-type-button {
        margin-bottom: -65px;
        gap: 0;
    }

    .properties-card__img-wrap {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .properties-card__title {
        font-size: 25px;
    }

    .properties-card {
        min-height: 700px;
    }

    .all-properties-card-btn .btn:hover {
        background: transparent;
        color: #1A254E;
    }

    .properties-card:hover .btn-secondary {
        color: #FFFFFF;
        border: 2px solid #1A254E;
        background: #1A254E;
    }

    .all-properties-card-btn  {
        margin-top: 50px;
    }

    .properties {
        position: relative;
        padding: 57px 0 160px;
    }

    .listing-properties {
        margin-bottom: 12px;
    }

    .fx-location__map {
        height: 857px;
    }

    .property-child-listing {
        padding: 80px 0 50px 0;
    }
}

@media (min-width: 1600px) {
    .properties .container-fluid {
        padding: 0 68px;
    }

    .properties-card__title {
        font-size: 30px;
    }
}

