.ts-control {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    box-shadow: none;
    box-sizing: border-box;
    flex-wrap: wrap;
    overflow: hidden;
    padding: .375rem .75rem;
    position: relative;
    width: 100%;
    z-index: 1
}

.ts-wrapper.multi.has-items .ts-control {
    padding: calc(.375rem - 1px) .75rem calc(.375rem - 4px)
}

.full .ts-control {
    background-color: var(--bs-body-bg)
}

.disabled .ts-control,
.disabled .ts-control * {
    cursor: default !important
}

.focus .ts-control {
    box-shadow: none
}

.ts-control>* {
    display: inline-block;
    vertical-align: initial
}

.ts-wrapper.multi .ts-control>div {
    background: #efefef;
    border: 0 solid #dee2e6;
    color: #343a40;
    cursor: pointer;
    margin: 0 3px 3px 0;
    padding: 1px 5px
}

.ts-wrapper.multi .ts-control>div.active {
    background: #0d6efd;
    border: 0 solid transparent;
    color: #fff
}

.ts-wrapper.multi.disabled .ts-control>div,
.ts-wrapper.multi.disabled .ts-control>div.active {
    background: #fff;
    border: 0 solid #fff;
    color: #878787
}

.ts-control>input {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    display: inline-block !important;
    flex: 1 1 auto;
    line-height: inherit !important;
    margin: 0 !important;
    max-height: none !important;
    max-width: 100% !important;
    min-height: 0 !important;
    min-width: 7rem;
    padding: 0 !important;
    text-indent: 0 !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important
}

.ts-control>input::-ms-clear {
    display: none
}

.ts-control>input:focus {
    outline: none !important
}

.has-items .ts-control>input {
    margin: 0 4px !important
}

.ts-control.rtl {
    text-align: right
}

.ts-control.rtl.single .ts-control:after {
    left: calc(.75rem + 5px);
    right: auto
}

.ts-control.rtl .ts-control>input {
    margin: 0 4px 0 -2px !important
}

.disabled .ts-control {
    background-color: var(--bs-secondary-bg);
    opacity: .5
}

.input-hidden .ts-control>input {
    left: -10000px;
    opacity: 0;
    position: absolute
}

.ts-dropdown {
    background: var(--bs-body-bg);
    border: 1px solid #d0d0d0;
    border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
    border-top: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    left: 0;
    margin: .25rem 0 0;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 10
}

.ts-dropdown [data-selectable] {
    cursor: pointer;
    overflow: hidden
}

.ts-dropdown [data-selectable] .highlight {
    background: rgba(255, 237, 40, .4);
    border-radius: 1px
}

.ts-dropdown .create,
.ts-dropdown .no-results,
.ts-dropdown .optgroup-header,
.ts-dropdown .option {
    padding: 3px .75rem
}

.ts-dropdown .option,
.ts-dropdown [data-disabled],
.ts-dropdown [data-disabled] [data-selectable].option {
    cursor: inherit;
    opacity: .5
}

.ts-dropdown [data-selectable].option {
    cursor: pointer;
    opacity: 1
}

.ts-dropdown .optgroup:first-child .optgroup-header {
    border-top: 0
}

.ts-dropdown .optgroup-header {
    background: var(--bs-body-bg);
    color: #6c757d;
    cursor: default
}

.ts-dropdown .active {
    background-color: var(--bs-tertiary-bg)
}

.ts-dropdown .active,
.ts-dropdown .active.create {
    color: var(--bs-body-color)
}

.ts-dropdown .create {
    color: rgba(52, 58, 64, .5)
}

.ts-dropdown .spinner {
    display: inline-block;
    height: 30px;
    margin: 3px .75rem;
    width: 30px
}

