.block_editor input[type="text"],
.block_editor input[type="file"] {
	width: 100%;
	/*border: none;*/
	outline: none;
}
/*.block_editor__item[contenteditable=true]:empty:not(:focus)::before {
	content: attr(placeholder);
	color: #999;
	pointer-events: none;
}*/
.editor_item__text {
	border: none;
	outline: none;
}
.editor_item__text p:empty:not(:focus)::before {
	content: "Введите текст";
	color: #999;
	cursor: text;
}
.editor_item__header p:empty:not(:focus)::before {
	content: "Подзаголовок";
	color: #999;
	cursor: text;
}
.editor_item__quote p:empty:not(:focus)::before {
	content: "Введите текст цитаты";
	color: #999;
	cursor: text;
}
.editor_item__list p:empty:not(:focus)::before {
	content: "Список";
	color: #999;
	cursor: text;
}
.block_editor {
	width: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}
.block_editor__header {
	/*background-color: #d9e9f5;*/
	padding: 0;
	margin-top: 15px;
}
.block_editor_btn_tools {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	background-color: #d9e9f5;
	padding: 10px;
	position: relative;
}
.block_editor__video_form,
.block_editor__image_form {
	width: 100%;
	background-color: #fff;
	display: block;
	flex-direction: column;
}
.editor_item__video video,
.editor_item__video iframe {
	width: 100%;
	max-height: 300px;
	min-height: 300px;
}
.editor_item__instagram {
	display: flex;
	justify-content: center;
}
.video_form__section,
.image_form__section {
	padding: 10px;
	border: solid 1px #ddd;
}
.video_form__section:first-child,
.image_form__section:first-child {
	border-bottom: none;
}
.video_form__input_url,
.image_form__input_url {
	padding: 10px 15px;
	font-size: 16px;
	border: 1px solid #999;
}
.video_form__section p,
.image_form__section p {
	font-size: 16px;
	color: #444;
	padding: 5px 0;
}

.block_editor__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	text-align: right;
	background-color: #fff;
	padding: 10px;
}

.block_editor__item {
	/*padding: 10px 15px;*/
}
.block_editor__item {
	/*border-bottom: 1px solid #ddd;*/
}

.editor_item__image {
	text-align: center;
	cursor: default;
}
.editor_item__image input[type="text"] {
	padding: 5px 0;
	margin-top: 5px;
	/*border: 1px solid #ddd;*/
	border: none;
	outline: none;
	color: #777;
	font-size: 16px;
}
.editor_item__image input[type="text"]::placeholder {
	font-size: 16px;
}
.editor_item__image img {
	width: 100%;
	height: auto;
}

.editor_item__text,
.editor_item__quote,
.editor_item__list {
	line-height: 160%;
	font-size: 16px;
}
.editor_item__text p,
.editor_item__quote p,
.editor_item__list p,
.editor_item__header p {
	min-height: 24px;
	padding: 0;
	margin: 0;
}
.editor_item__text p {
	/*margin-bottom: 10px;*/
	font-size: 18px;
}
.editor_item__text p:last-child,
.editor_item__quote p:last-child,
.editor_item__list p:last-child {
	margin-bottom: 0;
}
.editor_item__list p::before {
	content: "\2981";
	margin-right: 10px;

}
.editor_item__header {
	font-size: 24px;
}
.editor_item__video {
	text-align: center;
	cursor: default;
}
.editor_item__video video {
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
	background-color: #000;
}
.editor_item__video__preloader {
	display: block;
	position: relative;
	max-height: 300px;
}
.video__preloader__text {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0, 0.3);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	z-index: 1;
}
.video__preloader__img {
	background-color: #000;
	z-index: 0;
}
.video__preloader__img img {
	filter: blur(7px);
	max-height: 300px;
}
.editor_item__quote {
	border-left: 3px solid #166eb7;
	color: #014266;
	font-size: 16px;
	font-style: italic;
	line-height: 160%;
	padding-left: 15px;
}

.block_editor__wrapper {
	position: relative;
	min-height: 45px;
	display: flex;
	position: relative;
	align-content: stretch;
	margin: 0;
}
.block_editor__wrapper:last-child {
	/*margin-bottom: 15px;*/
}
.block_editor__added_button {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.block_editor__added_button > .block_editor_icon {
	width: 20px;
	height: 20px;
	fill: #00bf06;
	cursor: pointer;
}
@media(max-width:600px){
	.block_editor__added_button {
		width: 10px;
	}
	.block_editor__added_button > .block_editor_icon {
		display: none
	}
}
.editor_panel_added {
	position: relative;
	display: flex;
	justify-content: flex-start;
	width: 100%;
	padding: 15px 10px;
	z-index: 9999;
}
.block_editor__btn__before {
	background-color: #ffffff;
	border: 1px solid #ddd;
	outline: none;
	border-radius: 4px;
	color: #333;
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	margin: 0 4px 0 0;
	padding: 4px 10px;
	text-align: center;
}
.block_editor__btn__before:hover {
	background-color: #ddd;
}
.block_editor__btn__before__close {
	/*padding: 5px;*/
	width: 15px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	cursor: pointer;
	margin-right: 20px;
}
.block_editor__remove-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 20px 25px;
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
	align-self: center;
	animation-duration: 500ms;
	animation-fill-mode: both;
}
.block_editor__remove-message {
	color: #000;
	font-size: 14px;
	margin-right: 10px;
}
.block_editor__move {
	width: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.block_editor__move__up,
.block_editor__move__down {
	cursor: pointer;
	padding: 5px;
}
.block_editor__move__up {
	transform: rotate(-90deg);
}
.block_editor__move__down {
	transform: rotate(90deg);
}
.block_editor__content {
	width: 100%;
	flex: 1;
	min-height: 20px;
	overflow: hidden;
	margin: 15px 0;
}
.block_editor__tools {
	display: flex;
	/*margin-left: 15px;*/
	align-items: center;
	width: 20px;

	width: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.block_editor__remove {
    cursor: pointer;
}
.block_editor_icon {

}

.block_editor__remove__yes,
.block_editor__remove__no {
	padding: 3px 15px;
}
.block_editor_svg {
	width: 10px;
    height: 10px;
	fill: red;
}
.block_editor__selected_text {
	display: block;
	position: absolute;
	width: 150px;
	height: 20px;
	background: #000;
}

.block_editor__btn {
	background-color: #ffffff;
	border: none;
	outline: none;
	border-radius: 4px;
	color: #333;
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	padding: 4px 10px;
	text-align: center;
}
.block_editor__btn:hover{
	background-color: #fcfcfc;

}
.block_editor__btn__blue {
	background-color: #166eb7 !important;
	color: #fff;
}
.block_editor__btn__red {
	background: #ff334a !important;
	color: white !important;
}
.block_editor__btn__red:hover {
	background: #da2136 !important;
}

.block_editor__draft_status {
	padding: 10px;
}
.editor_selection_panel {
	width: auto;
	padding: 5px 10px;
	position: absolute;
	display: none;
	z-index: 9999;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.45);
}
.selection_panel__btn {
	display: inline-block;
	cursor: pointer;
	padding: 0 5px;
	margin-right: 5px;
	border: none;
	outline: none;
	background-color: #fff;
}
.selection_panel__btn:last-child {
	margin-right: 0;
}
.selection_panel__svg {
	width: 20px;
	height: 20px;
}