/**
 * SCEditor v1.3.5
 * http://www.samclarke.com/2011/07/sceditor/
 *
 * Copyright (C) 2011, Sam Clarke (samclarke.com)
 *
 * SCEditor is dual licensed under the MIT and GPL licenses:
 *	http://www.opensource.org/licenses/mit-license.php
 *	http://www.gnu.org/licenses/gpl.html
 *
 * 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/)
 */

textarea.bbcode {
	width:816px; height: auto;
	min-height:350px;
	text-align:left;
	}

	.sceditor-container {
	position: relative;
	background:rgba(0,0,0,.35);
	border-radius:4px;
	box-shadow:inset 0 0 0 2px rgba(0,0,0,.24), 0 1px 0 rgba(255,255,255,.03);
	}

.sceditor-container.resizing {
	overflow: hidden;
}

.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
	padding: 0;
	margin: 0;
}
div.sceditor-dropdown,
div.sceditor-dropdown div {
	z-index: 3;
}
	.sceditor-container iframe, .sceditor-container textarea {
		border: 0;
		outline: none;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 13px;
		color: #838383;
		padding: 0;
		margin: 5px;
		resize: none;
	}
	.sceditor-container textarea {
		padding: 5px;
	}
	
	.sceditor-container.ie6 {
		overflow: hidden;
	}
	
	.sceditor-maximize {
		position: fixed;
		top: 0;
		left: 0;
		height: 100% !important;
		width: 100% !important;
		-webkit-border-radius: 0;
	   -moz-border-radius: 0;
	   border-radius: 0;
	   -moz-background-clip: padding;
	   -webkit-background-clip: padding-box;
	   background-clip: padding-box;
	   z-index: 10000;
	   background: #000;
	}
	// Used for IE 6 as it has no position fixed support
	html.sceditor-maximize, body.sceditor-maximize {
		height: 100%;
		width: 100%;
		padding: 0;
		margin: 0;

		// Fixes issues with IE height being too big
		overflow: hidden;
	}
	.ie6.sceditor-maximize {
		// IE6 has no position fixed support
		position: absolute;
	}
	.sceditor-maximize div.sceditor-grip {
		display: none;
	}
	.sceditor-maximize div.sceditor-toolbar {
		width: auto !important;
		margin: 5px !important;
	}
	
	/* SOME SHIT -- FIX */
	body {
		color:#838383;
		font-size:13px;
		}
		.sceditor-toolbar body textarea {
			background: none;
			border-radius:0;
			box-shadow: none;
			}
			.sceditor-toolbar body textarea:focus { box-shadow: none; border:none;}
			
		div.sceditor-dropdown input[type="text"] {
			background: #0b0a0a;
			border: medium none;
			border-radius: 4px 4px 4px 4px;
			box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) inset, 0 1px 1px rgba(0, 0, 0, 0.4) inset, 0 1px 0 rgba(255, 255, 255, 0.02);
			color: #6C6C6C;
			font-family: Arial,Helvetica,sans-serif;
			font-size: 12px;
			height: 34px;
			padding: 0 10px;
			transition: all 300ms ease 0s;
			}
		
		div.sceditor-dropdown input[type="button"], div.sceditor-dropdown input[type="submit"] {
			display:inline-block;
			border:none;
			background:#433f37;
			cursor: pointer;
			padding:5px 10px;
			border-radius:4px;
			font-weight:bold;
			font-family: Arial, Helvetica, sans-serif;
			color:#080808;
			box-shadow:0 1px 1px rgba(0,0,0,.4), inset 0 1px 1px rgba(255,255,255,.05), inset 0 -5px 5px rgba(0,0,0,.25);
			text-shadow:0 1px 0 rgba(255,255,255,.05);
			transition:all 500ms; -moz-transition:all 500ms; -webkit-transition:all 500ms; -o-transition:all 500ms;
			}
			div.sceditor-dropdown input[type="button"]:hover, div.sceditor-dropdown input[type="submit"]:hover {background:#575249;}
			
			body img { top:3px;}
	
	div.sceditor-resize-cover {
		position: absolute;
		top: 0;
		left: 0;
		width: 3000px;
		height: 6000px;
		z-index: 2;
		filter: alpha(opacity=30);
		opacity: 0.3;
	}
	div.sceditor-grip {
		overflow: hidden;
		width: 10px;
		height: 10px;
		cursor: pointer;
		position: absolute;
		bottom: 0;
		right: 0;
		z-index: 3;
		.sceditor-button-grip;
	}
	div.sceditor-dropdown {
		position: absolute;
		margin: 22px 0 0 1px;
		background: #2b2926;
		border-radius:5px;
		color: #838383;
		font-size: 13px;
		z-index: 6;
		box-shadow:0 0 25px rgba(0,0,0,1), inset 0 0 0 1px rgba(255,255,255,.03);
	}
		div.sceditor-dropdown form { margin: 0; }
		div.sceditor-dropdown label {
			display:block;
			font-weight: bold;
			font-size: .95em;
			margin: .65em 0 .15em;
			color:#706c66;
			text-shadow:0 1px 1px rgba(0,0,0,.4);
		}
		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;
		}
		.sceditor-insertemoticon img {
			cursor: pointer;
			margin: 2px;
		}
		.sceditor-more {
			border-top: 1px solid #bbb;
			display: block;
			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: #838383;
		}
		.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: 10px;
				width: 10px;
				overflow: hidden;
			}
			.sceditor-color-option:hover { border: 1px solid #333; }

	div.sceditor-toolbar {
		width:806px;
		padding:3px 4px 0 3px;
		overflow: hidden;
		zoom: 1; /* IE6 */
		line-height: 0;
		background: url(images/misc/bar-bg.png) repeat-x;
		border-radius:3px;
		top:2px;
		box-shadow:0 2px 0 rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.01), inset 0 -1px 0 rgba(255,255,255,.02);
		text-align:left;
		}

		div.sceditor-group {
			overflow: hidden;
			display: inline-block;
			zoom: 1; /* IE6 */
			*display: inline;
			margin: 0 0 4px 4px;
			*margin: 2px 5px 2px 0;
			padding: 2px;
			border-radius:3px;
			background:rgba(155,150,137,.08);
			box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 1px 1px rgba(0,0,0,.3);
		}
		.sceditor-toolbar:first-child {
			padding-left: 0px;
		}

		.sceditor-button {
			float: left;
			cursor: pointer;
			padding: 3px 4px;
			border-radius:1px;
		}
		.sceditor-button.active {
			background:rgba(0,0,0,.2);
		}
		.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: 16px;
			height: 16px;
		}
		.sceditor-button div {
			margin: 0;
			padding: 0;
			text-indent: -9999px;
			opacity:.7;
		}
		.sceditor-button:hover { background:rgba(0,0,0,.2);}
		.sceditor-button:hover div { opacity:1;}
		
		
	/* NAVIGATION Icons*/
