.edit-container {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 215;
    overflow-x: hidden;
    transition: 0.2s all ease;
}

.edit-container.open-edit-notes {
    background: rgba(0, 0, 0, 0.32);
}

.edit-support {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 370px;
    transform: translateX(100%);
    background: #FFFFFF;
    transition: 0.4s all ease;
    overflow: hidden;
}

.edit-support.second {
    width: calc(100% - 370px);
}

.open-edit-notes.one-step .edit-support.first {
    transform: translateX(0);
    box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.2), 0 0 24px 2px rgba(0, 0, 0, 0.14), 0 0 30px 5px rgba(0, 0, 0, 0.12);
}

.open-edit-notes.one-step .edit-support.first.aux-window {
    width: calc(100% - 370px);
}

.open-edit-notes.two-step .edit-support.second,
.open-edit-notes.unique-step .edit-support.second {
    transform: translateX(0);
    box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.2), 0 0 24px 2px rgba(0, 0, 0, 0.14), 0 0 30px 5px rgba(0, 0, 0, 0.12);
}

.open-edit-notes.two-step .edit-support.first {
    transform: translateX(-100vw) translateX(370px);
}

.intern-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.2s all ease;
}

.open-edit-notes.two-step .intern-overlay {
    display: block;
    background: rgba(0, 0, 0, 0.32);
}

