@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
body {
	font-family: "Montserrat";
}

tinymce-editor {
	display: block;
	border: 1px solid #e9e8eb;
	border-radius: 6px;
	transition: border-color 0.2s ease-in-out;
}

.tox-tinymce.tox-edit-focus {
	border: 1px solid #34c5c9 !important;
	border-radius: 6px !important;
}
.tox-tinymce {
	border: 1px solid #e9e8eb !important;
	border-radius: 6px !important;
}

tinymce-editor .tox {
	border: none !important;
}

tinymce-editor .tox-editor-container {
	border: none !important;
	box-shadow: none;
}

/* Hide the header when editor is empty and not focused */
tinymce-editor.ng-empty + .tox .tox-editor-header {
	border-bottom: none !important;
	display: none;
}
tinymce-editor.ng-empty:not(.editor-focused) + .tox {
	height: 30px !important;
}
tinymce-editor.ng-not-empty + .tox {
	/* height: revert !important; */
	min-height: 126px;
}
tinymce-editor.ng-empty.editor-focused + .tox {
	/* height: revert !important; */
	min-height: 126px;
}
/* Hide the header when editor is empty and not focused */
tinymce-editor.ng-not-empty + .tox .tox-editor-header {
	display: flex;
}

/* Show the header when editor is empty and focused */
tinymce-editor.ng-empty.editor-focused + .tox .tox-editor-header {
	display: flex;
}

/* tinymce-editor .tox-tinymce {
	border: none !important;
	box-shadow: none;
} */

.tox .tox-edit-area::before {
	border: 0px !important;
}

.tox:not(.tox-tinymce-inline) .tox-editor-header {
	box-shadow: none !important;
}
body.mce-content-body {
	margin: 2px 6px !important;
}
body.mce-content-body p {
	margin: 4px 2px !important;
}
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
	color: #2f2b3d6b !important;
	font-size: 14px;
}
