/* Shared searchable combobox (js/dev/searchable-select.js). The input reuses the
   global input[type=text] rules, which match the existing select styling. */
.ss-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.ss-wrap .ss-input {
    width: 100%;
    padding-right: 18px;
    text-indent: 4px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.ss-wrap .ss-input:focus {
    padding-right: 18px;
}

.ss-wrap .ss-caret {
    position: absolute;
    right: 6px;
    top: 50%;
    margin-top: -1px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #555;
    cursor: pointer;
}

.ss-wrap select.ss-native {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ss-list {
    position: absolute;
    z-index: 100000;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    text-align: left;
    background: #fff;
    border: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.ss-list li {
    padding: 3px 6px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ss-list li.ss-spacer {
    padding: 0;
    cursor: default;
}

.ss-list li.ss-active {
    background: #e6e6e6;
}

.ss-list li[aria-selected="true"] {
    font-weight: bold;
}

.ss-list li.ss-empty {
    color: #888;
    cursor: default;
}
