

.shortlist-quick-search-wrapper.shortlist-quick-search-wrapper-display-from-body {
    z-index: 9998;
    position: fixed;
    top: 30vh;
    left: 0;
    background-color: white;
    border-radius: var(--theme--border-radius);
    border: 1px solid var(--theme--primary-color);
    cursor: grab;
    user-select: none; /* Prevent text selection while dragging */
      transition: left 0.2s ease, top 0.2s ease; /* Smooth transition */
}

@media screen and (max-width:576px){
    .shortlist-quick-search-wrapper.shortlist-quick-search-wrapper-display-from-body{
        display: none;
    }
}

.shortlist-quick-search-wrapper.shortlist-quick-search-wrapper-display-from-header {
    background-color: #fff;
    cursor: pointer;
    display: flex;
    padding: 0px;
    margin: 0 8px;


    .fixed-shortlist-wrapper,.fixed-quick-search-wrapper {
        padding: .63rem;
    }
    
}

.fixed-shortlist-wrapper a {
    color:var(--theme--primary-color);
}

div#headerSize.compact {

     .fixed-shortlist-wrapper,.fixed-quick-search-wrapper {
        padding: 0.3rem 0.7em;
    }
}

@media screen and (max-width: 576px) {
    .shortlist-quick-search-wrapper.shortlist-quick-search-wrapper-display-from-header {
        display:none
    }
}
.fixed-shortlist-wrapper , .fixed-quick-search-wrapper{
    padding: 0.8rem;
    border: 1px solid var(--theme--primary-color);
}
.fixed-shortlist-wrapper a, .fixed-quick-search-wrapper button{
    padding: 0 0.3rem;
}
 .fixed-quick-search-wrapper button,  .fixed-quick-search-wrapper {
     background-color:var(--theme--primary-color);
     color: white; 
     border:unset;
 }

/*Shortlist */

#headerShortlist {
    text-decoration: none;
    position: relative;
    display: inline-block;
    white-space:nowrap;
}


#headerShortlist .badge {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: var(--theme--primary-color);
    color: var(--wp--preset--color--white);
    font-size: 0.65rem;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}



@media screen and (max-width:782px){
    #headerSize.compact .headerButton#headerShortlist {
        padding: 0.65em;
        margin-right: 0;
        height:40px;
        width:40px;
    }
}

#headerSize.compact #headerShortlist .text {
    display:none;
}



/*Quick Search*/

/**
 * Property Quick Search
 */
.search-overlay {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 9999;
    background-color: var(--theme--primary-color-80);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-content {
    width:90%;
    max-width: 600px;
    position:relative;
}




@media screen and (max-width: 767px) {
    .search-overlay {
        align-items:flex-start;
        padding-top: 15vh;
    }
}

button.quick-search-button {
    top: 0;
    right: 0;
    position: absolute;
    height: 50px;
    border-radius: 0;
    width: 40px;
    padding:0;
    border:none;
    background: transparent !important;
}

button.quick-search-button:hover {
    border:none;
    color:white;
    background-color:var(--theme--primary-color-80);
}

button.quick-search-button::after {
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%);
    position: absolute;
    font-size: 20px;
    content: "\f061";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    color:var(--wp--preset--color--white);
}

.propertyList.open {
    max-height: 320px;
    overflow: auto;
}

.propertyList li {
    position: relative;
    background-color: #fafcfd;
    font-size: 0.75em;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    opacity: 1;
    margin: 0;
    transition-duration: 0ms;
}

.propertyList li:hover {
    background-color: var(--theme--primary-color);
}

.propertyList li:hover span {
    color: #ffffff;
}

.propertyList li.closed {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
}

.propertyList {
    list-style: none;
    margin-top: 50px;
    margin-left: 0;
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 0;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    padding-left: 0;
    background-color: #f4f4f4;
    z-index: 99999;
}

.search-overlay span , .quickSearchHeading{
    color: #000;
    width: 100%;
    height: 100%;
    padding: 7px 10px;
    text-decoration: none;
    font-weight: normal;
    transition-duration: 0ms;
}
.propertyList li.quickSearchHeading{
    background-color: #eaeaea;
    font-size: 0.9rem;
    font-weight: var(--theme--heading-font-weight);
    font-family: var(--theme--heading-font);
    pointer-events: none;
}
.quickSearchListing span {
    width:100%;
    padding-left: 2rem;
    text-align: left;
}

.chosen-property,
.propertyList {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.chosen-property {
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1em;
    height: 50px;
    padding: 5px 10px !important;
    margin: 0 !important;
    background-color: transparent;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    border-radius: var(--button--border-radius);
    background: rgba(0,0,0,0.5) !important;
    box-shadow: var(--theme--box-shadow);
}

.chosen-property::-webkit-input-placeholder {
    color: #fff;
}

.chosen-property:hover {
    cursor: pointer;
}

.chosen-property:hover::-webkit-input-placeholder {
    color: var(--theme--primary-color);
}

.chosen-property:focus,
.chosen-property.open {
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.2);
    outline: 0;
    background-color: var(--theme--primary-color);
    color: #000;
}

.chosen-property.open,
.chosen-property:focus {
    color: #fff;
}

.chosen-property:focus::-webkit-input-placeholder,
.chosen-property.open::-webkit-input-placeholder {
    color: #fff;
}


.search-overlay input.chosen-property {
    -webkit-text-fill-color: var(--wp--preset--color--white);
    border-bottom: 1px solid var(--wp--preset--color--white);
}


#mMenuSearch-content #closeSearch{
    display: none;
}

#mMenuSearch-content .propertyList {
    margin-bottom: 10px;
    margin-top:0;
    background-color: transparent;
}

#mMenuSearch-content .propertyList{
    position: relative;
    margin-top: 50px;
}

#mMenuSearch-content .propertyList.open{
    max-height: 200px;
}
#mMenuSearch-content .propertyList li.quickSearchHeading{
     background: var(--mm-color-text-dimmed);
     color: var(--mm-color-background);
}
#mMenuSearch-content .propertyList li{
    background:transparent;
}

#mMenuSearch-content .propertyList li:hover{
    background-color: var(--theme--primary-color);
}

#mMenuSearch-content .propertyList li{
    font-size:inherit;
    text-align:left;

}

#mMenuSearch-content .propertyList li span{
    padding:0.5em;
}

#mMenuSearch-content .search-listings-icon::before {
    left:unset;
    right:25px;
    cursor: pointer;
}

#mMenuSearch-content .chosen-property{
    width:100%;
    background-color:transparent;
    color:var(--mm-color-text-dimmed);
    padding-left:20px;
}

#mMenuSearch-content .chosen-property::placeholder {
    color: var(--mm-color-text-dimmed);
}
#mMenuSearch-content{
    position: relative;
    bottom: 6vh;
    z-index: 1;
    width: 100%;
}
.mm-navbars_bottom .mm-navbar:first-child{
     border-top:unset;
}
.mm-navbars_bottom .mm-navbar:last-child {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 2px solid var(--mm-color-border);
    z-index: 1;
}