@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CenturyGothic-Italic.eot');
    src: local('Century Gothic Italic'), local('CenturyGothic-Italic'),
    url('../fonts/CenturyGothic-Italic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CenturyGothic-Italic.woff') format('woff'),
    url('../fonts/CenturyGothic-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CenturyGothic.eot');
    src: local('Century Gothic'), local('CenturyGothic'),
    url('../fonts/CenturyGothic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CenturyGothic.woff') format('woff'),
    url('../fonts/CenturyGothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CenturyGothic-Bold.eot');
    src: local('Century Gothic Bold'), local('CenturyGothic-Bold'),
    url('../fonts/CenturyGothic-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CenturyGothic-Bold.woff') format('woff'),
    url('../fonts/CenturyGothic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CenturyGothic-BoldItalic.eot');
    src: local('Century Gothic Bold Italic'), local('CenturyGothic-BoldItalic'),
    url('../fonts/CenturyGothic-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CenturyGothic-BoldItalic.woff') format('woff'),
    url('../fonts/CenturyGothic-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}


main > .container, main > .container-fluid
{
    padding: 25px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}
.menubar {
    background-color: rgba(128, 128, 128, 0.5); /* Серый с прозрачностью 50% */
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
    color: #1d5577;
    font-weight: bold;
}

body {
    font-family: 'Century Gothic', 'Arial', sans-serif;

    min-height: 100vh;          /* Занимает минимум высоту экрана */
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.81)), /* Белый с прозрачностью 60 % */
            url('../images/backlist.png');
    background-repeat: no-repeat;
    background-position: center center; /* Центрируем по обоим осям */
    background-size: cover;           /* Заполняем всю область с обрезкой */
    background-attachment: fixed;       /* Фиксируем фон (опционально) */
}
.app-header-navigation {
    display: flex;
    justify-content: flex-start;     /* Прижимает содержимое влево */
    align-items: center;            /* Выравнивает элементы по центру вертикали */
    padding: 10px 20px;
    width: 100%;                        /* Занимает всю ширину */
}

