input {
	padding-top: 0px 0px 4px 0px;
}

.greybackEditor {
	position: relative;
	border: solid 1px #aaaaaa;
	background: #dddddd;
	font-family: Arial;
	color: #676767;
	-webkit-border-radius: 5px;
}

.greybackImage IMG {
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}

.greybackEditor A {
	color: #676767;
}

.greybackEditor_iframe {
	padding: 10px;
	height: 300px;
	overflow-y: auto;
	background: #ffffff;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;

}

.greybackEditor_textarea {
	height: 400px;
	margin: 0;
}

.greybackEditor_waiting {
	display: none;
	position: absolute;
	height: 357px;
	background: url(../img/core/backend/rte_loader.gif) center center no-repeat #cccccc;
	opacity: 0.5;
}

.greybackEditor_workspace {
	display: none;
	width: 960px;
/* 	height: 420px; */
	padding: 20px;
	background: #cccccc;
	overflow: auto;
}

.greybackEditor_workspace [type="text"] {
	width: 260px;
}

.greybackEditor_workspace [type="radio"] {
	width: 15px;
	clear: left;
}

.greybackEditor_workspace A {
	color: #ffffff;
}

.greybackEditor_overlay {
	background: url(../img/core/black_bg.png);
	position: absolute;
	bottom: 0;
}

.greybackEditor_controls, .greybackEditor_controls li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.greybackEditor_controls {
	height: 21px;
	background: #eeeeee;
	padding: 8px 0px 8px 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
}

/* CONTROLS */
	.greybackEditor_controls LI {
		float: left;
		padding: 4px 2px 0px 2px;
		list-style: none;
		font-size: 11px;
		font-weight: bolder;
	}
	
	.greybackEditor_controls LI.greybackEditorCommand_select {
		width: auto;
	}
	
	.greybackEditor_controls LI.greybackEditorCommand_select UL {
		display: none;
		position: absolute;
		background: #eeeeee;
		border: solid 1px #aaaaaa;
	}
	
	.greybackEditor_controls LI.greybackEditorCommand_select LI {
		float: none;
	}
	
	.greybackEditor_controls LI A {
		display: block;
		padding: 0;
		margin-top: -5px;
		width: 19px;
		height: 20px;
		text-indent: -3000px;
		border: solid 1px #dfdfdf;
		background: url(../img/core/backend/rte_icons.png) top left no-repeat;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.4);
		-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.4);
	}
	
	.greybackEditor_controls LI A:hover, .greybackEditor_controls LI A.active {
		-moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.3);
		-webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.3);
	}
	
	.greybackEditor_controls LI.greybackEditorCommand_select A {
		background: none;
		width: auto;
		text-indent: inherit;
		line-height: 20px;
		padding: 0 5px;
	}
	
	.greybackEditor_controls LI.greybackEditorCommand_select LI A {
		-webkit-border-radius: none;
		-webkit-box-shadow: none;
		border: none;
	}
	
	.greybackEditor_controls LI.greybackEditorCommand_select LI A:hover {
		color: #333333;
	}

	/* BUTTONS */
	#greybackEditorCommand_italic {
		background-position: -18px 0;
	}
	
	#greybackEditorCommand_strike {
		background-position: -36px 0;
	}
	
	#greybackEditorCommand_underline {
		background-position: -54px 0;
	}
	
	#greybackEditorCommand_fontincrease {
		background-position: -378px 0px;
	}
	
	#greybackEditorCommand_fontdecrease {
		background-position: -396px 0px;
	}
	
	#greybackEditorCommand_super {
		background-position: -90px 0px;
	}
	
	#greybackEditorCommand_sub {
		background-position: -72px 0px;
	}
	
	#greybackEditorCommand_justleft {
		background-position: -108px 0px;
	}
	
	#greybackEditorCommand_justright {
		background-position: -126px 0px;
		margin-right: 4px;
	}
	
	#greybackEditorCommand_justcent {
		background-position: -144px 0px;
	}
	
	#greybackEditorCommand_justfull {
		background-position: -162px 0px;
	}
	
	#greybackEditorCommand_ol {
		background-position: -216px 0;
	}
	
	#greybackEditorCommand_ul {
		background-position: -198px 0;
	}
	
	#greybackEditorCommand_indent {
		background-position: -234px 0px;
	}
	
	#greybackEditorCommand_outdent {
		background-position: -252px 0px;
		margin-right: 4px;
	}
	
	#greybackEditorCommand_link {
		background-position: -270px 0;
	}
	
	#greybackEditorCommand_unlink {
		background-position: -288px 0;
		margin-right: 4px;
	}
	
	#greybackEditorCommand_image {
		background-position: -306px 0;
	}
	
	#greybackEditorCommand_video {
		background-position: -324px 0;
	}
	
	#greybackEditorCommand_document {
		background-position: -342px 0;
	}
	
	#greybackEditorCommand_html {
		background-position: -414px 0;
	}
	
	#greybackEditorCommand_css {
		background-position: -378px 0px;
	}
	
	#greybackEditorCommand_removeformat {
		background-position: -432px 0;
	}

/* CROPPING */
	#greybackEditorCropSlider {
		background: #ffffff;
	}
	
	#greybackEditorCropImage {
		margin: 20px;
		/*
margin-top: 20px;
		margin-bottom: 10px;
		overflow: auto;
		width: 956px;
		height: 354px;
		background: #000000;
		border: solid 1px #666666;
*/
	}
	
	#greybackEditorCropFloat UL {
		float: right;
		margin-right: 20px;
	}
	
	#greybackEditorCropFloat LI {
		float: left;
		padding: 5px;
	}
	
	#greybackEditorCropFloat A {
		display: block;
		background: url(../img/core/wrapping.png) -3px -3px no-repeat;
		width: 32px;
		height: 32px;
		text-indent: -3000px;
	}
	
	#greybackEditorCropFloat LI#float_none A {
		background-position-x: -108px;
	}
	
	#greybackEditorCropFloat LI#float_right A {
		background-position-x: -73px;
	}
	
	#greybackEditorCropFloat LI.active {
		background: white;
	}
	
	#greybackEditorCropControls {
		position: absolute;
		bottom: 2%;
		left: 1.5%;
	}

/* EDITOR CSS */
.greybackEditor_iframe {
	color: #333333;
}

.greybackEditor_iframe A {
	color: #0000ee;
}

.greybackEditor_iframe ul {
	padding: 0 0 1em 20px;
	list-style: disc;
}

.greybackEditor_iframe ol {
	padding: 0 0 1em 20px;
	list-style: decimal;
}

.greybackEditor_iframe ul ul,
.greybackEditor_iframe ol ol,
.greybackEditor_iframe ul ol,
.greybackEditor_iframe ol ul {
	padding-bottom: 0;
}

.greybackEditor_iframe blockquote {
	display: block;
	margin: 1em 40px;
}

.greybackEditor_iframe sub {
	font-size: smaller;
	vertical-align: sub;
}

.greybackEditor_iframe sup {
	font-size: smaller;
	vertical-align: super;
}

#rte_link_left, #rte_link_right {
	width: 50%;
	float: left;
}

#rte_link_options {
	width: 100%;
	float: left;
}
