/* Dropdown */
.tss-dropdown {
    box-shadow: none;
    margin: 0px;
    margin-right: 16px;
    padding: 0px;
    height: 32px;
    align-items: center;
    font-size: var(--tss-font-size-small);
    font-weight: var(--tss-font-weight-regular);
    width: calc(100% - 16px);
    outline: transparent none medium;
    padding: 5px 5px;
    -webkit-user-select: none;
    user-select: none;
    flex-wrap: nowrap;
    display: inline-flex;
    overflow: hidden;
}

    .tss-dropdown .tss-dropdown-search-term {
        display: none;
    }

    .tss-dropdown.tss-dropdown-searching .tss-dropdown-search-term {
        display: inline-block;
    }
    .tss-dropdown.tss-dropdown-searching .tss-dropdown-item-on-box {
        display:none;
    }

    .tss-dropdown-layer {
        position: absolute;
        top: 0px;
        left: 0px;
        bottom: 0px;
        right: 0px;
        margin: 0;
        padding: 0;
        visibility: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tss-dropdown.tss-dropdown-noarrow {
        margin-right: 0px;
        width: 100%;
        padding: 0px;
    }

    .tss-dropdown:after {
        content: " ";
        display: block;
        position: absolute;
        right: 8px;
        top: 10px;
        width: 8px;
        height: 8px;
        border-left: 1px solid var(--tss-dark-border-color);
        border-top: 1px solid var(--tss-dark-border-color);
        transform: rotate(225deg);
    }

    .tss-dropdown.tss-dropdown-noarrow:after {
        display: none;
    }

.tss-dropdown-container {
    position: relative;
    border: 1px solid var(--tss-default-border-color);
    border-radius: 4px;
    background: var(--tss-default-background-color) none repeat scroll 0% 0%;
    color: var(--tss-default-foreground-color);
    cursor: pointer;
}


    .tss-dropdown-container.tss-dropdown-nobg {
        background:unset;
    }

    .tss-dropdown-container.tss-noborder {
        border: 1px solid transparent;
    }


    .tss-dropdown-container.tss-disabled {
        border-color: var(--tss-disabled-background-color);
        background-color: var(--tss-disabled-background-color);
        color: var(--tss-disabled-foreground-color);
        cursor: default;
        -webkit-user-select: none;
        user-select: none;
        pointer-events: none;
    }


    .tss-dropdown-container.tss-invalid .tss-dropdown {
        border: 1px solid var(--tss-invalid-border-color);
    }

.tss-dropdown-container .tss-spinner {
    position: absolute;
    right: 2px;
    top: 6px;
    width: 20px;
    height: 20px;
}

    .tss-dropdown-error {
        color: var(--tss-invalid-border-color);
        display: none;
        font-size: var(--tss-font-size-tiny);
    }

.tss-dropdown-container.tss-invalid .tss-dropdown-error {
    display: block;
}

.tss-dropdown-popup {
    position: absolute;
    border-radius: 0px 0px 4px 4px;
    background: var(--tss-default-background-color) none repeat scroll 0% 0%;
    min-height: 42px;
    visibility: visible;
    box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
    overflow-y: auto;
    -webkit-user-select: none;
    user-select: none;
}

.tss-dropdown-item {
    font-size: var(--tss-font-size-small);
    font-weight: var(--tss-font-weight-regular);
    background: var(--tss-default-background-color) none repeat scroll 0% 0%;
    border: 1px solid transparent;
    color: var(--tss-default-foreground-color);
    outline: transparent none medium;
    cursor: pointer;
    text-align: left;
    display: block;
    padding: 0 8px;
    min-height: 36px;
    line-height: 20px;
    width: 100%;
    position: relative;
}

    .tss-dropdown-item:hover {
        background-color: var(--tss-secondary-background-color);
        outline: transparent none medium;
    }

    .tss-dropdown-item:focus {
        border: 1px solid var(--tss-primary-border-color);
        background-color: var(--tss-default-background-hover-color);
        outline: transparent none medium;
    }

    .tss-dropdown-item.tss-selected {
        background-color: var(--tss-default-background-hover-color);
    }

.tss-dropdown-popup.tss-no-focus .tss-dropdown-item:focus {
    border: 1px solid transparent;
    outline: transparent none medium;
}

.tss-dropdown-header {
    background: var(--tss-default-background-color) none repeat scroll 0% 0%;
    border: 1px solid transparent;
    outline: transparent none medium;
    text-align: left;
    display: block;
    padding: 0 8px;
    min-height: 36px;
    line-height: 20px;
    width: 100%;
    position: relative;
    color: var(--tss-primary-background-color);
    font-size: var(--tss-font-size-small);
    cursor: default;
    font-weight: var(--tss-font-weight-semibold);
}

    /*.tss-dropdown-header:hover {
        background-color: var(--tss-default-background-color);
    }

    .tss-dropdown-header:focus {
        border: 1px solid transparent;
    }*/

.tss-dropdown-divider {
    content: "";
    height: 1px;
    line-height: 20px;
    width: 100%;
    border: 1px solid transparent;
    outline: transparent none medium;
    text-align: left;
    display: block;
    padding: 0 8px;
    position: relative;
    background-color: var(--tss-default-background-hover-color);
    margin: 0;
    padding: 0;
    border: 0;
}

.tss-dropdown-multi .tss-dropdown-item {
    padding-left: 32px;
}

    .tss-dropdown-multi .tss-dropdown-item:before {
        content: " ";
        display: block;
        position: absolute;
        left: 8px;
        top: 8px;
        width: 20px;
        height: 20px;
        border-radius: 2px;
        background-color: var(--tss-default-background-color);
        border: 1px solid var(--tss-default-foreground-color);
    }

    .tss-dropdown-multi .tss-dropdown-item.tss-selected:hover:before {
        background-color: var(--tss-primary-background-hover-color);
    }

    .tss-dropdown-multi .tss-dropdown-item.tss-selected:before {
        background-color: var(--tss-primary-background-color);
        border-color: var(--tss-primary-background-color);
    }

    .tss-dropdown-multi .tss-dropdown-item:after {
        content: "";
        position: absolute;
        display: none;
        left: 15px;
        top: 10px;
        width: 6px;
        height: 11px;
        border: solid var(--tss-default-border-color);
        border-width: 0 1px 1px 0;
        transform: rotate(45deg);
    }

    .tss-dropdown-multi .tss-dropdown-item:hover:after {
        display: block;
    }

    .tss-dropdown-multi .tss-dropdown-item.tss-selected:after {
        display: block;
        border-color: var(--tss-primary-foreground-color);
    }

.tss-dropdown-item.tss-disabled {
    color: var(--tss-disabled-foreground-color);
}

.tss-dropdown-multi .tss-dropdown-item.tss-disabled:before {
    background-color: var(--tss-disabled-background-color);
    border-color: var(--tss-disabled-foreground-color);
}

.tss-dropdown-multi .tss-dropdown-item.tss-disabled.tss-selected:before {
    background-color: var(--tss-disabled-foreground-color);
    border-color: var(--tss-disabled-foreground-color);
}

/*.tss-dropdown-multi .tss-dropdown-header {
    padding-left: 8px;
}

    .tss-dropdown-multi .tss-dropdown-header:before {
        display: none;
    }

    .tss-dropdown-multi .tss-dropdown-header:after {
        display: none;
    }

    .tss-dropdown-multi .tss-dropdown-header:hover:after {
        display: none;
    }*/

.tss-dropdown-item-on-box {
    font-size: var(--tss-font-size-small);
    font-weight: var(--tss-font-weight-regular);
    color: var(--tss-default-foreground-color);
    white-space: nowrap;
    min-width: unset;
    background: transparent;
    border: none;
    border-width: 0px !important;
    padding: 0px;
    margin: 0px;
    display: inline-flex;
    text-overflow: ellipsis;
    width:100%;
}

.tss-dropdown .tss-dropdown-item-on-box:not(:first-child) {
    margin-left: 2px;
}

.tss-dropdown .tss-dropdown-item-on-box:not(:first-child)::before {
    content:',';
    padding-right:6px;
    height:0px;
}

.tss-dropdown-fit-content {
    width:fit-content;
    max-width: 100%;
}