.text-nowrap {
    white-space: nowrap;
}

.mt-6 {
    margin-top: 6px;
}

.row {
    margin-top: 0;
}

.text-danger {
  color: #dc3545 !important;
}

.dropdown {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    border-radius: 15px;
}

/**
 * admission
 */

.admission {
    position: relative;
}

.admission,
.admission * {
    box-sizing: border-box;
}

.admission > h1 {
    display: none;
}

.admission a { /* TODO: убрать зависимость от abiturient.2021 */
    color: var(--gr-color-primary-base);
}

.admission a:hover { /* TODO: убрать зависимость от abiturient.2021 */
    color: var(--gr-color-primary-dark);
}

.admission dd {
    margin: 0;
}

.admission-stats dd,
.admission dd > span {
}

.admission table {
    border-collapse: collapse;
}

.admission table th {
    text-align: left;
}

.admission-table > table th:not(.stats-name) {
    text-align: center;
}

.admission-table-header-sticky-th.stats-name {
    text-align: left;
}

.admission h4 {
    margin: 0;
}

.admission-prof h4 + div {
    margin-top: 6px;
}

.admission-prof ol li {
    line-height: 1.5;
}

.admission strong {
    font-weight: 600;
}

.admission-prof article > header {
    grid-template-columns: 140px auto;
}

.admission-prof article > header.admission-search-header-codes {
    display: block;
}

.admission-prof article > header.admission-search-header-codes > div {
    display: grid;
    grid-template-columns: 140px 140px;
    gap: 24px 12px;
}

.admission-prof article > header {
    grid-template-columns: 140px auto;
}

.admission h4 > div:first-child {
}

.admission-prof article > header .admission-okso {
}

.admission-prof article > header dd > ol {
    padding-left: 16px;
}

.admission-prof article > header li {
    padding-left: 6px;
}

.admission-search input[type="text"] {
    outline: none;
    padding: 8px 36px 8px 16px;
}

.admission-prof.admission-search-result {
    line-height: 1.75;
}

.admission .c-gray {
    color: #777;
}

.admission .c-gray-light {
    color: #999;
}

.admission .t-small {
    font-size: 10px;
}

.admission .t-smaller {
    font-size: 9px;
}

.admission .app-fio {
    font-size: 0.7em;
    color: #777;
}

.admission-table td:has(.app-fio) {
    text-align: left;
}

.admission .stats-c small {
    font-size: 0.5em;
    color:#888;
}

.admission .stats-c.subject-score > div {
    display: flex;
    text-align: left;
    gap: 2px;
    align-items: baseline;
}

.admission .stats-c.subject-score > div > :last-child {
    flex: 1;
    font-size: 9px;
    color: #888;
}

.admission .stats-c.subject-score > div > :first-child {
    flex: 1;
    text-align: right;
}

.admission-subject {
    margin: 4px 0;
}

.admission-subject-tag {
	font-size: 0.7em;
	display: inline-flex;
	background-color: rgba(255, 21, 82, 0.4);
	padding: 2px 4px 1px 4px;
	border-radius: 6px;
	white-space: nowrap;
	text-transform: uppercase;
	height: 18px;
	min-width: 18px;
	align-items: center;
	justify-content: center;
}

.admission-subject-tag-1 {
    background-color: rgba(151, 189, 0, 0.4);
}

.admission-subject-tag-2 {
    background-color: rgba(255, 142, 0, 0.4);
}

.admission-subject-tag-3 {
    background-color: rgba(0, 138, 213, 0.3);
}
