/*
* Copy this file into your theme to customize the module.
* https://www.phpboost.com/wiki/structure-d-un-theme#paragraph-le-repertoire-modules
*/

div.mce-edit-area,
div.mce-statusbar {
	margin-left: auto;
	margin-right: auto;
	width: 98%;
}

label.mce-wordcount {
	position: relative;
}

div.mce-window-head {
	padding: 20px 15px;
}

.form-element-textarea .form-field-textarea div {
	float: none;
}

.tox-sidebar-wrap .tox-edit-area {
	padding: 15px;
}

.mce-resizehandle {
	margin-bottom: 5px !important;
}

div[id$="rich_text_field"].editor-tinymce .form-field-textarea.field-required:after,
div[id$="rich_text_field"].editor-tinymce.constraint-status-right .form-field-textarea.field-required:after,
div[id$="rich_text_field"].editor-tinymce.constraint-status-error .form-field-textarea.field-required:after {
	top: auto;
	right: 28px;
}

div[id$="rich_text_field"].editor-tinymce.constraint-status-error .form-field-textarea.field-required:after {
	bottom: 10px;
}

div[id$="rich_text_field"].editor-tinymce.constraint-status-right .form-field-textarea.field-required:after {
	bottom: 8px;
}

.mce-content-body blockquote {
	margin: 0.456em;
	padding: 0.618em 1.618em;
	background-color: var(--bgc-sub);
	position: relative;
	font-style: italic;
}

.mce-content-body blockquote::before,
.mce-content-body blockquote::after {
	position: absolute;
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 1em;
}

.mce-content-body blockquote::before {
	content: '\f10d';
	top: -0.256em;
	left: -0.256em;
}

.mce-content-body blockquote::after {
	content: '\f10e';
	bottom: -0.256em;
	right: -0.1618em;
}