.ts-dropdown .spinner:after {
    animation: lds-dual-ring 1.2s linear infinite;
    border-color: #d0d0d0 transparent;
    border-radius: 50%;
    border-style: solid;
    border-width: 5px;
    content: " ";
    display: block;
    height: 24px;
    margin: 3px;
    width: 24px
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

.ts-dropdown-content {
    max-height: 200px;
    overflow: hidden auto;
    scroll-behavior: smooth
}

.ts-wrapper.plugin-drag_drop .ts-dragging {
    color: transparent !important
}

.ts-wrapper.plugin-drag_drop .ts-dragging>* {
    visibility: hidden !important
}

.plugin-checkbox_options:not(.rtl) .option input {
    margin-right: .5rem
}

.plugin-checkbox_options.rtl .option input {
    margin-left: .5rem
}

.plugin-clear_button {
    --ts-pr-clear-button: 1em
}

.plugin-clear_button .clear-button {
    background: transparent !important;
    cursor: pointer;
    margin-right: 0 !important;
    opacity: 0;
    position: absolute;
    right: calc(.75rem - 5px);
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .5s
}

.plugin-clear_button.form-select .clear-button,
.plugin-clear_button.single .clear-button {
    right: max(var(--ts-pr-caret), .75rem)
}

.plugin-clear_button.focus.has-items .clear-button,
.plugin-clear_button:not(.disabled):hover.has-items .clear-button {
    opacity: 1
}

.ts-wrapper .dropdown-header {
    background: color-mix(var(--bs-body-bg), #d0d0d0, 85%);
    border-bottom: 1px solid #d0d0d0;
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
    padding: 6px .75rem;
    position: relative
}

.ts-wrapper .dropdown-header-close {
    color: #343a40;
    font-size: 20px !important;
    line-height: 20px;
    margin-top: -12px;
    opacity: .4;
    position: absolute;
    right: .75rem;
    top: 50%
}

.ts-wrapper .dropdown-header-close:hover {
    color: #000
}

.plugin-dropdown_input.focus.dropdown-active .ts-control {
    border: 1px solid var(--bs-border-color);
    box-shadow: none;
    box-shadow: var(--bs-box-shadow-inset)
}

.plugin-dropdown_input .dropdown-input {
    background: transparent;
    border: solid #d0d0d0;
    border-width: 0 0 1px;
    box-shadow: none;
    display: block;
    padding: .375rem .75rem;
    width: 100%
}

.plugin-dropdown_input.focus .ts-dropdown .dropdown-input {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    outline: 0
}

.plugin-dropdown_input .items-placeholder {
    border: 0 !important;
    box-shadow: none !important;
    width: 100%
}

.plugin-dropdown_input.dropdown-active .items-placeholder,
.plugin-dropdown_input.has-items .items-placeholder {
    display: none !important
}

.ts-wrapper.plugin-input_autogrow.has-items .ts-control>input {
    min-width: 0
}

.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input {
    flex: none;
    min-width: 4px
}

.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::-ms-input-placeholder {
    color: transparent
}

.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::placeholder {
    color: transparent
}

.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {
    display: flex
}

.ts-dropdown.plugin-optgroup_columns .optgroup {
    border-right: 1px solid #f2f2f2;
    border-top: 0;
    flex-basis: 0;
    flex-grow: 1;
    min-width: 0
}

.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
    border-right: 0
}

.ts-dropdown.plugin-optgroup_columns .optgroup:before {
    display: none
}

.ts-dropdown.plugin-optgroup_columns .optgroup-header {
    border-top: 0
}

.ts-wrapper.plugin-remove_button .item {
    align-items: center;
    display: inline-flex
}

.ts-wrapper.plugin-remove_button .item .remove {
    border-radius: 0 2px 2px 0;
    box-sizing: border-box;
    color: inherit;
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
    vertical-align: middle
}

.ts-wrapper.plugin-remove_button .item .remove:hover {
    background: rgba(0, 0, 0, .05)
}

.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {
    background: none
}

.ts-wrapper.plugin-remove_button .remove-single {
    font-size: 23px;
    position: absolute;
    right: 0;
    top: 0
}

.ts-wrapper.plugin-remove_button:not(.rtl) .item {
    padding-right: 0 !important
}

.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
    border-left: 1px solid #dee2e6;
    margin-left: 5px
}

