@import "tinymce-overlay.css";

.mce-btn i {
	text-shadow: none;
}

.mce-btn {
	background: #fff;
	box-shadow: none;
	border-color: #ccc !important;
}

.mce-primary button, .mce-primary button i {
	color: #333;
	background: #fff;
	text-shadow: none;
}

.mce-btn:hover, .mce-btn:focus {
	background: #ebebeb;
}

.mce-primary:hover button {
	background: #ebebeb;
}

.mce-btn:not (.mce-disabled ):active, .mce-btn:active {
	background: #ebebeb;
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.mce-btn.mce-active, .mce-btn.mce-active:hover {
	background: #ebebeb;
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.mce-menu-item:hover, .mce-menu-item.mce-selected, .mce-menu-item:focus,
	.mce-menu-item.mce-disabled:hover {
	background: #f5f5f5;
}

.mce-menu-item:hover .mce-text, .mce-menu-item.mce-selected .mce-text,
	.mce-menu-item:focus .mce-text, .mce-menu-item:hover .mce-ico,
	.mce-menu-item.mce-selected .mce-ico, .mce-menu-item:focus .mce-ico {
	color: #333;
}

.mce-menu-item.mce-disabled .mce-text, .mce-menu-item.mce-disabled .mce-ico
	{
	color: #adadad;
}

.mce-foot {
	border-color: #ddd;
	background: #f5f5f5;
}

.mce-toolbar {
	float: left;
	margin-right: 3px;
	margin-bottom: 3px;
}

.rte-toolbar.focus {
	z-index: 99;
}

.rte-toolbar-hover {
	position: absolute;
	margin-top: -40px;
	background: #fff;
}

.rte-toolbar-framed {
	position: absolute;
	margin-top: -40px;
	background: #fff;
	border: 1px solid #ddd;
	border-bottom: 0;
	padding-left: 5px;
	border-radius: 4px 4px 0 0;
}

.rte-toolbar.rte-toolbar-static>.mce-panel {
	display: block !important;
}

/* *************** */
.rte-editor.form-control {
	height: auto;
	min-height: 200px;
	max-height: 600px;
	overflow: auto;
}

.rte-editor.rte-editor-mini.form-control {
	min-height: 100px;
}

.modal-dialog .rte-editor.form-control {
	max-height: 400px;
}

.rte-autocomplete.dropdown-menu {
	z-index: 2000;
}

.rte-advanced .modal-dialog {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.rte-advanced .modal-dialog {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.rte-advanced .modal-content {
	height: 100%;
	padding: 30px;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: none;
	border-radius: 0;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.rte-advanced .rte-editor.rte-editor-advanced.form-control {
	height: 80vh;
}

.rte-advanced .rte-advanced-header {
	margin-bottom: 30px;
}

.rte-advanced .rte-advanced-footer {
	margin-top: 30px;
	margin-bottom: 30px;
}