.markdown-editor.compact-mode .normal-mode, .markdown-editor.normal-mode .compact-mode {
	display: none;
}
body.fullscreen {
	overflow: hidden;
}
.markdown-editor.fullscreen {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 1000;
	padding: 20px;
	background: white;
}
.markdown-editor.compact-mode>.head .split .fa {
	transform: rotate(270deg);
} 

.markdown-editor>.head>.warning {
	margin-bottom: 0;
	padding-top: 8px;
	padding-bottom: 8px;
	display: none;
}
.markdown-editor>.head>.warning, .markdown-editor>.head>.help, .markdown-editor>.head>.emojis {
	margin: 4px;
}
.markdown-editor>.head {
	background: white;
	border: 1px solid #CCC;	
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	padding: 4px;
}
.markdown-editor>.head>.actions>div>a {
	color: #777;
	padding: 2px;
	border: 1px solid white;
	border-radius: 2px;
	display: block;
	width: 24px;
	text-align: center;
	margin-right: 4px;
}
.markdown-editor>.head>.actions .separator {
	display: block;
	border-left: 1px solid #CCC;
	margin-right: 4px;
	height: 24px;
}
.markdown-editor>.head>.actions>div>a:hover, .markdown-editor>.head>.actions>div>a.active {
	background: #EEE;
	border: 1px solid #CCC;
}

.markdown-editor>.head>.actions .dropdown .active:BEFORE {
	font-family: "FontAwesome";
	content: "\f00c";
	position: absolute;
	left: 4px;
}
.markdown-editor .ui-resizable-handle {
	background: #EEE url(hgrabber.png) no-repeat scroll center top;
    cursor: s-resize;
    height: 2px;
    bottom: -3px;
}

.markdown-editor>.head>.emojis {
	display: none;
}
.markdown-editor>.head>.emojis.loaded {
	font-size: 12px; 
	line-height: 24px; 
	height: 200px; 
	overflow: auto;
}
.markdown-editor>.head>.emojis.loading {
	font-size: 16px;
	color: #888;
}
.markdown-editor>.head>.emojis .emoji {
	margin-right: 12px;
}
.markdown-editor>.head>.emojis .emoji img {
	width: 16px; 
	height: 16px;
}
.markdown-editor.preview>.emojis .emoji img {
	opacity: 0.5;
}

.markdown-editor>.head>.help {
	display: none;
}

.markdown-editor>.body>.preview>.markdown-rendered {
	border: 1px solid #CCC;
	padding: 8px;
	border-radius: 0 0 4px 4px;
	background: white;
}

.markdown-editor.normal-mode.edit-mode>.body>.edit {
	width: 100%;
}
.markdown-editor.normal-mode.edit-mode>.body>.preview {
	display: none;
}
.markdown-editor.normal-mode.preview-mode>.body>.edit {
	display: none;
}
.markdown-editor.normal-mode.preview-mode>.body>.preview {
	width: 100%;
}
.markdown-editor.normal-mode.split-mode>.body>.edit {
	float: left;
	width: 50%;
}
.markdown-editor.normal-mode.split-mode>.body>.preview {
	float: left;
	width: 50%;
}

.markdown-editor.compact-mode.edit-mode>.body>.edit {
	width: 100%;
}
.markdown-editor.compact-mode.edit-mode>.body>.preview {
	display: none;
}
.markdown-editor.compact-mode.preview-mode>.body>.edit {
	display: none;
}
.markdown-editor.compact-mode.preview-mode>.body>.preview {
	width: 100%;
}
.markdown-editor.compact-mode.split-mode>.body>.edit {
	width: 100%;
}
.markdown-editor.compact-mode.split-mode>.body>.preview {
	width: 100%;
}

.markdown-editor>.body>.edit>textarea {
	border: 1px solid #CCC;
	border-radius: 0 0 4px 4px;
	overflow: auto;
	width: 100%;
	display: block;
	resize: none;
	padding: 8px;
}
.markdown-editor>.body>.preview>.markdown-rendered {
	overflow: auto;
}
.markdown-editor>.body>.preview>.markdown-rendered>.message {
	color: #999;
}
.markdown-editor.normal-mode.split-mode>.body>.edit>textarea {
	border-radius: 0 0 0 4px;
}
.markdown-editor.normal-mode.split-mode>.body>.preview>.markdown-rendered {
	border-left: none;
	border-radius: 0 0 4px 0;
}
.markdown-editor.compact-mode.split-mode>.body>.preview {
	margin-top: 8px;
	border-left: none;
	border-radius: 0 0 4px 0;
}

