/*                           Ecode 3.5.9                      */
/* 仅作用在 .ecode-wrapper 内，避免影响全局布局 */
.ecode-wrapper * {
	box-sizing: border-box;
	font-family: "微软雅黑", "Lucida Grande", "Lucida Sans", Helvetica, Arial, Sans;
}
.ecode-wrapper .ecode{
	font-size: 12px;
	margin: 0;
	padding: 0;
	float: none;
	position: relative;
	background-color: #FDFDFD;
	overflow: auto;
	border: 1px solid #F1F2F4;
	width: 100%;
	min-height: 300px;
}
.ecode-wrapper .ecode .show{
	margin-top: 0;
	height: 100%;
	float: left;
	position: relative;
	/* overflow:auto; */
	width: 100%;
	padding: 1px;
	padding-bottom: 10px;
}
.ecode-wrapper .ecode table,.ecode-wrapper .ecode p,.ecode-wrapper .ecode ul,.ecode-wrapper .ecode li,.ecode-wrapper .ecode .function,.ecode-wrapper .ecode .assembly{
	position: relative;
	float: left;
	clear: left;
	display: block;
	list-style: none;
}
.ecode-wrapper .ecode .function{
	margin-bottom: 10px;
}
.ecode-wrapper .ecode table td,.ecode-wrapper .ecode table th{
	text-align: left;
	border-right: 1px solid;
	border-bottom: 1px solid;
	padding: 2px 3px;
	border-color: #888888;
}
.ecode-wrapper .ecode table td{
	background-color: #fff;
}
.ecode-wrapper .ecode table{
	border-left: 1px solid;
	border-top: 1px solid;
	border-collapse: separate;
	border-spacing: 0px;
	border-color: #888888;
	white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ecode-wrapper .ecode .show div{
	clear: left;
	float: left;
	margin-left: 10px;
	margin-bottom: 10px;
}
.ecode-wrapper .ecode .show div:first-child{
	margin-top: 10px;
}
.ecode-wrapper .ecode .function_table{
	margin-bottom: 4px;
}
.ecode-wrapper .ecode .variable_table{
	margin-bottom: 4px;
}
.ecode-wrapper .ecode .assembly_table{
	margin-bottom: 8px;
}
.ecode-wrapper .ecode ul{
	padding-left: 22px;
	position: relative;
	float: left;
}
.ecode-wrapper .ecode ul li{
	margin: 0 !important;
	padding: 0 !important;
	float: left;
	position: relative;
	display: block;
	line-height: 20px !important;
	min-height: 20px;
	box-sizing: border-box;
}
.ecode-wrapper .ecode ul li:not(:has(ul)){
	height: 20px;
}
.ecode-wrapper .ecode ul li p{
	margin: 0 !important;
	padding: 0 !important;
	line-height: 20px;
}
.ecode-wrapper .ecode ul li:not(:has(ul)) p{
	height: 20px;
}
.ecode-wrapper .ecode span{
	position: relative;
	float: left;
	display: block;
	line-height: 20px;
}
.ecode-wrapper .ecode p{
	position: relative;
	line-height: 20px;
	float: left;
	display: block;
	clear: both;
	white-space:nowrap; text-overflow:ellipsis;
}
.ecode-wrapper .ecode .line1{
	width: 15px;
	border-style: dashed;
	border-color: #808080;
	border-left-width:1px;
	border-top-width:1px;
	border-right-width:0px;
	border-bottom-width:1px;
	left: 2px;
	top:10px;
	position: absolute;
}
.ecode-wrapper .ecode .judgeChild{
	position: relative;
	overflow: visible;
	float: left;
}
.ecode-wrapper .ecode .judgeChild .line2{
	border-left-width:0px;
}
.ecode-wrapper .ecode .line2{
	height: 100%;
	width: 10px;
	border-style: dashed;
	border-color: #808080;
	border-left-width:1px;
	border-top-width:1px;
	border-right-width:0px;
	border-bottom-width:0px;
	display: none;
	top:10px;
	left: 8px;
	position: absolute;
}
.ecode-wrapper .ecode .line3{
	height: 100%;
	width: 32px;
	left: -1px;
	border-style: dashed;
	border-color: #808080;
	border-left-width:0px;
	border-top-width:0px;
	border-right-width:0px;
	border-bottom-width:1px;
	display: none;
	position: absolute;
}
.ecode-wrapper .ecode .line4{
	height: 100%;
	width: 32px;
	top: -1px;
	left: -1px;
	border-style: dashed;
	border-color: #808080;
	border-left-width:0px;
	border-top-width:1px;
	border-right-width:0px;
	border-bottom-width:0px;
	display: none;
	position: absolute;
}
.ecode-wrapper .ecode .triangle-right {
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-left:5px solid #808080;
	border-bottom: 4px solid transparent;
	position: absolute;
	right: -2px;
	display: none;
}
.ecode-wrapper .ecode .triangle-down {
	width: 0;
	height: 0;
	border-top: 5px solid #808080;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	position: absolute;
	bottom: -2px;
	left: -4px;
	display: none;
}
.ecode-wrapper .ecode .close{
	width: 0px;
	height: 0px;
	overflow: hidden;
	float: left;
}
.ecode-wrapper .ecode .def{
	width: 0px;
	height: 0px;
	overflow: hidden;
	float: left;

}
.ecode-wrapper .ecode .ifTrueClose{
	overflow: hidden;
	padding: 0px;
	height: 0px;
}
.ecode-wrapper .ecode .assembly div{
	margin-left: 0px;
}
.ecode-wrapper .ecode .assembly_table tr:nth-child(2) td:first-child{
	color:#000080;
}
.ecode-wrapper .ecode .function_table tr:nth-child(2) td:first-child{
	color:#000080;
}
.ecode-wrapper .ecode .sysCommand{
	color:#0000FF
}
.ecode-wrapper .ecode .bracket0{
	color:#000080;
	padding: 0px 2px;
}
.ecode-wrapper .ecode .bracket1{
	color:#000080;
	padding: 0px 2px;
}
.ecode-wrapper .ecode .bracket2{
	color:#000080;
	padding: 0px 2px;
}
.ecode-wrapper .ecode .operator{
	color:#000080;
	padding: 0px 2px;
}
.ecode-wrapper .ecode .datetime{
	color:#000080;
	padding: 0px 2px;
}
.ecode-wrapper .ecode .math{
	color:#800000
}
.ecode-wrapper .ecode .command{
	color:#800000
}
.ecode-wrapper .ecode .static{
	color:#000080
}
.ecode-wrapper .ecode .quote{
	color:#008080
}
.ecode-wrapper .ecode table th{
	background-color: #E6EDE4;
	font-weight: 400;
}
.ecode-wrapper .ecode .dataType{
	color: #0000FF;
}
.ecode-wrapper .ecode .remark{
	color: #008000
}
.ecode-wrapper .ecode .logic{
	color:#000080;
	margin-left: 8px;
	margin-right: 8px;
}
.ecode-wrapper .ecode .logicStatic{
	color:#000080;
}
.ecode-wrapper .ecode .origiData,.ecode-wrapper .ecode .origiData textarea{
	width: 100%;
	height: 100%;

}
.ecode-wrapper .ecode .origiData textarea{
	padding: 0px;
	margin: 0px;
	width: 100%;
	height: 100%;
	border:none;
	padding: 1px;
	font-size: 12px;
}
.ecode-wrapper .ecode .origiData{
	left: 0px;
	top:30px;
	position: absolute;
	display: none;
	width: 100%;

}
.ecode-wrapper .ecode .controller{
	display: none;
}
.ecode-wrapper .ecode .controller .copy{
	height:30px;
	padding: 0px 5px;
	color: #fff;
	background-color: #45A3E1;
	line-height: 30px;
	font-size: 12px;
	text-decoration: none;
	position: absolute;
	right: 0px;
	top: 0px;
}
.ecode-wrapper .ecode .controller .desc{
	height:30px;
	width: 100%;
	top:0px;
	left: 0px;
	position: absolute;
	font-size: 14px;
	text-indent: 10px;
	line-height: 30px;

}

/* ========== 暗色主题：易语言代码区域 ========== */
html.dark .ecode-wrapper .ecode {
	background-color: #1e1e1e;
	border-color: #404040;
}
html.dark .ecode-wrapper .ecode .show {
	background: transparent;
}
html.dark .ecode-wrapper .ecode table,
html.dark .ecode-wrapper .ecode table td,
html.dark .ecode-wrapper .ecode table th {
	border-color: #505050;
}
html.dark .ecode-wrapper .ecode table td {
	background-color: #252526;
}
html.dark .ecode-wrapper .ecode table th {
	background-color: #2d2d30;
	color: #cccccc;
}
html.dark .ecode-wrapper .ecode p,
html.dark .ecode-wrapper .ecode span,
html.dark .ecode-wrapper .ecode .feature-text {
	color: #d4d4d4;
}
html.dark .ecode-wrapper .ecode .line1,
html.dark .ecode-wrapper .ecode .line2,
html.dark .ecode-wrapper .ecode .line3,
html.dark .ecode-wrapper .ecode .line4 {
	border-color: #6e6e6e;
}
html.dark .ecode-wrapper .ecode .triangle-right {
	border-left-color: #6e6e6e;
}
html.dark .ecode-wrapper .ecode .triangle-down {
	border-top-color: #6e6e6e;
}
html.dark .ecode-wrapper .ecode .assembly_table tr:nth-child(2) td:first-child,
html.dark .ecode-wrapper .ecode .function_table tr:nth-child(2) td:first-child {
	color: #9cdcfe;
}
html.dark .ecode-wrapper .ecode .sysCommand {
	color: #569cd6;
}
html.dark .ecode-wrapper .ecode .bracket0,
html.dark .ecode-wrapper .ecode .bracket1,
html.dark .ecode-wrapper .ecode .bracket2,
html.dark .ecode-wrapper .ecode .operator,
html.dark .ecode-wrapper .ecode .datetime,
html.dark .ecode-wrapper .ecode .static,
html.dark .ecode-wrapper .ecode .logic,
html.dark .ecode-wrapper .ecode .logicStatic {
	color: #9cdcfe;
}
html.dark .ecode-wrapper .ecode .math,
html.dark .ecode-wrapper .ecode .command {
	color: #ce9178;
}
html.dark .ecode-wrapper .ecode .quote {
	color: #ce9178;
}
html.dark .ecode-wrapper .ecode .dataType {
	color: #4ec9b0;
}
html.dark .ecode-wrapper .ecode .remark {
	color: #6a9955;
}
html.dark .ecode-wrapper .ecode .origiData textarea {
	background: #1e1e1e;
	color: #d4d4d4;
}
