/* Ibeka Mobile Select UX v0.1.0: only menus opened by WPResidence search. */
@media (max-width: 1199px) {
    .dropdown-menu.ibeka-mobile-select-menu.show {
        display: flex;
        flex-direction: column;
        max-height: min(70dvh, 550px) !important;
        overflow: hidden !important;
    }
    .dropdown-menu.ibeka-mobile-select-menu > .inner {
        flex: 1 1 auto;
        min-height: 0 !important;
        max-height: min(53dvh, 390px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .dropdown-menu.ibeka-mobile-select-menu > .bs-searchbox,
    .dropdown-menu.ibeka-mobile-select-menu > .bs-actionsbox,
    .dropdown-menu.ibeka-mobile-select-menu > .ibeka-mobile-select-donebar {
        flex: 0 0 auto;
    }
    .dropdown-menu.ibeka-mobile-select-menu .ibeka-mobile-select-donebar {
        padding: 9px 12px max(9px, env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e4ebeb;
        box-shadow: 0 -3px 12px rgba(13, 44, 60, .06);
        position: relative;
        z-index: 2;
    }
    .dropdown-menu.ibeka-mobile-select-menu .ibeka-mobile-select-done {
        box-sizing: border-box;
        display: block;
        width: 100%;
        min-height: 45px;
        border: 0;
        border-radius: 9px;
        padding: 9px 16px;
        background: #0D2C3C;
        color: #fff;
        text-align: center;
        font: inherit;
        font-size: 15px;
        font-weight: 650;
        cursor: pointer;
        touch-action: manipulation;
    }
    .dropdown-menu.ibeka-mobile-select-menu .ibeka-mobile-select-done:focus-visible {
        outline: 3px solid #8CD8BF;
        outline-offset: 2px;
    }
}
