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

.filter-checkbox--hidden {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    margin-top: -15px;
    overflow: clip;
}

.filters__block.is-expanded .filter-checkbox--hidden {
    max-height: fit-content;
    opacity: 1;
    pointer-events: auto;
    margin-top: 0;
    overflow: initial;
}

.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;
}

.hidden-filter {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.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;
}

.info {
    padding: 0 0 20px;
}

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

.course-to-favorite.bookmarked .icon-bookmark-off {
    display: none;
}

.course-to-favorite:not(.bookmarked) .icon-bookmark-on {
    display: none;
}

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

/* copy from school rating */
/* Load More Button */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.rotating {
    animation: rotate 1s linear infinite;
}

.rating-schools__load-more {
    background-color: var(--color-white);
    border: none;
    border-radius: var(--radius-xl);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: var(--fs-16);
    font-weight: var(--fw-medium);
    line-height: var(--lh-20);
    letter-spacing: -0.16px;
    color: var(--color-text);
    cursor: pointer;
    transition: background-color var(--transition-normal);
    margin-top: 10px;
}

.rating-schools__load-more:hover {
    background-color: #f0f0f0;
}

.rating-schools__load-icon {
    width: 19px;
    height: 20px;
    color: var(--color-text);
}

/**/
.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;
}