/* Compiled port of the SES ImmoTool 3 uik3 search-form styles
   (_components.scss: .uik3-btn-select, .uik3-btn-checkboxgroup,
   .uik3-btn-autocomplete) — the dropdown windows of the search widgets. */
.uik3-btn-select {
    position: relative;
}

.uik3-btn-select .uk-button,
.uik3-btn-select input {
    width: 100%;
    border-radius: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uik3-btn-select > .uk-button > span,
.uik3-btn-checkboxgroup > .uk-button > span,
.uik3-btn-autocomplete > .uk-button > span {
    float: left;
    line-height: inherit;
    margin-right: 5px;
    max-width: 80%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uik3-btn-select > .uk-button > span:last-of-type,
.uik3-btn-checkboxgroup > .uk-button > span:last-of-type,
.uik3-btn-autocomplete > .uk-button > span:last-of-type {
    float: right;
    margin-right: 0;
}

.uik3-btn-select .dropdownwnd {
    background-color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    display: none;
    padding: 15px;
    z-index: 1000;
    position: absolute;
    left: 0;
    right: 0;
}

.uik3-btn-select .dropdownwnd .uk-button,
.uik3-btn-select .dropdownwnd input {
    margin-top: 3px;
    margin-bottom: 3px;
}

.uik3-btn-checkboxgroup {
    position: relative;
}

.uik3-btn-checkboxgroup .uk-button {
    width: 100%;
    border-radius: 0;
    text-align: left;
}

.uik3-btn-checkboxgroup .dropdownwnd {
    background-color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    display: none;
    padding: 5px;
    z-index: 1000;
    position: absolute;
    left: 0;
    right: 0;
}

.uik3-btn-checkboxgroup .dropdownwnd .uk-button {
    margin-top: 3px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uik3-btn-autocomplete {
    position: relative;
}

.uik3-btn-autocomplete .uk-button,
.uik3-btn-autocomplete input {
    width: 100%;
    border-radius: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uik3-btn-autocomplete .dropdownwnd {
    background-color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    display: none;
    padding: 15px;
    z-index: 1000;
    position: absolute;
    left: 0;
    right: 0;
}

.uik3-btn-autocomplete .dropdownwnd .uk-button,
.uik3-btn-autocomplete .dropdownwnd input {
    margin-top: 0;
    margin-bottom: 6px;
}

.uik3-btn-autocomplete .scrollctrl {
    margin-top: 5px;
}

.uik3-btn-autocomplete .scrollwnd {
    background-color: #fff;
    padding: 0;
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
}

.uik3-btn-dropdown {
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
}

.uik3-btn-dropdown .uk-button {
    width: 100%;
    border-radius: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uik3-btn-dropdown > button.uk-button > span {
    float: left;
    line-height: inherit;
    margin-right: 5px;
    max-width: 80%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uik3-btn-dropdown > button.uk-button > span:last-of-type {
    float: right;
    margin-right: 0;
}

.uik3-btn-dropdown .dropdownwnd {
    background-color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    display: none;
    padding: 5px;
    z-index: 1000;
    position: absolute;
    left: 0;
    right: 0;
}

.uik3-btn-dropdown .dropdownwnd .uk-button {
    margin-top: 3px;
    margin-bottom: 3px;
}

.imo-pagination .imo-limits-label,
.imo-pagination .imo-pages-label {
    font-size: 0.875rem;
    color: #999;
}

/* The pagination is the last row of the list box — its own bottom margins
   would double the box padding (the Vorbild shows the same gap; here the
   box closes right below the rows). */
.imo-pagination .imo-pagination-large,
.imo-pagination .imo-pagination-small,
.imo-pagination .uk-pagination {
    margin-bottom: 0;
}

.uik3-btn-select .dropdownwnd .uk-button.checked,
.uik3-btn-checkboxgroup .dropdownwnd .uk-button.checked,
.uik3-btn-autocomplete .dropdownwnd .uk-button.checked,
.uik3-btn-dropdown .dropdownwnd .uk-button.checked {
    font-weight: bold;
}
