
.ck-container {
	width: 100%;
}

.editor-container_document-editor {
	border: 1px solid var(--ck-color-base-border);
}

.editor-container_document-editor .editor-container__toolbar > .ck.ck-toolbar {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}

.editor-container_document-editor .editor-container__editor-wrapper {
	max-height: var(--ckeditor5-preview-height);
	min-height: var(--ckeditor5-preview-height);
	overflow-y: scroll;
	background: var(--ck-color-base-foreground);
}

.editor-container_document-editor .editor-container__editor {
	margin-top: 28px;
	margin-bottom: 28px;
	height: 100%;
	width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.editor-container_document-editor .editor-container__editor .ck.ck-editor__editable {
	box-sizing: border-box;
	height: 100%;
	padding: 10mm;
	border: 1px hsl(0, 0%, 82.7%) solid;
	background: hsl(0, 0%, 100%);
	box-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);
	flex: 1 1 auto;
	margin-left: 72px;
	margin-right: 72px;
}

.editor-container_document-editor .editor-container__editor .ck.ck-editor__editable[data-name="header"],
.editor-container_document-editor .editor-container__editor .ck.ck-editor__editable[data-name="footer"]{
	padding: 0;
}

.editor-container_document-editor .editor-container__editor[data-orientation="portrait"] .ck.ck-editor__editable {
	min-width: calc(210mm + 2px);
	max-width: calc(210mm + 2px);
	min-height: 297mm;
}

.editor-container_document-editor .editor-container__editor[data-orientation="landscape"] .ck.ck-editor__editable {
	min-width: 297mm;
	max-width: 297mm;
	min-height: calc(210mm + 2px);
}

.ckeditor-preview[data-orientation="portrait"]{
	min-height: 297mm;
}

.ckeditor-preview[data-orientation="landscape"]{
	min-height: calc(210mm + 2px);
}
