#editControls {
	overflow: auto;
	border-top: 1px solid transparent;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	border-color: silver;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding: .5em 1em .5em 1em;
	background-color: #fbfbfb;
	width: 100%;
	/*max-width: 950px;*/
	margin-left: 0 !important;
}
#editor {
	resize: vertical;
	overflow: auto;
	border: 1px solid silver;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	min-height: 100px;
	padding: 1em;
	background-color: white;
	width: 100%;
	color: #333;;
	max-width: 100%;
	word-break: break-all;
	outline: none !important;
	box-shadow: inset 0 0 8px 1px rgba(0,0,0,.2);
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-bottom: 2em;
}
#editor:focus { 
	outline: none !important;
	/*box-shadow: inset 0 0 2px silver;*/
}
.codeMode {
	font-family:Courier New,Source Code Pro Light,Medium,Source Code Pro ExtraLight,Menlo,Consola,Monaco Linux,Consola Regular,Fira Code Regular,DejaVu Sans Mono;
	border: 0px;
	font-style: inherit;
	font-variant: inherit;
	font-weight: inherit;
	font-stretch: inherit;
	line-height: inherit;
	vertical-align: baseline;
	box-sizing: inherit;
	color: #E7DB6D !important;
	background-color: #282923 !important;
}
.btn-group {
	position: relative;
	display: inline-block;
	font-size: 0;
	vertical-align: middle;
	white-space: nowrap;
}
.btn-group+.btn-group {
	margin-left: 5px;
}
.btn-group a {
	text-decoration: none;
}
.btn-editor {
	height: 30px;
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 11px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border-radius: 4px;
	border: 1px solid transparent;
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}
/*a.btn-editor[active=true] {
	background-color: antiquewhite;
}*/

a.btn-editor[active=false] {
	background-color: #fff;
}

a.btn-editor[disabled="disabled"] {
	pointer-events: none;
	background-color: seashell;
}

.not-allowed {
	cursor: not-allowed !important;
}
.btn-group>.btn-editor:first-child {
	margin-left: 0;
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-left-radius: 4px;
}
.btn-group>.btn-editor+.btn-editor {
	margin-left: -1px !important;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.btn-not-space{
	position: relative;
	float: left;
	margin-left: 0 !important;
	border-radius: inherit;
	border: 1px solid transparent;
	border-color: #ccc;
}
.btn-editor.btn-not-space:hover {
	background-color: rgba(230, 230, 230, 0.32);
}
#preview {
	padding: 1em;
	margin: 0 auto;
	width: 97%;
	border-top: 1px dotted #c8ccd0;
	border-bottom: 1px dotted #c8ccd0;
	clear: both;
	margin-bottom: 2em;
}
.icon-undo {
	top: 0px;
	width: 17px;
	height: 17px;
	background-image: url(../img/undo.svg);
}
.icon-redo {
	top: 0px;
	width: 17px;
	height: 17px;
	background-image: url(../img/redo.svg);
}
.icon-bold {
	top: -4px;
	width: 24px;
	height: 22px;
	background-image: url(../img/bold.svg);
}
.icon-italic {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/italic.svg);
}
.icon-strikethrough {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/strikethrough.svg);
}
.icon-underline {
	top: -4px;
	width: 20px;
	height: 23px;
	background-image: url(../img/underline.svg);
}
.icon-align-left {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/align-left.svg);
}
.icon-align-center {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/align-center.svg);
}
.icon-align-right {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/align-right.svg);
}
.icon-align-justify {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/align-justify.svg);
}
.icon-decrease-indent {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/decrease-indent.svg);
}
.icon-increase-indent {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/increase-indent.svg);
}
.icon-unordered-list {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/unordered-list.svg);
}
.icon-ordered-list {
	top: -4px;
	width: 20px;
	height: 25px;
	background-image: url(../img/ordered-list.svg);
}
.icon-h2 {
	top: -3px;
	width: 24px;
	height: 20px;
	background-image: url(../img/h2.svg);
}
.icon-h3 {
	top: -3px;
	width: 24px;
	height: 20px;
	background-image: url(../img/h3.svg);
}
.icon-p {
	top: 0px;
	width: 16px;
	height: 16px;
	background-image: url(../img/p.svg);
}
.icon-subscript {
	top: -4px;
	width: 20px;
	height: 22px;
	background-image: url(../img/subscript.svg);
}
.icon-superscript {
	top: -2px;
	width: 21px;
	height: 22px;
	background-image: url(../img/superscript.svg);
}
.icon-code-view {
	top: -4px;
	width: 22px;
	height: 25px;
	background-image: url(../img/code-view.svg);
}
.icon-undo,
.icon-redo,
.icon-bold,
.icon-italic,
.icon-strikethrough,
.icon-underline,
.icon-align-left,
.icon-align-center,
.icon-align-right,
.icon-align-justify,
.icon-decrease-indent,
.icon-increase-indent,
.icon-unordered-list,
.icon-ordered-list,
.icon-h2,
.icon-h3,
.icon-p,
.icon-subscript,
.icon-superscript,
.icon-code-view
{
	content: "";
	display: inline-block;
	background-size: cover;
	position: relative;
}


