@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

select {
    margin: 10px !important;
}

a:hover {
    text-decoration: none;
    color: auto;
}

/* The container must be positioned relative: */
.custom-select {
    position: relative;
    font-family: Arial;
    margin: 10px;
}

.custom-select select {
    display: none;
    /*hide original SELECT element: */
}

.select-selected {
    background-color: #c5b16a;
    border-radius: 2px;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: #c5b16a;
    border-radius: 2px;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

.search-wrapper {
    margin: 10px;
    padding: 10px;
    justify-content: space-around;
    display: flex;
    transition: .5s all;
}

.col-1-custom {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.col-2-custom {
    width: 30%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 10px;
}

.col-2-custom .button-advance {
    padding: 10px;
    font-size: 15px;
    border: none;
    background-color: #fff;
    text-align: center;
    color: #d2be77;
    border: 2px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s all;
    margin-left: 6px;
}

.col-2-custom .button-advance:hover {
    border-radius: 3px;
    transition: .5s all;
    background-color: #d2be77;
}

/* ----------------------------------------- */
/* Property Styles */

.flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.property-item {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}



.portfolio .homes-content .homes-address {
    margin-top: 0px;
    margin-left: 15px;
    font-size: 0.3rem !important;
}

.search-input {
    padding: 15px;
    width: 40%;
    border: 1px solid #c5b16a;
    font-family: 'Poppins' sans-serif;
    outline: none;
    border-radius: 2px;
    font-size: 15px;
    transition: .3s all;
}

.search-input:focus {
    transition: .3s all;
    border-radius: 4px;
}

.search-input:hover {
    cursor: text;
    transition: .3s all;
    border-radius: 6px;
}



@media only screen and (max-width: 540px) {
    .hp-6 .dropdown-filter {

        margin-right: 0px;
        margin-top: -1px;
        margin-left: 177px !important;
        margin-top: -109px;
        text-align: left;
        line-height: 1;
        word-wrap: none;
        position: absolute;
    }

    .district-select {
        min-width: 161px !important;
    }
}

.image-content-wrapper {
    padding: 5px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    direction: rtl;
}

.link-styles {
    margin-top: 13rem;
    direction: rtl;
    display: flex;
}

.padding-15 {
    margin-top: -20px;
    /* padding: 15px; */
    /* padding: 0; */
    margin: 0;
    padding-top: -50px !important;
    margin-top: -70px;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
}

.first-column {
    width: 70%;
    height: 100%;
    display: flex;
}

.second-column {
    width: 30%;
    height: 100%;
    display: flex;
}

.icons-first {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 78%;
}

.justify-center {
    justify-content: flex-end;
    justify-items: self-end;
    margin-bottom: 24px;
}
.content-wrapper .bottom-button {
    position: absolute;
    bottom: 0;
    left: 0;
}


.content-section {
    border: 1px solid #c5b16a !important;
    height: 301px;
    overflow: hidden;
}

.title {
    display: flex;
    flex-direction: column;
    width: 100%;
}


.title-link {
    color: #c5b16a !important;
    font-size: 20px;
    font-family: old sans-serif;
    font-weight: 500;
    padding: 10px;
}

.title-link:hover {
    text-decoration: none;
    color: #b09e5c !important;
    transition: 1s all;
}

.price-wrapper img {
    width: 25px;
    height: 25px;
}

.price-wrapper {
    display: flex;
    direction: rtl;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
}


.price p {
    font-size: 1.2rem !important;
    font-family: 'Montserrat' !important;
    text-align: center;
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    color: #c5b16a;
    align-items: center;
    padding: 10px;
    direction: ltr;
}

.price-image p {
    font-size: 16px !important;
    font-family: 'Montserrat' !important;
    text-align: center;
    display: flex;
    background-color: #c5b16a;
    border-radius: 8px;
    color: #fff;
    align-items: center;
    padding: 10px;
}


.price .request {
    font-size: 18px !important;
}

.price_link-holder {
    display: none;
    justify-content: space-around;
    width: 100%;
    margin-top: 12rem;
}

.icons {
    width: 100%;
    height: 25%;
}

.icon {
    padding: 0px;
}
.icon span {
    margin-left: 7px;
    color: #666;
}



.row-custom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.button-main {
    background-color: #fff;
    outline: none;
    box-shadow: none;
    border: 1px solid #c5b16a;
    color:#c5b16a;
    padding: 15px;
    font-size: 14px;
    float: right;
    text-transform: none;
    transition: .5s all;
}

.button-main {
    color: #000 !important;
}


.btn-reset-main {
    background-color: #ccc;
    outline: none;
    box-shadow: none;
    padding: 15px;
    font-size: 15px;
    float: right;
    text-transform: none;
    transition: .5s all;
    color: black;
}

.btn-reset {
    display: none;
    background-color: #ccc;
    outline: none;
    box-shadow: none;
    padding: 15px;
    font-size: 15px;
    float: right;
    text-transform: none;
    transition: .5s all;
    color: black;
}

.btn-reset:hover {
    background-color: none;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    transition: .5s all;
}

.col-search {
    transition: .5s all;
}

.button-main:hover {
    background-color: #c5b16a;
    color: white !important;
    border-radius: 3px;
    transition: .5s all;
}



.hover:hover {
    color: white;
}

/* --------------------------- */

/* Advanced Search Modal */

/* --- Fonts */
.modal-header h4 {
    font-weight: 700;
}

.modal-body h2,
p {
    font-family: 'Poppins', sans-serif;
}

/* -- CheckBoxes */
.flex-check {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    flex-direction: row;
    direction: ltr;
}

.check-1 label,
.check-2 label {
    font-size: 15px;
    margin: 10px;
}

.check-1 {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
}

.check-2 {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
}

/* Price range styles */
.ui-slider .ui-slider-range {
    background-color: #c5b16a;
    border-radius: 2px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    background-color: #666;
}

.price-input {
    border: none;
    outline: none;
    padding: 10px;
    color: #b09e5c;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

/* Advanced Search Mobile */
#advanced_search_mobile {
    display: none;
}

.advanced-content {
    display: none;
}

.flex-mobile {
    display: flex;
    flex-direction: column;
}

.display-block {
    display: block !important;
}

@media(max-width:900px) {
    .flex-row {
        flex-direction: column !important;
        align-items: center;
    }

    .justy-mob {
        flex-direction: column;
    }

    .price-wrapper {
        display: none;
    }

    .price_link-holder {
        display: flex;
    }

    .link-styles {
        display: none;
    }

    .title-link {
        font-size: 18px;
        line-height: normal;
    }   

    .title {
        width: auto;
    }

    .row-custom {
        flex-direction: column;
    }

    .content-section {
        height: auto;
    }

    .search-wrapper {
        margin: 10px;
        padding: 10px;
        justify-content: space-around;
        display: flex;
        flex-direction: column;
    }


    .col-1-custom {
        flex-direction: column;
        width: auto;
    }

    .col-2-custom {
        flex-direction: column;
        width: auto;
    }

    .col-2-custom .button-main {
        margin: 10px 10px;
    }

    .custom-select {
        margin-bottom: 30px;
        width: 100%;
    }


    .search-input {
        width: 100%;
    }

    .btn-reset-main {
        display: none;
    }

    .btn-reset {
        display: block;
        margin: 10px 10px;
        text-align: center;
        font-weight: 600;
        transition: 1s all;
    }

    .btn-reset a {
        transition: 1s all;
    }

    #myModal {
        display: none !important;
    }

    #advanced_search {
        display: none !important;
    }

    #advanced_search_mobile {
        display: block;
    }

    .advanced-content {
        transition: 2s all;
        margin: 18px;
    }

    .flex-check {
        flex-direction: column;
    }


    .check-1 {
        width: 100%;
    }

    .check-2 {
        width: 100%;
    }

    select {
        margin: 5px !important;
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .first-column {
        width: 100%;
        height: 100%;
        display: flex;
    }

    .second-column {
        width: 100%;
        height: 100%;
        display: flex;
    }

    .icons-first {
        display: flex;
        width: 85%;
    }

    .padding-15{
        padding: 21px 0px 0px 0px;
    }
    span.price.flex {
        display: none;
    }
}