@media (max-width: 300px) {
    .ts-wrapper.ts-width-responsive {
        width: 100%;
    }
}
@media (min-width: 301px) and (max-width: 540px) {
    .flex.gap-1>.ts-wrapper.ts-width-responsive {
        width: calc(50% - 0.5rem);
    }
}
.ts-wrapper {
    width: 160px;
}
.ts-wrapper:not(.ts-normal-font) {
    font-weight: bold;
}
.ts-dropdown {
    margin-top: 0;
    overflow: hidden;
    box-shadow: none;
}
.ts-dropdown .active {
    background-color: #e3e3e3;
    color: black;
}
.ts-control.ts-dropdown-open {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.ts-control.ts-summary {
    cursor: pointer !important;
    padding: 6px !important;
    display: block;
}
.ts-control.ts-summary.ts-dropdown-open { 
    z-index: 6;
}
.ts-control.ts-summary .item {
    display: none;
}
.ts-control.ts-summary input {
    margin: 8px 0 0 !important;
    width: 100%;
    cursor: text !important;
}
.ts-summary-header {
    display: flex;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: white !important;
    font-weight: inherit;
    color: #505050 !important;
    cursor: pointer;
}
.ts-summary-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-grow: 1;
}
.ts-summary-clear {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
.ts-summary-clear:after {
    display: inline-block;
    font-size: 20px;
    color: #bcbcbc;
    content: "\00d7"; /* "×" */
}
.ts-summary-clear:hover {
    background-color: #efefef;
}
.ts-summary-clear:hover:after {
    color: #999999;
}
.ts-summary-icon {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #505050;
}
.ts-dropdown-open .ts-summary-icon {
    transform: rotate(180deg);
}