﻿.GradesEditor {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
}

.GradesEditor-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 1em;
    height: 100%;
}

.GradesEditor-tabContent {
    padding-top: 15px;
    height: 100%;
    overflow-x: hidden;
}

.GradesEditor-formTabContent {
    margin-left: -15px;
}

.GradesEditor-tabPane {
    height: 100%;
}

.GradesEditor-tabsBlock {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

.GradesEditor-tabsBlock > div {
    flex-grow: 0;
}

.GradesEditor-tabsBlock div.tab-content {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 100%;
}

.GradesEditor-markedForDeletionBanner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 15px;
    background: #fdf2d1;
    border: 1px solid #fceec0;
    border-radius: 4px;
}

.GradesEditor-markedForDeletionBannerText {
    margin-right: 15px;
    font-size: 14px;
    color: #806420;
}

.GradesEditor-editorPaneHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.GradesEditor-editorPaneHeaderText {
    display: flex;
}

.GradesEditor-isDefaultIcon {
    font-size: 18px;
    padding: 10px 0 0 10px;
}

.GradesEditor-hasHoursIcon {
    font-size: 18px;
    padding: 10px 0 0 10px;
}

.GradesEditor-buttonContainer {
    display: flex;
}

.GradesEditor-markForDeletionButton {
    float: right;
    margin-left: 15px;
}

.GradesEditor-makeDefaultButton {
    float: right;
    margin-left: 15px;
}

@media (width <= 992px) {
    .GradesEditor-body {
        flex-direction: column;
        width: 100%;
    }

    .GradesEditor-treeSelector {
        height: 300px;
        width: 100%;
    }

    .GradesEditor-editorPane {
        padding-top: 15px;
        border-top: 1px solid var(--border-subtle);
    }
}