@media screen and (max-width: 991px) {
    .edit-support,
    .edit-support.second {
        width: 100%;
    }

    .open-edit-notes.two-step .edit-support.first {
        transform: translateX(-100vw) translateX(100%);
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .edit-support.second {
        width: calc(100% - 124px);
    }
}

@media screen and (min-width: 992px) and (max-width: 1279px) {
    .edit-support.second {
        width: calc(100% - 124px);
    }
}

.edit-nav {
    display: flex;
    position: sticky;
    background: #FFFFFF;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #eee;
    padding: 0 16px;
}

.edit-nav.aux-nav {
    display: none;
}

.edit-nav button.back-button {
    margin: auto 0;
    min-width: 34px;
    border: none;
}

.edit-nav button.back-button .wlh-btn-icon i {
    font-size: 24px;
}

.edit-nav .nav-title {
    width: 100%;
    height: auto;
    margin: auto 12px;
    font-weight: 600;
    line-height: 120%;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edit-nav .nav-buttons {
    width: auto;
    height: auto;
    min-width: max-content;
    margin: auto 0;
}

.edit-nav .nav-buttons button {
    color: var(--w-color-primary);
    margin-left: 8px;
    border: none;
}

.nav-button-mobile {
    display: none;
}

.edit-nav .nav-buttons button:first-of-type {
    margin-left: 0;
}

.edit-body {
    width: 100%;
    height: calc(100% - 50px);
    position: relative;
}

.edit-body.secondary {
    padding-bottom: 0;
    overflow: hidden;
}

.edit-loading-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    z-index: 5;
    padding: 56px 0;
}

.file-left-side {
    float: left;
    width: 370px;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid #eee;
    padding-bottom: 70px;
}

.file-right-side {
    float: left;
    display: flex;
    width: calc(100% - 371px);
    height: 100%;
    background: #FAFAFA;
}

.file-right-side.show-document-side {
    display: flex;
    flex-flow: column;
}

.open-edit-notes.one-step .edit-support.first.aux-window .file-right-side {
    display: initial;
    padding-bottom: 70px;
    overflow-y: auto;
}


@media screen and (max-width: 991px) {
    .file-right-side.movement-support, .file-right-side.file-movement-support {
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(100%);
    }
    .edit-support.aux-window .file-right-side.movement-support, .file-right-side.file-movement-support {
        transform: translateX(0%);
        right: 0;
        bottom: 0;
        z-index: 6;
        overflow-y: auto;
    }

    .edit-support.aux-window .edit-body, .edit-support .edit-body.aux-move {
        overflow-y: hidden !important;
    }
}

.open-edit-notes.one-step .edit-support.first.aux-window .file-right-side .infobox {
    width: calc(100% - 36px);
    margin-top: 24px;
}

.file-right-side .edit-inner-title {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    padding: 16px;
}

.edit-body.secondary .file-right-side img.document-to-show {
    width: calc(100% - 32px);
    height: auto;
    margin: 16px;
    user-select: none;
    pointer-events: none;
}

.file-right-side .loader-content {
    margin: auto;
}

.file-right-side .no-preview-file-button {
    width: 70%;
    margin: auto;
    text-align: center;
}

.file-right-side .no-preview-file-button .text {
    margin-bottom: 24px;
}

.aux-support-actions {
    width: 100%;
    height: auto;
    margin-top: 16px;
    text-align: right;
    padding: 0 16px;
}

.aux-support-actions button {
    color: var(--w-color-primary);
    margin-left: 16px;
}

.aux-support-actions button.submit-template-button {
    border-color: var(--w-color-primary);
    background: transparent;
}

.edit-inner-section {
    width: 100%;
    height: auto;
    padding: 16px;
    margin-bottom: 24px;
}

.edit-inner-section.no-padding {
    padding: 0;
}

.edit-inner-section.edit-notes-file-content.is-folder .editable-category-template, .edit-inner-section.edit-notes-file-content.is-folder .editable-teacher-template,
.edit-inner-section.edit-notes-file-content.is-folder .editable-comments-template, .edit-inner-section.edit-notes-file-content.is-folder .editable-anonymous-template {
    display: none;
}

.edit-inner-title {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    font-size: 15px;
    font-family: "open sans", sans-serif;
    color: var(--w-color-black);
    font-weight: 700;
    letter-spacing: -0.28px;
}

.edit-inner-title.ed-files {
    margin-bottom: 6px;
}

.no-padding .edit-inner-title {
    padding: 0 16px;
}

.edit-inner-content {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
}

.edit-inner-content.flow-column {
    flex-flow: column;
}

.edit-inner-content .money-label {
    color: #468847;
    line-height: 24px;
    height: 18px;
    font-size: 14px;
    font-weight: 700;
    background-color: #5fdba7;
    border-radius: 4px;
    height: 24px;
    width: auto;
    padding: 0 8px;
    max-width: max-content;
    cursor: default;
}

.ed-stat-item {
    display: flex;
    width: auto;
    min-width: max-content;
    padding: 0 8px;
    margin-left: 12px;
    height: 24px;
    align-items: center;
}

.ed-stat-item .ed-si-icon {
    width: auto;
    margin: auto 0;
    display: flex;
}

.ed-stat-item .ed-si-icon i {
    font-size: 18px;
    color: #b6b6b6;
}

.ed-stat-item .ed-si-text {
    color: #b6b6b6;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    margin-left: 6px;
    font-size: 14px;
}

.edit-file-item {
    width: calc(100% - 16px);
    height: auto;
    padding: 12px 6px;
    padding-left: 0;
    margin-left: 16px;
    border-bottom: 1px solid var(--w-color-background);
    display: flex;
    cursor: pointer;
    transition: 0.2s all ease;
}

.edit-file-item:last-of-type {
    border: none;
}

.edit-file-item:hover {
    background: var(--w-color-gray-box);
}

.edit-file-item .edit-file-asset {
    width: 24px;
    min-width: 24px;
    height: auto;
    margin-right: 12px;
    margin-bottom: auto;
}

.edit-file-item .edit-file-asset img {
    display: inline-block;
    width: 100%;
    height: auto;
}

.edit-file-item .edit-file-information {
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: column;
}

.edit-file-item .edit-file-information .edit-file-line {
    display: flex;
    align-items: center;
}

.edit-file-item .edit-file-information .edit-file-line .money-label {
    height: 18px;
    line-height: 18px;
    padding: 0 4px;
    font-size: 11px;
}

.edit-file-item .edit-file-information .edit-file-line .ed-stat-item {
    height: 18px;
    margin-left: 8px;
    padding: 0 4px;
}

.edit-file-item .edit-file-information .edit-file-line .ed-stat-item .ed-si-icon i {
    font-size: 14px;
}

.edit-file-item .edit-file-information .edit-file-line .ed-stat-item .ed-si-text {
    font-size: 13px;
    margin-left: 4px;
}

.edit-file-item .edit-file-information .edit-file-line.main {
    width: 100%;
    height: auto;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 8px;
}

.edit-file-item .aux-icon {
    width: auto;
    min-width: max-content;
    height: auto;
    margin: auto 0;
    color: var(--w-color-anchored-click);
    margin-left: 8px;
}

.add-documents-button {
    max-width: 160px;
    margin: auto;
    margin-top: 16px;
    border-color: var(--w-color-primary) !important;
    color: var(--w-color-primary) !important;
}

.editable-template {
    margin-right: 0;
    margin-left: 16px;
    width: calc(100% - 16px);
}

.editable-template .label-side {
    margin: auto;
    margin-left: 16px;
}

.editable-template.onedit {
    margin-left: 0;
    width: 100%;
}

#editDeleteUploadAndDocuments {
    margin: 0 calc(50% - 155px);
    width: 280px;
    color: var(--w-color-red);
}