.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {
    border-left-color: transparent
}

.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {
    border-left-color: #fff
}

.ts-wrapper.plugin-remove_button.rtl .item {
    padding-left: 0 !important
}

.ts-wrapper.plugin-remove_button.rtl .item .remove {
    border-right: 1px solid #dee2e6;
    margin-right: 5px
}

.ts-wrapper.plugin-remove_button.rtl .item.active .remove {
    border-right-color: transparent
}

.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {
    border-right-color: #fff
}

:root {
    --ts-pr-clear-button: 0px;
    --ts-pr-caret: 0px;
    --ts-pr-min: .75rem
}

.ts-wrapper.single .ts-control,
.ts-wrapper.single .ts-control input {
    cursor: pointer
}

.ts-control:not(.rtl) {
    padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important
}

.ts-control.rtl {
    padding-left: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important
}

.ts-wrapper {
    position: relative
}

.ts-control,
.ts-control input,
.ts-dropdown {
    color: #343a40;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5
}

.ts-control,
.ts-wrapper.single.input-active .ts-control {
    background: var(--bs-body-bg);
    cursor: text
}

.ts-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important
}

.ts-dropdown,
.ts-dropdown.form-control,
.ts-dropdown.form-select {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: .375rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    height: auto;
    padding: 0;
    z-index: 1000
}

.ts-dropdown .optgroup-header {
    font-size: .875rem;
    line-height: 1.5
}

.ts-dropdown .optgroup:first-child:before {
    display: none
}

.ts-dropdown .optgroup:before {
    border-top: 1px solid var(--bs-border-color-translucent);
    content: " ";
    display: block;
    height: 0;
    margin: .5rem -.75rem;
    overflow: hidden
}

.ts-dropdown .create {
    padding-left: .75rem
}

.ts-dropdown-content {
    padding: 5px 0
}

.ts-control {
    align-items: center;
    display: flex;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .ts-control {
        transition: none
    }
}

.focus .ts-control {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    outline: 0
}

.ts-control .item {
    align-items: center;
    display: flex
}

.ts-wrapper.is-invalid,
.was-validated .invalid,
.was-validated :invalid+.ts-wrapper {
    border-color: var(--bs-form-invalid-color)
}

.ts-wrapper.is-invalid:not(.single),
.was-validated .invalid:not(.single),
.was-validated :invalid+.ts-wrapper:not(.single) {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");
    background-position: right calc(.375em + .1875rem) center;
    background-repeat: no-repeat;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem)
}

.ts-wrapper.is-invalid.single,
.was-validated .invalid.single,
.was-validated :invalid+.ts-wrapper.single {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"), url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");
    background-position: right .75rem center, center right 2.25rem;
    background-repeat: no-repeat;
    background-size: 16px 12px, calc(.75em + .375rem) calc(.75em + .375rem)
}

.ts-wrapper.is-invalid.focus .ts-control,
.was-validated .invalid.focus .ts-control,
.was-validated :invalid+.ts-wrapper.focus .ts-control {
    border-color: var(--bs-form-invalid-color);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-form-invalid-color), .25)
}

.ts-wrapper.is-valid,
.was-validated .valid,
.was-validated :valid+.ts-wrapper {
    border-color: var(--bs-form-valid-color)
}

.ts-wrapper.is-valid:not(.single),
.was-validated .valid:not(.single),
.was-validated :valid+.ts-wrapper:not(.single) {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3E%3C/svg%3E");
    background-position: right calc(.375em + .1875rem) center;
    background-repeat: no-repeat;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem)
}

