/**
 * Property Quick Search
 */
.search-overlay {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 999;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-content {
    width:90%;
    max-width: 600px;
    position:relative;
}

.search-content #closeSearch {
    position:absolute;
    top:-50px;
    right:0;
    font-size: 1.5em;
    padding:2px 8px;
    width: 40px;
    background-color: transparent;
}

.search-content #closeSearch:hover,
.search-content #closeSearch:focus{
    color:#fff;
    border-color: #fff;
}

@media screen and (max-width: 767px) {
    .search-overlay {
        align-items:flex-start;
        padding-top:80px;
    }
}

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: "\f002";
    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 {
    color: #000;
    width: 100%;
    height: 100%;
    padding: 7px 10px;
    text-decoration: none;
    font-weight: normal;
    transition-duration: 0ms;
}

.quickSearchListing span {
    width:100%;
}

.quick-menu form {
    display:block;
    height: 50px;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
}

.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: none !important;
    border-radius: var(--button--border-radius);
    background:unset !important;
}

.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;
}

.menu-icons {
    display:flex;
    align-items:center;
}

#headerSearch {
    background:none;
    color:var(--theme--primary-color);
    padding:0.25em 0.5em 0;
    margin:0;
}

.transparent-background:not(.sticky) #headerSearch {
    color:#fff;
}

#headerSearch i {
    font-size:28px;
}

.input-holder {
    height:50px;
    border-bottom:1px solid #fff;
    position: relative;
}
.search-overlay input.chosen-property {
    -webkit-text-fill-color: var(--wp--preset--color--white);
}