/* @define SkillsEditor */
.SkillsEditor {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 140px);
    max-height: calc(100vh - 140px);
}

.SkillsEditor-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 1em;
    height: 100%;
}

.SkillsEditor-sidebar {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.SkillsEditor-main {
    padding-left: 1rem;
}

/* Hide original left border in stacked layout */
@media (width <= 992px) {
    .SkillsEditor-sidebar {
        max-height: 300px;
        border-right: none;
    }

    .SkillsEditor-main {
        border-top: 1px solid #e9ecef;
        padding-top: 1rem;
        padding-left: 0;
    }
}

.SkillsEditor-editorPane {
    width: 100%;
}

.SkillsEditor-addTraitButton {
    float: right;
    margin-left: 15px;
}

.SkillsEditor-modalHeader {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.SkillsEditor-modalCloseIcon {
    color: grey;
    cursor: pointer;
    margin-right: 5px;
    margin-top: 5px;
}

.SkillsEditor-modalUserNotInDefaultLocaleWarning {
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
}

.SkillsEditor-markedForDeletionBanner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 15px;
    background: #fdf2d1;
    border: 1px solid #fceec0;
    border-radius: 4px;
}

.SkillsEditor-markedForDeletionBannerText {
    max-width: 85%;
    margin-right: 15px;
    font-size: 14px;
    color: #806420;
}

.SkillsEditor-editorPaneHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.SkillsEditor-editorPaneHeaderText {
    margin: 0;
}

.SkillsEditor-linkToHighestAncestorEntityMarkedForDeletion {
    color: #806420;
    text-decoration: underline;
}
