.agersoe-editor,
.agersoe-editor * {
	box-sizing: border-box;
}

.agersoe-editor {
	min-width: 0;
	min-height: 380px;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.agersoe-editor:focus-within {
	border-color: #1769aa;
	box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.1);
	outline: none;
}

.agersoe-editor .ck-editor__top {
	border-bottom: 1px solid #e2e9ed;
}

.agersoe-editor .ck-toolbar {
	border: 0;
	background: #f7fafb;
}

.agersoe-editor .ck-toolbar__items {
	flex-wrap: wrap;
}

html.admin-bar .agersoe-editor .ck-sticky-panel__content_sticky,
body.admin-bar .agersoe-editor .ck-sticky-panel__content_sticky {
	top: var(--wp-admin--admin-bar--height, 32px) !important;
}

@media screen and (max-width: 782px) {
	html.admin-bar .agersoe-editor .ck-sticky-panel__content_sticky,
	body.admin-bar .agersoe-editor .ck-sticky-panel__content_sticky {
		top: 46px !important;
	}
}

.agersoe-editor .ck-editor__editable_inline {
	min-height: 320px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 28px 34px 40px;
	border: 0;
	box-shadow: none;
	color: #344a57;
	font-size: 17px;
	line-height: 1.7;
}

.agersoe-editor .ck-editor__editable_inline:focus {
	border: 0;
	box-shadow: inset 0 0 0 3px rgba(23, 105, 170, 0.1);
	outline: none;
}

.agersoe-editor .ck-content table {
	width: 100%;
	border-collapse: collapse;
}

.agersoe-editor .ck-content table td,
.agersoe-editor .ck-content table th {
	min-width: 80px;
	padding: 10px;
	border: 1px solid #ccd9e1;
}

.agersoe-editor .ck-content table th {
	background: #f7fafb;
	font-weight: 600;
}

.agersoe-editor .ck-content .image img {
	display: block;
	height: auto;
	max-width: 100%;
}

.agersoe-editor .ck-content .image-style-align-left {
	float: left;
	margin-left: 0 !important;
	margin-right: 1.5em !important;
}

.agersoe-editor .ck-content .image-style-align-center {
	float: none;
	margin-left: auto !important;
	margin-right: auto !important;
}

.agersoe-editor .ck-content .image-style-align-right {
	float: right;
	margin-left: 1.5em !important;
	margin-right: 0 !important;
}

.agersoe-editor-page .ck-powered-by {
	display: none !important;
}

.agersoe-editor__status {
	min-height: 22px;
	margin: 8px 2px 0;
	color: #677985;
	font-size: 14px;
}

.agersoe-editor__status:empty {
	display: none;
}

.agersoe-editor__status.is-loading {
	color: #176fa7;
}

.agersoe-editor__status.is-error {
	color: #8e3535;
}

.agersoe-editor__content-fallback {
	display: none;
}

@media (max-width: 640px) {
	.agersoe-editor .ck-editor__editable_inline {
		padding: 20px 18px 30px;
	}

	.agersoe-editor .ck-widget__resizer__handle {
		width: 10px;
		height: 10px;
	}

	.agersoe-editor .ck-widget__resizer__handle {
		display: none;
	}

	.agersoe-editor-page .ck-balloon-panel .ck-list__item .ck-button {
		min-height: 42px;
		padding: 10px 14px;
	}
}