.ts-wrapper.is-valid.single,
.was-validated .valid.single,
.was-validated :valid+.ts-wrapper.single {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"), url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3E%3C/svg%3E");
    background-position: right .75rem center, center right 2.25rem;
    background-repeat: no-repeat;
    background-size: 16px 12px, calc(.75em + .375rem) calc(.75em + .375rem)
}

.ts-wrapper.is-valid.focus .ts-control,
.was-validated .valid.focus .ts-control,
.was-validated :valid+.ts-wrapper.focus .ts-control {
    border-color: var(--bs-form-valid-color);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-form-valid-color), .25)
}

.ts-wrapper {
    display: flex;
    min-height: calc(1.5em + .75rem + var(--bs-border-width)*2)
}

.input-group-sm>.ts-wrapper,
.ts-wrapper.form-control-sm,
.ts-wrapper.form-select-sm {
    min-height: calc(1.5em + .5rem + var(--bs-border-width)*2)
}

.input-group-sm>.ts-wrapper .ts-control,
.ts-wrapper.form-control-sm .ts-control,
.ts-wrapper.form-select-sm .ts-control {
    border-radius: var(--bs-border-radius-sm);
    font-size: .875rem
}

.input-group-sm>.ts-wrapper.has-items .ts-control,
.ts-wrapper.form-control-sm.has-items .ts-control,
.ts-wrapper.form-select-sm.has-items .ts-control {
    font-size: .875rem;
    padding-bottom: 0
}

.input-group-sm>.ts-wrapper.multi.has-items .ts-control,
.ts-wrapper.form-control-sm.multi.has-items .ts-control,
.ts-wrapper.form-select-sm.multi.has-items .ts-control {
    padding-top: calc(.75em - .40625rem + var(--bs-border-width)*2/2 - (var(--bs-border-width) + 1px)*2/2) !important
}

.ts-wrapper.multi.has-items .ts-control {
    padding-left: calc(.75rem - 5px);
    --ts-pr-min: calc(0.75rem - 5px)
}

.ts-wrapper.multi .ts-control>div {
    border-radius: calc(var(--bs-border-radius) - 1px)
}

.input-group-lg>.ts-wrapper,
.ts-wrapper.form-control-lg,
.ts-wrapper.form-select-lg {
    min-height: calc(1.5em + 1rem + var(--bs-border-width)*2)
}

.input-group-lg>.ts-wrapper .ts-control,
.ts-wrapper.form-control-lg .ts-control,
.ts-wrapper.form-select-lg .ts-control {
    border-radius: var(--bs-border-radius-lg);
    font-size: 1.25rem
}

.ts-wrapper:not(.form-control, .form-select) {
    background: none;
    border: none;
    box-shadow: none;
    height: auto;
    padding: 0
}

.ts-wrapper:not(.form-control, .form-select).single .ts-control {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right .75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px
}

.ts-wrapper.form-select,
.ts-wrapper.single {
    --ts-pr-caret: 2.25rem
}

.ts-wrapper.form-control,
.ts-wrapper.form-select {
    box-shadow: none;
    display: flex;
    height: auto;
    padding: 0 !important
}

.ts-wrapper.form-control .ts-control,
.ts-wrapper.form-control.single.input-active .ts-control,
.ts-wrapper.form-select .ts-control,
.ts-wrapper.form-select.single.input-active .ts-control {
    border: none !important
}

.ts-wrapper.form-control:not(.disabled) .ts-control,
.ts-wrapper.form-control:not(.disabled).single.input-active .ts-control,
.ts-wrapper.form-select:not(.disabled) .ts-control,
.ts-wrapper.form-select:not(.disabled).single.input-active .ts-control {
    background: transparent !important
}

.input-group>.ts-wrapper {
    flex-grow: 1;
    width: 1%
}

.input-group>.ts-wrapper:not(:nth-child(2))>.ts-control {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0
}

.input-group>.ts-wrapper:not(:last-child)>.ts-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0
}