/* Контейнер логотипа */
.app-logo-container {
    color: white;
    font-size: 20px;
    font-weight: bold;
    width: 150px;      /* Ширина контейнера */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Список ссылок */
.app-navigation-links-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Элемент списка */
.app-navigation-item {
    display: inline;
}

/* Ссылки в меню */
.app-navigation-link {
    color: #000000;
    text-decoration: none;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;      /* Вертикальное центрирование */
    transition: background-color 0.3s;
}

.app-navigation-link:hover {
    background-color: #ffffff;
    border-radius: 14px;
}

/* Иконка гамбургера (видима только на мобильных) */
.parent-mobile{
    z-index: 10;
}
.app-mobile-menu-toggle{
    z-index: 20;
}


.app-hamburger-icon {
    display: none;
    color: #b40023;
    font-size: 24px;
    cursor: pointer;
}

/* Чекбокс (скрыт, но управляет меню) */
.app-mobile-menu-checkbox {
    display: none;
}

/* Адаптация под мобильные (< 768px) */
@media (max-width: 768px) {
    .app-navigation-links-list {
        display: none; /* Скрываем меню по умолчанию */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Высота navbar */
        left: 0;
        background-color: rgb(252, 249, 246);
        padding: 25px 0;

    }

    /* Когда чекбокс активен — показываем меню */
    .app-mobile-menu-checkbox:checked + .app-hamburger-icon + .app-navigation-links-list {
        display: flex;
    }

    .app-hamburger-icon {
        display: block; /* Показываем кнопку-гамбургер */
    }
}

.double-border-box {
    /* Размеры: растягивается на 90% ширины экрана, но не шире 600px */


    /* Высота — по контенту или фиксированная */
    min-height: 120px;

    /* Скругление углов */
    border-radius: 16px;

    /* Внешний контур: серый, полупрозрачный */
    border: 8px solid rgba(237, 237, 237, 0.4);

    /* Внутренний фон: голубой, полупрозрачный */
    background-color: rgba(156, 206, 250, 0.23);

    /* Отступы внутри блока для внутреннего контура */
    padding: 20px;

    /* Центрирование блока по горизонтали */
    margin: auto;

    /* Стили для контента */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    line-height: 1.5;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}
img.full-width {
    width: 100%;
    height: auto; /* Сохраняет пропорции */
    max-width: 80%; /* Не выходит за границы родителя */
    display: block; /* Убирает лишние отступы */
    margin: 0 auto; /* Центрирует (если нужно) */
}
.track-name {
    text-align: left;
    color: #b40023;

}

.bold-text {
    font-weight: 700;
}
.about_action {
    text-align: left;    /* Выравнивание по левому краю */
    color: #1d5577;        /* Чёрный цвет текста (можно также использовать `black`) */
    font-weight:bold;
    /* Дополнительно (опционально): */
    margin-left: 0;   /* Убирает левый внешний отступ */
    padding-left: 0;  /* Убирает левый внутренний отступ */
    font-family: inherit; /* Наследует шрифт родителя (не меняет его) */
    line-height: 1.5;  /* Оптимальный межстрочный интервал */
}

.btn-participate {
    /* Текст и цвет */
    color: white;                   /* Белый текст для контраста */
    background-color: #b40023;    /* Красный цвет (Material Red 700) */
    border: none;                   /* Убираем стандартную рамку */
    padding: 12px 24px;           /* Отступы внутри кнопки */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;            /* Убираем подчёркивание (если кнопка — ссылка) */
    white-space: nowrap;

    /* Скругление углов */
    border-radius: 25px;            /* Умеренное скругление */

    /* Центрирование по горизонтали */
    display: block;
    width: fit-content;           /* Ширина по содержимому */
    margin: 0 auto;                 /* Автоматические отступы для центрирования */

    /* Дополнительные эффекты */
    cursor: pointer;                /* Курсор-указатель */
    transition: background-color 0.3s ease; /* Плавная смена цвета при наведении */
}

/* Эффект наведения */
.btn-participate:hover {
    background-color: #c62828;     /* Темнее при наведении (Red 800) */
}

/* Эффект нажатия */
.white-rounded-box {
    background-color: #ffffff;          /* Белый фон */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Стандартная тень */
    border-radius: 60px;                /* Скруглённые углы (радиус 8px) */
    padding: 5px;                   /* Внутренний отступ (опционально) */
    margin: 5px;                  /* Внешний отступ (опционально) */
}
.btn-fixed {
    position: fixed;
    top: 20px;      /* Отступ от верхнего края окна */
    right: 20px;   /* Отступ от правого края окна */
    z-index: 1000; /* Чтобы кнопка была поверх других элементов */
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

@media (max-width: 414px) {
    .btn-fixed {
        position: fixed;
        bottom: 20px;          /* Отступ от нижнего края окна */
        left: 50%;           /* Смещение влево на 50% ширины родителя */
        transform: translateX(-50%); /* Центрирование по горизонтали */
        right: auto;          /* Обнуляем правый отступ */
        top: auto;            /* Обнуляем верхний отступ */

        /* Сохраняем остальные свойства */
        z-index: 1000;
        -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    }
}
.dictation-form {
    width: 100%;
    box-sizing: border-box; /* Учитывает padding и border в общей ширине */
}

.dictation-form > * {
    width: 100%;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /*gap: 1rem;*/
}

.radio-btn {
    position: relative;
    padding: 0.5em;
    border-radius: 25px;
    background-color: white;
    color: #000000;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-width: calc((100% / 3) - 1rem);
    margin-bottom: 1rem;
    /* Изначально рамка отсутствует (или прозрачная) */
    border: 1px solid transparent;
}

/* Эффект при наведении — рамка 1px с цветом #b40023 */
.radio-btn:hover {
    border-color: #b40023;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #b40023;
}

/* Эффект при нажатии (активном состоянии) — текст становится цветом #b40023 */
.radio-btn:active {
    color: #b40023;
}

/* Дополнительно: можно добавить эффект для состояния focus (актуально для доступности) */
.radio-btn:focus {
    outline: none; /* убираем стандартную рамку фокуса */
    border-color: #b40023; /* рамка как при наведении */
}

.radio-btn input[type=radio] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border: 2px solid rgba(255, 0, 0, 0.3)
}

.radio-btn span.radio-text {
    font-size: 18px;
    line-height: 1.5;
}

.radio-btn input[type=radio]:checked ~ span.radio-text {
    color: #b40023; /* Шрифт всегда красного цвета */
    font-weight: bold;
}

@media screen and (max-width: 768px) { /* Для мобильных устройств */
    .radio-btn {
        min-width: 100%; /* Полностью занимают ширину экрана */
    }
}

.form-cert{
    /* Текст и цвет */
    color: #b40023;                   /* Белый текст для контраста */
    background-color: #ffffff;    /* Красный цвет (Material Red 700) */
    border: none;                   /* Убираем стандартную рамку */
    padding: 12px 24px;           /* Отступы внутри кнопки */
    width: 100%;
    box-sizing: border-box; /* Учитывает padding и border */

    margin-bottom: 15px;

    /* Скругление углов */
    border-radius: 25px;            /* Умеренное скругление */

    /* Центрирование по горизонтали */

    /* Дополнительн эффекты */
}
.double-border-box-white {
    /* Размеры: растягивается на 90% ширины экрана, но не шире 600px */
    /* Высота — по контенту или фиксированная */
    min-height: 120px;
    /* Скругление углов */
    border-radius: 16px;
    /* Внешний контур: серый, полупрозрачный */
    border: 8px solid rgba(237, 237, 237, 0.4);
    /* Внутренний фон: голубой, полупрозрачный */
    background-color: rgba(248, 252, 255, 0.55);
    /* Отступы внутри блока для внутреннего контура */
    padding: 20px;
    /* Центрирование блока по горизонтали */
    margin: auto;
    /* Стили для контента */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.5;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}
.max-width {

    height: auto; /* Сохраняет пропорции */
    max-width: 300px;  /* Не выходит за границы родителя */
    max-height: 200px;
    display: block; /* Убирает лишние отступы */
    margin: 0 auto; /* Центрирует (если нужно) */
}
.number {
    font-size: 66px;
    /* Дополнительные стили по необходимости */
}

.compatible-outline {

    /* Современное решение */
    /*-webkit-text-stroke: 0.5px #000;*/
	color: #b40023;
}
.red-box {
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    /* Текст и цвет */
    min-width: 250px;
    color: white;                   /* Белый текст для контраста */
    background-color: #b40023;    /* Красный цвет (Material Red 700) */
    border: none;                   /* Убираем стандартную рамку */
    padding: 12px 24px;           /* Отступы внутри кнопки */
    font-size: 16px;
    font-weight: 500;

    /* Скругление углов */
    border-radius: 25px;            /* Умеренное скругление */

    /* Центрирование по горизонтали */
    display: block;
    width: fit-content;           /* Ширина по содержимому */
    margin: 0 auto;                 /* Автоматические отступы для центрирования */

}
.wt-box {

    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    /* Текст и цвет */
    color:  #b40023;                   /* Белый текст для контраста */
    background-color: white;    /* Красный цвет (Material Red 700) */
    border: none;                   /* Убираем стандартную рамку */
    padding: 12px 24px;           /* Отступы внутри кнопки */
    font-size: 16px;
    font-weight: 500;
    /* Скругление углов */
    border-radius: 25px;            /* Умеренное скругление */

    /* Центрирование по горизонтали */
    display: block;
    width: fit-content;           /* Ширина по содержимому */
    margin: 10px;                 /* Автоматические отступы для центрирования */


}
.wt-box-bt {
    /* Текст и цвет */
    color: #000000;                   /* Белый текст для контраста */
    background-color: white;    /* Красный цвет (Material Red 700) */
    border: none;                   /* Убираем стандартную рамку */
    padding: 12px 24px;           /* Отступы внутри кнопки */
    font-size: 16px;
    font-weight: 500;
    /* Скругление углов */
    border-radius: 25px;            /* Умеренное скругление */

    /* Центрирование по горизонтали */
    display: block;
    width: fit-content;           /* Ширина по содержимому */
    margin: 0 auto;                 /* Автоматические отступы для центрирования */


}

.btn-vk {
    /* Текст и цвет */
    color: white;                   /* Белый текст для контраста */
    background-color: #1ea1ff;    /* Красный цвет (Material Red 700) */
    border: none;                   /* Убираем стандартную рамку */
    padding: 12px 24px;           /* Отступы внутри кнопки */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;            /* Убираем подчёркивание (если кнопка — ссылка) */
    height: 100%;
    background-image: url('../images/vk.svg');
    background-size: cover;   /* заполняет всю площадь */

    /* Скругление углов */
    border-radius: 35px;            /* Умеренное скругление */

    /* Центрирование по горизонтали */
    display: block;
    width: fit-content;           /* Ширина по содержимому */
    margin: 0 auto;                 /* Автоматические отступы для центрирования */

    /* Дополнительные эффекты */
    cursor: pointer;                /* Курсор-указатель */
    transition: background-color 0.3s ease; /* Плавная смена цвета при наведении */
}

/* Эффект наведения */
.btn-vk:hover {
    background-color: rgba(41, 102, 255, 0.66);     /* Темнее при наведении (Red 800) */
}

/* Эффект нажатия */
img.full-width-vk {

    max-width: 80%; /* Не выходит за границы родителя */
    min-height: 20px; /* Не выходит за границы родителя */
    display: block; /* Убирает лишние отступы */
    margin: 0 auto; /* Центрирует (если нужно) */
}
.btn-vk-mobile {
    /* Текст и цвет */
    color: white;                   /* Белый текст для контраста */
    background-color: #1ea1ff;    /* Красный цвет (Material Red 700) */
    border: none;                   /* Убираем стандартную рамку */
    padding: 12px 24px;           /* Отступы внутри кнопки */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;            /* Убираем подчёркивание (если кнопка — ссылка) */
    height: 100%;


    /* Скругление углов */
    border-radius: 35px;            /* Умеренное скругление */

    /* Центрирование по горизонтали */
    display: block;
    width: fit-content;           /* Ширина по содержимому */
    margin: 0 auto;                 /* Автоматические отступы для центрирования */

    /* Дополнительные эффекты */
    cursor: pointer;                /* Курсор-указатель */
    transition: background-color 0.3s ease; /* Плавная смена цвета при наведении */
}

/* Эффект наведения */
.btn-vk-mobile:hover {
    background-color: rgba(41, 102, 255, 0.66);     /* Темнее при наведении (Red 800) */
}
.help-block-error {
    color: #b40023;
}

