.editor-toolbar {
	display: none;
}

.loadData {
	display: none;
}

.editorBlog[hidden] {
	display: none !important;
}

.loadData.editor-lazy-preview,
#loadData.editor-lazy-preview{
	display: block;
	position: relative;
	min-height: 6em;
	padding: 1em;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	max-height: 15em;
	overflow: hidden;
}

.loadData.editor-lazy-preview.is-empty::before,
#loadData.editor-lazy-preview.is-empty::before {
	content: "Aucun contenu pour le moment.";
	color: #6b7280;
	font-style: italic;
}

.editor-lazy-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: rgba(15, 23, 42, .75);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s ease;
	opacity: .3;

}

.editor-lazy-overlay:hover,
.editor-lazy-overlay:focus-visible {
	background: rgba(15, 23, 42, 1);
}

.editor-lazy-overlay:focus-visible {
	outline: 3px solid #60a5fa;
	outline-offset: -3px;
}

.editor-lazy-overlay:disabled {
	cursor: wait;
}

#saveButtonBlogContainer{
	display: flex;
	justify-content: flex-end;
	padding-top: 1.5em;
}

#saveButtonBlog {
	background-color: #28a745;
	color: white;
	padding: 1em 1.5em;
	text-align: left;
	border-radius: 10px;
	cursor: pointer;
}

img {
	height: auto;
}

.wyswyg-content .jodit-wysiwyg {
	min-height: 10em;
}

.wyswyg-content {
	display: flow-root;
}

.wyswyg-content img {
	max-width: 100%;
	height: auto;
}

.wyswyg-content figure.image,
.wyswyg-content figure.table {
	margin: 1em auto;
	max-width: 100%;
}

.wyswyg-content figure.image {
	display: table;
}

.wyswyg-content figure.image img {
	display: block;
	width: 100%;
}

.wyswyg-content figure.image.image-style-side,
.wyswyg-content figure.image.image-style-align-right {
	float: right;
	margin: .35rem 0 1rem 1.25rem;
}

.wyswyg-content figure.image.image-style-align-left {
	float: left;
	margin: .35rem 1.25rem 1rem 0;
}

.wyswyg-content figure.image.image-style-align-center {
	margin-left: auto;
	margin-right: auto;
}

.wyswyg-content figcaption {
	padding: .5em;
	background: #f7f7f7;
	font-size: .875em;
	text-align: center;
}

.wyswyg-content table {
	border-collapse: collapse;
	width: 100%;
}

.wyswyg-content th,
.wyswyg-content td {
	border: 1px solid #bfbfbf;
	padding: .4em;
}

.wyswyg-content .todo-list {
	list-style: none;
}

.wyswyg-content .todo-list__label {
	display: flex;
	align-items: baseline;
}

.wyswyg-content .todo-list input[type="checkbox"] {
	display: inline-block;
	width: auto;
	margin-right: .5em;
}

.wyswyg-content .todo-list input[type="checkbox"] + span {
	display: inline;
	width: auto;
	height: auto;
	border: 0;
	background: transparent;
	transform: none;
}

.wyswyg-content .todo-list input[type="checkbox"] + span::after {
	display: none;
}

/* Les styles des formulaires ne doivent pas étirer les boutons de Jodit. */
.wyswyg-content .jodit-container button {
	width: auto;
}

.wyswyg-content .jodit-toolbar-button__button {
	width: 100%;
}

.wyswyg-content .jodit-source__mirror {
	min-height: 240px;
}

.jodit-wysiwyg .cms-image-gallery {
	position: relative;
	box-sizing: border-box;
	min-height: 110px;
	padding: 48px 12px 12px;
	border: 1px dashed #9ca3af;
	border-radius: 4px;
}

.jodit-wysiwyg .cms-image-gallery:not(:has(img))::before {
	content: "Galerie vide — ajoutez des images";
	display: block;
	grid-column: 1 / -1;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.5;
}

.jodit-container:not(.jodit_fullsize) {
	position: relative;
}

.cms-gallery-tools {
	position: absolute;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100% - 24px);
}

.cms-gallery-tools[hidden] {
	display: none !important;
}

.cms-gallery-tools button[type="button"] {
	box-sizing: border-box;
	width: auto;
	min-height: 32px;
	margin: 0;
	padding: 5px 10px;
	border: 1px solid #2563eb;
	border-radius: 4px;
	background: #eff6ff;
	color: #1d4ed8;
	font: inherit;
	font-size: 13px;
	line-height: 1.5;
	cursor: pointer;
}

