.mditor-icon{
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  vertical-align: middle;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAPCAYAAABwfkanAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAqtJREFUeNrUllmIjWEYx883xjAyGGtjKZQL0mkkuSAiFJncMBcYIs2NZA2RpexTk2WSseRopETCnKLckQuDso7cWHJlG9myc/we/b/T29t3zpkckqd+8513+573fd7/83wTpFKp2P9mhfYnCIJsc2xwDEyEMrgO+/7lYQNznmPTZkm4A4dgJ1xh3ba8nQdBA4/v8B7uWTAipk2HsdDBgozfubEcEauAKTAMDkAX9Z+2dfmCnYI49Ic+UBxBL40PgP22rjDLhkdBNeyAG1AKR2ER3HKi5a7pB1Vy8g1+QHt4aQeFpnCiNv0cPsNy6Cwfvr2DD1ALD9OajrAhsBo2y1ECrsE5qIMnEWvmwAwdcA98gTbwEabCKmiGdc4aO0yJDpnJSkQ3eOOe2LVB0vAktWugQb/LNDbCuWKzZeqPq10ufe6FSvWV6vAJx2873U6jciVKHiv0bpNo0a913qa7a0KV2hvVjikaSSWFq8t56u+qeXG1R8JA730xbXq947e35tRkiPRCjZeHfgu8a0hIe6bdpTBcydhDsjgMF72XjoaV8ErtydJek54nlMyhrbGbyqfqFDj12nR4WRubCeNhmsat74wO5NsC6CjpmJ1XhMNIVyoXQtuq/AjlYbq3sLfNII9i53tR5NbpIxJ6hZLJkmoWvNXVXFCkY172h9VjMUyAtXBbV1mt6mE3c1LyqdUG58vvJn6fhQ2tCLBVsaGsqw+rhxXuFmX4YFiiDTeqGtTleOFuVYItcBOOwy6neliZHAd3Tc9eDllJe9yKkteiOemS90jyqJfDB3re95xks2NwCWYr8m6dfgHb4aq3pqckYjfw1ckL1zpJIoHklpZHUvrtK82Zs6dKsEj7E/97eJ/xZgUt52c83PRBOj7BM9Xp14pW7G9u+nftpwADABwSFeQIwYanAAAAAElFTkSuQmCC)
}
.mditor-overflow{
  overflow: hidden !important;
}
.mditor_fullScreen {
	background: #444;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 50000;
	font-family: "Microsoft Yahei";
}
.mditor_fullScreen textarea::selection{
	background: #000;
}
.mditor_fullScreen textarea::-moz-selection{
	background: #000;
}
.mditor_toolBar {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 0;
}

.mditor-close {
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 20px;
    text-align: center;
    text-decoration: none;
    color: #aaa;
    font: bold 28px/40px "simsun";
    transition: 0.1s;
}

.mditor-close:hover {
	background: #eee;
	color: #333;
  text-decoration: none;
}

.mditor-close:active {
	background: #aaa;
	color: #fff;
}

.mditor_input {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 50%;
	height: 100%;
}

.mditor_input textarea {
	position: absolute;
	display: block;
	box-sizing: border-box;
	top: 0;
	left:  0;
	width: 100%;
	height: 100%;
	margin: 0px;
  padding: 20px 15px 20px 26px;
	border: none;
	resize: none;
	background: #232323;
	color: #e6e1dc;
	font-size: 16px;
	font-family: inherit;
	line-height: 1.6;
}

.mditor_input textarea:focus {
	box-shadow: 1px 1px 10px #000;
	outline: none;
}

.mditor_view {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 50%;
	height: 100%;
	overflow: auto;
	background: #fff;
}

.mditor_view .md_html {
	padding: 20px;
}

/*mini编辑器*/
.mditor-mini{
	position: relative;
  background: #fff;
  border: 1px solid #ddd;
	font-family: "Microsoft Yahei";
}
.mditor-mini-bar{
  height: 40px;
  background: #eee;
}
.mditor-mini-tab{
  float: left;
}
/* 按钮 */
.mditor-btn{
  display: inline-block;
  vertical-align: middle;
  padding: 0 2.4em;
  height: 40px;
  line-height: 38px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
}
.mditor-btn span{
  display: inline-block;
  vertical-align: middle;
  height: 24px;
  line-height: 24px;
}
.mditor-btn:hover{
  background: #f4f4f4;
}
.mditor-btn.active{
  background: #fff;
}
.mditor-btn-preview i{
  background-position: -15px 0;
}
.mditor-btn-full i{
  background-position: -30px 0;
}
/* 链接 */
.mditor-link{
  display: inline-block;
  vertical-align: middle;
  padding: 0 1em;
  height: 40px;
  line-height: 38px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.mditor-mini-side{
  float: right;
}
.mditor-mini-preview{
  display: none;
  min-height: 200px;
  padding: 30px 20px;
}
.mditor-mini textarea{
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 300px;
  resize:vertical;
  padding: 20px;
  font-size: 14px;
  font-family: inherit;
  border: none;
}
.mditor-mini textarea:focus{
  outline: none;
}
.mditor-mini-help{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	display: none;
}
.mditor-help-txt{
	width: 300px;
	margin: auto;
	padding: 30px 20px;
}
.mditor-help-txt h3{
	margin: 0 0 20px;
	padding: 10px;
	text-align: center;
	font-size: 20px;
	border-bottom: 1px solid #eee;
}
.mditor-help-txt p{
	margin: 0;
	line-height: 24px;
	font-size: 14px;
}
.mditor-help-txt b{
	display: inline-block;
	width: 47%;
	padding-right: 15px;
	text-align: right;
	font-weight: normal;
}
@media screen and (max-width: 700px){
	.mditor_input{width: 100%;}
	.mditor_view{width: 100%;display: none;}
	.mditor_preview{visibility:visible;}
	.mditor_viewer{left:0px;}
}