.path-grade-report .gradeparent tr:nth-of-type(even) th.item.cell a, .path-grade-report-grader .gradeparent .heading div.item.cell a {
    margin-left: 5px;
    display: inline-block;
    transform: translate(0px,-4px);
}
.path-grade-report .gradeparent tr.heading th.item.cell a:first-child, .path-grade-report-grader .gradeparent .heading div.item.cell a:first-child {
    margin-left: 0px;
    transform: unset;
}
.path-grade-report-grader .gradeparent .heading div.item.cell, .path-grade-report-grader .gradeparent .heading div.header.cell, .path-grade-report-grader .gradeparent .heading div.courseitem.cell, .path-grade-report-grader .gradeparent .heading div.categoryitem.cell {
    display: flex;
    align-items: flex-end;
}
body.path-grade-report-grader .otfloater.sideonly.heading div.header {
    width: calc(100% - 1px) !important;
    height: calc(100% - 1px);
    padding: 0px;
    margin: 0;
    justify-content: center;
}
/* Выравнивание заголовка столбца с email пользователя по нижнему краю поля заголовка */
.path-grade-report .gradeparent tr.heading th.userfield.useremail.cell {
    vertical-align: bottom;
}
/* Выравнивание заголовка столбца с ФИО пользователя по нижнему краю поля заголовка */
.path-grade-report .gradeparent tr.heading th.header#studentheader.cell {
    vertical-align: bottom;
}
.path-grade-report .gradeparent tr.heading th.header.userfield.cell {
    vertical-align: bottom;
}
.path-grade-report .gradeparent tr.heading th.courseitem.cell {
    vertical-align: bottom;
}
.path-grade-report .gradeparent tr.heading th.categoryitem.cell {
    vertical-align: bottom;
}
.path-grade-report-grader .gradeparent .highlightable.cell {
    min-width: 0;
}
/* Выравниваем вертикальные заголовки столбцов с оценками по центру */
.path-grade-report .gradeparent tr.heading [data-collapse="content"]{
    align-self: anchor-center;
}
/* Делаем заголовки столбцов с оценками вертикальными */
.path-grade-report .gradeparent tr.heading th.item.cell [data-collapse="content"],
.path-grade-report .gradeparent tr.heading th.categoryitem.cell [data-collapse="content"],
.path-grade-report .gradeparent tr.heading th.courseitem.cell [data-collapse="content"] {
    writing-mode: vertical-rl;
}
/* Оставляем меню в заголовках горизонтальным */
.path-grade-report .gradeparent tr.heading [data-collapse="content"] div.dropdown-menu{
    writing-mode: horizontal-tb;
}
/* Убираем лишний padding слева в заголовке столбца с оценками*/
.path-grade-report-grader .heading .gradeitemheader {
    padding-left: inherit;
}
/* Позиционируем названия и иконки в заголовках столбцов с оценками,
ограничиваем высоту названий (если слишком длинное, то перенос на другую строку) */
th.item.cell a.gradeitemheader,
th.categoryitem.cell span.gradeitemheader,
th.courseitem.cell span.gradeitemheader {
    max-height: 20em;
    text-indent: -4em;
    padding-top: 2em;
}
/* Позиционируем иконку элемента оценкивания */
a.gradeitemheader img.icon.itemicon,
a.gradeitemheader i.icon.itemicon,
span.gradeitemheader img.icon.itemicon,
span.gradeitemheader i.icon.itemicon{
    margin-top: 2em;
    margin-bottom: 0.5em;
}
/* Выравнивание кнопки меню в заголовке относительно первой строки названия элемента оценивания */
.path-grade-report-grader .gradeparent tr.heading [data-collapse="content"] .action-menu {
    margin-right: -.1em;
}