.map-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
}

.map-search-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 99999999;
}

.map-search-map {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    height: -webkit-calc(100% - 80px);
    height: -moz-calc(100% - 80px);
    background-color: white;
}

.autocomplete-option-1 {
    height: 48px;
    max-width: 404px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.autocomplete-option-1.search {
    background-image: url(../img/search/search_sm_light.png);
    background-size: 16px 16px;
    background-position: left 16px center;
    background-repeat: no-repeat;

}

.autocomplete-options-2 {
    margin: auto;
    position: absolute;
    top: 64px;
    left: 0;
    width: 416px;
    z-index: 9999;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 4px -4px rgba(81, 96, 236, 0.2)
}

.autocomplete-options-2 > div {
    border-top: 1px solid #e2e2e2;
}

.autocomplete-options-2 > div:last-child {
    border-radius: 0 0 32px 32px;
}

.autocomplete-options-2 > *:not(.no-match):hover {
    background-color: #FFFFFF;
    color: #A95597;
}

.autocomplete-options-2 > *:not(.no-match) {
    cursor: pointer;
}

.autocomplete-options-2 > *:not(.no-match):hover * {
    color: #A95597;
}


.cancel-search {
    background-color: #6d6d6d;
    background-image: url(../img/icon/close_white.png);
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    cursor: pointer;
    z-index: 10;
}

.autocomplete-input {
    padding: 16px 48px 20px 40px;
    background-color: transparent;
    color: #6d6d6d;
    text-align: left;
    border: none;
    outline: none;
    display: block;
    margin: auto;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;

    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    z-index: 10;
}

.autocomplete-input[hastext='yes'] {
    padding: 20px 96px 20px 40px;
}


.autocomplete-input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.autocomplete-input::placeholder {
    color: #8590F2;
    text-align: center;
    opacity: 1;
}

.autocomplete-options-1 {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.autocomplete-options-1 > * {
    height: 64px;
    position: relative;
    box-sizing: border-box;
    border-top: 1px solid #e2e2e2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.autocomplete-options-1 > *:not(.no-match):hover {
    background-color: #FFFFFF;
    color: #A95597;
}

.autocomplete-options-1 > *:not(.no-match) {
    cursor: pointer;
}

.autocomplete-options-1 > *:not(.no-match):hover * {
    color: #A95597;
}

.autocomplete-placeholder {
    color: #6d6d6d!important;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1!important;
    text-align: center;
}

.clear-search {
    position: absolute;
    border-right: 2px solid #e2e2e2;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    top: 16px;
    right: 49px;
    cursor: pointer;
    z-index: 10;
}

searchbox .autocomplete-input {
    padding-left: 42px;
}

@media only screen and (max-width: 768px) {

    .clear-search {
        padding-right: 16px;
    }

    [mobile='yes'] .autocomplete-input {
        /*This is to prevent phones from zooming in on input search. Needs to be 16px at least*/
        font-size: 16px !important;
    }

}