/* ===================================================== */
/* CSS for control sap.ui.richtexteditor/RichTextEditor  */
/* Evening Horizon theme                                 */
/* ===================================================== */

.sapUiRTE.sapUiRTEWithCustomToolbar {

	&:has(.tox.tox-edit-focus) .sapUiRTETextAreaWrapper {
		border: var(--sapContent_FocusWidth) solid var(--sapField_Active_BorderColor);
	}

	.tox.tox-edit-focus .tox-edit-area::before {
		border: none;
	}

	.sapUiRTECustomToolbar.sapMTB.sapMTBStandard {
		border-bottom: none;
	}

	.sapMBtn:hover > .sapMBtnHoverable:not(.sapMToggleBtnPressed):not(.sapMBtnActive),
	.sapMSB .sapMBtn:not(.sapMBtnDisabled):not(:focus):hover .sapMBtnInner.sapMBtnActive {
		background: var(--sapButton_Hover_Background);
		border-color: var(--sapButton_Hover_BorderColor);
		box-shadow: var(--sapContent_Interaction_Shadow);
	}

	.sapMSB .sapMBtn:hover ~ .sapMBtn:not(.sapMSBText) .sapMBtnInner.sapMBtnIconFirst::before {
		display: none;
	}

	.sapMBtn:not(.sapMSBArrow) .sapMBtnInner .sapMBtnIcon {
		top: 0.0625rem;
	}
}