/* --- WYSIWYG --- */

body#tinymce {
	background: #fff;
	color:#000;
	padding: 15px;
	font-size:12px;
  line-height:18px;
  margin:0;
  box-shadow: inset 0 3px 3px -2px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0 3px 3px -2px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 3px 3px -2px rgba(0,0,0,0.1);
}
body#tinymce p,
body#tinymce ul,
body#tinymce ol {
	margin-bottom: 15px;
}
body#tinymce p[align=right],
body#tinymce p[align=center],
body#tinymce p[align=justify] {
	text-align: left;
}
body#tinymce ul {
	padding-left: 15px;
}
body#tinymce ol {
	padding-left: 19px;
}
body#tinymce ul li {
	list-style: disc;
}
body#tinymce ol li {
	list-style: decimal outside;
}
body#tinymce span {
	font-size: 12px !important;
	font-family: sans-serif !important;
}
.text-format-wrapper .mceEditor table.mceLayout {
	border: 1px solid #e3e3e3;
}
.text-format-wrapper .mceEditor table.mceLayout td,
.text-format-wrapper .mceEditor table.mceLayout tr.mceFirst td {
	padding: 0;
	border: none;
}
.text-format-wrapper .mceEditor table.mceLayout tr.mceLast td {
	border: none;
}
.text-format-wrapper .mceEditor table.mceLayout tr.mceLast td.mceStatusbar  {
	border: none;
	font-family: arial, helvetica, sans-serif;
	background: #F7F7F7;
	padding: 5px;
}


/* Toolbar */
.text-format-wrapper .mceEditor table td.mceToolbar {
	background-color: #F7F7F7;
	background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.12, rgb(247,247,247)),
    color-stop(0.91, rgb(255,255,255))
);
background-image: -moz-linear-gradient(
    center bottom,
    rgb(247,247,247) 12%,
    rgb(255,255,255) 91%
);
}
.text-format-wrapper .mceEditor table td.mceToolbar div.wysiwygToolbar {
	padding: 6px;
	overflow: hidden;
	border-bottom: 1px solid #E4E4E4;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceButton {
	background: #fff;
	border: 1px solid #dcdcdc;
	padding: 1px;
	margin-right: 4px;
	width: 20px;
	height: 20px;
	display: block;
	cursor: pointer;
	box-shadow: 0 1px 1px rgba(0,0,0,0.05);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceButton span,
.text-format-wrapper .mceEditor table td.mceToolbar .mceButton img {
	display: block;
	cursor: pointer;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceButton:hover {
	border-color: #bdbdbd;
	cursor: pointer;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceButton.mce_pasteword {
	display: none;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceListBox {
	margin-right: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.05);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceListBox .mceText {
	font-family: arial, sans-serif;
	border-color: #dcdcdc;
	height: 22px;
	line-height: 22px;
	padding-left: 6px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceListBox .mceOpen {
	border-color: #dcdcdc;
	height: 22px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceListBox:hover .mceText,
.text-format-wrapper .mceEditor table td.mceToolbar .mceListBox:hover .mceOpen {
	border-color: #bdbdbd;
	cursor: pointer;
}
.text-format-wrapper .mceEditor table td.mceToolbar .mceListBox a {
	margin: 0;
}
.mceListBoxMenu.mceListBoxMenu .mceMenu {
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	border-color: #dcdcdc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.mceListBoxMenu.mceListBoxMenu .mceMenu .mceText {
	font-family: arial, sans-serif;
}
.mceListBoxMenu.mceListBoxMenu .mceMenu .mceMenuItem {
	padding: 0 0 0 5px;
}
.mceListBoxMenu.mceListBoxMenu .mceMenu a {
	padding-left: 2px;
	cursor: pointer;
}
.mceListBoxMenu.mceListBoxMenu .mceMenu a span {
	cursor: pointer;
}
.mceListBoxMenu.mceListBoxMenu .mceNoIcons .mceMenuItemSelected a {
	background-position: -3px center;
}

/* Content */
.text-format-wrapper .mceEditor table td.mceIframeContainer {
	padding: 0;
	border: none;
}

/* Images */
body#tinymce img.insert-image {
	display: block;
}
body#tinymce img.image-right {
  float: right;
  margin: 3px 0 10px 15px;
}
body#tinymce img.image-left {
  float: left;
  margin: 3px 15px 10px 0;
}
body#tinymce img.image-full {
	clear: both;
	float: none;
	margin-bottom: 17px;
}

/* Linkit */
body.forceColors {
	padding-top: 0;
}
body.forceColors,
div#linkit {
	background: #fff;
}