:root {
    --option-size: 14px;
    --tail-select--text: #000000;
    --tail-select--meta: #d1d5db;
    --tail-select--muted: #b3b3b3;
    --tail-select--background: #ffffff;
    --tail-select--accent: #3742fa;
    --tail-select--selection: rgba(0, 0, 0, 0.05);
    --tail-select--selection-text: #ffffff;
    --tail-select--selection-muted: rgb(147 197 253 / 1)
}

.tail-select * {
    box-sizing: border-box;
    font-family: inherit
}

.tail-select {
    width: 100%;
    font-size: 1.3em;
    line-height: 1.4;
    display: inline-block;
    user-select: none;
    position: relative;

    padding: 0;
    transition: border .2s;
    vertical-align: top;
    height: 38px
}
@media (max-width: 768px) {
    .tail-select {
        font-size: 1em;
    }
}

.tail-select:hover {
    border-color: var(--tail-select--accent)
}

.tail-select .select-label {

    padding: 0 40px 0 0px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    border: none;
    position: relative;
    overflow: hidden
}

.tail-select .select-label .clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    cursor: pointer;
    display: none;
    line-height: 1;
    font-weight: 700;
    z-index: 2
}

.tail-select.has-value .select-label .clear-btn {
    display: block
}

.tail-select .select-label:after {
    content: '';
    position: absolute;
    right: 5px;
    top: 45%;
    transform: translateY(-50%) rotate(-45deg);
    width: 8px;
    height: 8px;
    border-left: 2px solid #888;
    border-bottom: 2px solid #888;
    transition: none
}

.tail-select.has-value .select-label:after {
    display: none
}

.tail-select .select-dropdown {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    z-index: 999;
    display: none;
    min-width: max-content;
    max-width: 100%;
    background: #383838;
    box-shadow: 0 2px 5px #0a0c13;
    max-height: 250px;
    overflow-y: auto !important;
    overflow-x: visible !important;
    padding: 4px 0;
    scrollbar-color: #ccc transparent;
    white-space: nowrap;
    opacity: 1;
    transform: none;
    transform-origin: top;
    transition: none;
}

.tail-select.active .select-dropdown {
    display: block;
    opacity: 1;
    transform: none
}

.tail-select .select-dropdown::-webkit-scrollbar {
    width: 6px
}

.tail-select .select-dropdown::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px
}

.tail-select .select-dropdown::-webkit-scrollbar-track {
    background: 0 0
}

.tail-select .select-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.tail-select .select-dropdown ul li.dropdown-option {
    padding: 5px 30px 5px 15px;
    cursor: pointer;
    font-size: 0.8em;
    position: relative;
    white-space: nowrap;
    transition: none;
        text-transform: capitalize;
}

.tail-select .select-dropdown ul li.dropdown-option:hover {
        background-color: #1f1f1f;
}

.tail-select .select-dropdown ul li.dropdown-option.selected {
    background-color: #1f1f1f;
    font-weight: 600
}

.tail-select .select-dropdown ul li.dropdown-option.selected:before {
    content: '✔';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: red;
    font-size: 14px
}

.tail-select.multiple .select-dropdown ul li.dropdown-option:before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    background: #fff;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px
}

.tail-select.multiple .select-dropdown ul li.dropdown-option.selected:before {
    background: #0072bd;
    border-color: #0072bd;
    content: '';
    box-shadow: inset 0 0 0 3px #fff
}



.filter-block.filter_news {
    width: 40%
}

.filter-block__cell {
    width: auto;
    flex-shrink: 0;
    flex: 0 1 auto;
    position: relative
}

.filter-block__cell--padding {
    flex: 0 0 auto;
    min-width: 202px
}

.filter-block__cell-content .tail-select {
    width: 100%
}

.filter-block__cell--full-width {
    grid-column: 1/-1
}

.filter-block__cell-caption {
    margin-bottom: 10px
}

.filter-block__cell-content>* {
    width: 100%;
    display: block;

    padding-bottom: 15px;
}

.filter-block__cell-content--check-group {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    padding: 0;
    height: 38px;
    gap: 16px;
    padding-bottom: 15px;
}

.fa-clock:before {
    content: "\f017"
}

.filter-block__cell-content--check-group label {
    padding: 0;
    text-align: center;
    white-space: nowrap;
    flex: 1 1 0;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: default
}

.filter-block__cell.gob{
        box-shadow: inset 0 -2px var(--accent);
}

.filter-block__cell-content--check-group label input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
    cursor: pointer
}

.filter-block__cell-content--check-group label div {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background .2s,border .2s,color .2s;
    padding: 0 15px;
    cursor: pointer;
    font-size: 1.3em;
    line-height: 1.4;
}
@media (max-width: 768px) {
.filter-block__cell-content--check-group label div {
    font-size: 1em;
}
}


.filter-block__cell-content--check-group label input:checked+div i {
    color: #fff
}

.filter-block__cell-content select {
    padding: 0 8px 0 4px;
    height: 38px;
    line-height: 36px;
    color: #333;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    appearance: none
}

@media (max-width: 600px) {
    .filter-block__cell {
        flex:1 1 calc(50% - 8px)
    }

    .filter-block__cell--padding {
        flex: 1 1 100%
    }
}
