/* Release 1.10.131: use the submission editor UI for frontend news editing. */

body.cs2day-v2 .cs2-news-edit-dialog__editor {
	min-width: 0;
}

body.cs2day-v2 .cs2-news-edit-dialog__editor > label {
	display: block;
	font-weight: 800;
	margin-bottom: 8px;
}

body.cs2day-v2 .cs2-news-edit-dialog__editor .cs2-news-editor-modes,
body.cs2day-v2 .cs2-news-edit-dialog__editor .cs2-news-visual-toolbar {
	margin-bottom: 8px;
}

body.cs2day-v2 .cs2-news-edit-dialog__editor .cs2-news-visual-editor,
body.cs2day-v2 .cs2-news-edit-dialog__editor textarea {
	box-sizing: border-box;
	min-height: 360px;
	width: 100%;
}

body.cs2day-v2 .cs2-news-edit-dialog__editor .cs2-news-visual-editor {
	background: var(--cs2-v2-bg);
	border: 1px solid var(--cs2-v2-border);
	border-radius: 5px;
	color: var(--cs2-v2-text);
	line-height: 1.65;
	overflow: auto;
	padding: 14px;
}

body.cs2day-v2 .cs2-news-edit-dialog__editor .cs2-news-visual-editor:focus {
	border-color: var(--cs2-v2-accent);
	outline: 2px solid color-mix(in srgb, var(--cs2-v2-accent) 22%, transparent);
}
