﻿.document-section {
    padding: 36px 0; 
}
    .document-section h2 {
        padding: 0 36px;
        font-weight: 600;
    }

.document-header-bar {
    padding: 12px 36px 0px;
}

.document-header {
    /*margin-left: 10px;*/
}
    .document-header h2 {
        font-weight: 600;
    }

.document-header-btn a {
    padding: 18px;
    background: #cbd0db;
    border-radius: 12px;
    color: #575858;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}
    .document-header-btn a:hover {
        background: #b6bbc7;
        text-decoration: none;
    }

.document-body {
    display: flex;
    /*flex-wrap: wrap;*/
    padding: 15px 36px;
}

.document-menu {
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #e1e3e5;
    border-radius: 16px;
    box-shadow: 0 4px 32px -16px rgba(31,33,35,.24);
    left: auto !important;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    right: 16px !important;
    top: 64px !important;
    transition: all .5s ease-in-out;
    width: 350px;
    z-index: 23;
    padding: 18px;
    margin-right: 36px;
}

.document-list {
    padding: 8px;
}
    .document-list a {
        align-items: center;
        border-radius: 12px;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        margin-bottom: 2px;
        padding: 12px;
        color: #1f2123;
    }
        .document-list a:hover {
            background: #f9fafb;
            text-decoration: none;
            color: #1f2123;
        }

.document-list-icon {
    background: #f1f3f5;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 16px;
    width: 4vh;
    text-align: center;
}

.document-list-item {
    align-items: center;
    display: flex;
    flex: 1;
    /* flex-direction: column; */
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.8rem;
}

.document-list-active a {
    background: #e7e7e7;
}
    .document-list-active a:hover {
        background: #e7e7e7;
    }

.document-item {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    /*min-height: calc(100vh - 136px);*/
    overflow: hidden;
    width: 100%;
    max-width: 115vh;
    background: #fff;
}

.document-header {
    background: #e6e6e6;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-header span {
    font-size: 25px;
    font-weight: 600;
}

.document-content {
    background: #fff;
    padding: 32px;
    /*min-height: 75vh;*/
}

.document-content-item {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 25px;
    align-items: center;
}

.content-title span {
    font-size: 18px;
    font-weight: 600;
}

.document-content-checkbox {
    width: 20px;
    height: 20px;
}

.document-footer {
    display: flex;
    justify-content: end;
    background: #fff;
    padding: 32px;
}

.all-document-list-item {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    padding: 18px;
    background: #f1f3f5;
    border-radius: 12px;
    margin-bottom: 18px;
}
    .all-document-list-item .item-title {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .all-document-list-item .edit {
        width: 100%;
        display: flex;
        justify-content: end;
        align-items: end;
    }

    .all-document-list-item .edit a {
        padding: 12px;
        color: #606060;
        text-decoration: none;
    }
        .all-document-list-item .edit a:hover {
            background: #e8e8e8;
            border-radius: 12px;
        }

.document-info {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #ededed;
    border-radius: 12px;
    margin-top: 15px;
    gap: 11px;
}

.title-edition {
    font-size: 14px;
    color: #707070;
}

.title-span {
    font-size: 14px;
    color: #707070;
}

.add-document-item-type {
    display: flex;
    align-items: center;
    text-decoration: none;
}
    .add-document-item-type:hover {
        /*background: #e4dfdb;
        border-radius: 12px;*/
        text-decoration: none;
    }
.document-item-type-list {
    padding: 0px 18px 6px;
}

.item-type-item {
    background: #e6e6e6;
    border-radius: 12px;
    padding: 25px 25px 0;
}

.document-itemtype-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .document-itemtype-label a {
        margin-right: 5px;
        font-size: 16px;
    }

.item-body .item-input {
    margin-bottom: 18px;
}

.document-item-list {
    padding: 0 12px;
}

.document-item-list-body {
    padding: 8px;
    max-height: 65vh;
    overflow: auto;
}

.document-item-list-body a {
    font-size: 16px;
    margin-right: 4px;
}

.all-document-edit-footer {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
}

/*.edit-card-item .item-input select {
    background: #f1f3f5;
    background-clip: border-box;
    border: none;
    border-radius: 2px;
    color: #1f2123;
    font-size: 16px;
    line-height: 24px;
    outline: none;
    padding: 12px 16px;
    resize: none;
    width: 100%;
    border-radius: 10px;
    max-width: 100% !important;
    font-size: 14px;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    text-align: left;
}*/

@media(max-width: 768px) {
    .document-section {
        padding: 12px 0;
    }

    .document-section-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .document-lg-menu {
        display: block !important;
        font-size: 18px;
        margin-top: 12px;
    }

    .document-menu {
        width: 100%;
        margin-bottom: 25px;
        display: none;
        opacity: 0;
    }

    .document-body {
        display: contents;
    }

    .all-document-list-item {
        flex-direction: column;
    }

        .all-document-list-item .edit {
            justify-content: space-around;
            margin-top: 15px;
        }

    .document-section h2 {
        padding: 0 12px;
    }
}