

/* Start:/local/templates/mpc/components/bitrix/search.title/glossary/style.css?17939349571745*/
/* Выпадающие подсказки поиска по глоссарию.
   Базовые стили панели берутся из шаблона поиска в шапке (search.title/courses/style.css),
   здесь только то, что отличает подсказки глоссария. */

div.title-search-result.glossary-search__dropdown {
	padding-top: 10px;
	padding-bottom: 10px;
}

.glossary-search__dropdown table.title-search-result td.title-search-item {
	text-transform: none;
	padding: 0;
}

.glossary-search__dropdown table.title-search-result td.title-search-item a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 9px 20px;
}

.glossary-search__term {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.glossary-search__category {
	font-size: 12px;
	color: var(--gray-text);
	line-height: 1.2;
}

/* Подсветка выбранной строки. Класс ставит скрипт компонента при наведении и при
   переходе стрелками, но стилей для него в проекте не было. */
.glossary-search__dropdown table.title-search-result tr.title-search-selected td,
.glossary-search__dropdown table.title-search-result td.title-search-item:hover {
	background-color: var(--bg, #f5f5f5);
}

.glossary-search__dropdown table.title-search-result tr.title-search-selected .glossary-search__term,
.glossary-search__dropdown table.title-search-result td.title-search-item:hover .glossary-search__term {
	color: var(--primary);
}

@media (max-width: 767px) {
	.glossary-search__term {
		font-size: 14px;
	}

	.glossary-search__dropdown table.title-search-result td.title-search-item a {
		padding: 7px 14px;
	}
}

/* End */


/* Start:/local/templates/.default/components/bitrix/system.pagenavigation/.default/style.css?17937806372260*/
.bx-pagination .bx-pagination-container {
	text-align: center;
	position: relative;
}
.bx-pagination .bx-pagination-container ul {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bx-pagination .bx-pagination-container ul li span{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: var(--title);
    font-weight: 700;
    transition: .3s;
}
.bx-pagination .bx-pagination-container ul li a {
    color: var(--title);
}
.bx-pagination .bx-pagination-container ul li a:hover span{
	color: var(--primary);
}
.bx-pagination .bx-pagination-container ul li.bx-active span{
    color: #ffffff;
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    line-height: 1;
}

.bx-pagination .bx-pagination-container ul li.last-link,
.bx-pagination .bx-pagination-container ul li.first {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
            align-items: baseline;
}

.bx-pagination .bx-pagination-container ul li.last-link::before {
    content: '...';
    font-size: 30px;
    color: #666666;
    margin-right: 20px;
}


.bx-pagination .bx-pagination-container ul li.bx-active + li.last::before {
    display: none;
}

.bx-pagination .bx-pagination-container ul li.first-link::after {
    content: '...';
    font-size: 30px;
    color: #666666;
    margin-left: 20px;
}

.bx-pag-prev {
    transform: rotate(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.bx-pag-next {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 500px) {
    .bx-pagination .bx-pagination-container ul li span {
        font-size: 15px;
    }

    .bx-pagination .bx-pagination-container ul li.last-link::before,
    .bx-pagination .bx-pagination-container ul li.first-link::after {
        font-size: 19px;
    }

    .bx-pagination svg {
        width: 18px;
        height: 18px;
    }

    .bx-pagination .bx-pagination-container ul {
        gap: 18px
    }

    .bx-pagination .bx-pagination-container ul li.bx-active span {
        padding: 6px 11px;
    }
}

/* End */


/* Start:/local/templates/mpc/components/bitrix/news.list/glossary/style.css?179393493810516*/
/* Разводящая страница глоссария */

/* Верхний блок: вводный текст и категории */

.glossary-top {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.glossary-intro {
    flex: 1 1 100%;
    font-size: 16px;
    line-height: 1.5;
}

.glossary-intro p {
    margin: 0 0 10px;
}

/* Категории */

.glossary-categories {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.glossary-categories__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    overflow: visible;
}

/* Кнопки ниже третьей строки убирает скрипт, чтобы hover не обрезался рамками списка */
.glossary-categories__item--hidden {
    display: none;
}

/* Оформление кнопок повторяет страницу статей */
.glossary-categories__item {
    padding: 9px 18px;
    border-radius: 8px;
    background: #cccccc;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.glossary-categories__item:hover:not(.active) {
    transform: scale(1.05);
}

.glossary-categories__item:hover,
.glossary-categories__item.active {
    background: var(--primary);
    color: #fff;
}

.glossary-categories__item.active:hover {
    background-color: var(--listing-gradient);
    color: var(--primary);
}

.glossary-categories__toggle {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s;
}

.glossary-categories--overflow .glossary-categories__toggle {
    display: inline-flex;
}

.glossary-categories__toggle:hover {
    color: var(--primary);
}

.glossary-categories__arrow {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform .25s;
}

.glossary-categories.open .glossary-categories__arrow {
    transform: rotate(180deg);
}

.glossary-categories__toggle-hide {
    display: none;
}

.glossary-categories.open .glossary-categories__toggle-hide {
    display: inline;
}

.glossary-categories.open .glossary-categories__toggle-show {
    display: none;
}

/* Поиск по терминам */

.glossary-search {
    margin-bottom: 30px;
}

.glossary-search__form {
    display: flex;
    align-items: stretch;
    gap: 15px;
}

.glossary-search__field {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 15px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    box-sizing: border-box;
}

.glossary-search__input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-size: 20px;
    font-weight: 300;
    color: var(--text);
    background: transparent;
}

.glossary-search__reset {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    transition: opacity .2s;
}

.glossary-search__reset:hover {
    opacity: .6;
}

.glossary-search__input::placeholder {
    color: var(--gray-text, #666);
}

.glossary-search__submit {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: opacity .2s;
}

.glossary-search__submit:hover {
    opacity: .85;
}

/* Контур в спрайте залит оранжевым жестко, через use его не перекрасить */
.glossary-search__submit svg {
    filter: brightness(0) invert(1);
}

/* Алфавитный указатель */

.glossary-alphabet {
    position: relative;
    margin-bottom: 50px;
}

.glossary-alphabet__title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--title);
    margin-bottom: 40px;
}

.glossary-alphabet__scroll {
    overflow-x: auto;
    padding-bottom: 5px;
}

.glossary-alphabet__scroll::-webkit-scrollbar {
    display: none;
}

.glossary-alphabet__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
}

.glossary-alphabet__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--gray-text, #666);
    text-decoration: underline;
    transition: background .2s, color .2s;
}

a.glossary-alphabet__item:hover {
    color: var(--primary);
}

a.glossary-alphabet__item.active:hover {
    color: var(--primary);
    background: none;
}

.glossary-alphabet__item.active {
    width: 50px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.glossary-pagination {
    justify-items: center;
    margin-top: 40px;
}

/* Буквы, на которые нет терминов */
.glossary-alphabet__item.disabled {
    opacity: .35;
    text-decoration: none;
    cursor: default;
}

/* Заголовок группы: текущая буква и линия до конца строки */

.glossary-group {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 50px;
}

.glossary-group__letter {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    color: var(--gray-text, #666);
    flex-shrink: 0;
}

.glossary-group--search .glossary-group__letter {
    flex-shrink: 1;
    min-width: 0;
    font-size: 30px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.glossary-group__line {
    flex-grow: 1;
    border: none;
    height: 1px;
    background: var(--border-card, #eaeaea);
    margin: 0;
}

/* Карточки терминов */

.glossary-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.glossary-list__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 234px;
    padding: 20px;
    background: var(--bg, #f5f5f5);
    border: 1px solid var(--border-card, #eaeaea);
    border-radius: 8px;
    box-sizing: border-box;
}

.glossary-list__link {
    display: block;
    text-decoration: none;
}

.glossary-list__name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    transition: color .3s;
}

.glossary-list__link:hover .glossary-list__name {
    color: var(--primary);
}

.glossary-list__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* По макету это обычная ссылка со стрелкой, поэтому оформление общего класса
   arrow-btn (рамка, отступы, верхний регистр) здесь снимается */
.glossary-list__btn.arrow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--text);
    transition: gap .3s, color .3s;
}

.glossary-list__btn.arrow-btn svg {
    width: 20px;
    height: 18px;
    flex-shrink: 0;
    fill: var(--primary);
}

.glossary-list__btn.arrow-btn:hover {
    background: none;
    color: var(--primary);
    gap: 14px;
}

.glossary-no-results {
    color: var(--gray-text);
    font-size: 20px;
    padding: 40px 0;
}

@media (max-width: 1100px) {
    .glossary-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .glossary-top {
        flex-direction: column;
        gap: 20px;
    }

    .glossary-intro {
        flex: 1 1 auto;
    }
}

@media (max-width: 767px) {
    .glossary-intro {
        font-size: 14px;
    }

    .glossary-search {
        margin-bottom: 25px;
    }

    .glossary-search__form {
        gap: 8px;
    }

    .glossary-search__field {
        height: 30px;
        padding: 0 10px;
        border-width: 1px;
    }

    .glossary-search__input {
        font-size: 14px;
    }

    .glossary-search__reset {
        width: 18px;
        height: 18px;
        margin-left: 6px;
    }

    .glossary-search__reset svg {
        width: 10px;
        height: 10px;
    }

    .glossary-search__submit {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .glossary-search__submit svg {
        width: 16px;
        height: 17px;
    }

    .glossary-categories__item {
        padding: 7px 12px;
        font-size: 11px;
    }

    .glossary-categories__list {
        gap: 8px 6px;
    }

    .glossary-categories__toggle {
        font-size: 11px;
    }

    .glossary-top {
        margin-bottom: 25px;
    }

    .glossary-alphabet {
        margin-bottom: 20px;
    }

    .glossary-group {
        gap: 15px;
        margin-bottom: 20px;
    }

    .glossary-alphabet__title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* На мобильных указатель прокручивается по горизонтали одной строкой */
    .glossary-alphabet__list {
        flex-wrap: nowrap;
        padding: 0;
    }

    .glossary-alphabet__list {
        gap: 16px;
    }

    .glossary-alphabet__item {
        height: 30px;
        font-size: 20px;
    }

    .glossary-alphabet__item.active {
        width: 30px;
    }

    .glossary-group__letter {
        font-size: 34px;
    }

    .glossary-group--search .glossary-group__letter {
        font-size: 18px;
    }

    .glossary-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .glossary-list__item {
        min-height: 0;
        padding: 15px;
    }

    .glossary-list__name {
        font-size: 16px;
    }

    .glossary-list__btn.arrow-btn {
        font-size: 14px;
    }

    .glossary-list__btn.arrow-btn svg {
        width: 16px;
        height: 14px;
    }
}

/* End */
/* /local/templates/mpc/components/bitrix/search.title/glossary/style.css?17939349571745 */
/* /local/templates/.default/components/bitrix/system.pagenavigation/.default/style.css?17937806372260 */
/* /local/templates/mpc/components/bitrix/news.list/glossary/style.css?179393493810516 */
