.filters-window {
    background:rgba(0,0,0,0.5);
    border-radius: 2px;
    position:relative;
    padding: 1px;
    vertical-align: top;
    margin-left: auto;
    margin-right: auto;
}

.filters-window > .title {
    background: linear-gradient(rgb(70,70,70),rgb(45,45,45) 15%, rgb(45,45,45) 50%, rgb(0,0,0) 50%, rgb(0,0,0));
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    box-shadow: inset 0 0 0 1px #000, 0 0 1px 1px #000;
    border: 1px solid rgb(140,140,140);
    margin-left: -1px;
    height: 20px;
    color: #FFF;
    text-align: center;
    text-shadow: var(--nt-txt-shadow);
    font-family: Tahoma, serif;
    font-size: 14px;
    padding: 4px 0;
}


.filters-window > .border {
    margin: 0 1px 1px 1px;
    border: 1px solid rgb(80,80,80);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    padding: 4px;
}

.filters-window > .border .data {
    border-radius: 2px;
    border: 1px solid #555;
    margin-left: -1px;
    margin-top:-1px;
    padding: 8px;
    box-shadow: inset 0 0 0 1px #000;
    background: rgba(50,50,50,0.7);
    position: relative;
    color: #FFF;
}

.filters-window > .border .data .content {
    height: 100%;
    border-radius: 2px;
    border: 1px solid #666;
    box-shadow: 0 0 0 1px rgb(20,20,20);
    background: rgba(20,20,20,1);
    vertical-align: middle;
    text-align: center;
    position: relative;
    padding: 5px;
}

.filters-window > .border .tabs {
    height: 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.filters-window > .border .tabs.bottom {
    margin-top: -2px
}

.filters-window > .border .tabs .tab {
    height: 100%;
    width: 100%;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    display:inline-block;
    border: 1px solid #555;
    box-shadow: inset 0 0 0 1px #000;
    background:rgba(0,0,0,0.5);
    position:relative;
    color: #AAA;
    cursor: pointer;
}

.filters-window > .border .tabs .tab.empty {
    background:rgba(0,0,0,0.7);
}

.filters-window > .border .tabs.bottom .tab {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    border-top: 0;
}

.filters-window > .border .tabs .tab p {
    position: absolute;
    top:50%; left:50%;
    transform: translate(-50%, -50%);
}

.filters-window > .border .tabs .tab.selected {
    background: linear-gradient(rgba(90,90,90,0.7), rgba(70,70,70,0.7));
    color: #FFF;
}


.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    overflow-x: hidden;
}

.filters-wrapper .list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 6px;
}

.filters-wrapper .list .filter-wrapper {
    box-sizing: border-box;
    min-width: 250px;
    width: 100%;

    border: 1px solid #666C;
    border-radius: 5px;
    padding: 6px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    background: rgba(50, 50, 50, 0.7);
}

@media only screen and (max-width: 600px) {
    .filters-wrapper .list .filter-wrapper {
        max-width: 600px;
    }
}

.filters-wrapper .input-wrapper .filter-select {
    visibility: hidden;
    height: 0;
}

.filters-wrapper .input-wrapper input,
.filters-wrapper .input-wrapper select,
.filters-wrapper .input-wrapper .select2-container
{
    height: 32px;
    width: 100% !important;
    box-sizing: border-box;
    text-align: left;
}

.filters-wrapper .input-wrapper input,
.filters-wrapper .input-wrapper select
{
    padding: 0 5px
}

.filter-range-wrapper {
    display: flex;
    gap: 4px;
    align-items: center;
}




.filter-wrapper .select2-dropdown {
    background-color: transparent !important;
    border: none !important;
}

.filter-wrapper .select2-selection {
    background-color: #333337 !important;
    border: 1px solid #999 !important;
    border-radius: 3px !important;
    outline: none !important;
    height: 32px !important;
    min-height: 0 !important;
    color: #FFF !important;
    text-shadow: var(--nt-txt-shadow) !important;
    cursor: pointer !important;
}

.filter-wrapper .select2-selection__arrow b {
    display:none !important;
}

.filter-wrapper .select2-selection__rendered {
    color: #FFF !important;
    text-shadow: var(--nt-txt-shadow) !important;
    padding-right: 22px !important;
    line-height: 28px !important;
}

.filter-wrapper .select2-selection--multiple {
    display: flex !important;
    align-items: center !important;
}

.filter-wrapper .select2-results__options > * {
    color: #FFF;
    cursor: pointer;
    background: #333337;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    min-height: 20px;
    display: flex;
}

.filter-wrapper .select2-results__option[aria-selected=true] {
    background: #834a0d !important;
}

.filter-wrapper .select2-results__option--highlighted[aria-selected]{
    background: #5897fb !important;
}

.filter-wrapper .select2-results__option .option-wrapper,
.filter-wrapper .select2-selection__rendered .option-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-wrapper .select2-results__option .option-wrapper img,
.filter-wrapper .select2-selection__rendered .option-wrapper img {
    width: 18px;
    height: 18px;
}

.filter-wrapper .select2-search__field {
    padding: 12px !important;
    color: #FFF !important;
}

.filter-wrapper .select2-selection:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    height: 15px;
    width: 15px;
    background-size: contain;
    background-image: url(/images/nt-images/arrow_down.png);
    transform: translateY(-50%);
}
