.toggle-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-checkbox--hidden {
    display: none;
}

.filters__block.is-expanded .filter-checkbox--hidden {
    display: flex;
}

.filter-checkbox-list {
    max-height: 500px;
    overflow-y: auto;
}

.filter-checkbox-list.sortable .filter-checkbox {
    order: 2;
}

.filter-checkbox-list.sortable .filter-checkbox:has(input:checked) {
    order: 1;
    display: flex;
}

.filters__block.is-in-search .filter-checkbox:not(.founded) {
    display: none;
}

.filters__block.is-in-search .filter-checkbox.founded {
    display: flex;
}

.hidden-filter {
    display: none;
}

[data-lazy-filter] button.filters__block-header {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

[data-lazy-filter] button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.filter-lazy-status:not(:empty) {
    margin: 12px 0;
    font-size: 14px;
}

.filter-lazy-retry {
    margin-top: 8px;
    cursor: pointer;
}

.courses-content__footer a:not(.loading) img {
    display: none;
}

.courses-content__footer a.loading span {
    display: none;
}

.courses-content__footer a.loading {
    background: #fff;
    min-width: 300px;
    pointer-events: none;
}

.courses-page__header {
    padding-top: 0;
}

#catalogResultsPjax {
    display: flex;
    flex: 1;
}

.courses-grid.slider-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
    cursor: grab;
    user-select: none;
}
