@CHARSET "UTF-8";

body {
	background-color: #fafafa;
	font-family: 14px/ 1.5 Microsoft Yahei, 微软雅黑, Tahoma, Arial, Helvetica, STHeiti;
}

.plate {
	-webkit-box-shadow: 0 1px 6px #ccc;
	-ms-box-shadow: 0 1px 6px #ccc;
	-o-box-shadow: 0 1px 6px #ccc;
	box-shadow: 0 1px 6px #ccc;
	background-color: #fff;
	border-bottom: 1px solid #d9d9d9;
}

.header {
	-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
	-ms-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
	-o-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
	transition: width 2s;
	-moz-transition: width 2s;
	-webkit-transition: width 2s;
	-o-transition: width 2s;
	background-color: #fff;
}

* li {
	list-style: initial;
}

.itree {
	max-width: 300px;
	min-height: 300px;
	position: fixed;
	top: 60px;
	left: 0;
	z-index: 1992;
	background: white;
	margin-top: 10px;
	padding: 0;
	min-width: 210px;
	overflow: hidden;
	overflow-y: auto;
}

.itree .layui-tree::-webkit-scrollbar-track {
	box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.2);
	border-radius: 0;
	background: #f1f1f1;
}

.itree .layui-tree-set {
	margin: 4px 0;
}

.itree .selected * {
	color: #1e9fff !important;
}

.sticky .header {
	height: 40px;
	line-height: 2.3;
	position: fixed;
	z-index: 1993;
	top: 0;
	left: 0;
	right: 0;
}

.sticky .layui-nav-user {
	line-height: 40px;
}

.layui-nav-user {
	cursor: pointer;
}

.header {
	height: 60px;
	line-height: 60px;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	font-size: 14px;
	font-weight: 400;
	color: #222226;
	overflow: hidden;
}

.header .header-left, .header .header-right {
	margin: 0 10px;
}

.header .header-left {
	cursor: pointer;
	float: left;
}

.header .header-left>a, .header .header-right>a {
	margin: 0 6px;
	cursor: pointer;
}

.header .header-center {
	width: 280px;
	margin: 0 auto;
	position: absolute;
	text-align: center;
	right: 50%;
	margin-right: -140px;
}

.header .dropdown-user {
	min-width: 120px;
	position: relative;
}

.header .dropdown-user>.layui-nav-img {
	width: 36px;
	height: 36px;
	float: left;
	margin: 10px 0;
}

.header .dropdown-user>.layui-nav-name {
	max-width: 120px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	position: absolute;
	left: 46px;
	right: 20px;
	text-align: left;
}

.header .dropdown-user>.layui-icon {
	position: absolute;
	right: 0;
}

.header .header-right {
	float: right;
	text-align: center;
}

.color-normal {
	color: #1E9FFF;
}

.color-normal:hover {
	color: #6dc1ff;
}

.header .layui-input {
	display: inline-block;
	width: 210px;
	margin-right: -4px;
	vertical-align: middle;
	height: 40px;
}

.header .layui-btn {
	border-radius: 0 4px 4px 0;
	border: 1px solid #1e9fff;
	height: 40px;
	line-height: 40px;
}

.header .head-box .layui-icon {
	vertical-align: bottom;
}

.editormd li {
	list-style-type: disc;
}

/* 中间控件、记得同步 */
.docw-main {
	/* 	width: 900px; */
	
}

.main-layout {
	position: relative;
	max-width: none;
	margin: 0;
	padding: 0;
	top: 10px;
	z-index: 1990;
	/* 	修复全屏时无法滚动的问题 */
	overflow: auto;
}

.main-head {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 9999;
}

.main-head .layui-icon:hover {
	color: #AAA;
}

.main-head .layui-icon {
	font-size: 18px;
	color: #CCC;
	cursor: pointer;
}

.main-body {
	margin-bottom: 20px;
	padding: 20px 8px;
	min-height: 320px;
}

.main-body .main-body-html {
	width: auto;
}

.main-body-title {
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0;
}

.main-body-info {
	position: relative;
	background: #f8f8f8;
	border-radius: 4px;
	margin: 0 20px;
	padding: 10px;
	/* 	如需2行改成50即可 */
	height: 25px;
	text-align: center;
}

