.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 38px;
    border: 1px solid #ced4da !important;
    border-radius: 0 .25rem .25rem 0;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 4px;
}

.select2-container .select2-selection__rendered {
    padding: .375rem 1.75rem .375rem 16px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
}

#collapse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-weight: bold;
    color: #fff;
    background-color: #646e77;

    height: 49.5px;
    padding: 0 .75rem 0 .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    border-top-color: rgb(222, 226, 230);
}

#collapse-header img {
    height: 2rem;
    margin: -1rem 0;
    filter: invert(1);
}

#genome-table {
    list-style: none;
    padding-left: unset;
    margin: .5rem;
    width: min-content;
    margin-left: auto;
    margin-right: auto;
}

#genome-table li {
    margin: .3rem
}

#genome-table tbody li:nth-child(odd) {
    background: #fbfbfb;
}

#genome-table tbody tr:nth-child(odd).selected {
    background-color: #a7a7a7;
}

#genome-table tbody li:nth-child(even) {
    background: #b3b3b330;
}

#genome-table tbody tr:nth-child(even).selected {
    background-color: #939393;
}

#genome-table.table td, #genome-table.table th {
    vertical-align: middle;
}

#id_columns {
    height: min-content;
}

.sortable.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sortable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0;
    background-color: #f3f3f3;
    min-height: 30px;
    color: black;

    border-radius: .25rem;
    border: 1px solid #f9f9f9;
}

.sortable.grid li {
    float: left;
    min-width: 80px;
    text-align: center;
    margin: 5px;
    list-style: none;
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    padding: 0 5px;

    color: #212529;
}

.sortable.grid li.selected {
    background-color: #f9c7c8;
    border: solid red 1px !important;
    z-index: 1 !important;
}

.ui-slider {
    width: 100%;
}

thead {
    /*height: 4rem;*/
    white-space: nowrap;
}

table {
    text-align: center;
}

table tbody td {
    padding: 0.1rem !important;
    white-space: nowrap;
}

.table-container {
    overflow: auto;
    margin: 0 10px 0 10px;
}

.column-info {
    color: #343a40
}

.active-filter {
    width: 23px;
    height: 23px;
    line-height: 23px;
    background-color: darkred;
    color: lightcoral;
    border-radius: 50%;
}

.sort-btn {
    width: 11.5px;
    background-color: darkgreen;
    height: 23px;
    line-height: 21px;
    padding-left: 1px;
    color: #508750;
}

.sort-btn.sort-desc {
    border-top-right-radius: 11.5px;
    border-bottom-right-radius: 11.5px;
    text-align: left;
}

.sort-btn.sort-asc {
    border-top-left-radius: 11.5px;
    border-bottom-left-radius: 11.5px;
    text-align: right;
}

.sort-btn:hover {
    color: white;
}

.sort-btn.sort-asc.sorted, .sort-btn.sort-desc.sorted {
    color: lightgreen;
}