/* ============================================================
 * ACADEM — GLOBAL TEXT LINKS
 *
 * Обычное состояние:
 *   #d31d1f
 *   без подчёркивания
 *
 * Hover:
 *   #ffbd4f
 *   подчёркивание 1px #ffbd4f
 *
 * НЕ затрагивает:
 *   - основное меню
 *   - мобильное меню
 *   - Google CSE
 *   - ссылки-обёртки изображений карточек
 * ============================================================ */


/* ============================================================
 * ТЕКСТОВЫЕ БЛОКИ
 * ============================================================ */

#allrecords .t-text a[href],
#allrecords .t-descr a[href],
#allrecords .t-heading a[href],
#allrecords .t-title a[href],
#allrecords .t-impact-text a[href],
#allrecords .t-text-impact a[href],
#allrecords .t-uptitle a[href] {
    color: #d31d1f !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}


/* ------------------------------------------------------------
 * Visited
 *
 * ВАЖНО:
 * Этот блок находится ДО :hover.
 * Поэтому посещённая ссылка всё равно становится жёлтой
 * при наведении.
 * ------------------------------------------------------------ */

#allrecords .t-text a[href]:visited,
#allrecords .t-descr a[href]:visited,
#allrecords .t-heading a[href]:visited,
#allrecords .t-title a[href]:visited,
#allrecords .t-impact-text a[href]:visited,
#allrecords .t-text-impact a[href]:visited,
#allrecords .t-uptitle a[href]:visited {
    color: #d31d1f !important;
    text-decoration: none !important;
}


/* ------------------------------------------------------------
 * Hover
 * ------------------------------------------------------------ */

#allrecords .t-text a[href]:hover,
#allrecords .t-descr a[href]:hover,
#allrecords .t-heading a[href]:hover,
#allrecords .t-title a[href]:hover,
#allrecords .t-impact-text a[href]:hover,
#allrecords .t-text-impact a[href]:hover,
#allrecords .t-uptitle a[href]:hover {
    color: #ffbd4f !important;
    text-decoration: underline !important;
    text-decoration-color: #ffbd4f !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* ============================================================
 * КАРТОЧКИ ТОВАРОВ
 *
 * Ссылка на изображение карточки сюда НЕ попадает.
 * ============================================================ */

#allrecords .t-store__card__title a[href],
#allrecords .t-store__card__descr a[href],
#allrecords .t-store__card__text a[href],
#allrecords .t-store__card__info a[href] {
    color: #d31d1f !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}


/* Visited */

#allrecords .t-store__card__title a[href]:visited,
#allrecords .t-store__card__descr a[href]:visited,
#allrecords .t-store__card__text a[href]:visited,
#allrecords .t-store__card__info a[href]:visited {
    color: #d31d1f !important;
    text-decoration: none !important;
}


/* Hover */

#allrecords .t-store__card__title a[href]:hover,
#allrecords .t-store__card__descr a[href]:hover,
#allrecords .t-store__card__text a[href]:hover,
#allrecords .t-store__card__info a[href]:hover {
    color: #ffbd4f !important;
    text-decoration: underline !important;
    text-decoration-color: #ffbd4f !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* ============================================================
 * ОПИСАНИЯ СТРАНИЦ ТОВАРОВ / АВТОРОВ
 *
 * В том числе ссылки, вручную вставленные непосредственно
 * в поле описания Tilda Catalog.
 *
 * Пример:
 *
 * 
 *     Автор:
 *     
 *         Трофимов Александр Сергеевич (Россия)
 *     
 * 
 * ============================================================ */

#allrecords .t744__descr.t-descr a[href],
#allrecords .t780__descr.t-descr a[href] {
    color: #d31d1f !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}


/* Visited */

#allrecords .t744__descr.t-descr a[href]:visited,
#allrecords .t780__descr.t-descr a[href]:visited {
    color: #d31d1f !important;
    text-decoration: none !important;
}


/* Hover */

#allrecords .t744__descr.t-descr a[href]:hover,
#allrecords .t780__descr.t-descr a[href]:hover {
    color: #ffbd4f !important;
    text-decoration: underline !important;
    text-decoration-color: #ffbd4f !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ============================================================
 * GOOGLE CSE
 *
 * Глобальные стили ссылок сюда НЕ распространяются.
 *
 * ВАЖНО:
 * Здесь НЕТ:
 *
 *   .gsc-... a
 *   .gs-... a
 *   color: revert
 *   text-decoration: revert
 *
 * Google CSE полностью сохраняет собственное оформление.
 * ============================================================ */


/* КОЛОНКА — полная ширина */

.uc-gse-full .t-col.t-col_10.t-prefix_2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    left: 0 !important;
    right: 0 !important;
    position: static !important;
    box-sizing: border-box !important;
}


/* КОНТЕЙНЕР */

.uc-gse-full .t-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* ФОРМА ПОИСКА */

.uc-gse-full .gsc-search-box {
    max-width: 1160px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}


/* ТАБЛИЦА */

.uc-gse-full .gsc-search-box table {
    width: 100% !important;
    max-width: 100% !important;
}


/* INPUT */

.uc-gse-full .gsc-input {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
}

.uc-gse-full .gsc-input-box,
.uc-gse-full input.gsc-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* КНОПКА */

.uc-gse-full .gsc-search-button {
    width: auto !important;
    white-space: nowrap !important;
}


/* ОБЁРТКИ GOOGLE CSE */

.uc-gse-full .gsc-control-cse,
.uc-gse-full .gsc-control-wrapper-cse,
.uc-gse-full .gsc-results-wrapper-nooverlay,
.uc-gse-full .gsc-results-wrapper-visible,
.uc-gse-full .gsc-above-wrapper-area,
.uc-gse-full .gsc-above-wrapper-area-container,
.uc-gse-full .gsc-resultsbox-visible,
.uc-gse-full .gsc-resultsRoot,
.uc-gse-full .gsc-tabData,
.uc-gse-full .gsc-webResult,
.uc-gse-full .gsc-results,
.uc-gse-full .gsc-wrapper,
.uc-gse-full .gsc-expansionArea,
.uc-gse-full .gs-webResult,
.uc-gse-full .gs-result,
.uc-gse-full .gsc-result {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* СЛУЖЕБНЫЕ ЭЛЕМЕНТЫ */

.uc-gse-full .gsc-result-info,
.uc-gse-full .gsc-result-info-container,
.uc-gse-full .gs-per-result-labels,
.uc-gse-full .gs-per-result-labels * {
    display: none !important;
}

.uc-gse-full .gs-richsnippet-box {
    display: none !important;
}


/* ВКЛАДКИ / СЛУЖЕБНАЯ НАВИГАЦИЯ */

.uc-gse-full .gsc-tabsAreaInvisible,
.uc-gse-full .gsc-tabHeader {
    display: none !important;
}


/* ЗАГОЛОВОК РЕЗУЛЬТАТА */

.uc-gse-full .gsc-thumbnail-inside {
    text-align: left !important;
}