/**
 * Comment Form Editor with TinyMCE Reloaded - front end.
 *
 * Many themes style every <button>, which breaks the TinyMCE and Quicktags
 * toolbars. These rules restore a neutral look inside the comment editor only.
 */
.comment-form-tinymce {
	margin-bottom: 1.5em;
}

.comment-form-tinymce > label {
	display: block;
	margin-bottom: 0.5em;
}

.comment-form-tinymce .wp-editor-wrap {
	clear: both;
}

.comment-form-tinymce .wp-editor-area {
	width: 100%;
	box-sizing: border-box;
}

.comment-form-tinymce.comment-form-tinymce .mce-container .mce-btn button,
.comment-form-tinymce.comment-form-tinymce .wp-switch-editor,
.comment-form-tinymce.comment-form-tinymce .quicktags-toolbar input.button {
	min-height: 0;
	min-width: 0;
	margin: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-size: 13px;
	line-height: 20px;
}

.comment-form-tinymce.comment-form-tinymce .mce-container .mce-btn button {
	padding: 4px 6px;
	outline-offset: -2px;
	background: transparent;
	border: 0;
	color: #1d2327;
}

.comment-form-tinymce.comment-form-tinymce .mce-container .mce-btn button:hover,
.comment-form-tinymce.comment-form-tinymce .mce-container .mce-btn button:focus {
	background: transparent;
	color: #1d2327;
}

.comment-form-tinymce .quicktags-toolbar input.button {
	padding: 2px 8px;
	margin: 2px 1px 4px;
}

/* Theme borders / shadows on the button wrappers. */
.comment-form-tinymce.comment-form-tinymce .mce-container .mce-btn {
	box-shadow: none;
}

/* Visual / Text tabs. */
.comment-form-tinymce.comment-form-tinymce .wp-editor-tabs {
	display: block;
	float: right;
}

.comment-form-tinymce.comment-form-tinymce .wp-switch-editor {
	padding: 3px 8px 4px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-bottom: 0;
	border-radius: 0;
	color: #50575e;
}

.comment-form-tinymce.comment-form-tinymce .tmce-active .switch-tmce,
.comment-form-tinymce.comment-form-tinymce .html-active .switch-html {
	background: #f6f7f7;
	color: #1d2327;
	border-bottom-color: #f6f7f7;
}

/* Themes that force uppercase, borders or shadows on every button. */
.comment-form-tinymce.comment-form-tinymce .mce-toolbar .mce-btn,
.comment-form-tinymce.comment-form-tinymce .mce-toolbar .mce-btn button {
	text-transform: none !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

.comment-form-tinymce.comment-form-tinymce .mce-toolbar .mce-btn:hover,
.comment-form-tinymce.comment-form-tinymce .mce-toolbar .mce-btn.mce-active {
	border-color: #8c8f94 !important;
}

/* "Not supported" note under the comment box. */
.comment-tinymce-notice {
	margin: 0.5em 0 1em;
	font-size: 0.9em;
	opacity: 0.8;
}