.cms-gallery-tools button:hover {
	background: #dbeafe;
}

.cms-gallery-tools button:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.cms-editor-dialog {
	box-sizing: border-box;
	width: min(90vw, 640px);
	max-width: 90vw;
	max-height: 85vh;
	margin: auto;
	padding: 24px;
	overflow: auto;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #1f2937;
	box-shadow: 0 20px 60px rgba(15, 23, 42, .3);
	font-size: 14px;
	line-height: 1.5;
}

.cms-editor-dialog::backdrop {
	background: rgba(15, 23, 42, .55);
}

.cms-editor-dialog .cms-editor-dialog__form {
	display: grid;
	gap: 16px;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.cms-editor-dialog h3 {
	margin: 0;
	color: inherit;
	font-size: 18px;
	line-height: 1.4;
}

.cms-editor-dialog .cms-editor-dialog__fields {
	display: grid;
	gap: 16px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.cms-editor-dialog .cms-editor-dialog__item > label {
	flex: 1;
	min-width: 100px;
}

@media (max-width: 600px) {
	.cms-editor-dialog .cms-editor-dialog__item {
		flex-wrap: wrap;
	}
}

.cms-editor-dialog .cms-editor-dialog__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	color: inherit;
	font-weight: 600;
}

.cms-editor-dialog input,
.cms-editor-dialog select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: auto;
	min-height: 38px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #9ca3af;
	border-radius: 4px;
	background: #fff;
	color: #111827;
	font: inherit;
}

.cms-editor-dialog input[type="file"] {
	padding: 6px;
}

.cms-editor-dialog input:focus-visible,
.cms-editor-dialog select:focus-visible,
.cms-editor-dialog button:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.cms-editor-dialog .cms-editor-dialog__actions,
.cms-editor-dialog .cms-editor-dialog__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cms-editor-dialog .cms-editor-dialog__actions {
	justify-content: flex-end;
}

.cms-editor-dialog button[type="button"],
.cms-editor-dialog button[type="submit"] {
	width: auto;
	min-height: 36px;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid #9ca3af;
	border-radius: 4px;
	background: #fff;
	color: #1f2937;
	font: inherit;
	cursor: pointer;
}

.cms-editor-dialog button[type="submit"] {
	border-color: #1d4ed8;
	background: #1d4ed8;
	color: #fff;
}

.cms-editor-dialog button:hover {
	filter: brightness(.95);
}

.cms-editor-dialog button:disabled {
	opacity: .6;
	cursor: wait;
}

.cms-editor-dialog .cms-editor-dialog__items {
	display: grid;
	gap: 8px;
	max-height: 240px;
	overflow: auto;
}

.cms-editor-dialog .cms-editor-dialog__item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
}

.cms-editor-dialog .cms-editor-dialog__item img {
	flex: 0 0 56px;
	width: 56px;
	height: 44px;
	margin: 0;
	object-fit: cover;
}

.cms-editor-dialog .cms-editor-dialog__item span {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
}

.cms-editor-dialog .cms-editor-dialog__hint {
	margin: 0;
	color: #4b5563;
	font-size: 13px;
}

.cms-editor-dialog .cms-editor-dialog__error {
	margin: 0;
	color: #b91c1c;
}

.cms-editor-dialog [hidden] {
	display: none !important;
}





figure.media.video-align-left,
figure.media.video-left {
	float: left;
	clear: none;
	margin: .35rem 1.25rem 1rem 0;
}

figure.media.video-align-right,
figure.media.video-right {
	float: right;
	clear: none;
	margin: .35rem 0 1rem 1.25rem;
}

figure.media.video-align-center,
figure.media.video-center {
	float: none;
	clear: both;
	margin: 1rem auto;
}

figure.media {
	max-width: 100%;
}

figure.media > div,
figure.media iframe {
	max-width: 100%;
}

figure.media.video-50 { width: 50%; }
figure.media.video-75 { width: 75%; }
figure.media.video-100 { width: 100%; }

@media (max-width: 700px) {
	figure.media.video-align-left,
	figure.media.video-align-right,
	figure.media.video-left,
	figure.media.video-right {
		float: none;
		clear: both;
		width: 100% !important;
		margin: 1rem auto;
	}
}

