﻿.bsselect {
    transition-delay: 0s;
    display:none;
}
.bsselectfield.btn-group {
}

.bsselectfield button {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    /*z-index: 9990;*/
}

.bsselectfield .btn {
    text-align:left;    
}

    .bsselectfield .btn.btn-light:hover {
        border-color: #CCC5B9;
    }

.bsselectfield ul {
    min-width: 100%;
    max-width: 150%;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 50vh;
    /*z-index: 10000;*/
}

.bss-separator {
    max-height: calc(var(--bs-body-line-height) * .05rem);
    background-color: var(--row-border-color);
    margin-top: .3rem;
    margin-bottom: .3rem;
}
.bss-opt {
    display:flex;
    width: 100%;
    justify-content: space-between;
    overflow:hidden;
}
    .bss-opt:hover {
        overflow:visible;
    }

    .bss-opt:empty {
        min-height: calc(var(--bs-body-line-height) * 1rem);
    }

.bsselectfield[multiple] a.dropdown-item[selected] > div.bss-opt::after {
    content: "\002713";
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1rem;
    position: relative;
    display: inline;
    margin-top: .2rem;
}

.bsselectfield a[disabled] {
    pointer-events: none;
    color:var(--color-disabled);
}


.bss-dropdown-toggle.required:not([disabled]) {
    border-color: #ddd;
}

.bsselectfield a,
.bsselectfield a:hover {
    display:inline-block;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
}

.bsselectfield.bssMaxedOut a:not([selected]),
.bsselectfield.bssMaxedOut a:not([selected]):hover {
    cursor: no-drop;
    background-color:#fff;

}

    .bsselectfield.bssMaxedOut a:not([selected]):hover {
        color: var(--color-font);
    }

.bss-narrow button.bss-dropdown-toggle {
    padding-left: .5rem;
    padding-right: .25rem;
    min-width: 3rem;
}
    .bss-narrow .bssselectfield .bs-fieldtext {
    }

    .bs-fieldtext {
        display: inline-block;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

        .bs-fieldtext[placeholder]:not([placeholder='null']) {
            color: rgba(0, 0, 0, 0.54);
        }


.bsslistheader:empty {
    display:none;
}
.bsslistheader {
    display:flex;
    color: var(--color-danger);
    opacity: 0.8;
    padding-right: 1rem;
    justify-content:end;
    font-size:small;
}

.bss-dropdown-toggle {
    border-radius: 0.25rem;
    height: calc(2.25rem + 2px);
    padding: 0.4rem 0.75rem;
}

.bss-dropdown-toggle::after {
    /*display: inline-block;*/
    margin-left: -0.5em;
    vertical-align: -0.25rem;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.bss-search {
    display:block;
    padding: .5rem .75rem;
}