.second-step-actions {
    width: 100%;
    height: auto;
    margin-top: 16px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
}

.second-step-actions button {
    color: var(--w-color-primary);
    border-color: var(--w-color-primary);
    margin-left: 16px;
}

.second-step-actions button.delete-second {
    width: 100%;
    color: var(--w-color-red);
    border-color: var(--w-color-red);
    margin-left: 0;
}

@media screen and (max-width: 991px) {
    .nav-button {
        display: none;
    }

    .nav-button-mobile {
        display: initial;
    }

    .aux-opened .edit-nav {
        display: none;
    }

    .aux-opened .edit-nav.aux-nav {
        display: flex;
    }

    .edit-body,
    .edit-body.secondary {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .file-left-side {
        width: 100%;
        overflow: hidden;
        padding-bottom: 16px;
        height: auto;
        margin-bottom: 16px;
    }

    .file-right-side {
        width: 100%;
        background: #FFFFFF;
        transition: 0.2s all ease;
    }

    .edit-container.open-edit-notes.aux-opened .edit-support.aux-window {
        width: 100%;
    }

    .edit-container.open-edit-notes.aux-opened .edit-support.aux-window .edit-body {
        overflow-y: hidden;
    }

    .open-edit-notes.one-step .edit-support.first.aux-window .file-right-side {
        position: absolute;
        left: 0;
        z-index: 5;
        width: 100%;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .aux-opened .edit-nav {
        display: none;
    }

    .aux-opened .edit-nav.aux-nav {
        display: flex;
    }

    .edit-body.secondary {
        overflow-y: auto;
    }

    .edit-support.second .file-left-side {
        width: 100%;
        overflow: hidden;
        padding-bottom: 16px;
        height: auto;
        margin-bottom: 24px;
    }

    .file-right-side {
        width: 100%;
    }

    .open-edit-notes.one-step .edit-support.first.aux-window .file-right-side {
        position: absolute;
        left: 0;
        z-index: 5;
        width: 100%;
    }

    .edit-container.open-edit-notes.aux-opened .edit-support.aux-window {
        width: calc(100% - 124px);
    }
}

@media screen and (min-width: 992px) and (max-width: 1279px) {
    .aux-opened .edit-nav {
        display: none;
    }

    .aux-opened .edit-nav.aux-nav {
        display: flex;
    }

    .open-edit-notes.one-step .edit-support.first.aux-window .file-right-side {
        position: absolute;
        left: 0;
        z-index: 5;
        width: 100%;
    }

    .edit-container.open-edit-notes.aux-opened .edit-support.aux-window {
        width: calc(100% - 124px);
    }
}

.old-version-advice {
    width: 100%;
    height: auto;
    padding: 10px 16px;
    background: var(--w-color-orange);
    font-weight: 700;
    color: #FFFFFF;
    font-size: 14px;
    display: flex;
    line-height: 16px;
}

.old-version-advice span {
    margin: auto;
    margin-left: 0;
    margin-right: 16px;
}

.old-version-advice button {
    margin: auto 0;
    min-width: max-content;
}