.dms_document_controls {
    padding: 5px 0 10px 0;
}

.dms_document_preview {
    height: 100% !important;
    .o_preview_directory_body {
        display: flex;
        flex-wrap: wrap;
        margin-right: -16px;
        margin-left: -16px;
        .o_preview_directory_icon {
            flex: 0 1 auto;
        }
        .o_preview_directory_table_body {
            flex: 1 1 auto;
        }
    }
}

.dms_document_col_preview {
    position: relative;
    .o_dropzone {
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: #aaaa;
        z-index: 2;
        left: 0;
        top: 0;
        i {
            justify-content: center;
            display: flex;
            align-items: center;
            height: 100%;
        }
    }
}

.dms_treeview {
    height: 100%;
    .dms_document_container {
        height: 100%;
        .dms_document_col {
            padding: 0;
            width: 50%;
        }
        @media (max-width: 768px) {
            width: 100%;
            .dms_document_col {
                width: 100%;
            }
            .dms_document_col_preview {
                display: none !important;
            }
        }
        @media (min-width: 769px) {
            .dms_document_col_tree > div {
                border-right-width: 3px;
                border-right-style: solid;
                border-right-color: #888;
            }
        }
        .dms_document_row {
            height: 100% !important;
            .dms_document_col_tree > div {
                height: 100%;
                .dms_document_tree {
                    height: 100%;
                    .dms_content,
                    .dms_tree {
                        height: 100%;
                    }
                }
            }
        }
    }
}

.vakata-context {
    z-index: 9999;

    .vakata-context-parent + ul {
        list-style: none;
        left: 100%;
        margin-top: -2.58em;
        margin-left: 2px;
    }
}
