/*Hide form before loading*/
.houzez-search-form-js {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-form-item-counter {
    font-size: 11px;
    color: gray;
}

.btn-group.btn-group-sm.btn-block button {
    text-wrap: wrap !important;
    color: #3a3087 !important;
}

.checkbox-container {
    display: flex;
    gap: 20px;
}

.checkbox-container label {
    display: flex;
    align-items: start;
    text-wrap-mode: nowrap;
}

button[data-id="form-field-d83377e"] {
    pointer-events: none;
}

/* form#houzez-search-3a474c0 button, form#houzez-search-3a474c0 input {
    z-index: 9999;
} */

input.stage-toggle {
    display: inline-block;
    margin-right: 5px !important;
}

/*search fields*/

.houzez-ele-search-form-wrapper.elementor-form-fields-wrapper.elementor-labels-above {
    justify-content: space-between;
}

.houzez-ele-search-form-wrapper.elementor-form-fields-wrapper.elementor-labels-above .elementor-field-group {
    margin-bottom: 15px !important;
}

.houzez-ele-search-form-wrapper.elementor-form-fields-wrapper.elementor-labels-above .elementor-field-group .filter-option-inner-inner {
    font-size: 13px;
}


.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(1) label {
    display: none;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(1) .filter-option-inner-inner {
    color: #000;
}


.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(2) label {
    display: none;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(2) button:disabled .filter-option-inner-inner {
    color: #aaaaaa;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(2) .filter-option-inner-inner {
    color: #000;
}


.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(3) label {
    display: none;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(3) .filter-option-inner-inner {
    color: #000;
}


/*minprice*/
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(6) {
}


.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(6) label {
    display: none;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(6) input {
    font-size: 13px;
    color: #fff !important;
    background: #4d40b4 !important;
    min-height: 30px !important;
    height: 30px !important;
    max-width: 80px !important;
}

/*maxprice*/
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(7) {
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(7) label {
    display: none;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(7) input {
    font-size: 13px;
    color: #fff !important;
    background: #4d40b4 !important;
    min-height: 30px !important;
    height: 30px !important;
    max-width: 80px !important;
}


/*minarea*/
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(9) {
}

.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(9) label {
    display: none;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(9) input {
    font-size: 13px;
    color: #fff !important;
    background: #4d40b4 !important;
    min-height: 30px !important;
    height: 30px !important;
    max-width: 80px !important;
}

/*maxarea*/
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(10) {

}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(10) label {
    display: none;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(10) input {
    font-size: 13px;
    color: #fff !important;
    background: #4d40b4 !important;
    min-height: 30px !important;
    height: 30px !important;
    max-width: 80px !important;
}

/*search button*/
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(11) {
    margin-left: auto;
    margin-top: 20px !important;
}
.houzez-ele-search-form-wrapper .elementor-field-group:nth-child(11) button {
    background-color: #4D40B4 !important;
}



/*Search fields Mobile*/
@media (max-width: 1000px) {
    .houzez-auto-filters-item-container input {
        font-size: 13px;
        color: #fff !important;
        background: #4d40b4 !important;
        min-height: 30px !important;
        height: 30px !important;
        max-width: 80px !important;
    }

    .elementor-field-group-c912d66 label {
        display: block !important;
    }
    .elementor-field-group-142aef1 label {
        display: block !important;
    }

    .houzez-auto-filters-item-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        grid-template-columns: 1fr 1fr 1fr;
    }


    /*Dropdown show*/
    .dropdown-menu.show {
        max-height: 580px !important;
        height: 100% !important;
        /* border: 1px solid black !important; */
        overflow: hidden !important;
        position: fixed !important;
        width: 95% !important;
        top: 50px !important;
        bottom: 50px !important;
        transform: initial !important;
        will-change: initial !important;
        z-index: 999999;
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-shadow: 0px 20px 80px 30px rgba(0, 0, 0, 0.8);
    }

    .dropdown-menu.show * {
        position: relative !important;
    }

    .inner.show {
        min-height: 460px;
        max-height: 460px !important;
        height: max-content !important;
        overflow-y: scroll !important;
        overflow-x: scroll !important;
        scrollbar-width: none;
    }

    .dropdown-menu.show .bs-actionsbox {
        z-index: 9999999 !important;
    }

    .houzez-auto-filters-ok-button {
        padding: 20px;
        color: #000 !important;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        text-align: center;
        width: 100%;
        /* height: 50px; */
        border-top: 1px solid #dbdbdb;
        border-radius: 0 !important;
    }

    .bootstrap-select .dropdown-menu.inner {
        top: 10px !important;
        scrollbar-width: initial !important;
    }

    .bootstrap-select {
        
    }


}


@media (min-width: 1000px) {

    .dropdown-menu.show {
        max-height: 280px !important;
    }

    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(1) {
        max-width: 200px;
    }
    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(2) {
        max-width: 200px;
    }
    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(3) {
        max-width: 200px;
    }
    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(4) {
        max-width: 200px;
    }
    
    
    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(5) {
        display: flex;
        justify-content: right;
    }
    
    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(6):after {
        content: "—";
        margin: 0 8px;
        font-weight: 700;
        color: #666;
        display: flex;
        margin-left: 30px;
    }
    
    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(8) {
        display: flex;
        justify-content: right;
    }
    
    .houzez-ele-search-form-wrapper .elementor-field-group:nth-child(9):after {
        content: "—";
        margin: 0 8px;
        font-weight: 700;
        color: #666;
        display: flex;
        margin-left: 30px;
    }




    .websy-sform {
        display: flex;
        grid-template-columns: 5fr 1fr;
        gap: 20px;
        justify-content: space-between;
        /* max-width: 100vw; */
        /* width: 100vw; */
    }
    
    
    /* .websy-sform-container {
        display: flex;
    } */
    
    .websy-sform-container:nth-child(1) {
        justify-content: space-between;
        display: flex;
        flex-wrap: wrap;
    }
    
    /* First 4 elements: Each takes 25% (1/4th of the row) */
    .websy-sform-container:nth-child(1) .elementor-field-group:nth-child(-n+4) {
        width: 25%;
    }
    
    .websy-sform-container:nth-child(1) .elementor-field-group:nth-child(n+5) label {
        font-size: 11px;
        letter-spacing: -0.5px;
    }
    
    
    
    
    .websy-sform-container:nth-child(2) {
        display: flex;
        align-items: center;
    }
    
    .websy-sform-container:nth-child(2) .elementor-field-group {
        align-self: stretch;
    }
    
    .websy-sform-container:nth-child(2) .elementor-field-group button {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        font-size: 20px;
        text-transform: uppercase;
        
    }


    /*Websy Loader*/
    .websy-loader-div {
        align-items: center;
        justify-content: center;
        display: none;
        background: #ffffffc2;
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
    }

    .websy-spinner {
        display: block;
        width: 25px;
        height: 25px;
        border: 5px solid #ccc;
        border-top-color: #3a3087;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
      @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }


}


/*mobile spinner*/
.websy-loader-pseudo.show:after {
    display: flex;
    justify-content: center;
    align-items: center;
    right: 0;
    position: absolute;
    content: "";
    width: 25px;
    height: 25px;
    border: 5px solid #ccc;
    border-top-color: #3a3087;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    overflow: hidden;
    z-index: 999;
}

.websy-loader-pseudo.show:before {
    content: "";
    background: #ffffffe5;
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 99;
}

.websy-loader-pseudo.show {
    pointer-events: none;
    cursor: not-allowed;
}


/*checbkoxes to selects + native checkboxes modificaiton*/
/*not checked*/
span.bs-ok-default.check-mark:before {
    content: "";
    width: 16px;
    height: 16px;
    border: 1px solid #7d7d7d;
    border-radius: 3px;
    margin-right: 8px;
    background-color: #fff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: end;

    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6 10.2L3.8 8l-1 1 3.2 3.2L13 5.2l-1-1z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    position: initial !important;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark:before {
    content: "";
    width: 16px;
    height: 16px;
    border: 1px solid #0075ff;
    border-radius: 3px;
    margin-right: 8px;
    background-color: #0075ff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: end;

    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6 10.2L3.8 8l-1 1 3.2 3.2L13 5.2l-1-1z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

span.bs-ok-default.check-mark:after {
    display: none;
}

.bootstrap-select .dropdown-menu li a span.check-mark {
    display: inline-block !important;
}


/*Set same style for other checkboxes*/
.houzez-checkbox input {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #7d7d7d;
    border-radius: 3px;
    margin-right: 3px !important;
    background-color: #fff !important;
    display: inline-flex;
    position: relative;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    content: "✔";
    color: white !important;
    vertical-align: text-bottom;
}

.houzez-checkbox input:checked {
    border-color: #0075ff;  /* Border color when checked */
    background-color: #0075ff; /* Background color when checked */
}

.houzez-checkbox input:checked::after {
    content: "✔";
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}





/*item-v1 template css*/
.item-wrap-v1 {
    border: 1px solid #e8e8e8;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.grid-view .item-wrap {
    border-radius: 10px;
}
.grid-view .item-wrap.item-wrap-no-frame .hover-effect {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.grid-view .item-footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}	
.websy-card a {
    color: unset;
}
.websy-border-bottom {
    border-bottom: 1px solid #e8e8e8;
}
.websy-mt {
    margin-top: 15px;
}
.websy-flex-2-col {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: space-between;
}
.websy-card .websy-price-container {
    display: block;
    width: 100%;
    padding: 15px;
}
.websy-card .item-title {
    white-space: normal;
}
.websy-price-container span {
    color: #4d40b4;
}
.websy-location-container, .websy-property-size-container {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}
.websy-property-size-container span, .websy-floors-container, .websy-property-id-container {
    font-size: 13px;
}
.websy-labels-left {
    left: 0;
}
.websy-labels-left span {
    color: #fff;
    background-color: #4d40b4;
    padding: 5px 10px 5px 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.websy-floors-container span span {
    color: #4d40b4;
}
.websy-card .item-footer {
    display: block !important;
}
.websy-card .img-fluid {
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 250px;
    max-height: 250px;
    width: 100vw;
}

.websy-card .item-wrap {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.websy-card .item-wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 10px rgba(77, 64, 180, 0.2);
}
.websy-card .item-wrap, .websy-card .item-wrap .img-fluid {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
.grid-view .item-footer {
    border-bottom-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}
.websy-card .item-wrap.item-wrap-v1.item-wrap-no-frame.h-100 {
    border-radius: 10px
}


.item-tools .item-favorite, .item-tools .item-compare {
    display: inline-block !important;
}
.item-tool.item-preview {
    display: none;
}



/*Property ID search form*/
div#property-search-id .houzez-ele-search-form-wrapper .elementor-field-group {
    max-width: unset;
}
a.websy-toggle-search-form { 
    margin: auto;
}

/* div#property-search-id {
    display: none;
} */