/***************************/
.toolbar {
	text-align: center;
	display: inline-block;
	font-size: 0;
	vertical-align: middle;
}
.toolbar a,
.font-color,
.highlighter {
	border: 1px solid #AAA;
	background: #FFF;
	font-family: 'Candal';
	border-radius: 1px;
	color: black;
	padding: 5px;
	width: 1.5em;
	margin: -2px;
	margin-top: 10px;
	display: inline-block;
	text-decoration: none;
	box-shadow: 0px 1px 0px #CCC;
}
.toolbar a:hover,
.font-color:hover,
.highlighter:hover {
	background: #f2f2f2;
	border-color: #8c8c8c;
}
a.palette-item {
	height: 1em;
	border-radius: 3px;
	margin: 2px;
	width: 1em;
	border: 1px solid #CCC;
}
a.palette-item:hover {
	border: 1px solid #CCC;
	box-shadow: 0 0 3px #333;
}
.color-palette,
.bg-palette {
	display: none;
	z-index: 1000;
}
.font-color,
.highlighter {
	width: 2.4em;
	height: 30px;
	display: inline-block;
	cursor: pointer;
	background: #fcfcfc;
	padding: 5px 0px 0px 3px;
	border-radius: 3px;
	margin-top: -1px;
	color: #333;
	vertical-align: middle;
	border: 1px solid transparent;
	border-bottom: 1px;
	border-color: #ccc;
	margin-left: -1px !important;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
select.size, select.fonts {
	font-size: 15px;
	font-weight: bold;
	color: #444;
	background: #fcfcfc;
	margin: 0;
	outline: none;
	cursor: pointer;
	vertical-align: middle;
	height: 30px;
	cursor: pointer;
	border-radius: 3px;
	vertical-align: middle;
	border: 1px solid transparent;
	border-color: #ccc;
	margin-left: -1px !important;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.font-color:hover .color-palette,
.highlighter:hover .bg-palette {
	display: block;
	float: left;
	position: absolute;
	padding: 3px;
	width: 160px;
	background: #FFF;
	border: 1px solid #DDD;
	box-shadow: 0 0 5px #CCC;
	height: 70px;
}
.color-palette a,
.bg-palette a {
	background: #FFF;
	margin-bottom: 2px;
}
.card-color {
	width: 15px;
	height: 15px;
	border: none;
	margin-top: 2px;
	margin-right: 3px;
	position: relative;
	background-image: url(../img/card-bg-color.png);
	float: left;
	z-index: 0;
	display: inline-block;
}
.color-preview {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	border-radius: 3px;
	right: 0;
}
.down-arrow-preview {
	padding: 2px 0;
	height: 16px;
	line-height: 16px;
	float: left;
	font-size: 10px;
	display: inline-block;
}