.atwho-view .emoji {
	display: inline-block; 
	height: 20px; 
	width: 20px; 
	vertical-align: middle; 
	background-repeat: no-repeat; 
	background-size: 20px 20px;
}
.atwho-view .avatar img {
	display: inline-block; 
	width: 20px; 
	height: 20px; 
	vertical-align: middle;
}
.atwho-view .cur .text-muted {
	color: inherit;	
}

.insert-url>.section>.or {
	font-size: 16px;
	font-weight: bold;
	margin: 12px 0;
}
.insert-url>.section>.content {
	padding: 12px;
	border: 1px dashed #AAA;
	border-radius: 4px;
	background: #F9F9F9;
}
.insert-url>.section>.content .alert {
	margin-bottom: 0;
	margin-top: 20px;
}

.insert-url input.url {
	width: 470px;
	margin-right: 7px;
}
.insert-url .attachments {
	max-height: 300px;
	overflow: auto;
	margin-bottom: 20px;
}
.insert-url .attachments img {
	max-width: 100%;
}
.insert-url .attachment a {
	color: #666;
}
.insert-url .attachment a.select {
	margin-right: 6px;
}
.insert-url .alert-info {
	margin-top: 20px;
}

.markdown-editor>.body>.edit>textarea>.drag-over {
	border: 2px solid #69B7F7;
}

.markdown-rendered {
	font-size: 16px;
	line-height: 1.5;
}
.markdown-rendered .mention {
	font-weight: bold;
	color: #444;
}
.markdown-rendered li {
	margin-bottom: 6px;
}
.markdown-rendered .emoji {
	width: 20px; 
	height: 20px;
}
.markdown-rendered table {
	width: auto; 
	margin-bottom: 10px;
}
.markdown-rendered table th, .markdown-rendered table td {
	padding: 4px 8px; 
	border: 1px solid #C8C8C8;
}
.markdown-rendered table tr:nth-child(even) td {
	background: #F5F5F5;
}
.markdown-rendered h1, .markdown-rendered h2, .markdown-rendered h3, 
.markdown-rendered h4, .markdown-rendered h5, .markdown-rendered h6 {
	font-weight: bold;
}
.markdown-rendered blockquote {
	font-size: 15px; 
	border-left: 4px solid #ddd; 
	color: #777; 
	padding: 0 16px;
}
.markdown-rendered code {
	color: #333;
	background: rgba(0, 0, 0, 0.04);
}
.markdown-rendered img {
	max-width: 100%;
}
.markdown-rendered .task-list-item {
	list-style: none;
	margin-left: -21px;
}
.markdown-rendered .task-list-item input {
	margin-right: 8px;
}

.markdown-rendered .header-link {
	display: none;
	position: absolute;
	font-size: 24px;
	margin-left: -24px;
}
.markdown-rendered h1:hover .header-link, 
.markdown-rendered h2:hover .header-link,
.markdown-rendered h3:hover .header-link,
.markdown-rendered h4:hover .header-link, 
.markdown-rendered h5:hover .header-link,
.markdown-rendered h6:hover .header-link {
	display: inline;
}

.markdown-rendered h1,
.markdown-rendered h2,
.markdown-rendered h3,
.markdown-rendered h4,
.markdown-rendered h5,
.markdown-rendered h6 {
	margin-left: -24px;
	padding-left: 24px;
	position: relative;
}
.markdown-rendered h1 .header-link {
	margin-top: 10px;
}
.markdown-rendered h2 .header-link {
	margin-top: 6px;
}
.markdown-rendered h3 .header-link {
	margin-top: 2px;
}
.markdown-rendered h4 .header-link {
	margin-top: -2px;
}
.markdown-rendered h5 .header-link {
	margin-top: -4px;
}
.markdown-rendered h6 .header-link {
	margin-top: -6px;
}
.markdown-rendered a.header-link {
	color: #333;
	text-decoration: none;
}