.main-body-info p {
	font-size: 14px;
	color: #999aaa;
	height: 25px;
	line-height: 25px;
}

.main-body-info p span {
	margin-right: 22px;
}

.none {
	display: none !important;
}

.sticky .main-layout {
	margin-top: 40px;
}

.sticky .itree, .sticky .toc-and-opt {
	top: 40px;
}

.sticky .header .header-center {
	height: 38px;
	line-height: 38px;
}

.sticky .header .layui-input {
	height: 30px;
	line-height: 30px;
	font-size: 12px;
	width: 180px;
}

.sticky .header .layui-btn {
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
	font-size: 12px;
}

.sticky .header .header-right {
	height: 40px;
	line-height: 40px;
}

.bee-main.sticky .header-right .layui-nav-img {
	width: 28px !important;
	height: 28px !important;
	margin: 6px 0 !important;
	margin-right: 6px !important;
}

.bee-main .header-right .layui-nav-img {
	width: 36px !important;
	height: 36px !important;
	margin: 10px 0 !important;
	margin-right: 6px !important;
}

/* toc-and-opt */
.toc-and-opt {
	min-height: 100px;
	position: fixed;
	top: 60px;
	right: 0;
	z-index: 1992;
	background: white;
	margin-top: 10px;
	max-width: 300px;
}

.toc-and-opt .opt, .toc-and-opt .toc {
	min-height: 100px;
	margin-bottom: 10px;
}

.toc-and-opt .plate {
	width: auto;
	padding: 10px;
}

.opt .layui-col-md4 {
	text-align: center;
}

.toc-and-opt .editormd-preview-container {
	width: auto;
	padding: 0;
}

.toc-and-opt .markdown-toc-list {
	padding: 0;
}

.toc-and-opt .layui-btn-primary {
	color: #1E9FFF !important
}

.toc-and-opt .layui-red {
	color: #FF5722 !important
}

.toc-and-opt .layui-btn {
	border-width: 0;
	padding: 0;
}
/* 展开收缩 */
.scrollbar::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

.scrollbar::-webkit-scrollbar-thumb {
	border-radius: 0;
	box-shadow: none;
	background: #d6d6d6;
}

.scrollbar::-webkit-scrollbar-track {
	box-shadow: inset000pxrgba(0, 0, 0, 0.2);
	border-radius: 0;
	background: #f1f1f1;
}

.itree:hover .cd-ul-top {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	background: #F6F6F6;
	top: 0;
	z-index: 99;
}

.layui-tree-emptyText {
	margin-top: 30px;
}

.cd-ul-top {
	border-radius: 4px 0 0 0;
	height: 66px;
	line-height: 22px;
	position: absolute;
	top: -200px;
	z-index: -99;
	right: 0;
	background: transparent;
	text-align: center;
	font-size: 12px;
	width: auto;
	padding: 4px;
}

.cd-ul-top p, .cd-ul-top p:hover {
	text-align-last: justify;
	text-align: justify;
	text-justify: distribute-all-lines;
	text-decoration: underline;
	cursor: pointer;
}

.cd-btn-normal, .cd-btn-normal:hover {
	color: #01AAED;
}

.cd-btn-danger, .cd-btn-danger:hover {
	color: #FF5722;
}

.editormd-html-preview code, .editormd-preview-container code {
	font-size: 12px;
}

/* 宽度大于600px小于960之间时，隐藏footer结构 */
@media all and (min-width:100px) and (max-width:1036px) {
	.xxxx {
		display: block;
	}
}

@media all and (min-width:960px) and (max-width:1060px) {
	.header .header-center {
		right: 55%;
	}
}

@media all and (min-width:900px) and (max-width:960px) {
	.header .header-center {
		right: 59%;
	}
}

@media all and (min-width:100px) and (max-width:900px) {
	.header .header-center {
		right: 60%;
		width: 260px;
		margin-right: -130px;
	}
	.header .layui-input {
		width: 200px;
	}
	.header .layui-btn {
		padding: 0 10px;
	}
}