﻿#editor {
	padding: 28px 20px 24px 87px;
	position: relative;
	background: #ebf1de;
	margin: 1.6em 0;
	//zoom: 1;
}
#editor img {
	top: 14px;
	left: 15px;
	position: absolute;
}
#editor .buttons {	
	height: 20px;
	padding: 4px 0;
}
.editor_controls .i {	
	position: relative;
	width: 20px; height: 20px;
	display: block;
	overflow: hidden;
	z-index: 9;
}
.editor_controls .i ins {	
	width: 500px; height: 112px;
	display: block;
	position: absolute;
	top: 0; left: 0;
	overflow: hidden;
	background: url(/i/editor_controls.png);
}
.editor_controls .bold .i ins {
	left: 0;
}
.editor_controls .kursiv .i ins {
	left: -26px;
}
.editor_controls .dash .i ins {
	left: -49px;
}
.editor_controls .link .i {
	width: 58px;
}
.editor_controls .link .i ins {
	left: -85px;
}
.editor_controls .pic .i {
	width: 73px;
}
.editor_controls .pic .i ins {
	left: -148px;
}
.editor_controls .pika .i ins {
	left: -233px;
}
.editor_controls .kresti .i ins {
	left: -258px;
}
.editor_controls .chervi .i ins {
	left: -283px;
}
.editor_controls .buba .i ins {
	left: -308px;
}
.editor_controls .i:hover ins {	
	top: -20px;
}
.editor_controls .selected .i ins {	
	top: -40px;
}
#editor .buttons .b {
	float: left;
	margin-right: 5px;
}
#editor .buttons_section {
	padding: 0 5px;
	margin: 0 5px 0 0;
	float: left;
	border-right: 1px solid #d3dfb6;
	//zoom: 1;
}
#editor .last_section {
	border-right: none;
}
#editor textarea,
#editor input[type=submit] {
	font-family: Arial;
}
#editor textarea {
	width: 100%;
	border: 1px solid #9cb659;
	height: 11em;
	font-size: 1.2em;
}
#editor input[type=submit] {
	margin-top: 1.5em;
	font-size: .9em;
}
#editor .buttons .b {
	position: relative;
}
#editor .buttons .b.selected {
	background: white;
}
#editor .submenu {
	position: absolute;
	top: 0;
	left: 0;
	margin-right: 4px;
	min-width: 24px;
	height: 31px;
	padding: 20px 2px 0 0;
	background: url(/i/editor_controls.png) -2px -62px no-repeat;
	width: 240px;
	z-index: 1;
}
#editor .submenu .b-r {
	position: absolute;
	left: 100%; top: 20px;
	width: 4px;
	height: 31px;
	display: block;
	background: url(/i/editor_controls.png) -496px -82px no-repeat;
}
#editor .submenu .items {
	position: relative;
	margin-left: 2px;
	height: 28px;
	oversflow: hidden;
	width: auto;
}
#editor .submenu .items div {
	padding: 0 5px;
	height: 28px;
	line-height: 28px;
	font-size: 12px;
	float: left;
	color: #4d4d4d;
}
#editor .submenu .items div:hover {
	color: black;
	background: #e5e5e5;
}