.sceditor-button-youtube div,.sceditor-button-link div,.sceditor-button-unlink div,.sceditor-button-underline div,.sceditor-button-time div,.sceditor-button-table div,
.sceditor-button-superscript div,.sceditor-button-subscript div,.sceditor-button-strike div,.sceditor-button-source div,.sceditor-button-size div,.sceditor-button-rtl div,
.sceditor-button-right div,.sceditor-button-removeformat div,.sceditor-button-quote div,.sceditor-button-print div,.sceditor-button-pastetext div,.sceditor-button-paste div,
.sceditor-button-orderedlist div,.sceditor-button-ltr div,.sceditor-button-left div,.sceditor-button-justify div,.sceditor-button-italic div,.sceditor-button-image div,
.sceditor-button-horizontalrule div,.sceditor-button-font div,.sceditor-button-emoticon div,.sceditor-button-email div,.sceditor-button-date div,.sceditor-button-cut div,
.sceditor-button-copy div,.sceditor-button-color div,.sceditor-button-code div,.sceditor-button-center div,.sceditor-button-bulletlist div,.sceditor-button-bold div, .sceditor-button-maximize div, 
.sceditor-button-grip {background-image: url(images/misc/bbcode-icons.png);background-repeat:no-repeat}

.sceditor-button-youtube div {background-position:0px 0px;width:16px;height:16px;}
.sceditor-button-link div {background-position:0px -16px;width:16px;height:16px;}
.sceditor-button-unlink div {background-position:0px -32px;width:16px;height:16px;}
.sceditor-button-underline div {background-position:0px -48px;width:16px;height:16px;}
.sceditor-button-time div {background-position:0px -64px;width:16px;height:16px;}
.sceditor-button-table div {background-position:0px -80px;width:16px;height:16px;}
.sceditor-button-superscript div {background-position:0px -96px;width:16px;height:16px;}
.sceditor-button-subscript div {background-position:0px -112px;width:16px;height:16px;}
.sceditor-button-strike div {background-position:0px -128px;width:16px;height:16px;}
.sceditor-button-source div {background-position:0px -144px;width:16px;height:16px;}
.sceditor-button-size div {background-position:0px -160px;width:16px;height:16px;}
.sceditor-button-rtl div {background-position:0px -176px;width:16px;height:16px;}
.sceditor-button-right div {background-position:0px -192px;width:16px;height:16px;}
.sceditor-button-removeformat div {background-position:0px -208px;width:16px;height:16px;}
.sceditor-button-quote div {background-position:0px -224px;width:16px;height:16px;}
.sceditor-button-print div {background-position:0px -240px;width:16px;height:16px;}
.sceditor-button-pastetext div {background-position:0px -256px;width:16px;height:16px;}
.sceditor-button-paste div {background-position:0px -272px;width:16px;height:16px;}
.sceditor-button-orderedlist div {background-position:0px -288px;width:16px;height:16px;}
.sceditor-button-ltr div {background-position:0px -304px;width:16px;height:16px;}
.sceditor-button-left div {background-position:0px -320px;width:16px;height:16px;}
.sceditor-button-justify div {background-position:0px -336px;width:16px;height:16px;}
.sceditor-button-italic div {background-position:0px -352px;width:16px;height:16px;}
.sceditor-button-image div {background-position:0px -368px;width:16px;height:16px;}
.sceditor-button-horizontalrule div {background-position:0px -384px;width:16px;height:16px;}
.sceditor-button-font div {background-position:0px -400px;width:16px;height:16px;}
.sceditor-button-emoticon div {background-position:0px -416px;width:16px;height:16px;}
.sceditor-button-email div {background-position:0px -432px;width:16px;height:16px;}
.sceditor-button-date div {background-position:0px -448px;width:16px;height:16px;}
.sceditor-button-cut div {background-position:0px -464px;width:16px;height:16px;}
.sceditor-button-copy div {background-position:0px -480px;width:16px;height:16px;}
.sceditor-button-color div {background-position:0px -496px;width:16px;height:16px;}
.sceditor-button-code div {background-position:0px -512px;width:16px;height:16px;}
.sceditor-button-center div {background-position:0px -528px;width:16px;height:16px;}
.sceditor-button-bulletlist div {background-position:0px -544px;width:16px;height:16px;}
.sceditor-button-bold div {background-position:0px -560px;width:16px;height:16px;}
.sceditor-button-grip {background-position:0px -576px;width:10px;height:10px;}
.sceditor-button-maximize div {background-position: 0px -608px;width: 16px;height: 16px;}