/**
 * SCEditor v1.3.1
 * http://www.samclarke.com/2011/07/sceditor/
 *
 * Copyright (C) 2011, Sam Clarke (samclarke.com)
 *
 * SCEditor is licensed under the MIT license:
 *	http://www.opensource.org/licenses/mit-license.php
 *
 * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
 * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
 */

/*
	spritemapper.output_image = minified/jquery.sceditor.min.png
	spritemapper.output_css = minified/jquery.sceditor.min.css
*/
.sceditor-container {
	position: relative;
	overflow: hidden;
	border: 1px solid #aaa;
	background: #fff;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-opera-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
}

.sceditor-container, .sceditor-container div,
div.sceditor-dropdown, div.sceditor-dropdown div {
	padding: 0;
	margin: 0;
	z-index: 3;
}
	.sceditor-container iframe, .sceditor-container textarea {
		border: 0;
		outline: none;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 13px;
		color: #111;
		padding: 0;
		margin: 5px;
		resize: none;
	}
	div.sceditor-resize-cover {
		position: absolute;
		top: 0;
		left: 0;
		background: #000;
		width: 3000px;
		height: 6000px;
		z-index: 2;
		filter: alpha(opacity=30);
		opacity: 0.3;
	}
	div.sceditor-grip {
		background: #000;
		overflow: hidden;
		width: 10px;
		height: 10px;
		cursor: pointer;
		position: absolute;
		bottom: 0;
		right: 0;
		z-index: 3;
		background: url('../images/bbc/grip.png');
	}
	div.sceditor-dropdown {
		position: absolute;
		margin: 22px 0 0 1px;
		border: 1px solid #bbb;
		background: #fff;
		color: #222;
		font-size: 13px;
		z-index: 6;
	}
		div.sceditor-dropdown form { margin: 0; }
		div.sceditor-dropdown label {
			display:block;
			font-weight: bold;
			font-size: .95em;
			margin: .65em 0 .15em;
		}
		div.sceditor-dropdown .button {	margin: .5em 0 0; }
		.sceditor-pastetext textarea { border: 1px solid #bbb; width: 20em; }
		div.sceditor-inserttable, div.sceditor-insertimage,
		div.sceditor-pastetext, div.sceditor-insertlink,
		div.sceditor-insertemail {
			padding: 5px;
		}
		div.sceditor-smileyPopup {
			margin: 0;
		}
		.sceditor-insertemoticon img, .sceditor-smileyPopup img {
			cursor: pointer;
			margin: 2px;
		}
		.sceditor-more, .sceditor-smileyPopup {
			display: inline;
			text-align: center;
			cursor: pointer;
			padding: 2px 0;
		}
		.sceditor-more:hover { background: #eee; }
		.sceditor-fontsize-option, .sceditor-font-option {
			display: block;
			padding: 4px 6px;
			cursor: pointer;
			font-size: 14px;
			text-decoration: none;
			color: #222;
		}
		.sceditor-fontsize-option:hover, .sceditor-font-option:hover { background: #eee; }
		.sceditor-color-column { float: left; }
			.sceditor-color-option {
				display: block;
				border: 1px solid #fff;
				height: 20px;
				width: 100px;
				overflow: hidden;
			}
			.sceditor-color-option:hover { border: 1px solid #333; }

	div.sceditor-toolbar {
		overflow: hidden;
		zoom: 1; /* IE6 */
		padding: 3px 5px 0 5px;
		*padding: 3px 5px 3px 5px;
		background: #f7f7f7;
		border-bottom: 1px solid #aaa;

		-webkit-border-radius: 4px 4px 0 0;
	}

		div.sceditor-group {
			overflow: hidden;
			display: inline-block;
			zoom: 1; /* IE6 */
			*display: inline;
			background: #ddd;
			margin: 1px 5px 1px 0;
			*margin: 2px 5px 2px 0;
			padding: 2px;

			-moz-border-radius: 4px;
			-webkit-border-radius: 4px;
			-opera-border-radius: 4px;
			-khtml-border-radius: 4px;
			border-radius: 4px;
		}
		div.sceditor-row {
			overflow: hidden;
			display: block;
			zoom: 1; /* IE6 */
			*display: inline;
		}

		.sceditor-button {
			float: left;
			cursor: pointer;
			padding: 3px 4px;
		}
		/*.sceditor-button.disabled {
			background-color: #666;
		}*/
		.sceditor-button.disabled div {
			filter: alpha(opacity=30);
			opacity: 0.3;
		}
		.sceditor-button.disabled:hover {
			background: inherit;
			cursor: default;
		}
		.sceditor-button div, .sceditor-button {
			display: block;
			width: 18px;
			height: 18px;
			background-repeat:no-repeat !important;
			background-position:center center !important;
		}
		.sceditor-button div {
			margin: 0;
			padding: 0;
			text-indent: -9999px;
		}
		.sceditor-button:hover { background: #eee; }
			.sceditor-button-emoticon { display:none; }

.sceditor-popup-grip {
	display: block;
	height: 15px;
}

/* SMF buttons styles */
.sceditor-button-source div {
	background: url('../images/bbc/toggle.png');
}
.sceditor-button-font div {
	background: url('../images/bbc/font.png');
}
.sceditor-button-size div {
	background: url('../images/bbc/font_size.png');
}
.sceditor-button-color div {
	background: url('../images/bbc/color_swatch.png');
}
.sceditor-button-removeformat div {
	background: url('../images/bbc/font_delete.png');
}
.sceditor-button-bold div {
	background: url('../images/bbc/bold.png');
}
.sceditor-button-italic div {
	background: url('../images/bbc/italicize.png');
}
.sceditor-button-underline div {
	background: url('../images/bbc/underline.png');
}
.sceditor-button-strike div {
	background: url('../images/bbc/strike.png');
}
.sceditor-button-pre div {
	background: url('../images/bbc/pre.png');
}
.sceditor-button-left div {
	background: url('../images/bbc/left.png');
}
.sceditor-button-center div {
	background: url('../images/bbc/center.png');
}
.sceditor-button-right div {
	background: url('../images/bbc/right.png');
}
.sceditor-button-image div {
	background: url('../images/bbc/img.png');
}
.sceditor-button-link div {
	background: url('../images/bbc/url.png');
}
.sceditor-button-email div {
	background: url('../images/bbc/email.png');
}
.sceditor-button-ftp div {
	background: url('../images/bbc/ftp.png');
}
.sceditor-button-glow div {
	background: url('../images/bbc/glow.png');
}
.sceditor-button-shadow div {
	background: url('../images/bbc/shadow.png');
}
.sceditor-button-move div {
	background: url('../images/bbc/move.png');
}
.sceditor-button-superscript div {
	background: url('../images/bbc/sup.png');
}
.sceditor-button-subscript div {
	background: url('../images/bbc/sub.png');
}
.sceditor-button-tt div {
	background: url('../images/bbc/tele.png');
}
.sceditor-button-table div {
	background: url('../images/bbc/table.png');
}
.sceditor-button-code div {
	background: url('../images/bbc/code.png');
}
.sceditor-button-quote div {
	background: url('../images/bbc/quote.png');
}
.sceditor-button-bulletlist div {
	background: url('../images/bbc/list.png');
}
.sceditor-button-orderedlist div {
	background: url('../images/bbc/orderlist.png');
}
.sceditor-button-horizontalrule div {
	background: url('../images/bbc/hr.png');
}
.sceditor-button-unformat div {
	background: url('../images/bbc/unformat.png');
}
.sceditor-button-toggle div {
	background: url('../images/bbc/toggle.png');
}
